@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #2D5BFF;
    --primary-dark: #0022AA;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFF;
    --text-dark: #0A0A0A;
    --text-gray: #4A4A4A;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 6.25rem 0;
}

/* Header */
.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 0.625rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 1.875rem;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar i,
.top-bar svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

header {
    background: white;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo span {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 1.875rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--primary-blue);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.cta-btn {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(45, 91, 255, 0.3);
}

.cta-btn.btn-hero {
    background: transparent;
    border: 2px solid white;
}

.cta-btn.btn-hero:hover {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 0.3125rem 0.9375rem rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 255, 0.9), rgba(0, 51, 255, 0.9)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 85vh;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.25rem;
    max-width: 50rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 37.5rem;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    background: white;
    padding: 5rem 0;
    margin-top: -3.75rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.625rem;
}

.stat-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.625rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Information Sections */
.info-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6.25rem;
}

.info-section.reverse {
    flex-direction: row-reverse;
}

.info-content {
    flex: 1;
}

.info-image {
    flex: 1;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.1);
}

.info-image img {
    width: 100%;
    display: block;
}

.info-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5625rem;
    color: var(--text-dark);
}

.info-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.875rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* About Page Specific Styles */
.page-header {
    background: var(--bg-light);
    padding: 3.75rem 0;
    text-align: center;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 0.9375rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card i {
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.compliance-list {
    list-style: none;
    padding: 0;
}

.compliance-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.compliance-list i {
    color: #4CAF50;
    flex-shrink: 0;
}

/* Services Page Specific Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
    gap: 1.875rem;
    margin-top: 3.125rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

/* Industries Page Specific Styles */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: 1.25rem;
}

.industry-item {
    position: relative;
    height: 25rem;
    border-radius: 1.25rem;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.industry-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: var(--transition);
}

.industry-item:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.industry-content {
    position: relative;
    z-index: 3;
}

/* Contact Page Specific Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3.75rem;
    margin-top: 3.125rem;
}

.contact-info-card {
    background: var(--primary-blue);
    color: white;
    padding: 3.125rem;
    border-radius: 1.25rem;
}

.contact-info-card h2 {
    color: white;
    margin-bottom: 1.875rem;
}

.info-detail {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.info-detail i,
.info-detail svg {
    color: rgba(255, 255, 255, 0.9);
    width: 1.5rem !important;
    height: 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-card {
    background: white;
    padding: 3.125rem;
    border-radius: 1.25rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.1875rem rgba(37, 99, 235, 0.1);
}

.form-group input.input-error,
.form-group textarea.input-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.error-text {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3125rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-text.show {
    display: block;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-0.3125rem); }
    to { opacity: 1; transform: translateY(0); }
}

.map-section {
    height: 28.125rem;
    background: #eee;
    border-radius: 1.25rem;
    margin-top: 5rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Trusted Banner */
.trusted-banner {
    background: linear-gradient(90deg, var(--primary-blue), #00A2FF);
    padding: 3.75rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trusted-banner h2 {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.trusted-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/world-map.png');
    opacity: 0.1;
    z-index: 1;
}

/* Dark Feature Section */
.dark-feature-section {
    background: #050505;
    color: white;
    padding: 6.25rem 0;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-grid-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.feature-item-small h3 {
    margin-bottom: 0.9375rem;
    color: white;
}

.feature-item-small p {
    color: #888;
}

.feature-circle-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 0.625rem solid #111;
}

.feature-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News Section */
.news-section {
    padding: 6.25rem 0;
}

.news-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.news-header h2 {
    font-size: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.news-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-0.625rem);
}

.news-card img {
    width: 100%;
    height: 15.625rem;
    object-fit: cover;
}

.news-content {
    padding: 1.875rem;
}

.news-content h3 {
    margin-bottom: 0.9375rem;
    font-size: 1.5rem;
}

.news-content a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Updated Footer */
footer {
    background: #050505;
    color: white;
    padding: 5rem 0 1.875rem;
    border-top: 1px solid #111;
}

.footer-socials {
    display: flex;
    gap: 0.9375rem;
    margin-top: 1.25rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-0.1875rem);
}

/* Status Pill */
.status-pills {
    display: flex;
    gap: 0.625rem;
    margin-top: 2.5rem;
}

.pill {
    background: var(--primary-blue);
    padding: 0.625rem 1.25rem;
    border-radius: 3.125rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive updates */
@media (max-width: 62rem) {
    .feature-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.75rem;
    margin-bottom: 3.75rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-blue);
}

.footer-about p {
    color: #999;
    margin-bottom: 1.25rem;
}

.footer-links h4 {
    margin-bottom: 1.5625rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #999;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 1.875rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 62rem) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .info-section {
        flex-direction: column;
        gap: 2.5rem;
    }

    .info-section.reverse {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
    gap: 1.875rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-0.3125rem);
    border-color: var(--primary-blue);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.05);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.875rem;
}

