/* style.css */

/* -------------------------------------------------------------------------- */
/*                                  VARIABLES                                 */
/* -------------------------------------------------------------------------- */
:root {
    --font-family-headings: 'Roboto', sans-serif;
    --font-family-body: 'Lato', sans-serif;

    /* Monochromatic Scheme with a Primary Accent */
    --color-primary: #007bff; /* Blue for primary actions, from cookie popup */
    --color-primary-dark: #0056b3; /* Darker blue for hover/active */
    
    --color-background: #f8f9fa; /* Very light gray / Off-white */
    --color-surface: #ffffff; /* White for cards, surfaces */
    
    --color-text-primary: #212529; /* Near black for main text */
    --color-text-secondary: #495057; /* Dark gray for secondary text */
    --color-text-muted: #6c757d;   /* Medium gray for muted text */
    --color-text-on-dark: #ffffff; /* White text for dark backgrounds */
    
    --color-border: #dee2e6;       /* Light gray for borders */
    --color-divider: #e9ecef;      /* Lighter gray for dividers */

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem;  /* 8px */
    --border-radius-lg: 1rem;    /* 16px */

    --header-height: 80px;
    --transition-speed: 0.3s;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

/* For specific pages like privacy and terms */
body.privacy-page,
body.terms-page,
body.about-page,
body.contacts-page {
    padding-top: var(--header-height); /* Adjust based on fixed header height */
}

/* Success page styling */
body.success-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page .success-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
.success-page .success-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.success-page h1 {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}
.success-page p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* -------------------------------------------------------------------------- */
/*                                 TYPOGRAPHY                                 */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: 0.75em; /* Consistent bottom margin */
}

h1 { font-size: 2.8rem; font-weight: 900; } /* Example: 44.8px */
h2 { font-size: 2.2rem; } /* Example: 35.2px */
h3 { font-size: 1.8rem; } /* Example: 28.8px */
h4 { font-size: 1.4rem; } /* Example: 22.4px */

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

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

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

ul, ol {
    list-style: none;
    padding-left: 0;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* -------------------------------------------------------------------------- */
/*                                  LAYOUT                                    */
/* -------------------------------------------------------------------------- */
.main-container {
    width: 100%;
    overflow-x: hidden; /* For animations */
}

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

.section-block {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-title {
    font-size: 2.5rem; /* ~40px */
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-text-primary); /* Dark for light backgrounds */
    text-shadow: none; /* Default, overridden for dark BGs */
}

.section-subtitle {
    font-size: 1.15rem; /* ~18px */
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* -------------------------------------------------------------------------- */
/*                                   HEADER                                   */
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    backdrop-filter: blur(8px); /* Glassmorphism touch */
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: var(--header-height);
}

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

.logo img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

.main-navigation .nav-links {
    display: flex;
    gap: 1.8rem; /* Space between nav items */
}

.main-navigation .nav-links li a {
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

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

.main-navigation .nav-links li a:hover,
.main-navigation .nav-links li a:focus,
.main-navigation .nav-links li a.active { /* Add .active class via JS */
    color: var(--color-primary);
}

.main-navigation .nav-links li a:hover::after,
.main-navigation .nav-links li a:focus::after,
.main-navigation .nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

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

/* Mobile Menu Active State */
.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent; /* Center line disappears */
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* -------------------------------------------------------------------------- */
/*                                 HERO SECTION                               */
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    color: var(--color-text-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh; /* Adjust for desired hero height */
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-background {
    background-attachment: fixed; /* Simple parallax */
}

.hero-overlay, .insights-overlay, .awards-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)); /* Darken for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem; /* ~56px */
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--color-text-on-dark); /* Explicitly white as per requirement */
}

.hero-subtitle {
    font-size: 1.3rem; /* ~20.8px */
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-on-dark); /* Explicitly white */
    opacity: 0.9;
}

/* -------------------------------------------------------------------------- */
/*                               GLOBAL BUTTONS                               */
/* -------------------------------------------------------------------------- */
.button, button, input[type="submit"], input[type="button"] { /* Global button styling */
    display: inline-block;
    font-family: var(--font-family-headings);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    user-select: none; /* Prevent text selection */
}

.modern-button,
button[type="submit"] { /* Primary button style */
    background-color: var(--color-primary);
    color: var(--color-text-on-dark);
    border-color: var(--color-primary);
}

