html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    scroll-behavior: smooth;    
}

body {
    height: 100vh; 
    width: 100vw;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 0;
    font-style: normal;
    background: #0b042500;
    background-image: url(landing_images/lopo.jpg);
    color: #f3f4f6; 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    background-attachment: fixed; 
    transition: background-color 0.3s ease;
}


  

/* Container for proper alignment and centering */
.container {
    width: 100%;
    display: flex;
  
}
.brand img {
    
    width: 15vw; 
    height: 8vw;
    margin-left: 1vw;
    margin-top: -2vw;
    
}

.navbar {
    background: #0b042500;
    color: #f3f4f6;   
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: static;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1000;
}

.container {
    width: 100vw;
    display: flex;
    height : 10vw;
    margin-top: 1vw;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    margin-top: 2vw;
    margin-left: 1vw;
    margin-right: 2vw;
}



.nav-item {
    position: relative; /* Required for ::after to work */
    justify-content: first baseline;
    text-decoration: none;
    color: #ffffffc9;
    border: none;
    padding: 0.5vw;
       cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1vw;
    font-weight: 700; /* Bold */
}

.nav-item:hover {
    color: #099ce0;
}

/* Underline hover effect */
.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Thickness of the underline */
    left: 0;
    bottom: 0;
    background: linear-gradient(to right,rgba(255, 252, 252, 0.925),#099ce0); /* Color of the underline */
    transition: width 0.5s ease-out;
}

.nav-item:hover::after {
    width: 100%; /* Full width on hover */
}

.auth-links {
    margin-right: 5vw;
    margin-bottom: 10vh;
}

.nav-links {
    padding-left: 2vw;
    padding-right: 2vw;
    padding-bottom: 2vw;
    border-bottom-left-radius: 1.2vw;
    border-bottom-right-radius: 1.2vw;
    font-size: 4vw;
    margin-bottom: 5vw;
}

.navbar .brand {
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700; /* Bold */
}
  

.navbar .button {
    background-color: #00000000; /* Tailwind's blue-500 */
    color: #ffffff;
    border: none;
    padding: 0.5vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1vw;
    font-weight: 700; /* Bold */
}

.navbar .button:hover {
    background: linear-gradient(to right,rgba(255, 252, 252, 0.872),#099ce0);
    transform: scale(1.05);
}

.navbar .button:active {
    background-color: #0c0c0c; /* Tailwind's blue-700 for active state */
    transform: scale(1);
}


/*--------->about us<<<<<<------*/

.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1vw;
    margin-bottom: 2vw
}
.about-us .left {
    width: 50vw;
    height: 25vw;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.5));
    transition: box-shadow 0.3s ease;
}

#myVideo {
    width: 100%;
    height: 25vw;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 70%, transparent);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 70%, transparent);
}



.about-us .left video {
    width: 100%;
    height: 120%;
    object-fit: cover;
}
.about-us .right {
    width: 55%;
    padding-left: 2vw;
}

.about-us .right h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

.about-us .right p {
    font-size: 18px;
    color: #f0e6e6;
    line-height: 1.5;
}

/* Home Section Styles */
.section {
    /* Tailwind's gray-800 */
    text-align: center;
    padding: 0rem 2rem;
    margin-top: 0rem;  
    color: #f3f4f6; 
}

.sectionMAIN {
    /* Tailwind's gray-800 */
    text-align: left;
    padding: 0rem 1rem;
    margin-left: 1vw;
    margin-right: 1vw;
    color: #f3f4f6;   
}
.section-title {
    text-align: center;
    padding: 10px 10px 10px 10px;
    font-size:8vw;
    margin-top: 0vw;
    margin-bottom: 0vw;
    color:#e9e6f0;   
    font-weight: 700; /* Bold */
    transition: color 0.3s ease;
}

.section-titleW{
    border-radius: 5px;
    padding: 10px 10px 10px 10px;
    background-color: white;
    display:inline-block;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color:#0B0425;   
    font-weight: 700; /* Bold */
    transition: color 0.3s ease;
}

.mj .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
    transition: color 0.3s ease;
}

