/* General Styles */
body {
    background: linear-gradient(120deg, #ffffff, #ebedee);
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.navbar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: #7D0552;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #FF6F61;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler .bar {
    width: 25px;
    height: 3px;
    background-color: #7D0552;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.navbar-toggler.active .bar {
    background-color: #FF6F61;
}

.navbar-toggler.active .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 7px;
}

.navbar-toggler.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -7px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Dropdown Menu - Desktop */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.navbar-nav .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: none;
    padding: 10px 0;
    width: 250px; /* Adjust the width here for desktop */
    z-index: 1050;
}

.navbar-nav .dropdown-item {
    color: #7D0552;
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

/* Hover effect on dropdown links */
.navbar-nav .dropdown-item:hover {
    color: #FF6F61;
    background-color: #f0f0f0; /* Change the background color when hovered */
}

/* Mobile View */
@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        background-color: #ffffff;
        transition: left 0.55s ease;
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        z-index: 999;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1001;
    }

    .navbar-collapse ul.navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-collapse ul.navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navbar-nav .dropdown-menu {
        display: none;
        visibility: visible;
        opacity: 1;
        position: static;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
}







/* Web Header Styles */
.hero-header {
    background: linear-gradient(rgba(39, 41, 44, 0.7), rgba(36, 39, 43, 0.7)), url('../images/ai1.jpg') no-repeat center center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5rem 0;
}

/* Video Styling - Rectangular video */
.video-header {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Animation for Text Fade-In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header h2,
.hero-header p,
.hero-header .btn {
    opacity: 0;
    /* Initially hidden */
    animation: fadeIn 1s forwards;
    /* Fade-in animation */
}

.hero-header h2 {
    animation-delay: 0.025s;
    /* Delay for header */
    color: #ffffff !important;
}

.hero-header p {
    animation-delay: 0.1s;
    /* Delay for paragraph */
}

.hero-header .btn {
    animation-delay: 0.15s;
    /* Delay for buttons */
}
