:root {
    --bg-cream: #FDFCF8;
    --bg-off-white: #F8F7F2;
    --bg-sand: #F2EFE6;
    --text-dark: #1A1918;
    --text-muted: #5A5550;
    --text-light: #7A7570;

    --accent-emerald: #00335B;
    --accent-emerald-hover: #043D2E;
    --accent-gold: #D4AF37;
    --accent-gold-soft: #F9F1D6;

    --border-light: #EEEBE2;
    --input-bg: #FCFCFC;

    --transition-standard: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.serif-font {
    font-family: 'Fraunces', serif;
    font-weight: 500;
}

/* Base Components */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-hover));
    color: white;
    border-radius: 9999px;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: var(--transition-standard);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(6, 78, 59, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(6, 78, 59, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: var(--bg-sand);
    color: var(--text-dark);
    border-radius: 9999px;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-standard);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--accent-gold-soft);
    transform: translateY(-2px);
}

.section-padding {
    padding: 120px 0;
}

/* Custom Utilities */
.bg-none-important {
    background: none !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-emerald), #0A7E60);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services Slider & Refined Cards */
.services-container {
    position: relative;
    padding: 0 1rem;
}

.services-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 2rem;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.services-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.service-slide {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: 350px;
}

@media (max-width: 1024px) {
    .service-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .service-slide {
        flex: 0 0 100%;
    }
}

.refined-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 2.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.refined-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-slide:hover .refined-card-img-wrapper img {
    transform: scale(1.05);
}

.image-arrow-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    color: #00335B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-slide:hover .image-arrow-btn {
    background: #00335B;
    color: white;
}

.slider-nav {
    display: flex;
    gap: 1rem;
    position: absolute;
    top: -5rem;
    right: 3rem;
}

.slider-nav.static {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px) {
    .slider-nav {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
}

.nav-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.nav-btn:hover:not(.disabled) {
    border-color: #00335B;
    color: #00335B;
    background: #FDFCF8;
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: default;
}

.dark-hero-container {
    background-color: #1A1918;
    background-size: cover;
    background-position: center;
    border-radius: 60px;
    padding: 120px 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dark-hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 24, 0.6);
    /* Dark tint for legibility */
    z-index: 1;
}

.dark-hero-container>* {
    position: relative;
    z-index: 2;
}

.benefit-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.benefit-item i {
    color: var(--accent-gold);
    width: 1.5rem;
    height: 1.5rem;
}

.benefit-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.hiring-number {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.application-form {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    background: #FDFCF8;
    font-family: inherit;
    transition: var(--transition-standard);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-emerald);
    background: white;
}

.image-overlay-hero {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 80px;
}

.image-overlay-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 24px;
}

.director-quote-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.director-quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.director-name {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.director-title {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

.why-choose-dark {
    background-color: #1A1918;
    border-radius: 60px;
    padding: 60px 40px;
    /* Reduced from 80px */
    color: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    /* Reduced from 60px */
    align-items: center;
}

@media (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1.1fr;
        /* Slightly larger image side */
        padding: 20px 40px;
        /* Reduced from 80px/16px */
    }
}

.why-choose-point {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.why-choose-point i {
    color: var(--accent-gold);
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.why-choose-point-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.why-choose-img {
    border-radius: 40px;
    width: 100%;
    height: 440px;
    /* Reduced from 500px */
    object-fit: cover;
}

/* CTA Banner */
.cta-banner {
    background-color: #00335B;
    background-image: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 60px;
    padding: 100px 40px;
    color: white;
    text-align: center;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #EEEBE2;
}

.faq-question {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    color: #1A1918;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #00335B;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: #D4AF37;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    color: #5A5550;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Scroll Animations */
.word {
    display: inline-block;
}

.char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.1s ease;
    will-change: opacity;
}

.animate-text {
    opacity: 1 !important;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Asterisk Frame Enhancement */
.asterisk-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: var(--transition-standard);
}

.asterisk-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(0 50 50)' fill='white'/%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(60 50 50)' fill='white'/%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(120 50 50)' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(0 50 50)' fill='white'/%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(60 50 50)' fill='white'/%3E%3Crect x='33' y='0' width='34' height='100' rx='8' transform='rotate(120 50 50)' fill='white'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    transform: scale(var(--scroll-scale, 1));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.asterisk-img-wrapper:hover img {
    transform: scale(1.1);
}

.service-slide:hover .asterisk-img-wrapper img {
    transform: scale(1.1);
}

.image-arrow-btn-asterisk {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-standard);
}

.service-slide:hover .image-arrow-btn-asterisk {
    background: #00335B;
    transform: scale(1.1);
}

/* About Page Specifics */
.about-hero {
    background-color: #00335B;
    background-image: linear-gradient(rgba(6, 78, 59, 0.8), rgba(6, 78, 59, 0.8)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
}

.btn-brochure {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    /* Premium blurple/indigo gradient from screenshot */
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-standard);
}

.btn-brochure:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.lined-value-item {
    border-top: 1px solid #E5E7EB;
    padding: 3rem 0;
}

.lined-value-item:last-child {
    border-bottom: 1px solid #E5E7EB;
}

/* Green Who We Are Cards */
.who-card.green-theme {
    background: #00335B;
    color: white;
    padding: 48px;
    border-radius: 40px;
    border: none;
}

.who-card.green-theme .who-text {
    color: rgba(255, 255, 255, 0.7);
}

.who-card.green-theme .who-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mission & Vision Redesign (Split Style) */
.mission-vision-header {
    margin-bottom: 60px;
}

.mv-card {
    background: white;
    padding: 60px;
    border-radius: 40px;
    border: 1px solid #EEEBE2;
    transition: var(--transition-standard);
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: #00335B;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.05);
}

/* Interactive Services Tabs */
.services-tabs-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .services-tabs-container {
        grid-template-columns: 1fr 1fr;
    }
}

