 :root {
            --primary: #4e54c8;
            --primary-dark: #3f43a9;
            --secondary: #ff7c51;
            --accent: #8f5fe8;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #2ecc71;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            color: var(--dark);
            min-height: 100vh;
        }
        
        .navbar {
            background: var(--gradient);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .nav-link {
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .nav-link:hover {
            transform: translateY(-2px);
        }
        
        .hero-section {
            background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center;
            background-size: cover;
            padding: 100px 0;
            color: white;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            border-radius: 0 0 30px 30px;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease;
        }
        
        .search-container {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            animation: fadeIn 1.5s ease;
        }
        
        .search-bar {
            width: 100%;
            padding: 15px 20px;
            border-radius: 50px;
            border: none;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            font-size: 1.1rem;
        }
        
        .search-btn {
            position: absolute;
            right: 5px;
            top: 5px;
            background: var(--gradient);
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .search-btn:hover {
            transform: scale(1.05);
        }
        
        .section-title {
            position: relative;
            margin-bottom: 40px;
            font-weight: 700;
            text-align: center;
            padding-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--gradient);
            margin: 15px auto;
            border-radius: 2px;
        }
        
        /* Enhanced Certificate Cards */
        .certificate-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            margin-bottom: 30px;
            height: 100%;
            border: none;
            opacity: 0;
            transform: translateY(20px);
            position: relative;
        }
        
        .certificate-card.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .certificate-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .certificate-img {
            height: 200px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(45deg, #4e54c8, #8f5fe8);
        }
        
        .certificate-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }
        
        .certificate-card:hover .certificate-img img {
            transform: scale(1.05);
        }
        
        .certificate-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--secondary);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 3;
        }
        
        .certificate-content {
            padding: 25px;
            position: relative;
        }
        
        .certificate-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--primary-dark);
            line-height: 1.3;
        }
           .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        
        
        .certificate-desc {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .certificate-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .certificate-date {
            font-size: 0.85rem;
            color: #888;
        }
        
        .btn-view {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-view:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
            color: white;
        }
        
        .modal-content {
            border-radius: 15px;
            overflow: hidden;
            border: none;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
        }
        
        .modal-header {
            background: var(--gradient);
            color: white;
            border-bottom: none;
            padding: 20px;
        }
        
        .modal-body {
            padding: 30px;
        }
        
        .certificate-detail {
            margin-bottom: 20px;
            display: flex;
        }
        
        .detail-label {
            font-weight: 600;
            color: var(--primary);
            min-width: 150px;
        }
        
        .certificate-preview {
            background: linear-gradient(45deg, #f1f4f8, #e2e7f0);
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            margin-bottom: 25px;
            border: 2px dashed var(--primary);
            transition: all 0.3s;
            overflow: hidden;
        }
        
        .certificate-preview img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .certificate-preview:hover {
            transform: scale(1.02);
            border-style: solid;
        }
        
        .testimonial-slider {
            padding: 60px 0;
            background: white;
            border-radius: 30px;
            margin: 50px 0;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
        }
        
        .testimonial-card {
            background: var(--light);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            margin: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .testimonial-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 4px solid var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* Enhanced Footer */
        .footer {
            background: var(--gradient);
            color: white;
            padding: 70px 0 30px;
            border-radius: 30px 30px 0 0;
            margin-top: 50px;
        }
        
        .footer h4 {
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }
        
        .footer h4::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--secondary);
            border-radius: 2px;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-contact p {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .social-links {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }
        
        .social-links a:hover {
            color: var(--secondary);
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.2);
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .carousel-indicators {
            bottom: -50px;
        }
        
        .carousel-indicators button {
            background-color: var(--primary);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
        }
        
        .stats-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            margin: 40px 0;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .stat-label {
            color: #666;
            font-weight: 500;
        }
        
        .category-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .category-btn {
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .category-btn:hover, .category-btn.active {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }
        
        /* Enhanced certificate slider styles - FIXED */
        .certificate-slider {
            position: relative;
            padding: 60px 0 80px;
            overflow: hidden;
        }
        
        .certificate-slider-container {
            position: relative;
            margin: 0 50px;
        }
        
        .slider-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            z-index: 10;
            pointer-events: none;
        }
        
        .slider-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            pointer-events: auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 11;
        }
        
        .slider-btn:hover {
            background: var(--primary);
            color: white;
            transform: scale(1.1);
        }
        
        .certificate-slider-track {
            display: flex;
            transition: transform 0.5s ease;
        }
        
        .certificate-slide {
            flex: 0 0 calc(33.333% - 30px);
            margin: 0 15px;
        }
        
        /* WhatsApp Icon */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 25px;
            right: 25px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s;
            animation: pulse 2s infinite;
        }
        
        .whatsapp-float:hover {
            background-color: #128C7E;
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
        }
        
        /* Animation effects */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeInUp {
            from { 
                opacity: 0;
                transform: translateY(20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInDown {
            from { 
                opacity: 0;
                transform: translateY(-20px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes shine {
            0% { left: -100%; }
            20% { left: 100%; }
            100% { left: 100%; }
        }
        
        .animated {
            animation-duration: 1s;
            animation-fill-mode: both;
        }
        
        .pulse {
            animation-name: pulse;
            animation-duration: 2s;
            animation-iteration-count: infinite;
        }
        
        .float {
            animation-name: float;
            animation-duration: 3s;
            animation-iteration-count: infinite;
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-box {
            text-align: center;
            padding: 30px 20px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            height: 100%;
            opacity: 0;
            transform: translateY(20px);
        }
        
        .feature-box.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .feature-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .testimonial-card {
            opacity: 0;
            transform: translateY(20px);
        }
        
        .testimonial-card.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Enhanced section title */
        .section-title {
            position: relative;
            display: inline-block;
            padding: 0 20px 15px;
        }
        
        .section-title::before,
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            height: 4px;
            border-radius: 2px;
            background: var(--gradient);
        }
        
        .section-title::before {
            left: 0;
            width: 40px;
            }
        
        .section-title::after {
            right: 0;
            width: 40px;
        }
        
        .section-title span {
            display: inline-block;
            position: relative;
            padding: 0 10px;
        }
        
        .section-title span::before,
        .section-title span::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 30px;
            height: 2px;
            background: var(--primary);
        }
        
        .section-title span::before {
            right: 100%;
        }
        
        .section-title span::after {
            left: 100%;
        }
        
        /* Course Info Section */
        .course-info {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            margin: 50px 0;
        }
        
        .info-item {
            display: flex;
            margin-bottom: 25px;
            align-items: flex-start;
        }
        
        .info-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-right: 20px;
            min-width: 50px;
        }
        
        .info-content h4 {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--primary-dark);
        }
        
        .info-content p {
            color: #666;
            margin-bottom: 0;
        }
        
        /* Contact Form Section */
        .contact-section {
            padding: 80px 0;
            background: var(--light);
        }
        
        .contact-form {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        .form-control, .form-select {
            border-radius: 10px;
            padding: 12px 20px;
            border: 2px solid #eaeaea;
            transition: all 0.3s;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(78, 84, 200, 0.25);
        }
        
        .btn-submit {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 12px 40px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
            font-size: 1.1rem;
        }
        
        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(78, 84, 200, 0.4);
            color: white;
        }
        
        .btn-view {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 12px 20px;
            background: linear-gradient(135deg, #055392, #000000);
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .btn-view i {
            font-size: 15px;
        }
        
        .btn-view:hover {
            background: linear-gradient(135deg, #062f7a, #604ffe);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.25);
            text-decoration: none;
        }
        
        .btn-view:active {
            transform: scale(0.97);
        }
        
        @media (max-width: 992px) {
            .certificate-slide {
                flex: 0 0 calc(50% - 30px);
            }
            
            .slider-btn {
                width: 40px;
                height: 40px;
            }
            
            .certificate-slider-container {
                margin: 0 40px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .certificate-card {
                margin-bottom: 20px;
            }
            
            .certificate-slide {
                flex: 0 0 calc(100% - 30px);
            }
            
            .category-filter {
                gap: 10px;
            }
            
            .category-btn {
                padding: 6px 15px;
                font-size: 0.9rem;
            }
            
            .slider-btn {
                width: 35px;
                height: 35px;
                font-size: 0.8rem;
            }
            
            .certificate-slider-container {
                margin: 0 30px;
            }
            
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 24px;
            }
            
            .info-item {
                flex-direction: column;
                text-align: center;
            }
            
            .info-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
        }

          .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .nav-link {
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .nav-link:hover {
            transform: translateY(-2px);
        }
        
        /* Custom Dropdown Menu Styles */
        .dropdown-menu {
            background: white;
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 15px 0;
            margin-top: 10px;
        }
        
        .dropdown-item {
            padding: 12px 20px;
            transition: all 0.3s;
            color: var(--dark);
            font-weight: 500;
            display: flex;
            align-items: center;
        }
        
        .dropdown-item:hover {
            background: linear-gradient(135deg, #f1f3ff 0%, #e8ebff 100%);
            color: var(--primary);
            transform: translateX(5px);
        }
        
        .dropdown-item i {
            margin-right: 10px;
            color: var(--primary);
            width: 20px;
            text-align: center;
        }
        
        .dropdown-divider {
            border-top: 1px solid #eee;
            margin: 10px 0;
        }
        
        .dropdown-toggle::after {
            margin-left: 8px;
            transition: transform 0.3s;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        
        .dropdown:hover .dropdown-toggle::after {
            transform: rotate(180deg);
        }
        
        /* Responsive adjustments */
        @media (max-width: 991px) {
            .dropdown-menu {
                box-shadow: none;
                border-radius: 0;
                margin-top: 0;
                background: rgba(255, 255, 255, 0.05);
            }
            
            .dropdown-item {
                color: rgba(255, 255, 255, 0.8);
                padding: 10px 15px 10px 30px;
            }
            
            .dropdown-item:hover {
                background: rgba(255, 255, 255, 0.1);
                color: white;
            }
            
            .dropdown-item i {
                color: rgba(255, 255, 255, 0.7);
            }
        }

        /* বাকি CSS styles একই থাকবে */
        .hero-section {
            background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') no-repeat center center;
            background-size: cover;
            padding: 100px 0;
            color: white;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            border-radius: 0 0 30px 30px;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease;
        }
        
        /* বাকি সব CSS আপনার আগের কোডের মতোই থাকবে */
        /* Remove gap issue */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    margin-top: 0; /* prevent gap that closes menu */
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block; /* keep dropdown open on hover */
}

    /* Dropdown menu gap prevent */
.nav-item.dropdown {
    position: relative; /* ensure dropdown position is correct */
}

.nav-item.dropdown .dropdown-menu {
    margin-top: 0; /* gap remove */
    pointer-events: auto; /* ensure hover works */
}

/* Optional: keep dropdown open on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

    /* Footer Contact এবং Newsletter Section Fix */
.footer-contact p a,
.footer-newsletter-text a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    transition: all 0.3s ease;
}

.footer-contact p a:hover,
.footer-newsletter-text a:hover {
    color: white !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Newsletter text এর জন্য বিশেষ স্টাইল */
.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}