/* ===== HERO SECTION REDESIGN REVISED ===== */

/* 1. Base Hero Container */
.hero.new-layout {
    background-color: #FFF8F0;
    /* Cream background */
    background-image: none !important;
    /* Force remove old image */
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF8F0 100%);

    /* Layout & Spacing */
    min-height: auto;
    /* Remove vh to avoid centering conflicts */
    padding-top: 160px;
    /* Large header clearance */
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Contain blobs */

    /* Text Color Reset */
    color: #2C3E50;
    /* Force Dark Color */
}

/* Reset any interfering pseudo-elements from old CSS */
.hero.new-layout::before,
.hero.new-layout::after {
    display: none !important;
}

/* 2. Grid System */
.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    /* Give text slightly more space */
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* 3. Text Column Styling */
.hero-content {
    text-align: left;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background-color: #FFECD1;
    /* Lighter orange bg */
    color: #D35400;
    /* Primary Color */
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(211, 84, 0, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    /* Large but readable */
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2C3E50 !important;
    /* Force dark navy */
    font-weight: 800;
    font-family: 'Syne', sans-serif;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #546E7A !important;
    /* Slate grey */
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 90%;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

/* 4. Image Column Styling */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    border: 5px solid white;
}

.hero-main-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.image-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(211, 84, 0, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

/* 5. Floating Stats (Overlapping) */
.stats-float {
    position: relative;
    margin-top: -60px;
    /* Moderate interaction */
    z-index: 10;
    padding-bottom: 80px;
}

.stats-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 2rem;
    color: #D35400;
}

.stat-item h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #2C3E50;
}

.stat-item p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #ecf0f1;
}

/* 6. Timeline Styles (Preserved) */
.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
}

.timeline-step {
    flex: 1;
    text-align: center;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-num-badge {
    width: 50px;
    height: 50px;
    background: #2C3E50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-connector {
    color: #ecf0f1;
    font-size: 2rem;
    padding-top: 40px;
}

/* 7. Responsive Adjustments */
@media (max-width: 992px) {
    .hero.new-layout {
        padding-top: 120px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-main-img {
        transform: none;
        /* Disable 3D effect on mobile */
        max-width: 80%;
        margin: 0 auto;
    }

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

    .stats-box {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-connector {
        transform: rotate(90deg);
        padding: 0;
    }
}