/* Digicode AI Page Styles */


/* Presenting Section */
.presenting-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.presenting-section h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.presenting-logo {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Banner Section */
.digicode-banner {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    padding: 30px 0;
    margin: 40px 0;
}

.digicode-banner h3 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

/* Product Grid */
.digicode-grid {
    padding: 40px 0;
}

.product-card {
    transition: all 0.3s ease;
    padding: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.product-card .badge {
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 4px;
}

.product-card h5 {
    color: #333;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.product-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .digicode-banner h3 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .product-card {
        padding: 10px;
    }
    
    .product-card h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .digicode-banner h3 {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
    
    .presenting-section h2 {
        font-size: 1.5rem;
    }
    
    .presenting-logo {
        max-width: 100%;
        padding: 10px;
    }
}
/* Book Image */
.book-cover {
    max-width: 100%;
    height: auto;
}

/* Feature List */
.feature-points {
    padding-left: 18px;
}

.feature-points li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.feature-points li span {
    color: #1a237e;
    font-weight: 600;
}

/* Class Selector */
.class-box {
    border: 1px solid #ff4d4d;
    padding: 14px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: 0.3s ease;
}

.class-box.active,
.class-box:hover {
    background: #ff4d4d;
    color: #fff;
}


/* ===========================
   PURE CSS NAVBAR DROPDOWN
   =========================== */

/* Hide all dropdowns by default */
.navbar-nav .dropdown-menu {
    display: none ;
    position: absolute;
    background: #fff;
    min-width: 220px;
    z-index: 1000;
}

/* First-level dropdown */
.navbar-nav .nav-item.dropdown {
    position: relative;
}

.navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Submenu container */
.dropdown-submenu {
    position: relative;
}

/* Second-level dropdown */
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Basic dropdown item styling */
.dropdown-menu .dropdown-item {
    padding: 8px 16px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    color: #333;
}

/* Hover effect */
.dropdown-menu .dropdown-item:hover {
    background: #f5f5f5;
    /* display: block; */
}

/* Smooth animation */
.dropdown-menu {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.page-header {
    min-height: 100%;
    position: relative;
}

/* Video styling */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for text readability */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Keep text above video */
.page-header .container {
    z-index: 2;
}