/* General Styles */
:root {
    /* Premium Dark Theme */
    --primary: #8A23E7; /* Electric Purple */
    --primary-light: #A055E9;
    --primary-gradient: linear-gradient(135deg, #8A23E7 0%, #F72585 100%);
    --accent: #00F5D4; /* Bright Cyan */
    
    --bg-dark: #0D1117; /* Deep Navy/Github Dark */
    --bg-light-dark: #161B22; /* Lighter card background */
    --text-light: #E5E7EB; /* Soft White */
    --text-gray: #9CA3AF; /* Medium Gray */
    --border-color: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.4);
    
    /* Smoother, high-level transition */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }

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

/* Header & Navigation */
header {
    background-color: rgba(13, 17, 23, 0.85); /* Dark Glassmorphism */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; height: 70px; }
.logo { font-size: 26px; font-weight: 800; color: var(--text-light); display: flex; align-items: center; text-decoration: none; }
.logo i { margin-right: 10px; color: var(--primary); }
.nav-menu { display: flex; list-style: none; gap: 35px; align-items: center; }
.nav-link { 
    font-weight: 600; 
    text-decoration: none; 
    color: var(--text-gray); 
    position: relative; 
    transition: color 0.3s ease;
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--primary-gradient); 
    transition: var(--transition); 
}
.nav-link:hover { color: var(--text-light); }
.nav-link:hover::after { width: 100%; }

/* --- Original Logo Code (Unchanged) --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    height: 90px;
    width: auto;
    object-fit: contain;
}
.logo-text-img {
    height: 240px;
    width: auto;
    object-fit: contain;
}

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(22, 27, 34, 0.95); /* Dark blur */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 10px 0;
    z-index: 1;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid var(--border-color);
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.dropdown-item { 
    color: var(--text-light); 
    padding: 12px 20px; 
    text-decoration: none; 
    display: block; 
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}
.dropdown-item:hover { background-color: var(--bg-dark); color: var(--primary); }

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-light);
    z-index: 1002; /* Above menu */
}
.hamburger .fa-times { display: none; }
.hamburger.active .fa-bars { display: none; }
.hamburger.active .fa-times { display: block; color: var(--primary); }

/* Buttons General */
.btn { 
    padding: 12px 28px; 
    border-radius: var(--border-radius); 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    text-decoration: none; 
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary { 
    background: var(--primary-gradient); 
    color: var(--white); 
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { 
    transform: translateY(-3px) scale(1.03); 
    box-shadow: 0 0 25px rgba(138, 35, 231, 0.6); 
}
.btn-outline { 
    border: 2px solid var(--primary); 
    color: var(--primary); 
    background: transparent;
}
.btn-outline:hover { 
    background: var(--primary); 
    color: var(--white); 
    transform: translateY(-3px); 
    box-shadow: 0 0 15px rgba(138, 35, 231, 0.4);
}

/* Floating Auth Buttons */
.floating-auth-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 12px;
    animation: fadeInDown 0.8s ease-out;
}
.floating-auth-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: var(--shadow-md);
}
.floating-auth-buttons .btn-primary { 
    background: var(--primary); 
}
.floating-auth-buttons .btn-primary:hover { 
    transform: translateY(-2px); 
    background: var(--primary-light); 
    box-shadow: 0 0 20px rgba(138, 35, 231, 0.6);
}
.floating-auth-buttons .btn-outline { 
    border: 2px solid var(--primary); 
    color: var(--primary); 
    background: rgba(13, 17, 23, 0.8); /* Dark bg */
}
.floating-auth-buttons .btn-outline:hover { 
    background: var(--primary); 
    color: var(--white); 
    transform: translateY(-2px); 
}

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