.tab-nav-item {
    padding: 28px 40px;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition-standard);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #5A5550;
    background: white;
    border: 1px solid #EEEBE2;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.tab-nav-item:hover {
    background: #F8F7F2;
    border-color: #00335B20;
}

.tab-nav-item.active {
    background: #00335B;
    color: white;
    border-color: #00335B;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.service-display-card {
    background: #00335B;
    border-radius: 48px;
    padding: 80px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    flex-direction: column;
}

.service-icon-card {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.service-icon-card {
    color: #00335B;
}

.service-display-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    /* Increased real estate for text */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-pill {
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1A1918;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-pill i {
    width: 20px;
    height: 20px;
    color: #00335B;
}

.service-display-img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.8s ease;
    z-index: 1;
}

.service-display-card:hover .service-display-img-bg {
    opacity: 1;
    transform: scale(1.05);
}

.service-display-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 78, 59, 1) 30%, rgba(6, 78, 59, 0.4) 60%, rgba(6, 78, 59, 0.1) 100%);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.service-display-card:hover .service-display-overlay {
    opacity: 0.8;
}

.service-display-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Us V2 */
.why-choose-v2 {
    background-color: white;
    padding: 120px 0;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5A5550;
    margin-bottom: 24px;
}

.why-badge i {
    color: #D4AF37;
    width: 14px;
    height: 14px;
}

.btn-black-pill {
    background: #1A1918;
    color: white;
    padding: 12px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-standard);
    white-space: nowrap;
}

.btn-black-pill:hover {
    background: #00335B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-feature-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    color: #D4AF37;
    margin-bottom: 8px;
}

.why-feature-title {
    font-size: 15px;
    font-weight: 500;
    color: #1A1918;
    line-height: 1.5;
}

.why-choose-main-img {
    border-radius: 32px;
    width: 100%;
    height: 520px;
    object-fit: cover;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

/* Cards & Panels */
.premium-card {
    background: white;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition-standard);
}

.premium-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px -20px rgba(26, 25, 24, 0.1);
}

/* CQC Excellence Bar */
.cqc-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    margin-top: 60px;
}

.cqc-label {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.cqc-badge {
    background: white;
    padding: 10px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cqc-badge-title {
    font-size: 10px;
    font-weight: 700;
    color: #5A5550;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cqc-badge-status {
    font-size: 16px;
    font-weight: 800;
    color: #059669;
    /* Green for Outstanding */
}

.cqc-badge-status.gold {
    color: #D4AF37;
}

.cqc-badge-status.navy {
    color: #1E3A8A;
}

/* Hero Stats Bar */
.hero-stats-wrap {
    position: relative;
    margin-top: -80px;
    z-index: 20;
    padding: 0 20px;
}

.hero-stats-bar {
    background: white;
    border-radius: 32px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    box-shadow: 0 30px 60px -20px rgba(26, 25, 24, 0.15);
    border: 1px solid rgba(26, 25, 24, 0.05);
}

@media (min-width: 1024px) {
    .hero-stats-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 50px 80px;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 600;
    color: #00335B;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: #5A5550;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Values Slider */
.values-slider-container {
    position: relative;
    margin: 4rem 0;
}

.values-wrapper {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 4px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.values-wrapper::-webkit-scrollbar {
    display: none;
}

.value-card {
    flex: 0 0 calc(100% - 32px);
    background: #F2EFE6;
    padding: 24px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-standard);
}

@media (min-width: 768px) {
    .value-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (min-width: 1024px) {
    .value-card {
        flex: 0 0 calc(25% - 24px);
    }
}

.value-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.value-icon-box {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    margin-bottom: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.value-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A1918;
}

.value-text {
    font-size: 15px;
    color: #5A5550;
    line-height: 1.6;
}

.values-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Who We Are Section (About Page) */
.who-we-are-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .who-we-are-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.who-card {
    background: #EAF3FF;
    /* Soft blue from screenshot */
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-standard);
}

.who-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.who-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #0088CC;
    /* Brand blue from screenshot */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1918;
    display: flex;
    align-items: center;
    gap: 12px;
}

.who-text {
    color: #5A5550;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Who We Work With (Services Page) */
.partner-section {
    border-top: 1px solid var(--border-light);
    padding-top: 80px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    border-top: 1px solid #E5E7EB;
}

@media (min-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-item {
    padding: 60px 40px;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.partner-item:last-child {
    border-right: none;
}

.partner-item.active {
    background: #EAF3FF;
}

.partner-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5A5550;
    margin-bottom: 32px;
    display: block;
}

.partner-icon {
    width: 48px;
    height: 48px;
    color: #1A1918;
    margin-bottom: 32px;
}

.partner-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1918;
    line-height: 1.4;
}

.partner-item:hover {
    background: #FAFBFC;
}

/* Standardized Page Hero (About, Services, Contact) */
.standard-page-hero {
    padding: 2rem 0;
}

.standard-hero-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background-color: #00335B;
}

.standard-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 51, 91, 0.85) 0%, rgba(0, 51, 91, 0.85) 15%, rgba(0, 51, 91, 0.4) 50%, transparent 100%);
}

