/* style.css */

/* -------------------------------------------------------------------------- */
/*                                 Variables                                  */
/* -------------------------------------------------------------------------- */
:root {
    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Archivo Black', sans-serif;

    /* Neomorphism & Complementary Color Scheme */
    --bg-color: #eef3f7; /* Very light, slightly cool grey for neomorphism base */
    --bg-color-rgb: 238, 243, 247;

    --primary-color: #6ab082; /* Softer, muted Green */
    --primary-color-dark: #4a8d64;
    --primary-color-light: #8cd9a2;

    --accent-color: #ffab73; /* Soft Peach/Orange - complementary to green */
    --accent-color-dark: #e68a53;

    --text-color: #333e48; /* Dark Slate Grey for readability */
    --text-color-light: #ffffff;
    --text-color-medium: #5f7381; /* Medium Slate Grey for subtitles/secondary text */
    --text-color-headings: #222c33; /* Slightly darker for headings */

    /* Neomorphism Shadows */
    --shadow-light-strong: rgba(255, 255, 255, 0.85);
    --shadow-dark-strong: rgba(190, 205, 220, 0.55); /* Derived from bg, slightly darker/more saturated */
    
    --shadow-offset: 6px; /* Default offset for neomorphic shadows */
    --shadow-blur: 12px; /* Default blur for neomorphic shadows */

    --border-radius-soft: 20px;
    --border-radius-medium: 12px;
    --border-radius-sharp: 6px;

    --header-height: 80px;
    --transition-speed: 0.3s;
    --section-padding-base: 3rem;
    --section-padding-large: 5rem;
}

/* -------------------------------------------------------------------------- */
/*                                Global Resets & Base Styles                 */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/*                                Utility Classes                             */
/* -------------------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: var(--section-padding-base);
    padding-bottom: var(--section-padding-base);
}

.section-padding-large {
    padding-top: var(--section-padding-large);
    padding-bottom: var(--section-padding-large);
}

.section-padding-small {
    padding-top: calc(var(--section-padding-base) / 1.5);
    padding-bottom: calc(var(--section-padding-base) / 1.5);
}

.light-bg {
    background-color: var(--bg-color); /* Already default, but can be used for emphasis or if body changes */
}
/* If we want a slightly different light bg for some sections */
.extra-light-bg {
    background-color: #f8fafd; /* Slightly lighter variant */
}


.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color-headings);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: var(--border-radius-sharp);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color: var(--text-color-medium);
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
}

/* -------------------------------------------------------------------------- */
/*                               Button Styles (Global)                       */
/* -------------------------------------------------------------------------- */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    padding: 0.8em 1.8em;
    border: none;
    border-radius: var(--border-radius-soft);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-speed) ease-out;
    background-color: var(--bg-color);
    color: var(--primary-color-dark);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
    font-weight: normal;
    letter-spacing: 0.5px;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 
        calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) calc(var(--shadow-blur) + 4px) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset) - 2px) calc(-1 * var(--shadow-offset) - 2px) calc(var(--shadow-blur) + 4px) var(--shadow-light-strong);
}

.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 
        inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}
.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--text-color-light);
}
.btn-primary:active {
    background-color: var(--primary-color-dark);
    color: var(--text-color-light);
    box-shadow: 
        inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) rgba(0,0,0,0.2),
        inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}


.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-color);
}
.btn-secondary:hover {
    background-color: var(--accent-color-dark);
}
.btn-secondary:active {
    background-color: var(--accent-color-dark);
     box-shadow: 
        inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) rgba(0,0,0,0.2),
        inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}

a.read-more-link {
    color: var(--primary-color-dark);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 0.3em 0;
    position: relative;
}

a.read-more-link::after {
    content: '→';
    margin-left: 0.5em;
    transition: transform 0.2s ease-out;
}

a.read-more-link:hover {
    color: var(--accent-color-dark);
    text-decoration: none;
}
a.read-more-link:hover::after {
    transform: translateX(5px);
}