/* Hero Section */
.hero { 
    padding: 100px 0; 
    background: linear-gradient(180deg, var(--bg-light-dark) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}
.hero-title { 
    font-size: 3.5rem; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    color: var(--text-light);
    font-weight: 800;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 550px;
    margin-bottom: 2.5rem;
}

.section-title { 
    font-size: 2.8rem; 
    font-weight: 700;
    color: var(--text-light);
    position: relative; 
    padding-bottom: 1.5rem; 
    margin-bottom: 2rem; 
    text-align: center; 
}
.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 80px; 
    height: 5px; 
    background: var(--primary-gradient); 
    border-radius: 3px; 
}
.section-subtitle { 
    text-align: center; 
    font-size: 1.15rem; 
    color: var(--text-gray); 
    max-width: 600px; 
    margin: -1rem auto 60px auto; 
}
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; }
.hero-image { 
    flex: 1; 
    text-align: center; 
}
.hero-image img { 
    max-width: 100%; 
    border-radius: var(--border-radius-lg); 
    transition: var(--transition);
    /* Premium glow effect */
    box-shadow: 0 0 30px rgba(138, 35, 231, 0.2), 0 0 50px rgba(0, 0, 0, 0.3);
}

/* ===============================
   HERO IMAGE SLIDER (NEW)
================================ */
/* ===============================
   HERO IMAGE SLIDER
================================ */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: auto;
}

.hero-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-slider img.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}



/* Previous Image (exit state) */
.hero-slider img.exit {
    opacity: 0;
    transform:
        translateX(-40px)
        scale(0.92);
    filter: blur(10px);
    z-index: 1;
} 






.hero-image.is-visible img:hover { 
    transform: scale(1.03); 
    box-shadow: 0 0 45px rgba(138, 35, 231, 0.4), 0 0 70px rgba(0, 0, 0, 0.4);
}

/* Hero Stats */
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 700; color: var(--primary); }
.stat-text { font-size: 0.9rem; color: var(--text-gray); display: block; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- PREMIUM Staggered Hero Animation --- */
.hero-text.animate-on-scroll > * {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-text.animate-on-scroll.is-visible > * {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
/* Stagger delays */
.hero-text.animate-on-scroll.is-visible .hero-title { transition-delay: 0.1s; }
.hero-text.animate-on-scroll.is-visible .hero-subtitle { transition-delay: 0.3s; }
.hero-text.animate-on-scroll.is-visible .hero-buttons { transition-delay: 0.5s; }
.hero-text.animate-on-scroll.is-visible .hero-stats { transition-delay: 0.7s; }
/* --- End Hero Animation --- */


/* Sections */
.section { padding: 120px 0; position: relative; }
.section.templates, .section.testimonials { background-color: var(--bg-light-dark); }

/* Features Section */
.features { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}
.feature-card, .template-card, .testimonial-card { 
    background: var(--bg-light-dark); 
    border-radius: var(--border-radius-lg); 
    padding: 40px 30px; 
    text-align: center; 
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
    /* --- PREMIUM Hover Animation --- */
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover, .template-card:hover, .testimonial-card:hover { 
    transform: translateY(-10px) perspective(1000px) rotateX(2deg); /* 3D Tilt */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(138, 35, 231, 0.5); /* Glowing border */
}

/* Card Glow Effect */
.feature-card::before, .template-card::before, .testimonial-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(138, 35, 231, 0.1) 0%, rgba(255,255,255,0) 70%);
    transition: transform 1s ease-in-out;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
}
.feature-card:hover::before, .template-card:hover::before, .testimonial-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.feature-card h3, .feature-card p, .feature-icon, .template-card h3, .template-card p, .template-content, .testimonial-text, .testimonial-author, .testimonial-role { 
    position: relative; 
    z-index: 1; 
}

.feature-icon { 
    width: 80px; 
    height: 80px; 
    background: var(--bg-dark); 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 25px; 
    color: var(--primary); 
    font-size: 32px; 
    transition: var(--transition); 
}
.feature-card:hover .feature-icon { 
    background: var(--primary-gradient); 
    color: var(--white); 
    transform: rotate(10deg) scale(1.1); 
}

/* Templates Section */
.carousel-wrapper { position: relative; max-width: 1100px; margin: 0 auto; }
.templates-carousel { 
    display: flex; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding: 20px 5px; /* Add padding for glow */
}
.templates-carousel::-webkit-scrollbar { display: none; }

.template-card {
    flex: 0 0 250px;
    margin: 0 8px;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.template-img { width: 100%; display: block; border-bottom: 1px solid var(--border-color); }
.template-content { padding: 2px; text-align: center; }
.template-title { font-size: 1.1rem; margin-bottom: 5px; color: var(--text-light); }
.template-category { font-size: 0.8rem; margin-bottom: 15px; color: var(--text-gray); }
.template-content .btn { 
    width: 100%; 
    padding: 10px; 
    font-size: 0.9rem; 
    border-radius: 8px; 
    background: var(--primary); 
    color: var(--white); 
}
.template-content .btn:hover {
    background: var(--primary-light);
    transform: none;
    box-shadow: 0 0 15px rgba(138, 35, 231, 0.4);
}


/* Carousel Navigation Buttons */
.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background-color: var(--bg-light-dark); 
    border: 1px solid var(--border-color); 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    font-size: 1.2rem; 
    color: var(--primary); 
    cursor: pointer; 
    box-shadow: var(--shadow-md); 
    z-index: 10; 
    transition: var(--transition);
}
.carousel-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(138, 35, 231, 0.5);
}
.prev-btn { left: -22px; }
.next-btn { right: -22px; }

/* Template Filters */
.template-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(138, 35, 231, 0.4);
}