@media (max-width: 768px) {
    .standard-hero-overlay {
        background: linear-gradient(to top, rgba(0, 51, 91, 0.95) 0%, rgba(0, 51, 91, 0.8) 40%, transparent 100%);
    }

    .standard-hero-container {
        justify-content: flex-end;
        padding: 40px 30px;
    }
}

.standard-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: white;
}

/* Eldiora Style Services Cards */
.eldiora-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .eldiora-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .eldiora-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.eldiora-card {
    background: white;
    border-radius: 40px;
    padding: 48px 48px 0 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #F0EEE6;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    min-height: 580px;
}

.eldiora-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(6, 78, 59, 0.1);
    border-color: #00335B20;
}

.eldiora-card-top {
    margin-bottom: 32px;
    flex-grow: 1;
}

.eldiora-card-title {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1A1918;
    margin-bottom: 16px;
    line-height: 1.2;
}

.eldiora-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #5A5550;
    margin-bottom: 24px;
}

.eldiora-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00335B;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: gap 0.3s ease;
    margin-bottom: 40px;
}

.eldiora-card:hover .eldiora-card-link {
    gap: 14px;
}

.eldiora-card-img-wrapper {
    width: calc(100% + 96px);
    margin-left: -48px;
    margin-right: -48px;
    height: 280px;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    margin-top: auto;
}

.eldiora-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.eldiora-card:hover .eldiora-card-img {
    transform: scale(1.1);
}

/* Service Delivery Approach (Dark Section) */
.delivery-approach {
    background: #00335B;
    /* Deep Emerald */
    color: white;
    padding: 100px 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.approach-steps-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 48px;
    position: relative;
    margin-top: 80px;
}

@media (min-width: 1024px) {
    .approach-steps-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

.approach-step {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all 0.5s ease;
    z-index: 5;
}

.approach-step:hover .step-icon-wrapper {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.step-1 .step-icon-wrapper {
    border-color: #4FD1C5;
}

.step-2 .step-icon-wrapper {
    border-color: #63B3ED;
}

.step-3 .step-icon-wrapper {
    border-color: #B794F4;
}

.step-4 .step-icon-wrapper {
    border-color: #F687B3;
}

.step-5 .step-icon-wrapper {
    border-color: #F6AD55;
}

/* Text Animation Classes */
.animate-text .word {
    display: inline-block;
    white-space: nowrap;
}

.animate-text .char {
    display: inline-block;
    opacity: 0;
}

.step-icon-wrapper i {
    width: 24px;
    height: 24px;
}

@media (min-width: 1024px) {
    .step-connector {
        position: absolute;
        top: 32px;
        left: calc(50% + 32px);
        width: calc(100% - 64px);
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 1;
    }
}

.step-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: block;
}

.step-title {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 200px;
}

/* MOBILE HERO STATS PATCH */
.hero-stats-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 20px 10px !important;
    gap: 15px !important;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 28px !important;
        margin-bottom: 4px !important;
    }

    .stat-label {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 1024px) {
    .hero-stats-bar {
        padding: 24px 80px !important;
        gap: 40px !important;
    }
}


/* CTA INTERACTIVE GRADIENT GLOW */
.cta-interactive {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.cta-interactive::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 400px at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
    /* keep it above the cubism bg, below the text */
}

.cta-interactive:hover::before {
    opacity: 1;
}

.cta-interactive>* {
    position: relative;
    z-index: 10;
}


/* HERO STATS OVERLAP FIX */
.hero-stats-wrap {
    margin-top: -30px !important;
    /* reduced from -80px to stop overlapping CQC on mobile */
}

@media (min-width: 768px) {
    .hero-stats-wrap {
        margin-top: -60px !important;
        /* safe spacing for desktop */
    }
}

/* SERVICE CARD MOBILE FIX */
.service-card-main {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 480px;
    /* Slight increase for safety */
    height: auto;
    display: flex;
    flex-direction: column;
}

.service-card-overlay {
    position: relative;
    flex-grow: 1;
    padding: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

@media (min-width: 768px) {
    .service-card-overlay {
        padding: 3rem;
    }
}

.feature-pill {
    background: white !important;
    color: #00335B !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}