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

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

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

.text-white {
    color: var(--color-text-light);
}

.text-accent {
    color: var(--color-accent-yellow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    /* Pillow shape from design */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent-yellow);
    color: var(--color-text-dark);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--color-text-light);
    color: var(--color-text-light);
}

.btn-outline-white:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary-blue);
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* --- Header Styles --- */
.main-header {
    background-color: var(--color-primary-blue);
    color: var(--color-text-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
}

/* Hide text if logo contains text, or keep both if desired. 
   Assuming logo image has text based on screenshot, we might hide the text span or just rely on image.
   For now, I will support an image-only logo or image+text. 
   Given the uploaded image has text, I'll likely just use the image. */

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-accent-yellow);
}

.mobile-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Footer (Refined Light Theme) --- */
.main-footer {
    background-color: white;
    color: var(--color-text-dark);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--color-text-dark);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 250px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-icon:hover {
    color: var(--color-primary-blue);
    transform: translateY(-2px);
}

/* Image Gallery Grid */
.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 60px);
    gap: 0.5rem;
}

.gallery-item {
    background-color: #e5e7eb;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Location/Link Columns */
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: block;
}

.footer-links a:hover {
    color: var(--color-primary-blue);
    text-decoration: underline;
}

.view-map-link {
    color: var(--color-primary-blue) !important;
    text-decoration: underline;
    font-weight: 500;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}

/* --- Hero Section --- */
.hero {
    background-color: var(--color-primary-blue);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Center content vertically */
    /* For shapes */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.rating-badge {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.yellow-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--color-accent-yellow);
    border-radius: 2rem;
    z-index: 0;
}

.hero-image-placeholder {
    position: relative;
    z-index: 1;
    border-radius: 2rem;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary-blue);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* --- Process Section --- */
.process-section {
    background-color: var(--color-bg-light);
    text-align: center;
}

.process-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-icon-blob {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent-yellow);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Organic blob shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    /* Optional: Animate blob */
    transition: var(--transition-base);
}

.process-item:hover .process-icon-blob {
    transform: scale(1.1) rotate(5deg);
}

.process-connector {
    font-size: 2rem;
    color: #CBD5E1;
    /* Light gray */
    margin-top: 1.5rem;
    display: none;
    /* Hidden by default, show on big screens */
}

@media (min-width: 900px) {
    .process-connector {
        display: block;
    }
}

/* --- Services Section --- */
.services-section {
    background-color: var(--color-primary-blue);
    color: var(--color-text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    /* Glassy effect on dark blue */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--color-accent-yellow);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
    /* Push link to bottom */
}