/* -------------------------------------------------------------------------- */
/*                                 Form Styles                                */
/* -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color-medium);
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8em 1em;
    border: none;
    border-radius: var(--border-radius-medium);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    box-shadow: 
        inset calc(var(--shadow-offset) / 2) calc(var(--shadow-offset) / 2) calc(var(--shadow-blur) / 2) var(--shadow-dark-strong),
        inset calc(-1 * var(--shadow-offset) / 2) calc(-1 * var(--shadow-offset) / 2) calc(var(--shadow-blur) / 2) var(--shadow-light-strong);
    transition: box-shadow var(--transition-speed) ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong),
        0 0 0 2px var(--primary-color-light); /* Focus ring */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
}
.form-group-checkbox input[type="checkbox"] {
    margin-right: 0.5em;
    width: auto; /* Override 100% width */
    box-shadow: none; /* Remove neomorphic shadow for checkbox itself */
    accent-color: var(--primary-color);
}
.form-group-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--text-color-medium);
}
.form-group-checkbox label a {
    color: var(--primary-color-dark);
    text-decoration: underline;
}


/* -------------------------------------------------------------------------- */
/*                                 Header & Navigation                        */
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(var(--bg-color-rgb), 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color var(--transition-speed) ease;
}

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

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

.main-nav .nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-menu li {
    margin-left: 1.8rem;
}

.main-nav .nav-menu a {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-color-medium);
    text-decoration: none;
    padding: 0.5em 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

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

.main-nav .nav-menu a:hover,
.main-nav .nav-menu a.active {
    color: var(--primary-color-dark);
}

.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above nav menu on mobile */
    /* Neomorphic styling for burger */
    width: 30px;
    height: 22px; /* Total height of 3 spans + 2 gaps */
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color-headings);
    border-radius: var(--border-radius-sharp);
    transition: all var(--transition-speed) ease-in-out;
    position: absolute;
    left: 0;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; } /* (22 - 3*3) / 2 */
.nav-toggle span:nth-child(3) { top: 18px; }

/* Burger animation when active */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* -------------------------------------------------------------------------- */
/*                                 Hero Section                               */
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    color: var(--text-color-light); /* Text is white */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height)); /* Adjust if header is transparent initially */
    padding: var(--section-padding-large) 0; /* Vertical padding */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.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.6)); /* Dark overlay for text readability */
    z-index: 1;
}

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

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--text-color-light); /* Ensure white title */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-color-light); /* Ensure white subtitle */
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-section .btn-primary {
    padding: 1em 2.5em;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* -------------------------------------------------------------------------- */
/*                                 Card Styles (Global)                       */
/* -------------------------------------------------------------------------- */
.card, .info-card, .accolade-item, .link-item, .press-item, .testimonial-item, .client-logo-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-soft);
    padding: 1.8rem;
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center .card-image and .card-content */
    text-align: center; /* Center text within card */
    height: 100%; /* For equal height cards in a grid */
}

.card:hover, .info-card:hover, .accolade-item:hover, .link-item:hover, .press-item:hover, .testimonial-item:hover, .client-logo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        calc(var(--shadow-offset) + 3px) calc(var(--shadow-offset) + 3px) calc(var(--shadow-blur) + 5px) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset) - 3px) calc(-1 * var(--shadow-offset) - 3px) calc(var(--shadow-blur) + 5px) var(--shadow-light-strong);
}

.card-grid, .links-grid, .accolades-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


.card-image { /* This is the container for the image */
  width: 100%; 
  height: 200px; /* Fixed height for image container */
  border-radius: var(--border-radius-medium); /* Match card's softness */
  overflow: hidden;
  margin-bottom: 1.2rem; /* Space between image and content */
  display: flex; /* Center the image if it's smaller than container (though object-fit handles most cases) */
  justify-content: center;
  align-items: center;
  box-shadow: 
        inset calc(var(--shadow-offset) / 3) calc(var(--shadow-offset) / 3) calc(var(--shadow-blur) / 3) var(--shadow-dark-strong),
        inset calc(-1 * var(--shadow-offset) / 3) calc(-1 * var(--shadow-offset) / 3) calc(var(--shadow-blur) / 3) var(--shadow-light-strong);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the container without distortion */
  border-radius: var(--border-radius-medium); /* If image itself needs rounding */
  transition: transform 0.4s ease;
}

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

