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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
}

.main-content{
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-content img{
    width: 36px;
    height: 36px;
}

.main-content h1{
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    margin: 0
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-cta {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-cta-btn {
    padding: 0.7rem 1.8rem;
    background: #f1eef4;
    color: black !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white !important;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Slider Styles */
.hero-slider {
    margin-top: 80px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.slide1 .slide-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide2 .slide-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide3 .slide-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    animation: slideUp 0.8s ease-out;
}

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

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.slide-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.section {
    padding: 5rem 2rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.step {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.step:hover::before {
    left: 100%;
}

.step:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.step p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.05rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.feature p {
    color: #4a5568;
    line-height: 1.6;
}

.alt-section {
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
}

@media (max-width: 768px) {

    /* ===== NAVBAR ===== */
    nav {
        padding: 15px 12px;
    }

    /* Hamburger menu */
    .mobile-menu {
        display: flex;
    }

    .mobile-menu span {
        width: 26px;
        height: 3px;
        background: #667eea;
        border-radius: 3px;
    }

    /* Mobile menu panel */
    .nav-links {
        position: absolute;          /* 🔑 NOT fixed */
        top: 100%;                   /* directly below navbar */
        width: 100%;

        background: #ffffff;
        border-top: 1px solid #eee;

        display: none;
        flex-direction: column;
        align-items: center;

        padding: 1.5rem 0;
        gap: 1.2rem;

        max-height: 60vh;            /* dropdown height */
        overflow-y: auto;

        box-shadow: 0 10px 30px rgba(0,0,0,0.1);

        animation: dropdown 0.25s ease;
        z-index: 999;
    }


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

    /* Nav links text */
    .nav-links a {
        font-size: 1.2rem;
        padding: 8px 0;
        font-weight: 500;
    }

    /* ===== Convert buttons to text links ===== */
    .nav-cta,
    .nav-cta-btn {
        background: none;
        padding: 0;
        border-radius: 0;
        color: #2d3748 !important;
        font-size: 1.2rem;
        font-weight: 500;
        box-shadow: none;
    }

    .nav-cta:hover,
    .nav-cta-btn:hover {
        color: #667eea !important;
        transform: none;
    }

    /* ===== HERO SLIDER ===== */
    .hero-slider {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    /* ===== GRID LAYOUT ===== */
    .steps,
    .features {
        grid-template-columns: 1fr;
    }
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