/* How It Works Section */
.process-steps { display: flex; justify-content: space-between; max-width: 1000px; margin: 0 auto; }
.step { text-align: center; flex: 1; position: relative; padding: 10px; }
.step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(50%);
    width: 100%;
    height: 2px;
    background: var(--border-color); /* Dark theme border */
    z-index: -1;
}
.step:last-child::after { display: none; }
.step-number { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: var(--primary-gradient); 
    color: var(--white); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin: 0 auto 20px; 
    transition: var(--transition); 
    box-shadow: 0 0 20px rgba(138, 35, 231, 0.4);
}
.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(138, 35, 231, 0.6);
}
.step h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.step p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonial-card { 
    max-width: 650px; 
    margin: 0 auto; 
    text-align: center; 
    background: var(--bg-light-dark); /* Card color */
    padding: 50px; 
    border-radius: var(--border-radius-lg); 
    box-shadow: var(--shadow-lg); 
    border: 1px solid var(--border-color);
}
.testimonial-avatar { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    margin-bottom: 25px; 
    border: 5px solid var(--primary); 
    box-shadow: 0 0 0 5px var(--bg-dark);
}
.testimonial-text { 
    font-size: 0.7rem; 
    color: var(--text-light); 
    font-style: italic; 
    margin-bottom: 25px; 
    line-height: 1.6;
}
.testimonial-author { font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.testimonial-role { color: var(--text-gray); font-size: 0.9rem; }

/* CTA Section */
.cta { 
    background: var(--primary-gradient); /* Bright gradient */
    color: var(--white); 
    padding: 100px 0; 
    text-align: center; 
}
.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.cta p {
    font-size: 1.1rem;
    color: #E5E7EB; 
    max-width: 600px;
    margin: 0 auto;
}
.cta .btn-light { /* This was .btn-light in HTML */
    background: var(--white);
    color: var(--primary);
    margin-top: 15px;
    border: none;
}
.cta .btn-light:hover {
    background: var(--text-light);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.03);
}
.cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.cta .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}
.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer { 
    background: var(--bg-dark); 
    color: var(--text-gray); 
    padding: 80px 0 30px; 
    text-align: center; 
    border-top: 1px solid var(--border-color);
}
.footer-content { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    text-align: left; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
    gap: 30px;
}
.footer-info { flex: 2; min-width: 280px; margin-bottom: 30px; }
.footer-logo { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--white); 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.footer-logo i {
    color: var(--primary-light);
}
.footer-text { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.social-links { display: flex; gap: 15px; }
.social-link { 
    color: var(--text-gray); 
    font-size: 1.2rem; 
    transition: var(--transition); 
    width: 40px; 
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}
.social-link:hover { 
    color: var(--white); 
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px); 
    box-shadow: 0 0 15px rgba(138, 35, 231, 0.5);
}
.footer-links { flex: 1; min-width: 150px; margin-bottom: 30px; }
.footer-title { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { 
    border-top: 1px solid var(--border-color); 
    padding-top: 30px; 
    margin-top: 40px; 
    font-size: 0.9rem;
}

/* --- HIGH-LEVEL SCROLL ANIMATION --- */
.animate-on-scroll { 
    opacity: 0; 
    transform: translateY(40px); 
    filter: blur(5px); /* Premium blur effect */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 1s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.animate-on-scroll.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
    filter: blur(0);
}
/* Staggered card delays */
.features .feature-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.features .feature-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.features .feature-card.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.features .feature-card.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.features .feature-card.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

.step.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.step.animate-on-scroll:nth-child(3) { transition-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0; /* Cover full screen */
        left: 0;
        gap: 0;
        flex-direction: column;
        
        /* --- PREMIUM BLUR MENU (CUSTOM #1E2957) --- */
        width: 100%;
        height: 100%;
        background-color: rgba(30, 41, 87, 0.5); /* CHANGED: মেনুর ব্যাকগ্রাউন্ড 90% অপাসিটি #1e2957 */
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        /* --- End Premium Blur --- */
        
        text-align: left;
        padding-top: 100px; /* Space for hamburger icon */
        
        /* --- Premium Transition --- */
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
        z-index: 1001; /* Below hamburger icon */
        pointer-events: none;
    }
    .nav-menu.active { 
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }
    .nav-menu li { 
        padding: 0; 
        width: 100%; 
        border-bottom: 1px solid var(--border-color);
        opacity: 0; /* Hidden by default for animation */
    }
    /* Keyframe for link animation (Used by JS) */
    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li .nav-link {
        display: block;
        padding: 20px 30px;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-light);
    }
    .nav-menu li .nav-link::after { display: none; }
    .nav-menu li:hover { 
        background-color: rgba(138, 35, 231, 0.1); 
    }
    .nav-menu li .nav-link:hover {
        color: var(--primary);
    }
    
    .hamburger { display: block; }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(30, 41, 87, 0.5); /* FIXED: ড্রপডাউন কন্টেন্টের ব্যাকগ্রাউন্ড 50% অপাসিটি #1e2957 */
        backdrop-filter: blur(5px); /* FIXED: ব্লার এফেক্ট যোগ করা হয়েছে */
        -webkit-backdrop-filter: blur(5px); /* Added webkit prefix */
        padding: 0;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        border: none;
        min-width: 100%;
        padding-left: 20px;
    }
    .dropdown-item {
        padding: 15px 30px;
        color: var(--text-gray);
        font-weight: 500;
        font-size: 1rem;
    }
    /* FIX: Added hover style for mobile dropdown items */
    .dropdown-item:hover {
        background-color: rgba(138, 35, 231, 0.15); /* সামঞ্জস্যপূর্ণ হোভার কালার */
        color: var(--primary);
    }
    .dropdown.active .dropdown-content { 
        max-height: 500px; 
    }
}

@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-image { margin-top: 50px; }
    .hero-stats { justify-content: center; gap: 20px; }
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    
    .process-steps { flex-direction: column; gap: 40px; }
    .step::after { display: none; }
    
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    
    .floating-auth-buttons {
        width: 100%;
        justify-content: center;
        top: auto;
        bottom: 15px;
        right: auto;
        left: 0;
        gap: 15px;
        padding: 0 15px;
        background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 80%);
        padding-top: 20px;
        border: none;
    }
    .floating-auth-buttons .btn {
        flex: 1;
    }
    
    .footer-content {
        gap: 15px;
        text-align: center;
    }
    .footer-info, .footer-links {
        text-align: center;
        min-width: 100%;
    }
    .social-links {
        justify-content: center;
    }

    .testimonial-card {
        padding: 30px;
    }
}