.card-content {
    width: 100%; /* Ensure content takes up available width for text-align:center */
}

.card-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 0.8rem;
    color: var(--primary-color-dark);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    margin-bottom: 1rem;
}
.card .btn, .card .btn-secondary { /* Style buttons inside cards slightly differently if needed */
    margin-top: auto; /* Pushes button to bottom if card is flex container and has varying content height */
    padding: 0.6em 1.5em;
    font-size: 0.9rem;
}


/* -------------------------------------------------------------------------- */
/*                               Mission Section                              */
/* -------------------------------------------------------------------------- */
.mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.mission-image {
    flex: 1 1 400px; /* Grow, shrink, base width */
    max-width: 600px;
    border-radius: var(--border-radius-soft);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}
.mission-text {
    flex: 1 1 500px;
}
.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* -------------------------------------------------------------------------- */
/*                               History Section                              */
/* -------------------------------------------------------------------------- */
.history-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3rem;
}
.history-timeline {
    flex: 2 1 500px; /* Takes more space */
}
.history-image {
    flex: 1 1 300px;
    max-width: 500px;
    border-radius: var(--border-radius-soft);
     box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}

.timeline-item {
    position: relative;
    padding-left: 40px; /* Space for icon and line */
    margin-bottom: 2rem;
    padding-bottom: 1rem; /* Space before next item's line */
    border-left: 3px solid var(--primary-color-light);
}
.timeline-item:last-child {
    border-left: none; /* Or 3px solid transparent if spacing is needed */
    padding-bottom: 0;
    margin-bottom: 0;
}
/* If we want the line to stop at the last item's icon */
.timeline-item:last-child::before {
    height: 24px; /* Height of the icon */
}


.timeline-icon {
    position: absolute;
    left: -14px; /* (icon_width / 2) - (border_width / 2) for centering on line */
    top: 0;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--bg-color), /* Creates a "cutout" effect from the line */
                2px 2px 5px var(--shadow-dark-strong);
}
.timeline-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--text-color-light);
}

