/*=====================================================================
    ROOT VARIABLES & BASIC STYLES
=====================================================================*/
:root {
    /* Triadic Color Scheme - Argentina Inspired */
    --primary-color: #3A7CA5; /* Sky Blue / Water */
    --primary-color-dark: #2E6384;
    --secondary-color: #D9A23D; /* Sun / Earthy Gold */
    --secondary-color-dark: #B88A32;
    --accent-color: #8C5F46; /* Warm Earthy Brown / Leather / Wood - for grounding */
    --accent-color-alt: #4A7856; /* Nature Green - for specific highlights */
    
    --text-color: #333333;
    --text-color-light: #F8F9FA;
    --headings-color: #222222; /* Darker for strong headings */

    --background-color: #FDFBF7; /* Soft, slightly warm off-white */
    --card-background-color: #FFFFFF;
    --footer-background-color: #212529; /* Dark, almost black */
    --overlay-color: rgba(0, 0, 0, 0.5); /* For hero and image overlays */

    --font-primary: 'Oswald', sans-serif;
    --font-secondary: 'Nunito', sans-serif;

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px; /* For biomorphic touches */
    --border-radius-biomorphic: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Example biomorphic */


    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 16px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* For fixed header */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.main-container {
    width: 100%;
    overflow-x: hidden; /* Helps contain elements */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* For pages like privacy and terms */
.static-page-content {
    padding-top: 50px; /* Additional padding since body already has 80px */
    padding-bottom: 50px;
    min-height: calc(100vh - 80px - 150px); /* 80px header, ~150px footer */
}
.static-page-content h1,
.static-page-content h2 {
    margin-bottom: 1.5rem;
    color: var(--headings-color);
}
.static-page-content p {
    margin-bottom: 1rem;
}
.static-page-content ul {
    margin-bottom: 1rem;
    padding-left: 20px;
}


/*=====================================================================
    TYPOGRAPHY
=====================================================================*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--headings-color);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}

a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem; /* Increased margin */
    font-size: 2.5rem; /* Larger title */
    color: var(--headings-color);
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title::after { /* Subtle underline accent */
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
    border-radius: var(--border-radius-small);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem; /* Increased margin */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-section {
    padding: 60px 0;
}

/*=====================================================================
    GLOBAL BUTTON STYLES
=====================================================================*/
.btn, button[type="submit"], input[type="submit"] {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem; /* Slightly larger padding */
    font-size: 1rem;
    border-radius: var(--border-radius-medium); /* Softer radius */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) var(--transition-timing);
    box-shadow: var(--shadow-light);
}

.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--text-color-light); /* Ensure text color remains on hover */
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    color: var(--text-color);
    text-decoration: none;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
    text-decoration: none;
}


/*=====================================================================
    HEADER & NAVIGATION
=====================================================================*/
.site-header {
    background-color: rgba(253, 251, 247, 0.9); /* Slightly transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: background-color var(--transition-speed) var(--transition-timing);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo:hover {
    color: var(--primary-color-dark);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px; /* Spacing between nav items */
}

.main-nav a {
    font-family: var(--font-primary);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400; /* Regular weight for nav links */
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) var(--transition-timing);
}

.main-nav a:hover,
.main-nav a.active { /* Assuming an 'active' class for current page */
    color: var(--primary-color);
    text-decoration: none;
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: transform var(--transition-speed) var(--transition-timing);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    transition: transform var(--transition-speed) var(--transition-timing), top var(--transition-speed) var(--transition-timing);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }


/*=====================================================================
    HERO SECTION
=====================================================================*/
.hero-section {
    position: relative;
    color: var(--text-color-light); /* White text as required */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 80px); /* Full viewport height minus header */
    padding: 60px 0; /* Add some padding */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Darker overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Limit content width */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color-light); /* Ensure white color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Stronger shadow for readability */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color-light); /* Ensure white color */
    font-weight: 400;
}

.hero-section .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background-color: var(--secondary-color); /* Use secondary for contrast */
    border-color: var(--secondary-color);
    color: var(--text-color); /* Dark text on secondary for contrast */
}
.hero-section .btn-primary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    color: var(--text-color);
}

/*=====================================================================
    ABOUT US SECTION
=====================================================================*/
.about-us-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem; /* More spacing between paragraphs */
}

