*{
    padding: 0;
    margin: 0;
    border:0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}


:root {
    --color-primary: #5B8FB9;     /* Medium blue - approachable */
    --color-success: #67B99A;     /* Teal green - fresh */
    --color-warning: #FFC93C;     /* Bright yellow - clear warning */
    --color-danger: #FF6B6B;      /* Coral - modern alert */
    --color-danger-variant: rgba(255, 107, 107, 0.4);
    --color-white: #FFFFFF;
    --color-light: rgba(255, 255, 255, 0.8);
    --color-black: #03071E;       /* Very dark blue - soft on eyes */
    --color-bg: #0F222D;          /* Dark teal-black - modern */
    --color-bg1: #1A3A4A;         /* Dark teal */
    --color-bg2: #245A6B;         /* Medium teal */
    
    --container-width-lg: 90%;
    --container-width-md: 92%;
    --container-width-sm: 95%;
    
    --transition: all 400ms ease;
}






body{

    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-bg);
}


@media(min-width:450px){
    .logoText{
        display: block;
        flex-direction:column;
        
    }
}

@media(max-width:450px){
    .logoText{
        display: none;
    }
}

/* Container Base */
.container {
    width: var(--container-width-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section{
    padding: 6rem 0;
}

section h2{
    text-align: center;
    margin-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}

h2{
    font-size: 2rem;
}

h3{

    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}


a{
    color: var(--color-white);
}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);

}






/* ================= Header ================ */


/* Header Base Styles */
header {
    position: relative;
    top: 4rem;
    overflow: hidden;
    height: 95vh;
    min-height: 600px;
    z-index: 1;
    margin-bottom: 4rem;
}

/* Regular Header Container */
.header_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

/* Header Content Wrapper */
.header_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

/* Header Text Section */
.header_left {
    width: 100%;
    max-width: 800px;
       display: flex;
    gap:0.8rem;
    flex-direction: column;     /* Stack elements vertically */
    justify-content: center;    /* Vertically center */
    align-items: center;        /* Horizontally center */
    text-align: center;         /* Center text inside elements */
    /*max-width: none;*/
    height: 100%;  
}

.header_left h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    /*margin-bottom: 1.2rem;*/
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.header_left p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin: 0rem;
    line-height: 1.6;
    opacity: 0.9;
    color: #ffffff;
}

/* Header Image Section */
.header_right-image {
    width: 100%;
    max-width: 800px;
    display: flex;
    margin-bottom:3rem;
    justify-content: center;
    align-items: center;
}

.header_right-image img {
    width: 100%;
    max-width: 100%;
    height: clamp(220px, 30vw, 400px);
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.header_right-image img:hover {
    transform: scale(1.02);
}


/* Tablet Styles */
@media screen and (max-width: 1024px) {
     .container {
        width: var(--container-width-md);
    }
    
    header {
        height: 100vh;
        min-height: 550px;
    }
    
    .header_container {
        padding: 1.5rem 1rem;
    }
    
     .header_content {
        gap: 2rem;
    }
    
    
    .header_left {
    /*flex: 1;*/
    display: flex;
    gap:0.8rem;
    flex-direction: column;     /* Stack elements vertically */
    justify-content: center;    /* Vertically center */
    align-items: center;        /* Horizontally center */
    text-align: center;         /* Center text inside elements */
    /*max-width: none;*/
    height: 100%;               /* Make sure there's space to center vertically */
}

    .header_left h1 {
        font-size: 2.8rem;
    }
    
    .header_left p {
        font-size: 1.2rem;
        margin:0;
    }
    
 .header_right-image {
        max-width: 700px;
    }
    
    .header_right-image img {
        height: 350px;
    }
}



/* Mobile Styles */
@media screen and (max-width: 768px) {
  header {
        height: 100vh;
        min-height: 500px;
    }
    
    .header_container {
        padding: 1rem;
    }
    
    
    .header_content {
        gap: 1.8rem;
    }
    
    .header_left h1 {
        font-size: 2.4rem;
        /*margin-bottom: 1rem;*/
    }
    
     .header_left p {
        margin: 0rem;
    }
    
     .header_right-image {
        max-width: 100%;
    }
    
    .header_right-image img {
        border-radius: 8px;
    }
    
}
    
    /* Small Mobile Styles */
@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
        padding: 0 0.5rem;
    }
  
   header {
        height: 100vh;
        min-height: 450px;
    }
    
    .header_container {
        padding: 1rem 0.5rem;
    }
    
    .header_content {
        gap: 1.5rem;
    }
    
    
    .header_left {
    padding: 0 0.5rem;
    display: flex;
    gap:0.8rem;
    flex-direction: column;     /* Stack elements vertically */
    justify-content: center;    /* Vertically center */
    align-items: center;        /* Horizontally center */
    text-align: center;         /* Center text inside elements */
    /*max-width: none;*/
    height: 100%;  
    }
    
    .header_left h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    
    .header_left p {
        margin: 0rem ;
    }
    
    .header_right-image img {
        height: 320px;
    }
}