.timeline-content {
    background-color: var(--bg-color); /* Match page BG */
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-medium);
    box-shadow: 
        calc(var(--shadow-offset) / 2) calc(var(--shadow-offset) / 2) calc(var(--shadow-blur) / 2) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset) / 2) calc(-1 * var(--shadow-offset) / 2) calc(var(--shadow-blur) / 2) var(--shadow-light-strong);
    position: relative; /* For potential ::before arrow if desired */
}
.timeline-content h3 {
    color: var(--primary-color-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* -------------------------------------------------------------------------- */
/*                               Clientele Section                            */
/* -------------------------------------------------------------------------- */
.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center; /* Align items vertically if they have different heights */
    margin-bottom: 2rem;
}
.client-logo-item { /* This is an .info-card */
    padding: 1.5rem; /* Adjust padding for logos */
}
.client-logo-item img {
    max-height: 80px; /* Control logo image height */
    width: auto; /* Maintain aspect ratio */
    margin: 0 auto 1rem auto; /* Center image and add space below */
    object-fit: contain;
}
.client-logo-item p {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    margin-bottom: 0; /* No margin for the short text */
}
.clientele-note {
    text-align: center;
    font-style: italic;
    color: var(--text-color-medium);
    max-width: 800px;
    margin: 2rem auto 0 auto;
}

/* -------------------------------------------------------------------------- */
/*                             Testimonials Section                           */
/* -------------------------------------------------------------------------- */
.testimonial-slider { /* For now, a grid layout. JS can enhance to slider */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-item { /* This is an .info-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}
.testimonial-item p {
    font-style: italic;
    color: var(--text-color-medium);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1; /* Allows paragraph to take available space */
}
.testimonial-item h4 {
    color: var(--primary-color-dark);
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1rem;
    margin-top: auto; /* Pushes client name to bottom */
}

/* -------------------------------------------------------------------------- */
/*                             Accolades Section                              */
/* -------------------------------------------------------------------------- */
.accolade-item .accolade-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 
        inset calc(var(--shadow-offset)/2) calc(var(--shadow-offset)/2) calc(var(--shadow-blur)/2) var(--shadow-dark-strong),
        inset calc(-1*var(--shadow-offset)/2) calc(-1*var(--shadow-offset)/2) calc(var(--shadow-blur)/2) var(--shadow-light-strong);
}
.accolade-item .accolade-icon img {
    width: 40px; /* Size of the actual icon image */
    height: 40px;
    object-fit: contain;
}
.accolade-item h4 {
    color: var(--primary-color-dark);
    font-size: 1.2rem;
}


/* -------------------------------------------------------------------------- */
/*                                Press Section                               */
/* -------------------------------------------------------------------------- */
.press-list {
    display: grid;
    gap: 1.5rem;
}
.press-item { /* This is an .info-card */
    text-align: left; /* Override card's center align for press items */
    align-items: flex-start;
}
.press-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.press-item h3 a {
    color: var(--text-color-headings);
}
.press-item h3 a:hover {
    color: var(--primary-color-dark);
}
.press-item p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}
.press-source {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-medium);
    font-style: italic;
    margin-top: auto; /* Pushes source to bottom */
}

/* -------------------------------------------------------------------------- */
/*                             Blog Teaser Section                            */
/* -------------------------------------------------------------------------- */
.blog-card .card-content h3 { /* Inherits from .card h3 */
    font-size: 1.5rem; /* Slightly larger for blog titles */
}
.blog-card .btn-secondary {
    margin-top: 1rem;
}

/* -------------------------------------------------------------------------- */
/*                           External Resources Section                       */
/* -------------------------------------------------------------------------- */
.link-item { /* This is an .info-card */
    text-align: left; /* Override card's center align */
    align-items: flex-start;
}
.link-item .link-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.link-item .link-title a {
    color: var(--text-color-headings);
}
.link-item .link-title a:hover {
    color: var(--primary-color-dark);
}
.link-item .link-description {
    font-size: 0.9rem;
    color: var(--text-color-medium);
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ Section                                */
/* -------------------------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-medium);
    background-color: var(--bg-color);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
    overflow: hidden; /* Ensures summary border-radius is consistent */
}
.faq-question { /* This is the summary element */
    display: block; /* Make summary full width */
    padding: 1rem 1.5rem;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    color: var(--text-color-headings);
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition-speed) ease;
}
.faq-question:hover {
    background-color: rgba(var(--primary-color-rgb, 90, 156, 93), 0.1); /* Light primary hover */
}
.faq-question::after { /* Custom arrow indicator */
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease-out;
}
.faq-item[open] > .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--text-color-medium);
    line-height: 1.7;
}

/* Remove default marker for details/summary */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }


/* -------------------------------------------------------------------------- */
/*                               Contact Section                              */
/* -------------------------------------------------------------------------- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-soft);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}
.contact-info {
    flex: 1 1 300px;
}
.contact-info h3 {
    color: var(--primary-color-dark);
    margin-bottom: 1.5rem;
}
.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}
.contact-info p img { /* Icons */
    width: 20px;
    height: 20px;
    opacity: 0.7;
}
.contact-info h4 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color-headings);
}

.contact-form {
    flex: 2 1 400px;
}

