/* =========================================
   HERO CAROUSEL STYLES
   ========================================= */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 500px;
    }
}

.carousel-track {
    display: flex;
    width: 300%;
    /* 3 slides * 100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 33.333%;
    /* 100% / 3 */
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay on images for better text readability */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    color: #fff;
    padding: 20px;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary, #0d6efd);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.carousel-progress-bar {
    height: 100%;
    background: var(--primary, #0d6efd);
    width: 0%;
}

/* =========================================
   EXISTING HOME STYLES (Restored)
   ========================================= */
:root {
    --primary: #2c5aa0;
    --primary-dark: #1a3a5c;
    --accent: #00bcd4;
    --accent-light: #4dd0e1;
    --success: #26a69a;
    --danger: #ef5350;
    --warning: #ffa726;
    --light-bg: #f5f7fa;
    --lighter-bg: #fafbfc;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6
}

.home-page {
    overflow: hidden
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes expandWidth {
    from {
        width: 0
    }

    to {
        width: 60px
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 10px
}

.header-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 20px auto 0;
    border-radius: 2px
}

.services-overview-section {
    padding: 100px 20px;
    background: var(--lighter-bg)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent)
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    transition: var(--transition)
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(-5deg)
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 20px
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition)
}

.service-link:hover {
    gap: 12px;
    color: var(--primary)
}

.why-choose-section {
    padding: 100px 20px;
    background: var(--white)
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px
}

.feature-card {
    background: var(--lighter-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    text-align: center
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent)
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
    transition: var(--transition)
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg)
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700
}

.stats-section {
    padding: 100px 20px;
    background: var(--lighter-bg)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border-top: 5px solid var(--accent)
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted)
}

.testimonial-section {
    padding: 100px 20px;
    background: var(--white)
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px
}

.testimonial-card {
    background: var(--lighter-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--accent)
}

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

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1rem
}

.stars i {
    margin-right: 5px
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-style: italic
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted)
}

.how-it-works-section {
    padding: 100px 20px;
    background: var(--lighter-bg)
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 60px
}

.timeline-step {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    width: 220px;
    text-align: center;
    position: relative;
    transition: var(--transition)
}

.timeline-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px)
}

.timeline-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%)
}

.timeline-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px
}

.timeline-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px
}

.timeline-step p {
    font-size: 0.9rem;
    color: var(--text-muted)
}

.timeline-connector {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin: 0 -5px;
    flex-shrink: 0
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer
}

.btn-primary {
    background: white;
    color: var(--primary)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2)
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px)
}

.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95
}

.cta-section .btn-primary:hover {
    background: var(--light-bg);
    color: var(--primary)
}

@media (max-width:768px) {
    .hero-title {
        font-size: 2.2rem
    }

    .hero-subtitle {
        font-size: 1.1rem
    }

    .section-header h2 {
        font-size: 2rem
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr
    }

    .testimonial-grid {
        grid-template-columns: 1fr
    }

    .timeline-step {
        width: 100%;
        margin-bottom: 20px
    }

    .timeline-connector {
        display: none
    }

    .process-timeline {
        flex-direction: column;
        gap: 20px
    }
}