.section-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #e5e7eb; /* Tailwind's gray-200 */
    transition: color 0.3s ease;
}

/* General Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    font-size: 1.25rem; /* Larger font size */
    background-color: #ffffff; /* White background */
    color: #1f2937; /* Dark text color */
    border: 2px solid #1f2937; /* Border matching the background */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline for links */
}


.header{
    width: 100%;
    text-align: left;
    font-size: 4vh;
    margin-bottom: 1vw;
}

.header button {
    color: white;
    font-size: 4vh;
    padding: 2vh;
    width: 62%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, #2B88E0, rgba(226, 221, 221, 0.8));
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.header button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43,136,224,0.4);
    border-color: #2B88E0;
}

.header button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(43,136,224,0.3);
}

.header button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: 0.5s;
}

.header button:hover::before {
    left: 100%;
}



.rightSam {
    
    width: 35%;
    overflow: hidden;
    margin-left: 5%;
    border-left: 3px solid rgba(0, 140, 255, 0.055);
    
}

.phone-image {
    max-width: 80%;
    height: auto;
    margin-left: 3vh;
    margin-right: 60px;
    margin-top: 2vh;
    opacity: 0; /* Start invisible */
    transform: translateX(100px) rotate(15deg); /* Start off-screen to the right */
    transition: opacity 0.6s ease; /* Smooth opacity transition */
    transform-origin: bottom; /* Pivot at the bottom of the image */
}

.phone-image.in-view {
    opacity: 1; /* Fade in */
    animation: slideIn 0.9s ease-in-out forwards, bounce 6s ease-in-out 1s infinite; /* Combined animations */
}

/* Slide-in animation from left */
@keyframes slideIn {
    from {
        transform: translateX(100px) rotate(15deg);
    }
    to {
        transform: translateX(0) rotate(-2deg);
    }
}

/* Bounce animation */
@keyframes bounce {
    0% {
        transform: rotate( -2deg)
    }
    25% {
        transform: rotate(2deg)
    }
    50% {
        transform: rotate( -2deg)
    }
    75% {
        transform: rotate( 2deg)
    }
    100%
    {
        transform: rotate( -2deg)
    }
}