/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
.site-footer {
    background-color: #2b3740; /* Darker shade for footer */
    color: rgba(255,255,255,0.7);
    padding: var(--section-padding-base) 0 0 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: var(--section-padding-base);
}
.footer-column h4 {
    font-family: var(--font-headings);
    color: var(--text-color-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 0.6rem;
}
.footer-column ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-column ul a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
.footer-column .social-links a {
    display: inline-block;
    /* Style text links for social media */
    padding: 0.2em 0; /* Small padding */
}
.footer-column .social-links a:hover {
    /* Hover effect already covered by general 'a' hover */
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/*                             Specific Page Styles                           */
/* -------------------------------------------------------------------------- */
/* Success Page */
body.success-page main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 57px); /* 57px approx footer bottom height */
    text-align: center;
    padding: var(--header-height) 20px 20px 20px; /* Account for fixed header */
}
.success-page .success-content {
    background-color: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius-soft);
    box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
    max-width: 600px;
}
.success-page .success-content h1 {
    color: var(--primary-color-dark);
}

/* Privacy & Terms Pages */
body.privacy-page main,
body.terms-page main {
    padding-top: calc(var(--header-height) + 2rem); /* Space for fixed header */
    padding-bottom: 2rem;
}
body.privacy-page .content-container,
body.terms-page .content-container {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-medium);
     box-shadow: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-strong);
}
body.privacy-page .content-container h1,
body.terms-page .content-container h1 {
    margin-bottom: 1.5rem;
}
body.privacy-page .content-container h2,
body.terms-page .content-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* -------------------------------------------------------------------------- */
/*                             Page Transitions (Barba.js)                    */
/* -------------------------------------------------------------------------- */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-color);
  z-index: 99999;
  transform: translateY(100%);
  pointer-events: none; /* Allow clicks through during idle */
}
/* Example transitions (customize with Barba.js classes) */
/* Leaving page */
.barba-leave-active {
  animation: page-leave 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes page-leave {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
/* Entering page */
.barba-enter-active {
  animation: page-enter 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards; /* Delay enter */
}
@keyframes page-enter {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}


/* -------------------------------------------------------------------------- */
/*                                 Responsive Design                          */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .mission-content, .history-content {
        gap: 2rem;
    }
    .mission-image, .history-image {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Show burger */
        flex-direction: column;
        justify-content: space-around;
    }

    .main-nav .nav-menu {
        display: none; /* Hide menu by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-color); /* Neomorphic background for dropdown */
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-bottom-left-radius: var(--border-radius-medium);
        border-bottom-right-radius: var(--border-radius-medium);
    }
    .main-nav .nav-menu.active {
        display: flex; /* Show when active */
    }
    .main-nav .nav-menu li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(var(--primary-color-rgb, 90, 156, 93), 0.1);
    }
    .main-nav .nav-menu li:last-child a {
        border-bottom: none;
    }
    .main-nav .nav-menu a::after {
        display: none; /* No underline for mobile menu items */
    }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.3rem); }

    .contact-wrapper {
        flex-direction: column;
        padding: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column ul {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding-base: 2rem;
        --section-padding-large: 3rem;
        --shadow-offset: 4px;
        --shadow-blur: 8px;
    }
    html { font-size: 15px; }
    .container { width: 95%; }
    .card-grid, .links-grid, .accolades-grid, .testimonial-slider, .client-logos {
        grid-template-columns: 1fr; /* Single column for cards on very small screens */
    }
    .section-title { margin-bottom: 1.5rem; }
    .section-intro { margin-bottom: 2rem; }

    .btn, button, input[type="submit"], input[type="button"] {
        padding: 0.7em 1.5em;
    }
    .card, .info-card, .accolade-item, .link-item, .press-item, .testimonial-item, .client-logo-item {
        padding: 1.2rem;
    }
}

/* Cookie Popup (minimal styling, from prompt) */
#cookie-popup a {
    color: var(--primary-color-light); /* Make link more visible on dark bg */
    text-decoration: underline;
}
#cookie-popup a:hover {
    color: var(--accent-color);
}
#accept-cookies {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transition: background-color var(--transition-speed) ease;
}
#accept-cookies:hover {
    background-color: var(--primary-color-dark);
}
html,body{
    overflow-x: hidden;
}