.client-info img {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.client-details p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

.quote-icon {
    color: var(--primary-blue);
    opacity: 0.2;
    margin-bottom: 1.25rem;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.faq-accordion {
    display: grid;
    gap: 0.9375rem;
}

.accordion-item {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0.625rem 1.875rem rgba(45, 91, 255, 0.05);
}

.accordion-header {
    padding: 1.5625rem 1.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background: #fdfdfd;
    color: var(--primary-blue);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.accordion-header-left i {
    color: var(--primary-blue);
    background: var(--bg-light);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accordion-item.active .accordion-header-left i {
    background: var(--primary-blue);
    color: white;
}

.accordion-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--text-gray);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    /* Collapse: shrink grid immediately so it matches the other one opening */
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
    /* Expand: expand grid immediately */
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.accordion-content-inner {
    opacity: 0;
    min-height: 0;
    border-left: 0.25rem solid transparent;
    /* Collapse: fade out opacity fast while it's shrinking */
    transition: opacity 0.2s ease 0s, border-color 0.3s ease;
}

.accordion-item.active .accordion-content-inner {
    opacity: 1;
    border-left: 0.25rem solid var(--primary-blue);
    /* Expand: fade in opacity after the grid has started to open */
    transition: opacity 0.3s ease 0.2s, border-color 0.3s ease;
}

.accordion-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    padding: 0 1.875rem 1.875rem 1.875rem;
    /* Static padding on child to prevent grid 0fr thickness bug */
}

/* Footer CTA Banner */
.footer-cta-banner {
    padding: 6.25rem 0;
    text-align: center;
}

.cta-banner-content {
    background: linear-gradient(135deg, var(--primary-blue), #00A2FF);
    padding: 5rem 2.5rem;
    border-radius: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.cta-banner-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-banner-content .cta-btn {
    position: relative;
    z-index: 2;
}

.cta-banner-content .cta-btn:hover {
    transform: translateY(-0.3125rem);
    background: var(--primary-dark) !important;
    color: white !important;
}

.cta-banner-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    z-index: 1;
}

@media (max-width: 62rem) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-banner-content h2 {
        font-size: 2.5rem;
    }
}

/* Custom SVG Animations */
@keyframes lockOpenClose {
    0%, 15% { transform: translateY(0) rotateY(0deg); }
    22% { transform: translateY(-0.25rem) rotateY(0deg); }
    30% { transform: translateY(-0.25rem) rotateY(180deg); }
    30%, 60% { transform: translateY(-0.25rem) rotateY(180deg); }
    68% { transform: translateY(-0.25rem) rotateY(0deg); }
    75% { transform: translateY(0) rotateY(0deg); }
    75%, 100% { transform: translateY(0) rotateY(0deg); }
}

.animated-lock svg {
    overflow: visible; /* Prevents the rotating shackle from getting clipped */
}

.animated-lock svg path {
    transform-origin: 0.4375rem 0.6875rem; /* Exact SVG coordinate of the left leg's center to prevent shifting during spin */
    animation: lockOpenClose 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn i {
    width: 2rem;
    height: 2rem;
}

/* Specific Mobile Styles (max-width: 48rem ~ 768px) */
@media (max-width: 48rem) {
    /* Global Section Spacing */
    section, .dark-feature-section, .news-section, .footer-cta-banner {
        padding: 3.125rem 0;
    }
    
    .stats {
        padding: 3.125rem 0;
        margin-top: -2rem;
    }

    /* Top Bar Layout */
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .marquee-top-bar {
        overflow: hidden;
        white-space: nowrap;
        display: block;
    }

    .marquee-top-bar .container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        animation: scroll-left 15s linear infinite;
        padding: 0.625rem 0;
        gap: 1.875rem;
    }

    @keyframes scroll-left {
        0% { transform: translateX(100vw); }
        100% { transform: translateX(-100%); }
    }

    /* Header & Navigation */
    .mobile-menu-btn {
        display: block;
    }

    nav > .cta-btn {
        display: none; /* Hide primary CTA in header on mobile only */
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1.25rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        gap: 1.25rem;
        border-top: 1px solid #11111111;
    }

    .nav-links.active {
        display: flex;
    }

    /* Typography Overrides */
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .trusted-banner h2 {
        font-size: 1.8rem;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }
    
    .info-content h2,
    .news-header h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .cta-banner-content h2 {
        font-size: 2rem;
    }

    /* Grid Layouts Stack */
    .stats-grid,
    .feature-layout,
    .news-grid,
    .footer-grid,
    .faq-layout,
    .contact-container,
    .vision-mission,
    .industry-grid,
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .compliance-grid {
        text-align: center;
    }

    .compliance-list li {
        justify-content: center;
    }

    /* Contact Page Optimizations */
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .map-section {
        height: 18.75rem;
        margin-top: 3rem;
    }

    /* Services Page Optimizations */
    .service-card {
        padding: 1.5rem;
    }

    /* Industries Page Optimizations */
    .industry-item {
        height: 20rem;
        padding: 1.5rem;
    }

    /* Padding adjustments for cards */
    .cta-banner-content {
        padding: 3rem 1.5rem;
        border-radius: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    footer {
        padding: 3.125rem 0 1.25rem;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Testimonials Horizontal Scroll Auto-swipe */
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.25rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 2rem;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 2.5rem; /* Large padding to center first card and show peek */
        padding-right: 2.5rem;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: calc(100vw - 5rem); /* Precisely sized to show peek of next card */
        width: calc(100vw - 5rem);
        margin: 0;
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 1.75rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    }

    /* About Page Optimizations */
    .vision-mission .card,
    .card {
        padding: 1.5rem;
        text-align: center;
    }

    .card i {
        margin-bottom: 0.9375rem;
    }

    /* Padding adjustments for cards */
    .cta-banner-content {
        padding: 3rem 1.5rem;
        border-radius: 1.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    /* Image margins */
    .info-image {
        margin-top: 1rem;
    }
}