.modern-button:hover, .modern-button:focus,
button[type="submit"]:hover, button[type="submit"]:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-on-dark);
    transform: translateY(-2px); /* Subtle lift */
    box-shadow: var(--shadow-sm);
}

.modern-button:active,
button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Secondary/Outline button (example, if needed) */
.button-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.button-outline:hover, .button-outline:focus {
    background-color: var(--color-primary);
    color: var(--color-text-on-dark);
}

/* -------------------------------------------------------------------------- */
/*                                 CARD STYLES                                */
/* -------------------------------------------------------------------------- */
.card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
    text-align: center; /* Center inline/text content within card */
}

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

.card .card-image,
.card .image-container { /* Ensure this class is used for image wrappers */
    width: 100%;
    height: 220px; /* Fixed height for card images */
    overflow: hidden;
    background-color: var(--color-divider); /* Placeholder bg */
    display: flex; /* For centering the image if it's smaller */
    align-items: center;
    justify-content: center;
}

.card .card-image img,
.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, crop if necessary */
    transition: transform var(--transition-speed) ease;
}

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

.card .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to take up space for equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content and "read more" apart if needed */
}

.card .card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.card .card-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1; /* Allows paragraph to expand */
}

.card .read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-block; /* For padding and potential icon */
    margin-top: auto; /* Push to bottom if card content uses flex column */
}
.card .read-more:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/*                              STATISTICS SECTION                            */
/* -------------------------------------------------------------------------- */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.statistic-item {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.statistic-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.statistic-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}
.statistic-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/*                            METHODOLOGY (TIMELINE)                          */
/* -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 1;
}

.timeline-item {
    padding: 1rem 2.5rem; /* 40px */
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }

/* The circle on the timeline */
.timeline-icon {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px; /* Adjust to sit on the line */
    background-color: var(--color-surface);
    border: 4px solid var(--color-primary);
    top: calc(50% - 10px); /* Vertically center icon to content block */
    border-radius: 50%;
    z-index: 2;
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -10px; /* Adjust for even items */
}

/* The timeline content */
.timeline-content {
    padding: 1.5rem 2rem;
    background-color: var(--color-surface);
    position: relative;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 25px; /* Space from the line */
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 25px; /* Space from the line */
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-top: 0;
    color: var(--color-primary);
}
.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Arrows for timeline items */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: calc(50% - 10px);
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid var(--color-surface);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--color-surface);
}
.timeline-item:nth-child(even) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: calc(50% - 10px);
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid var(--color-surface);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--color-surface) transparent transparent;
}


/* -------------------------------------------------------------------------- */
/*                                GALLERY SECTION                             */
/* -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
/* Uses global .card styles */

/* -------------------------------------------------------------------------- */
/*                    INSIGHTS & TESTIMONIALS (CAROUSEL)                      */
/* -------------------------------------------------------------------------- */
.insights-carousel, .testimonial-carousel {
    /* Basic carousel styling, specific library might override or add more */
    display: flex; /* Simplistic representation for multiple items */
    gap: 2rem;
    overflow-x: auto; /* Allow horizontal scrolling if items exceed width */
    padding-bottom: 1rem; /* Space for scrollbar if it appears */
}