/* Extra Small Mobile */
@media screen and (max-width: 480px) {
    
     header {
        min-height: 400px;
    }
    
    .header_container {
        padding: 0.8rem 0.5rem;
    }
    
    .header_content {
        gap: 1.3rem;
    }
    .header_left h1 {
        font-size: 1.8rem;
    }
    
  .header_left p {
        margin: 0rem;
    }
    .header_right-image img {
        height: 260px;
    }
}


/* Extra Small Screens */
@media screen and (max-width: 360px) {
    .header_container {
        padding: 0.8rem 0.3rem;
    }
    
    .header_left {
        padding: 0 0.2rem;
            display: flex;
    gap:0.8rem;
    flex-direction: column;     /* Stack elements vertically */
    justify-content: center;    /* Vertically center */
    align-items: center;        /* Horizontally center */
    text-align: center;         /* Center text inside elements */
    /*max-width: none;*/
    height: 100%;  
    }
}


html {
    scroll-behavior: smooth;
}



/* ================= Categories ================ */


.categories {
    background: var(--color-bg1);
    height: 29rem;
}


.categories h1{
    line-height: 1;
    margin-bottom: 3rem;
}

.categories_container{
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
}

.categories_left{
    margin-right: 1rem;
}

.categories_left p {
    margin: 1rem 0rem 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%; /* Ensures it doesn't exceed container width */
    box-sizing: border-box;
}

