/* --- 1. GLOBAL SETTINGS & VARIABLES --- */
:root {
    --navy: #0b1f3a;
    --accent-blue: #4098d7;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --text-main: #333d4b;
    --text-muted: #666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-dynamic: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    font-family: Cambria, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
/* --- UPDATED HERO SECTION (MNC STYLE) --- */
.eva-hero {
    position: relative;
    min-height: 50vh; /* Change from 70vh to 50vh or a fixed px like 400px */
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1f3a 0%, #162e4a 100%);
    padding: 40px 5% 20px; /* Reduced from 80px 5% 40px */
}

.eva-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    z-index: 10;
}

/* Left Content Styles */
.eva-hero-text-content {
    color: white;
    text-align: left;
}

.eva-hero-badge {
    color: var(--accent-blue, #4098d7);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.eva-hero-text-content h1 { 
    font-family: 'Cambria', serif !important;
    font-size: clamp(2.5rem, 5vw, 4rem); 
    margin-bottom: 25px; 
    font-weight: 700; 
    line-height: 1.1;
    animation: fadeInUp 0.8s ease forwards;
}

.eva-blue-accent {
    color: #4098d7;
}

.eva-hero-text-content p { 
    font-size: clamp(1rem, 1.2vw, 1.25rem); 
    margin-bottom: 40px; 
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}



/* Right Side Animation Styles */
.eva-hero-animation-container {
    position: relative;
    height: 300px; /* Change from 450px to 300px or 250px */
    display: flex;
    justify-content: center;
    align-items: center;
}

.culture-blob {
    position: absolute;
    width: 250px;  /* Change from 350px to 250px */
    height: 250px; /* Change from 350px to 250px */
    background: radial-gradient(circle, rgba(64,152,215,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
}

.culture-circle {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.c1 { width: 300px; height: 300px; border-style: dashed; }
.c2 { width: 200px; height: 200px; opacity: 0.5; animation-direction: reverse; }
.c3 { width: 100px; height: 100px; background: rgba(64,152,215,0.1); }

.floating-icons i {
    position: absolute;
    color: #4098d7;
    font-size: 2rem;
    animation: float 4s infinite ease-in-out;
}

.icon-1 { top: 20%; left: 20%; animation-delay: 0s; }
.icon-2 { top: 60%; right: 15%; animation-delay: 1s; }
.icon-3 { bottom: 15%; left: 30%; animation-delay: 2s; }

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-20px); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .eva-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .eva-hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .eva-hero-text-content p { margin-left: auto; margin-right: auto; }
    .eva-hero-animation-container { height: 300px; order: 2; }
}

@media (max-width: 480px) {
    .eva-hero { padding: 100px 20px 40px; }
    .eva-hero-animation-container { display: none; } /* Hide animation on tiny screens for better UX */
}

/* Button Overrides for Hero */
.eva-btn-main {
    border-radius: 0px !important; /* Square Look */
    padding: 16px 40px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.eva-btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(64, 152, 215, 0.4);
}


/* --- 3. COMMON SECTION STYLES --- */
.eva-section-white { padding: 20px 0; background: var(--white); }
.eva-section-gray { padding: 20px 0; background: var(--gray-bg); }

.eva-title-block { text-align: center; margin-bottom: 60px; }
.eva-title-block h2 { font-size: 2.5rem; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.eva-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.eva-heading-line {
    width: 120px;
    height: 3px;
    background: #eef2f6;
    margin: 25px auto 0;
    position: relative;
    border-radius: 10px;
}

.line-dot {
    position: absolute;
    width: 20px;
    height: 6px;
    background: var(--accent-blue);
    top: -1.5px;
    left: 0;
    border-radius: 10px;
    animation: slideDot 3s infinite ease-in-out;
}

.eva-title-desc {
    max-width: 700px;
    margin: 25px auto 0;
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
}

@keyframes slideDot {
    0%, 100% { left: 0; }
    50% { left: 100px; }
}

/* --- 4. DYNAMIC INTERACTIVE CULTURE CARDS --- */
.eva-dynamic-culture {
    padding: 20px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 750px; /* Fixed section height */
}

.eva-interactive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    position: relative;
    z-index: 2;
    height: 450px; /* Fixed grid height to prevent content jumping */
}

.eva-interactive-card {
    background: #ffffff;
    border-radius: 10px; /* Square Look */
    padding: 40px 30px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    cursor: pointer;
    overflow: hidden;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.eva-interactive-card:hover, 
.eva-interactive-card.active {
    height: 420px; /* Expanded height */
    transform: translateY(-15px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.15);
}

/* MORPHING BLOBS */
.icon-stage {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-blob {
    position: absolute;
    width: 80px;
    height: 80px;
    filter: blur(15px);
    opacity: 0.15;
    border-radius: 50%;
    animation: morphBlob 8s infinite alternate ease-in-out;
}

.color-1 { background: #4098d7; }
.color-2 { background: #62cff4; }
.color-3 { background: #2f5ad8; }
.color-4 { background: #0b1f3a; }

@keyframes morphBlob {
    0% { border-radius: 50%; transform: scale(1) translate(0, 0); }
    33% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: scale(1.1) translate(5px, -5px); }
    66% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: scale(0.9) translate(-5px, 5px); }
    100% { border-radius: 50%; transform: scale(1) translate(0, 0); }
}

/* ICON ANIMATIONS */
.icon-stage i {
    font-size: 36px;
    color: var(--accent-blue);
    z-index: 2;
    transition: all 0.3s ease;
}



.pulse-icon { animation: pulse 2s infinite; }
.rotate-icon { animation: rotate 4s infinite linear; }
.bounce-icon { animation: bounce 2s infinite; }
.float-icon { animation: float 3s infinite ease-in-out; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* CONTENT REVEAL */
.eva-interactive-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.short-desc { font-weight: 600; color: var(--accent-blue); margin-bottom: 15px; }

.hover-reveal-zone {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.eva-interactive-card:hover .hover-reveal-zone,
.eva-interactive-card.active .hover-reveal-zone {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.extended-desc { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 15px; }
.learn-more {
    text-decoration: none;
    color: var(--accent-blue);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* --- 5. MASONRY GALLERY --- */
.eva-masonry { 
    column-count: 3; 
    column-gap: 20px; 
}

.eva-hover-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.eva-hover-card img {
    width: 100%;
    display: block;
    transition: transform 0.7s ease;
}

.eva-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.95) 10%, rgba(11, 31, 58, 0.3) 70%, transparent 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

.eva-hover-card:hover img { transform: scale(1.12); }
.eva-hover-card:hover .eva-overlay { opacity: 1; transform: translateY(0); }

/* --- 6. VOICES SECTION (CAROUSEL & DOTS FIX) --- */
.eva-navy-section {
    background: #0b1f3a;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.eva-testimonial-carousel {
    width: 100%;
    overflow: hidden; 
    position: relative;
    padding: 20px 0;
}

.eva-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 300%;
    will-change: transform;
}

.eva-slide-group {
    display: flex;
    justify-content: space-around;
    width: 33.333%;
    padding: 0 10px;
}

.eva-glass-card {
    flex: 0 0 30%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    color: white;
    text-align: center;
    transition: transform 0.4s ease;
}

.eva-glass-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); }

.eva-glass-card img {
    width: 85px; height: 85px;
    border-radius: 50%;
    border: 3px solid #4098d7;
    margin-bottom: 20px;
    object-fit: cover;
}

/* DOTS STYLES FIX */
.eva-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
    display: inline-block;
}

.dot.active {
    background: #4098d7;
    width: 35px;
    border-radius: 10px;
}

/* --- 7. WHY JOIN EVA GRID --- */
.eva-feature-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px 30px; 
}

.eva-feature-item { text-align: center; padding: 20px; transition: var(--transition); }
.eva-feature-item i { font-size: 2.8rem; color: var(--accent-blue); margin-bottom: 20px; display: block; }
.eva-feature-item:hover i { transform: scale(1.1) translateY(-5px); }

/* --- 8. WAVY CTA SECTION --- */
.eva-wavy-cta {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent-blue) 100%);
    padding: 160px 20px 100px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.eva-wave-svg { position: absolute; top: 0; left: 0; width: 100%; line-height: 0; }
.eva-wave-svg svg { width: 100%; height: 100px; }

/* --- 8. SQUARE CTA SECTION (Compact & Sharp) --- */
.eva-square-cta {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, #1a73e8 100%);
    padding: 80px 20px; 
    text-align: center;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.1); 
}

.eva-cta-content {
    max-width: 700px; 
    margin: 0 auto;
}

.eva-cta-content h2 {
    font-size: 2rem; 
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.eva-cta-content p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- 9. SQUARE BUTTON (Professional) --- */
.eva-btn-square {
background: linear-gradient(135deg, var(--accent-blue), #2575fc);
    color: white !important;
    padding: 16px 40px; 
    border-radius: 2px; /* Square Look */
    text-decoration: none; 
    font-weight: 700; 
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(64, 152, 215, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eva-btn-square:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(64, 152, 215, 0.5);
    filter: brightness(1.1);
}

.eva-btn-square:hover i {
    transform: translateX(5px);
}



/* --- 9. BUTTONS (APPLY NOW UPGRADE) --- */
.eva-btn-main { 
    background: linear-gradient(135deg, var(--accent-blue), #2575fc);
    color: white !important;
    padding: 16px 40px; 
    border-radius: 2px; /* Square Look */
    text-decoration: none; 
    font-weight: 700; 
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(64, 152, 215, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eva-btn-main:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(64, 152, 215, 0.5);
    filter: brightness(1.1);
}

/* --- 10. ANIMATIONS --- */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* ================= GLOBAL SAFE SPACING FIX ================= */

.eva-section-white,
.eva-section-gray,
.eva-navy-section,
.eva-square-cta,
.eva-dynamic-culture {
    padding: 80px 0;
}

/* Container fix (MOST IMPORTANT) */
.eva-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Prevent edge sticking */
.eva-testimonial-carousel,
.eva-slider-track,
.eva-slide-group {
    padding-left: 10px;
    padding-right: 10px;
}

/* ================= TESTIMONIAL FIX (MAIN ISSUE) ================= */


.eva-slide-group {
    justify-content: center;
    gap: 20px;
}


.eva-glass-card {
    margin: 10px;
}

/* ================= OUR VALUES FIX ================= */

/* Grid height remove */
.eva-interactive-grid {
    height: auto !important;
    align-items: stretch;
}

/* Card flexible height */
.eva-interactive-card {
    height: auto !important;
    min-height: 300px;
}

/* Hover expand smooth but safe */
.eva-interactive-card:hover,
.eva-interactive-card.active {
    height: auto !important;
}

/* Content properly flow kare */
.hover-reveal-zone {
    position: relative;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 992px) {

    .eva-interactive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {

    .eva-interactive-grid {
        grid-template-columns: 1fr;
    }

    .eva-interactive-card {
        padding: 25px 20px;
    }

    /* Mobile pe content always visible */
    .hover-reveal-zone {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

/* ================= HERO MOBILE FIX ================= */
@media (max-width: 767px) {

    .eva-hero-text-content {
        padding: 0 20px;
        text-align: center;
    }

    .eva-hero-text-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================= TABLET FIX ================= */
@media (max-width: 992px) {

    .eva-container {
        padding: 0 25px;
    }

    .eva-slide-group {
        justify-content: center;
    }
}

/* ================= MOBILE PERFECT FIX ================= */
@media (max-width: 767px) {

    /* Sections spacing fix */
    .eva-section-white,
    .eva-section-gray,
    .eva-navy-section,
    .eva-square-cta,
    .eva-dynamic-culture {
        padding: 60px 0;
    }

    /* Masonry fix */
    .eva-masonry {
        column-count: 1;
        padding: 0 10px;
    }

    /* Testimonial FIX (MOST IMPORTANT) */
    .eva-testimonial-carousel {
        padding: 0 10px;
    }

    .eva-slide-group {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .eva-slider-track {
        width: 300%;
    }

    .eva-glass-card {
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
    }

    /* Grid fixes */
    .eva-feature-grid,
    .eva-interactive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Buttons */
    .eva-btn-main {
        width: 100%;
    }
}

/* ================= LARGE SCREEN POLISH ================= */
@media (min-width: 1600px) {

    .eva-container {
        max-width: 1400px;
    }

    .eva-glass-card {
        max-width: 400px;
    }
}

/* ================= ULTRA SCREEN ================= */
@media (min-width: 2000px) {

    .eva-container {
        max-width: 1600px;
    }
}

/* ================= FINAL SAFETY ================= */
body {
    overflow-x: hidden;
}