.service-link {
    color: var(--color-accent-yellow);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* --- About Section --- */
.about-section {
    background-color: var(--color-bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.check-list {
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-icon {
    background-color: var(--color-primary-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.btn-outline-dark {
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--color-text-dark);
    color: white;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.faq-header h2 {
    margin-bottom: 1rem;
}

.faq-header p {
    margin-bottom: 2rem;
    color: var(--color-text-muted);
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '→';
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Responsive for new sections */
@media (max-width: 900px) {

    .about-container,
    .faq-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 2rem;
    }
}

/* --- Blog Section (Refined) --- */
.blog-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.blog-card {
    /* Clean style - no border/shadow from container */
    background: transparent;
    display: flex;
    flex-direction: column;
}

.blog-card:hover .blog-img-placeholder {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-img-placeholder {
    height: 250px;
    background-color: #e5e7eb;
    border-radius: 1.5rem;
    /* Large rounded corners from design */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-base);
}

/* Simulate image content */
.blog-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.read-more {
    margin-top: auto;
    color: var(--color-primary-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    /* Gray-300 */
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 3px rgba(17, 70, 143, 0.1);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-blue);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Revamped About Page --- */

/* About Hero */
.about-hero {
    position: relative;
    background-image: url('../images/hero.jpg');
    /* Fallback/Placeholder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 0;
    color: var(--color-text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 4rem;
    /* Large impact */
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Mission Section (Split) */
.mission-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image-wrapper {
    position: relative;
}

.mission-image {
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.since-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4);
    /* Optional backing for readability */
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
}

.since-badge .year {
    display: block;
    font-size: 3rem;
    line-height: 1;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.mission-text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}



.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: rgba(17, 70, 143, 0.1);
    /* Light blue tint based on primary */
    color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.value-icon-wrapper i {
    font-size: 1.25rem;
}

.value-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.value-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Values/Training Section (Cards) */
.training-section {
    padding: var(--spacing-xl) 0;
    background-color: #EEF2F6;
    /* Light bluish tint from design */
}

.training-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.training-header h2 {
    font-size: 2.5rem;
    max-width: 500px;
}

.training-header p {
    max-width: 500px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    /* Align baseline roughly */
}

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

.training-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
}

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

.card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .training-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* --- Services Page Revamp --- */

.services-hero {
    background-color: var(--color-primary-blue);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.services-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-wrapper {
    background-color: white;
    padding: var(--spacing-xl) 0;
}

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

.service-card-new {
    background-color: #EEF2F6;
    /* Matches screenshot light blue/gray */
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-base);
    height: 100%;
}

.service-card-new:hover {
    transform: translateY(-5px);
    background-color: #E2E8F0;
}

.service-icon-new {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    display: inline-flex;
    /* Ensure it wraps icon tightly or behaves like text */
}

/* Legacy SVG support if needed, otherwise I targets */
.service-icon-new i,
.service-icon-new svg {
    font-size: 3rem;
    width: 1em;
    /* Scale closely with font-size */
    height: 1em;
}

.service-card-new h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    font-weight: 700;
}

.service-card-new p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Animated Testimonial Carousel --- */

.testimonials-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
    /* Or slightly different for contrast */
    text-align: center;
    overflow: hidden;
    /* Hide scrollbar */
}

.testimonials-header {
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.testimonials-header p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    width: max-content;
    /* Ensure track is as wide as its content */
    padding: 2rem 0;
    /* Space for shadow */
}

/* Pause animation on hover for readability */
.carousel-container:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 350px;
    flex-shrink: 0;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    color: #fbbf24;
    /* Star yellow */
    margin-bottom: 1.5rem;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #EEF2F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-blue);
    font-size: 1.5rem;
}

.user-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.user-info span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move by half the total width (one set of cards) */
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        padding: 2rem;
    }

    .testimonial-track {
        gap: 1.5rem;
        animation-duration: 30s;
        /* Faster on mobile or adjust as needed */
    }
}

/* Partners Section */
.partners-section {
    padding: 3rem 0;
    background-color: #f8fafc;
    overflow: hidden;
    /* Hide overflow */
}

.partners-heading {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    /* Spacing between names */
    animation: scroll 40s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-text-dark);
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.partner-item:hover {
    opacity: 1;
    color: var(--color-primary-blue);
}

/* Ensure keyframes scroll exists if not defined elsewhere */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move by half the width (original set) */
    }
}

/* --- Service Area Dark Redesign --- */
.service-area-dark {
    background-color: var(--color-primary-blue);
    color: white;
}

.service-area-dark h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.service-area-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    background-color: rgba(255, 255, 255, 0.1);
    /* Semi-transparent white overlay on blue */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    /* Rounded corners like reference */
    padding: 2.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.area-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: white;
    /* Icon color */
    margin-bottom: 1.5rem;
}

.area-card h3 {
    color: white;
    /* Title color */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.area-list li i {
    color: var(--color-accent-yellow);
    /* Yellow checks for contrast */
    font-size: 1.1rem;
}

.area-list li:last-child {
    margin-bottom: 0;
}

/* Add 'Learn More' style link if needed later, matching reference */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent-yellow);
    font-weight: 600;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 0.75rem;
}