.about-image-container img {
    border-radius: var(--border-radius-large); /* Biomorphic touch */
    box-shadow: var(--shadow-medium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/*=====================================================================
    CARDS (Portfolio, Instructors, Insights, Testimonials)
=====================================================================*/
.card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a row have same height if content varies slightly */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    overflow: hidden;
    display: flex; /* For centering if image is smaller, though object-fit should handle */
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* Placeholder bg */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensures the image fills the container, might crop */
    transition: transform var(--transition-speed) var(--transition-timing);
}

.card:hover .card-image img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.card-content {
    padding: 1.5rem;
    text-align: center; /* Center text content in card */
    flex-grow: 1; /* Allows content to take available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if present */
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.card-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows paragraph to take space if button is at bottom */
}
.card-content .btn {
    margin-top: auto; /* Pushes button to the bottom */
    align-self: center; /* Center button within card content */
}

/* Carousel Styles (Generic for Slick/Tiny-slider) */
.content-carousel {
    /* Basic styling, specific library might override */
    margin: 0 -10px; /* Counteract padding on items if library adds it */
}
.content-carousel .card { /* Assuming cards are direct children or within a slide div */
    margin: 0 10px; /* Spacing between carousel items */
}

.portfolio-carousel .card,
.instructors-carousel .card,
.testimonials-carousel .testimonial-card { /* Testimonial card may have unique styling */
    min-height: 400px; /* Ensure consistent height for carousel items */
}


/*=====================================================================
    PORTFOLIO SECTION (Destinos)
=====================================================================*/
.portfolio-carousel .card-content h3 {
    color: var(--headings-color);
}

/*=====================================================================
    GALLERY SECTION
=====================================================================*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-light);
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 200px; /* Consistent height for gallery items */
    object-fit: cover;
    transition: transform var(--transition-speed) var(--transition-timing), filter var(--transition-speed) var(--transition-timing);
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}
.gallery-item::after { /* Optional: overlay effect on hover */
    content: 'Ver Más';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color-light);
    background-color: var(--overlay-color);
    padding: 10px 15px;
    border-radius: var(--border-radius-small);
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-timing);
    font-family: var(--font-primary);
}
.gallery-item:hover::after {
    opacity: 1;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* Darker overlay for modal */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius-medium);
}
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal-btn:hover,
.close-modal-btn:focus {
    color: #bbb;
    text-decoration: none;
}
.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px; /* Fixed height for caption */
    position: absolute;
    bottom: 5%; /* Position caption at the bottom */
    left: 50%;
    transform: translateX(-50%);
}

/*=====================================================================
    INSTRUCTORS SECTION (Guías)
=====================================================================*/
.instructors-carousel .card-image {
    height: 250px; /* Slightly taller for portraits */
}
.instructors-carousel .card-image img {
    border-radius: 50%; /* Circular images for instructors */
    width: 150px; /* Fixed width */
    height: 150px; /* Fixed height */
    object-fit: cover;
    margin: 20px auto 0; /* Centering and spacing */
    border: 4px solid var(--secondary-color);
}
.instructors-carousel .card:hover .card-image img {
    transform: scale(1.0); /* No zoom on profile pic, or very subtle */
    border-color: var(--secondary-color-dark);
}
.instructors-carousel .card-content h3 {
    color: var(--headings-color);
    margin-top: 0.5rem;
}


/*=====================================================================
    PRICING SECTION
=====================================================================*/
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch; /* Make cards same height */
}

.pricing-card {
    background-color: var(--card-background-color);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-large); /* Biomorphic touch */
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05); /* Make popular card stand out */
    position: relative;
    z-index: 10;
}
.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.pricing-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--headings-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}
.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    vertical-align: super;
}
.pricing-card .price span:last-child { /* /pers */
    font-size: 0.9rem;
    vertical-align: baseline;
    margin-left: 5px;
}