.insights-section .section-title,
.insights-section .section-subtitle {
    color: var(--color-text-on-dark); /* Text on dark parallax bg */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.insight-item, .testimonial-item {
    flex: 0 0 auto; /* Prevent shrinking, allow natural width */
    width: 320px; /* Or a percentage for responsiveness within carousel */
    max-width: 90%;
}

/* Testimonial specific */
.testimonial-item {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px; /* Space for quote mark */
}
.testimonial-text::before {
    content: '\201C'; /* Left double quotation mark */
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--color-primary);
    position: absolute;
    left: -5px;
    top: -10px;
}
.testimonial-author {
    font-weight: 700;
    color: var(--color-text-primary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/*                           CUSTOMER STORIES SECTION                         */
/* -------------------------------------------------------------------------- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
/* Uses global .card and .story-card styles. .story-card can be same as .card */


/* -------------------------------------------------------------------------- */
/*                                AWARDS SECTION                              */
/* -------------------------------------------------------------------------- */
.awards-section .section-title,
.awards-section .section-subtitle {
    color: var(--color-text-on-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center; /* Center cards in grid cells */
}

.award-card { /* Extends .card */
    text-align: center;
}
.award-card .card-image { /* Override if different size needed */
    height: 150px; /* Smaller images for awards */
    width: 150px;
    margin: 0 auto 1rem auto; /* Center the image container */
    border-radius: 50%; /* Circular award images */
}
.award-card .card-image img {
    border-radius: 50%;
}


/* -------------------------------------------------------------------------- */
/*                               CAREERS SECTION                              */
/* -------------------------------------------------------------------------- */
.careers-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.careers-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/*                         EXTERNAL RESOURCES SECTION                         */
/* -------------------------------------------------------------------------- */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.resource-item { /* This is a .card */
    text-align: left; /* Override default card text-align if needed */
}
.resource-item .card-content h4 a {
    color: var(--color-primary);
    font-size: 1.2rem;
}
.resource-item .card-content h4 a:hover {
    color: var(--color-primary-dark);
}
.resource-item .card-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ SECTION                                */
/* -------------------------------------------------------------------------- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-surface);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden; /* For smooth transition */
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: var(--font-family-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
    position: relative; /* For the icon */
    transition: background-color var(--transition-speed) ease;
}

.faq-question:hover, .faq-question:focus {
    background-color: rgba(0,0,0,0.03);
}

.faq-question::after { /* Toggle icon */
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question::after {
    content: '\2013'; /* Minus sign */
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
    padding: 0 1.5rem;
}
.faq-answer p {
    margin: 0;
    padding-bottom: 1.25rem; /* Only if content exists */
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.faq-item.active .faq-answer {
    /* max-height will be set by JS, or a large enough value */
    /* padding: 1.25rem 1.5rem; (handled in JS with content for better transition) */
}


/* -------------------------------------------------------------------------- */
/*                               CONTACT SECTION                              */
/* -------------------------------------------------------------------------- */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.input.modern-input, .textarea.modern-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-family: var(--font-family-body);
    color: var(--color-text-primary);
    background-color: var(--color-background); /* Slightly off-white bg for inputs */
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.input.modern-input:focus, .textarea.modern-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary), 0.25); /* Focus ring */
}

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

/* -------------------------------------------------------------------------- */
/*                                   FOOTER                                   */
/* -------------------------------------------------------------------------- */
.site-footer {
    background-color: #1e1e1e; /* Dark background for footer */
    color: #a9a9a9; /* Light gray text */
    padding: 3rem 0 1.5rem 0;
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--color-text-on-dark); /* White for headings in footer */
    margin-bottom: 1rem;
}

.footer-column p {
    color: #a9a9a9;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links li a,
.footer-social-links li a {
    color: #a9a9a9;
    text-decoration: none;
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

.footer-links li a:hover, .footer-links li a:focus,
.footer-social-links li a:hover, .footer-social-links li a:focus {
    color: var(--color-text-on-dark); /* Brighter on hover */
    padding-left: 5px; /* Slight indent on hover */
}

.footer-social-links {
    /* Styling for text-based social links if needed beyond .footer-links */
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333; /* Divider line */
    font-size: 0.9rem;
    color: #888;
}
.footer-bottom p { color: #888; } /* ensure correct color */

/* -------------------------------------------------------------------------- */
/*                                RESPONSIVE                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.15rem; }

    .timeline::after { left: 30px; } /* Move line to the left */
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; } /* Full width */
    .timeline-item:nth-child(even) { left: 0%; } /* Align all to left */
    .timeline-icon { left: 15px; } /* Position icon on the left line */
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before { /* Point arrows to the left */
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--color-surface) transparent transparent;
    }
     .timeline-item:nth-child(odd) .timeline-content,
     .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0; 
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }

    .menu-toggle { display: block; z-index: 1001; /* Above nav links */ }
    .main-navigation .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
    }
    .main-navigation .nav-links.active {
        display: flex; /* Shown when menu is open */
    }
    .main-navigation .nav-links li {
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-links li a {
        padding: 1rem;
        display: block;
        width: 100%;
    }
    .main-navigation .nav-links li a::after { display: none; /* No underline effect on mobile */ }

    .statistics-grid { grid-template-columns: 1fr; } /* Stack items */
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .awards-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column { margin-bottom: 1.5rem; }
    .footer-links li a:hover, .footer-social-links li a:hover { padding-left: 0; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .section-title { font-size: 1.8rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .contact-form-container { padding: 1.5rem; }
}