.containerb {
            max-width: 1000px;
            margin: 40px auto;
        }
        
        .card {
            background-color: #1a1a1a;
            border-radius: 8px;
            padding: 30px;
            border: 1px solid #333;
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 24px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        p {
            color: #060000;
            margin-bottom: 20px;
            font-size: 1.5vw;
        }
        
        /* Subject Selection Styles */
        .subject-selector {
            position: relative;
            margin-bottom: 20px;
        }
        
        .select-button {
            width: 100%;
            padding: 15px 20px;
            border-radius: 8px;
            background-color: #222;
            color: #fff;
            border: none;
            text-align: left;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .select-button:hover {
            background-color: #2a2a2a;
        }
        
        .select-button:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
        }
        
        .select-button::after {
            content: '»';
            font-size: 20px;
            opacity: 0.7;
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #222;
            border-radius: 8px;
            margin-top: 5px;
            overflow: hidden;
            z-index: 10;
            border: 1px solid #333;
            display: none;
            max-height: 250px;
            overflow-y: auto;
        }
        
        .dropdown-menu.active {
            display: block;
        }
        
        .dropdown-item {
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .dropdown-item:hover {
            background-color: #2a2a2a;
        }
        
        .history-heading {
            font-size: 18px;
            margin-bottom: 15px;
            color: #ddd;
            font-weight: 500;
        }
        
        .history-items {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .history-item {
            background-color: #222;
            border-radius: 6px;
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .history-item:hover {
            background-color: #2a2a2a;
        }
        
        /* Semester Dropdown Styles */
        .semester-section {
            margin-bottom: 30px;
        }
        
        .dropdown-container {
            position: relative;
            display: inline-block;
            width: 95%;
            height: 15vw;
            padding: 1vw;
            margin-left: 1vw;
            border-radius: 1vw;
            background: transparent;
            position: relative;
          }
          
          .dropdown-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 1vw;
            padding: 2px; /* Border thickness */
            background: linear-gradient(90deg, #0066cc, #099ce0, #0066cc);
            -webkit-mask: 
              linear-gradient(#fff 0 0) content-box, 
              linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            animation: borderMove 4s linear infinite;
            pointer-events: none;
          }
          
          @keyframes borderMove {
            0% {
              background: linear-gradient(90deg, #0066cc, #099ce0, #0066cc);
            }
            25% {
              background: linear-gradient(180deg, #0066cc, #099ce0, #0066cc);
            }
            50% {
              background: linear-gradient(270deg, #0066cc, #099ce0, #0066cc);
            }
            75% {
              background: linear-gradient(360deg, #0066cc, #099ce0, #0066cc);
            }
            100% {
              background: linear-gradient(90deg, #0066cc, #099ce0, #0066cc);
            }
          }
        
        .dropdown-button {
            width: 100%;
            height: 5vw;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding: 1vw;
            margin-top:3vw;
            font-size: 1vw;
            background: linear-gradient(to right, #2B88E0, rgba(70, 70, 70, 0.8));
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .dropdown-button::after {
            content: '▼';
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }
        
        .dropdown-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(43,136,224,0.4);
            border-color: #2B88E0;
        }
        
        .dropdown-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 10px rgba(43,136,224,0.3);
        }
        
        .dropdown-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                120deg,
                transparent,
                rgba(255,255,255,0.2),
                transparent
            );
            transition: 0.5s;
        }
        
        .dropdown-button:hover::before {
            left: 100%;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            z-index: 1;
            width: 60%;
            background-color: #222;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            transform-origin: top center;
            transform: translateY(10px);
            opacity: 0;
            overflow: hidden;
            border: 1px solid #333;
        }
        
        .dropdown-container.active .dropdown-content {
            display: block;
            transform: translateY(0);
            opacity: 1;
        }
        
        .dropdown-container.active .dropdown-button::after {
            transform: rotate(180deg);
        }
        
        .dropdown-content a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: #fff;
            transition: all 0.2s ease;
            font-weight: bold;
            position: relative;
            overflow: hidden;
        }
        
        .dropdown-content a:not(:last-child) {
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .dropdown-content a:hover {
            background-color: #2a2a2a;
            padding-left: 25px;
            color: #2B88E0;
        }
        
        .two-column-layout {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .left-column, .right-column {
            flex: 1;
        }
        
        .phone-image {
            max-width: 100%;
            border-radius: 8px;
        }

/* PAGE 2 */
/* Page2 Section */


.Page2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0vw 0vw; /* Adjusted padding for responsiveness */
    background-color: #0B0425;
}

.Page2-left {
    margin-top: 0vh; /* Adjusted margin for responsiveness */
    flex: 1;
    padding: 2vw; /* Adjusted padding for responsiveness */
}

.Page2-left h2 {
    font-size: 6vw; /* Adjusted font size for responsiveness */
}

.Page2-left .about_us {
    font-size: 2vw; /* Adjusted font size for responsiveness */
    line-height: 2.5vw; /* Adjusted line height for responsiveness */
}

.Page2-right {
    flex: 1;
    padding: 2vw; /* Adjusted padding for responsiveness */
    display: flex;
    gap: 1vw; /* Adjusted space between images for responsiveness */
    justify-content: space-evenly; /* Centering images horizontally */
}

.Page2-right img {
    width: 14vw; /* Adjusted width for responsiveness */
    height: 25vh; /* Adjusted height for responsiveness */
    border-radius: 2vw; /* Adjusted border radius for responsiveness */
    box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.2); /* Adjusted shadow for responsiveness */
    cursor: pointer; /* Make the images look clickable */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Adjust the size to make them button-like */
.img-button {
    width: 70vw; /* Adjusted width for responsiveness */
    height: auto;
    padding: 2vw; /* Adjusted padding for responsiveness */
    background-color: #a9e0ffb9; /* Dark background */
    border-radius: 1.5vw; /* Adjusted border radius for responsiveness */
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.2); /* Adjusted shadow for responsiveness */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect to resemble button press */
.img-button:hover {
    transform: scale(1.05);
    box-shadow: 0 3vw 6vw rgba(0, 0, 0, 0.3); /* Adjusted shadow for responsiveness */
}

/* Contact Us Section Styling */
#contact-us {
    padding: 2vw; /* Reduced padding for the container */
    background-image: url(landing_images/m3wYG7V.jpg); /* Background color of the section */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Distribute space between the blocks */
    gap: 2vw; /* Add gap between blocks */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Keyframe Animation for Fade In */
/* Contact Us Section Styling */
#contact-us {
    padding: 2vw; /* Reduced padding for the container */
    background-color: #0B0425; /* Background color of the section */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Distribute space between the blocks */
    gap: 2vw; /* Add gap between blocks */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    position: relative; /* Ensure it's positioned correctly in the flow */
    z-index: 1; /* Ensure it appears above other elements */
}

/* Ensure the contact-info and contact-form cover the entire section */
.contact-info,
.contact-form {
    flex: 1; /* Allow both blocks to grow equally */
    background: rgba(255, 255, 255, 0); /* Transparent white background */
    color: #ffffff; /* White text color */
    padding: 2vw; /* Adjusted padding */
    border-radius: 1vw; /* Adjusted border radius */
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0); /* Adjusted shadow for a lighter effect */
    min-height: 30vh; /* Adjusted minimum height */
    box-sizing: border-box; /* Ensure padding is included in the element's total width */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
}

/* Styling for the contact-info */
.contact-info {
    margin-right: 1vw; /* Margin to separate from the form */
}

.contact-info h2 {
    font-size: 2.5vw; /* Adjusted size */
    margin-bottom: 1vw; /* Adjusted margin */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.contact-info:hover h2 {
    color: #007BFF; /* Change color on hover */
}

.contact-description {
    font-size: 1.5vw; /* Adjusted font size */
    margin-bottom: 1vw; /* Adjusted margin */
    line-height: 2vw; /* Adjusted line-height */
}

.contact-details {
    font-size: 1.2vw; /* Adjusted font size */
    line-height: 1.6vw; /* Adjusted line-height */
}

.contact-details li {
    margin-bottom: 0.5vw; /* Adjusted margin */
}

/* Styling for the contact-form */
.contact-form {
    margin-left: 1vw; /* Margin to separate from the info section */
}

.contact-form h3 {
    font-size: 2.5vw; /* Adjusted size */
    margin-bottom: 1vw; /* Adjusted margin */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.contact-form:hover h3 {
    color: #007BFF; /* Change color on hover */
}

.form-group {
    margin-bottom: 2vw; /* Adjusted margin */
}

.form-group label {
    display: block;
    font-size: 1.5vw; /* Adjusted size */
    margin-bottom: 0.8vw; /* Adjusted margin */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1vw; /* Adjusted padding */
    font-size: 1.5vw; /* Adjusted size */
    border: 1px solid #ddd;
    border-radius: 0.5vw; /* Adjusted border radius */
    background: rgba(255, 255, 255, 0.2); /* Transparent white background for inputs */
    color: #ffffff; /* White text color */
    box-sizing: border-box; /* Ensure padding is included in the width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for border color and shadow */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007BFF; /* Border color on focus */
    box-shadow: 0 0 0.3vw rgba(0, 0, 0, 0.2); /* Shadow on focus */
    outline: none; /* Remove default outline */
}

/* Styling for the submit button */
.submit-button {
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    padding: 1vw; /* Adjusted padding */
    font-size: 1.5vw; /* Adjusted size */
    border-radius: 0.5vw; /* Adjusted border radius */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for background color, scale, and shadow */
}

.submit-button:hover {
    background-color: #0056b3; /* Darker background on hover */
    transform: scale(1.03); /* Slightly reduced scale */
    box-shadow: 0 0.3vw 0.6vw rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */

}

.carousel-container {
    height: 55vw;
    margin-top: 10vw;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container h2{
    text-align: center;
    font-size: 3vw;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

h1 em {
    color: whitesmoke;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
}

.carousel-item {
    align-items: center;
    justify-content: center;
    height: 35vw;
    min-width: 100%;
    position: relative;
    display: flex;
    transition: all 0.5s ease;
    overflow: hidden;
}

.carousel-image {
    width: 30vw;
    height: 30vw;
    object-fit: cover;
    padding: 2vw;
    transition: all 0.5s ease;
    background-color: rgb(13, 69, 144);
    border-radius: 2vw;
}

.carousel-content {
    position: absolute;
    right: -100%;
    top: 0;
    width: 50%;
    height: 30vw;
    background-color: rgb(13, 69, 144);  /* Changed from white to match website theme */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s ease;
    opacity: 0;
    border-radius: 2vw;
    border-left: 0.2vw solid #2B88E0; /* Added border with accent color */
}

.carousel-item:hover .carousel-image {
    transform: translateX(-25vw);
    width: 30vw;
    object-position: left;
    transition: transform 0.5s ease ;
    
}

.carousel-item:hover .carousel-content {
    right: 0;
    opacity: 1;
}

.carousel-content h3 {
    color: whitesmoke;
    margin-bottom: 1vw;
    font-size: 4vw;
}

.carousel-content p {
    color: whitesmoke;
    margin-bottom: 0.8vw;
    font-size: 1vw;
}

.carousel-content ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.carousel-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: whitesmoke;
}

.carousel-content li:before {
    content: "•";
    color: #0066cc;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.carousel-content a.exp {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.carousel-content a.exp:hover {
    transform: translateX(5px);
}

.carousel-nav {
    text-align: center;
    margin-top: 20px;
}

.carousel-nav button {
    width: 0.8vw;
    height: 0.8vw;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    margin-top: 10vw;
    cursor: pointer;
    margin-right: 1.5vw;
    transition: all 0.3s ease;
}

.carousel-nav button.active {
    background-color: #0066cc;
    transform: scale(1.2);
}


.indicator.active {
    background-color: #fcfcfc; /* Active indicator color */
}

.department{

    margin-top: 3vw;
    margin-bottom: 2vw;
}




/* Ensure the footer container has relative positioning */
#footer {
    position: relative;
    color: #ffffff;
    padding: 3vw;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: flex-start; /* Align content to the left */
}

#footVideo {
    margin-top: 20vh;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Send the video to the background */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 50%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 50%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}


.footer-links {
    width: 50%;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-left: 10px;
}

.footer-links li {
    width: 50%;
    margin-bottom: 1vw;
}


.footer-links a {
    font-size: 1.5vw;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color:#099ce0;
}

.text-overlay {

    margin-top: 55vh;
    position: absolute;
    /* Adjust as needed to position correctly */
    left: 0;
    transform: translateY(-50%); /* Center vertically relative to its own height */
    color: #ffffff; /* Ensure text is readable */
    text-align: left; /* Align text to the left */
    z-index: 1; /* Ensure text is on top of the video */
    padding: 2vw; /* Adjust padding as needed */
    width: 100%; /* Optional: limit width for better readability */
}

.text-overlay h2 {
    font-size: 2vw;
    line-height: 0;
}

.text-overlay p {
    font-size: 1.5vw;
    margin-bottom: 2vw;
}

.subscribe-button {
    margin-top: 0.5vw;
    margin-bottom: 3vw;
    display: inline-block;
    padding: 1vw 2vw;
    font-size: 1.5vw;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 2vw;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subscribe-button:hover {
    
    background-color: #f1ecec;
    color: #0056b3;
    border: 1.5px solid #0056b3;
}

/* Semester 1 Styles */
.semester1 .section {
    background-color: #1f2937; /* Tailwind's gray-800 */
    padding: 4rem 2rem;
    margin-top: 4rem;  
}

.semester1 .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
}

.semester1 .practicals-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.card{
    text-decoration: none;
}

.semester1 .practicals-list .card {
    background: linear-gradient(to right, #2B88E0, rgb(226, 221, 221)); /* Tailwind's gray-700 */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f3f4f6;   
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.semester1 .practicals-list .card:hover {
    background-color: #4b5563; /* Tailwind's gray-600 */
    transform: scale(1.02);
}

.semester1 .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
}

.semester1 .image-item {
    width: 100%;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    margin-top: 1rem;
    max-height: 200px; /* Limiting image height */
    object-fit: cover;
}

/* Semester 2 Styles */
.semester2 .section {
    background-color: #1f2937; /* Tailwind's gray-800 */
    padding: 4rem 2rem;
    margin-top: 4rem;  
}

.semester2 .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
}

.semester2 .practicals-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.semester2 .practicals-list .card {
    background-color: #374151; /* Tailwind's gray-700 */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f3f4f6;   
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.semester2 .practicals-list .card:hover {
    background-color: #4b5563; /* Tailwind's gray-600 */
    transform: scale(1.02);
}

.semester2 .card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
}

.semester2 .image-item {
    width: 100%;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    margin-top: 1rem;
    max-height: 200px; /* Limiting image height */
    object-fit: cover;
}

/* Common List Styles */
.practicals-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.card {

    width: 70%;
    background: linear-gradient(to right, #2B88E0, rgb(226, 221, 221));/* Tailwind's gray-700 */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    padding: 1.5rem;
    color: #f3f4f6;   
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.card .reveal-button{
    color: white;

}

.card:hover {
    background-color: #1f5197; /* Tailwind's gray-600 */
    transform: scale(1.02);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f3f4f6;   
    font-weight: 700; /* Bold */
}

.image-item {
    width: 100%;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    margin-top: 1rem;
    max-height: 200px; /* Limiting image height */
    object-fit: cover;
}

.department
{
    font-size: 5vw;
    background-color: rgba(255, 255, 255, 0);
    display: inline-block;
    color: rgb(238, 235, 235);
    padding: 2vh 2vw;
    margin-left: 22vw;
    margin-bottom: 2vh;
    
}

/* support section*/
.support
{
    display: flex;
    flex-direction:row;
    width: 100%;
    height: 31vw;
}
.support .left {
    margin-left: 10px;
    border-radius: 8px;
    background-image: url(files/EEE.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the image covers the container */
    background-color: pink;
    width: 70vw;
    height: 100%; /* Adjust the height as needed or set a specific height */
}

.support .left:hover {
    transform: scale(0.99); /* Corrected property for scaling */
}

        

.support .right {

    font-size: 1.5vw;
    color: black;
    border-radius: 10px;
    padding: 0px 20px;
    margin-right: 28px;
    margin-left: 20px;
    background-color: rgba(245, 245, 245, 0.904);
    width: 29vw;
}

/* Form Container Styles */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #374151; /* Tailwind's gray-700 */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-container label {
    font-weight: 700;
    color: #f3f4f6;   
}

.form-container input {
    padding: 0.75rem;
    border: 1px solid #4b5563; /* Tailwind's gray-600 */
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    background-color: #1f2937; /* Tailwind's gray-800 */
    color: #f3f4f6;   
}

.form-container button {
    background-color: #374151; /* Tailwind's gray-700 */
    color: #f3f4f6;   
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem; /* Tailwind's rounded-md */
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-container button:hover {
    background-color: #4b5563; /* Tailwind's gray-600 */
    transform: scale(1.02);
}

.form-container a {
    color: #f3f4f6;   
    text-decoration: underline;
}






@media (max-width: 425px) {
    #footVideo {
        margin-top: 10vh;
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1; /* Send the video to the background */
    }

    .card-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: #f3f4f6;   
        font-weight: 700; /* Bold */
    }

    .card {

        width: 90%;
        background: linear-gradient(to right, #2B88E0, rgb(226, 221, 221));/* Tailwind's gray-700 */
        border-radius: 0.375rem; /* Tailwind's rounded-md */
        padding: 1.5rem;
        color: #f3f4f6;   
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .navbar .button {
        font-size: 1rem;
        margin-left: 5vw;
    }

    .section-action {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Distribute buttons with less horizontal gap */
        flex-wrap: wrap; /* Allow wrapping if there's not enough space */
        gap: 1rem; /* Control the gap between buttons */
    }
    
    

    .brand img {
        width: 150px;
        height: 80px;
    }

    .navbar .container {
        height: 30vw;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        margin-top: -9vw;
        font-size: 1px;
        margin-bottom: -2px;
    }

    .text-overlay {
        margin-top: 2vh;
    }

    .text-overlay h2 {
        font-size: 2vw;
        margin-left: 2vw;
    }

    .text-overlay p {
        font-size: 1.5vw;
        margin-left: 2vw;
        margin-bottom: 1vw;
    }

    .footer-links li {
        font-size: 3vh;
        width: 60%;
        height: 2vh;
        
    }

    .subscribe-button {
        margin-top: 0.8vw;
        margin-bottom: 0.2vw;
        margin-left: 2vw;
    }
    .auth-links {
        font-size: 0.4rem;
        margin-right: 1vw;
        margin-bottom: 10vh;
    }

    .section-action .button {
        
        height: 20vw;
        padding: 1rem;
        margin: 4px;
        font-size: 1.25rem;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 100px 0 90px;
    }

    .about-us .left, .about-us .right {
        width: 80%;
        border-radius: 20px;
        overflow: hidden;
        transition: box-shadow 0.3s ease;
    }

    .about-us .left {
        height: 40vw;
    }

    .about-us .right {
        margin-top: 5vw;
        height: 100vw;
    }

    .about-us .left video {
        width: 100%;
        height: 120%;
        object-fit: cover;
    }

    .carousel-slide img {
        width: 40%;
        height: 25%;
    }

    .about-us .right h3 {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .carousel-slide li {
        height: 5vh;
        padding: 5vw;
        background-color: #ffffffd2;
        color: #0056b3;
        border-radius: 10px;
        font-size: 2.0vh;
    }

    .about-us .right p {
        font-size: 18px;
        color: #f0e6e6;
        line-height: 1.5;
    }
    .carousel-slide {
        height: 150vw;
        flex-direction: column;
    }

    .carousel-container {
        font-size: 2vw;
        margin-left: 15vw;
    }

    .footer-links li {
        width: 50%;
        height: 2vh;
    }
    .section-title {
        font-size: 2rem;
    }
}


@media (max-width: 390px) {

    .text-overlay {
        margin-top: 4.5vh;
    }

    .footer-links li {
        width: 50%;
        height: 1vh;
      }
    

    #footVideo {
        margin-top: 11vh;
    }
    
    .section-action {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Distribute buttons with less horizontal gap */
        flex-wrap: wrap; /* Allow wrapping if there's not enough space */
        gap: 1rem; /* Control the gap between buttons */
    }
    

    .subscribe-button {
        margin-top: 0.8vw;
        margin-left: 2vw;
    }

    .navbar .button {
        font-size: 0.7rem;
    }

    .about-us .right {
        margin-right: 90px;
        margin-top: 5vw;
        width: 100%;
        height: 100vw;
    }

    .section-action .button {
        height: 20vw;
        font-size: 1.1rem;
    }

    .carousel-slide img {
        width: 50%;
        height: 22%;
    }
    .nav-links{
        margin-bottom: 0vw;
        padding-left: 10px;
        padding-right: 10px;
    }


    .carousel-slide {
        height: 210vw;
        flex-direction: column;
    }

    .carousel-content P {
        font-size: 3.5vw;
        margin-bottom: 0.5vw;
      }

    .carousel-content h3 {
        font-size: 4vw;
        margin-bottom: 0.5vw;
      }
      .rightSam{
        display: none;
      }

    .carousel-slide li {
        height: 8.9vh;
        padding: 5vw;
        background-color: #ffffffd2;
        color: #0056b3;
        border-radius: 10px;
        font-size: 2.0vh;
    }

    .nav-item {
        padding-left: 2px;
        margin-left: 2px;
        justify-content: first baseline;
        font-size: 0.7rem;
    }
    .footer-links {
        width: 50%;
        bottom: 0;
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin-left: 10px;
      }
      
      

    .support {
        display: flex;
        flex-direction: column;
        width: 99.5vw;
        height: 100vw;
      }
    
  .support .left{
    margin-left: 3vw;  
    border-radius: 8px;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 94.5vw;
    height: 50%;
    }
  
    .support .right {
      margin-top: 2vw;
      font-size: 3vw;
      color: black;
      justify-content: center;
      border-radius: 10px;
      padding: 0px 20px;
      margin-left: 4vw;
      background-color: rgba(245, 245, 245, 0.904);
      width: 80vw;
      height: 50%;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {

    #footVideo {
        margin-top: 11vh;
    }

    

    .text-overlay {
        margin-top: 2.9vh;
    }

    .subscribe-button {
        margin-top: 1.5vw;
        margin-left: 2vw;
    }

    .navbar .button {
        font-size: 0.7rem;
    }
    
    .section-action {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Distribute buttons with less horizontal gap */
        flex-wrap: wrap; /* Allow wrapping if there's not enough space */
        gap: 1rem; /* Control the gap between buttons */
    }
    
    .footer-links li {
        width: 50%;
        height: 2vh;
    }

    .about-us .right {
        margin-right: 90px;
        margin-top: 5vw;
        width: 100%;
        height: 100vw;
    }

    .section-action .button {
        height: 20vw;
        font-size: 1.1rem;
    }

    .carousel-slide img {
        width: 60%;
        height: 25%;
    }
    .nav-links{
        margin-bottom: 0vw;
    }


    .carousel-slide {
        height: 225vw;
        flex-direction: column;
    }
    .carousel-slide a{
        
        font-size: 5vw;
    }

    .carousel-slide li {
        height: 8vh;
        padding: 5vw;
        background-color: #ffffffd2;
        color: #0056b3;
        border-radius: 10px;
        font-size: 2.0vh;
    }

    .nav-item {
        justify-content: first baseline;
        font-size: 0.7rem;
    }

    .support {
        display: flex;
        flex-direction: column;
        width: 99.5vw;
        height: 100vw;
      }
    
  .support .left{
    margin-left: 3vw;  
    border-radius: 8px;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 94.5vw;
    height: 50%;
    }
  
    .support .right {
      margin-top: 2vw;
      font-size: 3vw;
      color: black;
      justify-content: center;
      border-radius: 10px;
      padding: 0px 20px;
      margin-left: 4vw;
      background-color: rgba(245, 245, 245, 0.904);
      width: 80vw;
      height: 50%;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {

    #footVideo {
        margin-top: 12vh;
    }

    .nav-links{
        font-size: 2vw;
        margin-bottom: 0vw;
    }

    .footer-links li {
        font-size: 2vh;
        width: 50%;
        height: 2vh;
    }

    .text-overlay {
        margin-top: 1.5vh;
    }

    .subscribe-button {
        margin: 0.5vw 0 0.5vw 2vw;
    }

    .nav-item {
        font-size: 0.6rem;
    }

    .carousel-slide img {
        width: 50%;
        height: 40%;
    }

    .carousel-slide {
        height: 190vw;
        flex-direction: column;
    }

    .about-us .right {
        height: 110vw;
    }

    .auth-links {
        font-size: 0.4rem;
        margin-right: 1vw;
        margin-bottom: 10vh;
    }

    .section-title {
        font-size: 2rem;
    }

    
    .section-action {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Distribute buttons with less horizontal gap */
        flex-wrap: wrap; /* Allow wrapping if there's not enough space */
        gap: 1rem; /* Control the gap between buttons */
    }
    

    
    .support {
    display: flex;
    flex-direction: column;
    width: 99.5vw;
    height: 100vw;
  }

  .support .left{
  margin-left: 3vw;  
  border-radius: 8px;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 94.5vw;
  height: 50%;
  }

  .support .right {
    margin-top: 2vw;
    font-size: 3vw;
    color: black;
    justify-content: center;
    border-radius: 10px;
    padding: 0px 20px;
    margin-left: 4vw;
    background-color: rgba(245, 245, 245, 0.904);
    width: 80vw;
    height: 50%;
  }

  @media (orientation: portrait) {

    .container {
        width: 100%;
        font-size: 2vw;
      }

      .nav-links {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 10px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        font-size: 10vw;
        margin-bottom: 10vh;
      }
    
}
}