.pricing-card p:first-of-type { /* Description */
    margin-bottom: 1.5rem;
    min-height: 60px; /* Ensure some space for description */
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 10px; /* Align with text */
    flex-grow: 1; /* Pushes button to bottom */
}
.pricing-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.pricing-card ul li i {
    margin-right: 10px;
    font-size: 1.2rem;
}
.fa-check { color: var(--accent-color-alt); } /* Green check */
.fa-times { color: #aaa; } /* Grey X */

.pricing-card .btn {
    margin-top: auto; /* Push button to bottom */
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}

/*=====================================================================
    TESTIMONIALS SECTION
=====================================================================*/
.testimonials-section {
    background-color: #f4f7f6; /* Light, slightly cool background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* For biomorphic background image */
    position: relative;
    /* overflow: hidden; */ /* If using pseudo-elements for biomorphic shapes */
}
/* Example of a biomorphic shape using pseudo-element
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(var(--primary-color-rgb), 0.1); // Assuming you define --primary-color-rgb
    border-radius: var(--border-radius-biomorphic);
    transform: rotate(45deg);
    z-index: 0;
} */

.testimonial-card {
    padding: 2rem;
    text-align: center;
    border-left: 5px solid var(--secondary-color); /* Accent border */
}

.testimonial-card .card-image { /* For avatar */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 3px solid var(--secondary-color);
}
.testimonial-card .card-image img {
    border-radius: 50%;
}
.testimonial-card:hover .card-image img {
    transform: none; /* No zoom on testimonial avatar */
}

.testimonial-card p { /* The quote */
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}
.testimonial-card h4 { /* Author */
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

/*=====================================================================
    RESEARCH SECTION (Consejos de Viaje - Timeline)
=====================================================================*/
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: var(--border-radius-small);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the Ccontainer to the left */
.timeline-item:nth-child(odd) {
    left: 0;
}
/* Place the Ccontainer to the right */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Add arrows to the left Ccontainer (pointing right) */
.timeline-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 30px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--card-background-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--card-background-color);
}
/* Add arrows to the right Ccontainer (pointing left) */
.timeline-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 30px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--card-background-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-background-color) transparent transparent;
}

/* Fix the circle for Ccontainers on the right side */
.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-background-color);
    position: relative;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-light);
}
.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.timeline-icon { /* Optional: if icons are used instead of text like ✈️ */
    position: absolute;
    left: -60px; /* Adjust as needed */
    top: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 50%;
}
.timeline-item:nth-child(even) .timeline-icon {
    left: auto;
    right: -60px;
}


/*=====================================================================
    INSIGHTS SECTION (Experiencias Únicas)
=====================================================================*/
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.insight-card .card-image {
    height: 250px;
}

/*=====================================================================
    PARTNERS SECTION
=====================================================================*/
.partners-section {
    background-color: #f9f9f9; /* Slightly different light bg */
}
.partners-carousel {
    display: flex; /* Or use carousel library's flex/grid */
    align-items: center;
    justify-content: space-around; /* If not using a library */
    flex-wrap: wrap; /* If not using a library */
    gap: 20px;
}
.partner-logo {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px; /* Ensure space for logos */
}
.partner-logo img {
    max-width: 150px;
    max-height: 75px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed) var(--transition-timing), opacity var(--transition-speed) var(--transition-timing);
}
.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*=====================================================================
    EXTERNAL RESOURCES SECTION
=====================================================================*/
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.resource-item {
    background-color: var(--card-background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-light);
    transition: var(--transition-speed);
}
.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.resource-item h3 {
    margin-bottom: 0.5rem;
}
.resource-item h3 a {
    font-size: 1.3rem;
    color: var(--primary-color);
}
.resource-item h3 a:hover {
    color: var(--primary-color-dark);
}
.resource-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/*=====================================================================
    CONTACT SECTION
=====================================================================*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes more space */
    gap: 40px;
    background-color: var(--card-background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.contact-form-container h2, .contact-info h3 { /* Section titles within contact */
    text-align: left;
    margin-bottom: 1.5rem;
}
.contact-form-container h2::after, .contact-info h3::after {
    margin-left: 0;
    margin-right: auto;
}


.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--headings-color);
    font-family: var(--font-secondary);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-small);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.2); /* Focus ring */
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.contact-info p i { /* Assuming Font Awesome or similar for icons */
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px; /* Align icons */
    text-align: center;
}
.contact-info h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--headings-color);
}
.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e9e9e9;
    border-radius: var(--border-radius-medium);
    margin-top: 1.5rem;
    background-size: cover;
    background-position: center;
}