.categories_right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* Large tablets */
@media screen and (max-width: 1024px) {
    .categories_right {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Small tablets and large mobile */
@media screen and (max-width: 768px) {
    .categories_right {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* Mobile portrait */
@media screen and (max-width: 600px) {
    .categories_right {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .categories_right {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.category{
    background: var(--color-bg2);
    padding: 2rem 0.8rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.category:hover{
    box-shadow: 0 3rem 3rem rgba(0,0,0,0.3);
    z-index: 1;
}

.category:nth-child(2) .category_icon{
    background:var(--color-danger) ;
}
.category:nth-child(3) .category_icon{
    background:var(--color-success) ;
}
.category:nth-child(4) .category_icon{
    background:var(--color-warning) ;
}
.category:nth-child(5) .category_icon{
    background:var(--color-success) ;
}

.category_icon{
    background: var(--color-primary);
    padding: 0.7rem;
    border-radius: 0.9rem;
}

.category h5{
    margin: 1rem 0 1rem;
}

.category p{
    font-size: 0.85rem;
}



/* ================== Popular Courses =================== */


.courses{
    margin-top: 6rem;
}

.courses_container{

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course{
    background:var(--color-bg1);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.course:hover{
    background: transparent;
    border-color: var(--color-primary);
}

.course_info h4{
    padding: 1rem 1rem 0.5rem 1rem;
}
.course_info a{
    margin: 1rem;
}

.course_info p{
    font-size: 0.9rem;
    padding: 1rem;
}

.course img{
    width: 100%;
    height: 12rem;
}

.course span{
   margin-bottom: 1rem;
}


/* ========= Achievements =========== */

.about_achievements {
    margin-top: 3rem;
}

.about_achievements-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 5rem;
}

.about_achievements-right > p {
    margin: 1.6rem 0 2.5rem;
}

.achievements_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.achievement_card {
    background: var(--color-bg1);
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.achievement_card:hover {
    background: var(--color-bg2);
    box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
}

.achievement_icon {
    background: var(--color-danger);
    padding: 0.6rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Change icon colors based on card index */
.achievement_card:nth-child(2) .achievement_icon {
    background: var(--color-success);
}
.achievement_card:nth-child(3) .achievement_icon {
    background: var(--color-primary);
}

.achievement_card p {
    margin-top: 1rem;
}


/* =======================================
   CAMPUS CONNECT – PREMIUM GALLERY SECTION
   ======================================= */

/* Outer Wrapper */
#photo-gallery-wrapper {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 50px;
    border-radius: 28px;
    max-width: 1400px; /* wider */
    margin: 90px auto 70px auto;
    box-shadow: 0 18px 55px rgba(0,0,0,0.35);
}

/* Grid Layout */
#gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Cards */
.gallery-card {
    background: #ffffff;
    padding: 14px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: 0.28s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,164,219,0.28);
    border-color: #009fd6;
}

/* Bigger, cleaner images */
.gallery-card img {
    width: 100%;
    height: 220px; /* increased image size */
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* ----------------------------
    RESPONSIVE BEHAVIOR
   ---------------------------- */
@media(max-width: 1100px) {
    #gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 780px) {
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-card img {
        height: 190px;
    }
}

@media(max-width: 480px) {
    #gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-card img {
        height: 230px;
    }
}

/* =======================================
   FULLSCREEN POPUP LIGHTBOX (PERFECT FIX)
   ======================================= */

#img-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px; /* prevents touching edges */
}

/* Popup Image */
#img-popup-overlay img {
    max-width: 95%;
    max-height: 92%;
    object-fit: contain; /* IMPORTANT: prevents zoom overflow */
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(255,255,255,0.20);
    border: 2px solid rgba(255,255,255,0.15);
}

/* ================== FAQ's =================== */

.faqs{
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0,0,0,0.5);
}

.faqs_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq{
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    height: fit-content;
    background: var(--color-primary);
    cursor: pointer;
}

.faq h4{
    font-size: 1rem;
    line-height: 2.2;
}

.faq_icon{
    align-self: flex-start;
    font-size: 1.2rem;
}

.faq p{
    margin-top: 0.8rem;
    display: none;
}

.faq.open p{
    display: block;
}


/* ================== Testimonial =================== */  

.testimonials_Container {
    overflow-x: hidden;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 1rem;
    padding: 4rem 0; /* Add padding to the top of the container */
}

.testimonials_Container h2 {
    margin-bottom: 2rem; /* Add bottom margin to create space between the heading and the first testimonial */
}
.testimonial{
    padding-top: 2rem;
}

.avatar{
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 1rem solid var(--color-bg1);
}

.avatar img{
    width: 100%;
    height: 100%;
}
 
.testimonial_info{
    text-align: center;
}

.testimonial_body{
    background: var(--color-primary);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
}

.testimonial_body::before{
    content: "";
    display: block;
    background: linear-gradient(135deg,transparent,var(--color-primary),var(--color-primary),var(--color-primary));
    width: 3rem;
    height: 3rem;
    position: absolute;
    left: 50%;
    top: -1.5rem;
    transform: rotate(45deg);

}


/*================== Footer =================== */


footer{
    background: var(--color-bg1);
    padding-top: 5rem;
    font-size: 0.9rem;
}

.footer_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.footer_container > div h4{
    margin-bottom: 1.2rem;
}

.footer_1 p{
    margin: 0 0 2rem;
}

footer ul li{
    margin-bottom: 0.7rem;
}

footer ul li a:hover{
    text-decoration: underline;
}

.footer_socials{
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}


.footer_copyright{
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-bg2);
}


/* ================== Media Queries (Tablets) =================== */

@media screen and (max-width:1024px){
    .container{
        width: var(--container-width-md);
    }

    h1{
        font-size: 2.2rem;
    }

    h2{
        font-size: 1.7rem;
    }

    h3{
        font-size: 1.4rem;
    }

    h4{
        font-size: 1.2rem;
    }

      /* ================== Header =================== */

     

     /*.header_container{*/
     /*   gap: 0;*/
     /*   padding-bottom: 3rem;*/
     /*}*/


           /* ================== Categories =================== */

    .categories{
        height: auto;
    }

    .categories_container{
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .categories_left{
        margin-right: 0;
    }



        /* ================== Popular Courses =================== */

        .courses{
            margin-top: 0;
        }

        .courses_container{
            grid-template-columns: 1fr 1fr;
        }


            /* ================== FAQ's =================== */

            .faqs_container{
                grid-template-columns: 1fr;
            }

            .faq{
                padding: 1.5rem;
            }

             /* ================== Footer =================== */

             .footer_container{
                grid-template-columns: 1fr 1fr;
             }
}


/* ================== Media Queries (Phones) =================== */

@media screen and (max-width: 600px) {

    .container{
        width: var(--container-width-sm);
    }


    

    
    /* ================== Header =================== */

=

    /*.header_container{*/
    /*    grid-template-columns: 1fr;*/
    /*    text-align: center;*/
    /*    margin-top: 0;*/
    /*    gap: 1.5rem;*/
    /*    padding: 3rem 0rem;*/
    /*    margin-bottom: 1rem;*/
    /*}*/


  


     /* ================== Catergories =================== */



    /*.categories_right{*/
    /*    grid-template-columns: 1fr 1fr;*/
    /*    gap: 0.7rem;*/
    /*}*/

    .category{
        padding: 1rem;
        border-radius: 1rem;
    }


    .category_icon{
        margin-top: 4px;
        display: inline-block;
    }


      /* ================== Popular Courses =================== */

      .courses_container{
        grid-template-columns: 1fr;
      }


        /* ================== Testimonials =================== */

        .testimonial_body{
            padding: 1.2rem;
        }


          /* ================== Footer =================== */


          .footer_container{
            grid-template-columns: 1fr;
            text-align: center;
            gap: 2rem;
          }

          .footer_1 p{
            margin: 1rem auto;
          }


          .footer_socials{
            justify-content: center;
          }
    
}



.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 8px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
}

@media screen and (max-width: 600px) {
   .swiper-pagination {
        bottom: 15px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}


/* Whatsappb button */

.whatsapp-button {
    position: fixed;
    bottom: 40px;
    width: 50px;
    height:50px;
    fill: #fff; /* WhatsApp green color */
    border-radius: 50%;
    background-color: #25D366;
    left: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
    transition: all 0.3s ease;
    z-index: 2;
}

.whatsapp-button svg {
    width: 36px;
    height: 36px;
    margin-top: 0.4rem;
    /* White background for the icon */
    /* Smooth transition on hover */
}

.whatsapp-button:hover  {
    transform: scale(1.1); /* Increase size on hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Shadow effect on hover */
}



nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 99;
}

nav .navbar {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0px;
  padding: 0px 20px;
}

nav  .navbar .logo  a{
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap:2px;

}
.navbar .logo img{
  /*height: 4rem;*/
  width: 6rem;
}
.navbar .logo a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

nav .navbar .nav-links {
  line-height: 70px;
  height: 100%;
}

nav .navbar .links {
  display: flex;
  gap: 0.5rem;
}

nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 13px;
}

nav .navbar .links li a:hover {
  color:#31788d;
}

nav .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.links li:hover .js-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #1A3A4A;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}

nav .navbar .links li:hover .js-sub-menu {
  display: block;
}

.navbar .links li .sub-menu li {
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}

.navbar.transparent {
  background-color: rgba(0, 0, 0, 0);
  box-shadow: none;
}

.navbar.scrolled {
  background-color:  #235066;   
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 920px) {
  nav .navbar {
      max-width: 100%;
      padding: 50px 25px;
  }

  nav .navbar .logo a {
      font-size: 22px;
  }

  nav .navbar .links li {
      padding: 0 10px;
      white-space: nowrap;
  }

  nav .navbar .links li a {
      font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .navbar .bx-menu {
      display: block;
  }

  nav .navbar .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      display: block;
      max-width: 270px;
      width: 100%;
      background: #1A3A4A;
      line-height: 40px;
      padding: 20px;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.5s ease;
      z-index: 1000;
  }

  .navbar .nav-links .sidebar-logo {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .sidebar-logo .logo-name {
      font-size: 18px;
      color: #fff;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
      font-size: 28px;
      color: #fff;
  }

  nav .navbar .links {
      display: block;
      margin-top: 20px;
  }

  nav .navbar .links li .arrow {
      line-height: 40px;
  }

  nav .navbar .links li {
      display: block;
  }

  nav .navbar .links li .sub-menu {
      position: relative;
      top: 0;
      box-shadow: none;
      display: none;
  }

  nav .navbar .links li .sub-menu li {
      border-bottom: none;
  }

  .navbar .links li .sub-menu .more-sub-menu {
      display: none;
      position: relative;
      left: 0;
  }

  .navbar .links li .sub-menu .more-sub-menu li {
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .links li:hover .js-arrow {
      transform: rotate(0deg);
  }

  .navbar .nav-links.show1 .links .js-sub-menu {
      display: block;
  }

  .navbar .nav-links.show1 .links .js-arrow {
      transform: rotate(180deg);
  }

  .sidebar-logo i,
  .navbar .bx-menu:hover {
      cursor: pointer;
  }
}

@media (max-width: 370px) {
  nav .navbar .nav-links {
      max-width: 100%;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
      font-size: 28px;
      color: #fff;
  }

  .sidebar-logo i,
  .navbar .bx-menu:hover {
      cursor: pointer;
  }
}

/* =======================================
   VIDEO GALLERY – NO THUMBNAILS (FINAL FIX)
   ======================================= */

/* Video card wrapper */
.gallery-card.video-thumb {
    position: relative;
    height: 220px;              /* Same height as photo cards */
    background: #000;           /* No white background */
    padding: 0;                 /* Remove image padding */
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

/* Video preview (first frame only) */
.gallery-card.video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;       /* Prevent inline play */
}

/* Play icon overlay */
.gallery-card.video-thumb .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* Hover effect (matches photo cards) */
.gallery-card.video-thumb:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,164,219,0.28);
    border-color: #009fd6;
}

/* Responsive heights */
@media (max-width: 780px) {
    .gallery-card.video-thumb {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .gallery-card.video-thumb {
        height: 230px;
    }
}
/* =======================================
   VIDEO POPUP MODAL (REQUIRED)
   ======================================= */

#video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#video-modal video {
    max-width: 95%;
    max-height: 85%;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 0 40px rgba(255,255,255,0.25);
}

#video-modal .close-modal {
    position: absolute;
    top: 22px;
    right: 32px;
    font-size: 42px;
    color: #ffffff;
    cursor: pointer;
    z-index: 1000000;
}