/*=====================================================================
    FOOTER
=====================================================================*/
.site-footer {
    background-color: var(--footer-background-color);
    color: var(--text-color-light);
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.site-footer h4 {
    font-family: var(--font-primary);
    color: var(--secondary-color); /* Accent color for footer headings */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-nav ul, .footer-social ul {
    list-style: none;
}
.footer-nav li, .footer-social li {
    margin-bottom: 0.5rem;
}
.footer-nav a, .footer-social a {
    color: var(--text-color-light);
    opacity: 0.8;
}
.footer-nav a:hover, .footer-social a:hover {
    color: var(--text-color-light);
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
}
.footer-social a { /* For text-based social links */
    display: inline-block; /* Or flex for icons */
    padding: 5px 0;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444; /* Subtle divider */
    font-size: 0.85rem;
    opacity: 0.7;
}

/*=====================================================================
    SUCCESS.HTML PAGE
=====================================================================*/
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px); /* Full height minus header */
    text-align: center;
    padding: 20px;
}
.success-page .icon { /* Placeholder for a success icon */
    font-size: 4rem;
    color: var(--accent-color-alt); /* Green */
    margin-bottom: 1.5rem;
}
.success-page h1 {
    color: var(--headings-color);
    margin-bottom: 1rem;
}
.success-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

/*=====================================================================
    COOKIE CONSENT POPUP
=====================================================================*/
#cookieConsentPopup {
    /* Styles are inline in HTML as requested, but can be moved here */
    /* Example:
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    z-index: 9999;
    box-sizing: border-box;
    */
}
#cookieConsentPopup p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #fff; /* Ensure text is white */
}
#acceptCookieButton {
    /* Example:
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    font-size: 14px;
    */
}


/*=====================================================================
    RESPONSIVE STYLES (Media Queries)
=====================================================================*/
@media (max-width: 992px) {
    .about-us-section .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack columns */
    }
    .about-image-container {
        order: -1; /* Image first on smaller screens if desired */
    }
    .contact-info {
        margin-top: 2rem;
    }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Adjust for potentially smaller fixed header */
    }
    .site-header {
        padding: 10px 0;
    }
    .main-nav {
        position: fixed; /* Make nav take full screen */
        top: 70px; /* Below header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-color);
        transform: translateX(100%);
        transition: transform var(--transition-speed) var(--transition-timing);
        overflow-y: auto; /* For many nav items */
        padding-top: 20px;
    }
    .main-nav.nav-open {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .main-nav li {
        width: 100%;
    }
    .main-nav a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
    }
    .main-nav a::after { display: none; /* Remove underline for mobile nav items */ }
    .main-nav li:last-child a { border-bottom: none; }

    .nav-toggle {
        display: block; /* Show burger icon */
        z-index: 1001; /* Above nav panel */
    }
    /* Burger animation when nav is open */
    .nav-open .hamburger {
        background-color: transparent; /* Middle line disappears */
    }
    .nav-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-open .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-section .btn-primary { padding: 0.8rem 1.8rem; font-size: 1rem; }

    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem;}

    .pricing-grid, .gallery-grid, .insights-grid, .resources-list {
        grid-template-columns: 1fr; /* Stack cards */
    }
    .pricing-card.popular {
        transform: scale(1); /* Reset popular scale on mobile */
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px); /* Keep hover effect */
    }

    .timeline::after { left: 10px; margin-left: 0; } /* Line to the left */
    .timeline-item { width: 100%; padding-left: 40px; padding-right: 0; }
    .timeline-item:nth-child(even) { left: 0%; } /* All items align left */
    .timeline-item::after { left: 0px; } /* Dot to the left */
    .timeline-item::before { /* Adjust arrow position */
        left: 30px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--card-background-color) transparent transparent;
    }
    .timeline-item:nth-child(odd)::before { left: 30px; }
    .timeline-item:nth-child(even)::before { left: 30px; }

    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .site-footer h4 { margin-top: 1rem; }
    .footer-nav ul, .footer-social ul {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }

    .contact-wrapper {
        padding: 1.5rem;
    }
}

/* ScrollReveal default hidden state (JS will make them visible) */
.scroll-reveal {
    visibility: hidden;
}

/* Read more link style example (can be applied to <a> tags) */
.read-more-link {
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
    margin-top: 0.5rem;
    position: relative;
    padding-right: 20px; /* Space for arrow */
}
.read-more-link::after {
    content: '→'; /* Or an SVG arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right var(--transition-speed) var(--transition-timing);
}
.read-more-link:hover::after {
    right: -5px; /* Arrow moves slightly on hover */
}
.read-more-link:hover {
    color: var(--accent-color); /* Maintain or darken */
    text-decoration: underline;
}