* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Merriweather" , serif;
}
body{
    border-top: 8px #004A7C solid;
}

.h1{
    font-size: 50px;
}
.navbar {
  padding: 10px 0;
  height: 60px;
}
#menuOverlay{
    display: none;
}
.img-fluid {
  height: 50px;
  object-fit: contain;
}

/* Transparent navbar styles */
.navbar-transparent {
  background-color: transparent !important;
  transition: background-color 0.3s ease;
}

.navbar-scrolled {
  background-color: #004A7C !important;
}

.transition-navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled.shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hw:hover {
  cursor: pointer;
}
.hw1:hover{
    margin: 0;
}

@media (max-width: 576px) {
  .navbar-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hw {
    font-weight: 600;
    font-size: 0.9rem;
  }
  .hww {
    font-weight: 600;
    font-size: 0.9rem;
  }

  .navbar-collapse {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }

  .img-fluid {
    height: 40px;
  }
}
@media (max-width: 457px) {
  #mainNavbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

}



.video-section1 {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 400%;
  display: flex;
  animation: slide 15s infinite;
  z-index: 0;
}

.background-slider img {
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* keeps aspect ratio, covers screen */
  flex-shrink: 0;
  filter: brightness(80%) saturate(120%);
}

@keyframes slide {
  0% { transform: translateX(0); }
  25% { transform: translateX(-100vw); }
  50% { transform: translateX(-200vw); }
  75% { transform: translateX(-300vw); }
  100% { transform: translateX(0); }
}


.hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-left: 150px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
  text-align: start;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 700px;
  color: white;
}

/* Card Container */
.card-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 2rem 2rem 0px;
}

/* Card Base */
.cards {
  flex: 1 1 22%;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  transition: transform 0.3s ease-in-out, background-image 0.5s ease-in-out;
  background-size: cover;
  background-position: center;
  border: solid 1px white;
}

/* Overlay */
.cards::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}

/* Content Above Overlay */
.cards > * {
  position: relative;
  z-index: 2;
  background-position: top;
  transition: background 0.3s ease-in-out;
}
.card2{
  background-position: top;
}

/* Hover Effect */
.cards:hover {
  transform: translateY(-5px);
}

/* Specific Background Images on Hover */
.card1{
  background-image: url('../assets/images/embrace.jpg');
}
.card2 {
  background-image: url('../assets/images/networks.jpg');

}
.card3 {
  background-image: url('../assets/images/immence.jpg');
}
.card4 {
  background-image: url('../assets/images/network1.jpg');
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Tag Colors */
.red { background-color: #e53935; }
.blue { background-color: #00bcd4; }
.pink { background-color: #f06292; }
.yellow { background-color: #fdd835; color: #000; }

/* Card Title */
.cards h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

/* Responsive */
.cc2{
  display: none;
}

@media (max-width: 950px) {
  .card-container{
    flex-direction: column;
    padding: 0;
  }
  .video-section1{
    padding: 0;
    height: 50dvh;
  }

.hero-text{
  padding:15px ;
  bottom: 0;
}
.background-video{
  margin-top: 50px;
  height: 50dvh;
}
.cc2{
  display: flex;
  margin-top: 1px;
}
.cc1{
  display: none;
}
.cards:hover {
  transform: translateY(0px);
}

}

@media (max-width: 768px) {
  .cards {
    flex: 1 1 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Intro Section */
.intro_section{
    display: flex;
    margin-top: 100px;
    justify-content: center;
    column-gap: 100px;
    align-items: center;
    flex-flow: row-reverse;
}
.part1{
    width: 400px;
}
.field_label{
    font-size: 12px;
    color: #FFFFFFBF;
    margin: 0px 0px 10px;
    
}
.field_title{
    font-size: 1.5rem;
    color: #FFFFFF;
    
}
.field_intro_title{
    font-size: 3rem;
    color: black;
    
    font-weight: bold;
    margin: 0px 0px 16px;
}
.field_intro_para{
    font-size: 1rem;
    color: #323E49;
    
    line-height: 2rem;
    letter-spacing: 0.02rem;
}
.button{
    color: black;
    display: block;
    text-decoration: none;
    border: 1px solid #004A7C;
    width: fit-content;
    padding: 10px 15px;
    
    font-size: 12px;
    font-weight: bold;
    margin-top:16px ;
}
.part2{
    width: 680px;
    height: 680px;
    display: flex;
    flex-flow: row-reverse;
    flex-wrap: wrap;
}
.box3{
    width: 50%;
    height: 50%;
    background-color: #5B6671;
    display: flex;
    align-items: end;
    border: 4px solid #004A7C;
}
.box2{
    width: 50%;
    height: 50%;
    background-color: #000000;
    display: flex;
    align-items: end;
    border-top: 4px solid #004A7C;
    border-right: 4px solid #004A7C;
    border-bottom: 4px solid #004A7C;
}
.box1{
    width: 100%;
    height: 50%;
    background-color: #004A7C;
    border-top: 4px solid #004A7C;
    border-right: 4px solid #004A7C;
    border-left: 4px solid #004A7C;


}
.box1-img{
    display: flex;
    align-items: end;
    background-image:url("../assets/images/box1.jpg") ;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease;
}
.box2-img{
    display: flex;
    align-items: end;
    background-image:url("../assets/images/box2.jpg") ;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease;
}
.box3-img{
    display: flex;
    align-items: end;
    background-image: url("../assets/images/box3.jpg");
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease;
}
.box1-img:hover , .box3-img:hover , .box2-img:hover{
    filter: brightness(80%);
}
.content{
    margin: 0px 0px 20px 25px;
    transition: 0.3s;
}

/* Video Cards */
.video-section {
    margin: 0;
    padding: 40px;
    background-color: #f4f6f9;
    display: flex;
    flex-direction: column;

}
.video-section h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
}
.video-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    justify-content: center;
}

.video-card {
    position: relative;
    width: 260px;
    flex: 0 0 auto;
    cursor: pointer;
    text-align: center;
}
.video-card .blue-box {
    content: '""';
    position: absolute;
    top: 10px;
    left: -10px;
    width: 100%;
    height: 100px;
    background-color: #90e0ef;
    z-index: 0;
    opacity: 0;
    transform: translate(-10px, -10px);
    transition: opacity 0.3s ease;
}

.video-frame {
    position: relative;
    height: 400px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 2;
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    height: auto;
}

.video-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 3;
    text-align: center;
}

.play-btn {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    color: #b3002d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.watch-text {
    font-weight: bold;
    font-size: 1rem;
    color: white;
    margin-top: 8px;
    text-shadow: 1px 1px 2px #000;
}

.video-caption {
    margin-top: 15px;
}

.caption-title {
    color: #b3002d;
    font-weight: 600;
    margin-bottom: 4px;
}

.caption-name {
    font-style: italic;
    color: #222;
    font-size: 0.95rem;
}


@media only screen and (max-width: 1200px) {
    .intro_section{
        flex-direction: column;
        row-gap: 50px;
    }
    .video-carousel {
      justify-content: left;
    }
    .part1{
        width: 80%;
    }
    .part2{
        width: 80%;
        height: fit-content;
        flex-direction: column;
    }
    .box1 ,.box2, .box3{
        width: 100%;
        align-items: flex-end;
    }
}
@media only screen and (max-width: 400px) {
    .field_label{
        font-size: 0.5rem;
    }
    .field_intro_title{
        font-size: 1.5rem;
    }
    .field_intro_para{
        font-size: 0.5rem;
        line-height: 1rem;
        letter-spacing: 0.01rem;
    }
    .button{
        padding: 5px 8px;
        font-size: 0.8rem;
        font-weight: bold;
        margin-top:1rem ;
    }
    .box3{
        width: 50%;
        height: 50%;
        background-color: #5B6671;
        display: flex;
        align-items: end;
    }
    .box2{
        width: 50%;
        height: 50%;
        background-color: #000000;
        display: flex;
        align-items: end;
    }
    .box1{
        width: 100%;
        height: 50%;
        background-color: #004A7C;
        display: flex;
        align-items: end;

    }

    .content{
        margin: 0px 0px 20px 25px;
    }
    .intro_section{
        flex-direction: column;
        row-gap: 50px;
    }
    .part1{
        width: 80%;
    }
    .part2{
        width: 80%;
        height: fit-content;
        flex-direction: column;
    }
    .box1 ,.box2, .box3{
        width: 100%;
        align-items: flex-end;
    }
}
/* Banner */
.banner {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    background-color: #f5f5f5;
    overflow: visible;
    height: 130px;
    margin-top: 25px;
    
}

.banner-left {
     background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/banner.jpg');

    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    height: 180px;
    align-self: center;
}

.banner-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #004A7C;
    transition: transform 1s ease;
    z-index: 0;
    transform: translateX(0);
    clip-path: inherit;
}

.banner-left.active::before {
    transform: translateX(-100%);
}

.banner-text {
   
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px;
    z-index: 1 ;
    text-shadow: #000000;
    font-weight: 900;
}

.main-heading {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.banner-right {
    flex: 1;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
    padding: 5px 20px;
    min-height: 0;
}

.cta-container {
    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cta-link {
    text-decoration: none;
    width: 100%;
}

.cta-button {
    background-color: #004A7C;
    color: white;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #004A7C;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-button:hover {
    background-color: white;
    color: #004A7C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Color Changing Slide */
.slide-container {
    padding: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
}

.slide-left {
    width: 45%;
}


.slide-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.2rem;
    color: #323E49;
    margin-bottom: 30px;
}

.nav-list1 , .nav-list2 {
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-item1 , .nav-item2 {
    margin: 18px 0;
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.nav-item:hover {
    color: rgb(255, 255, 255);
}
#item1{
    background-color: #E63946; 
    color: white;
}
#item5{
    background-color: #E63946; 
    color: white;
}

.slide-right {
    width: fit-content;
    display: flex;
    height: fit-content;
    justify-content: center;
}
.background-highlight1 , .background-highlight2 {
    width: fit-content;
    height: fit-content;
    padding: 50px;
    transition: background-color 0.6s ease;
    background-image: linear-gradient(white, white), linear-gradient(#E63946, #E63946);
    background-repeat: no-repeat, no-repeat;
    background-size: 20% 100%, 80% 100%;
    background-position: left, right;
    display: flex;
    justify-content: left;
    align-items: center;
}
.image-wrapper1{
    width: 540px;
    height: 540px;
    border: 10px solid white;
    background-image: url("../assets/images/classrooms.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}
.image-wrapper2{
    width: 540px;
    height: 540px;
    border: 10px solid white;
    background-image: url("../assets/images/admissions.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* Art Gallery */
.art-gallery-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 30px;
  background-color: #fff;
  
}

.card {
  padding: 25px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card-title {
  width: 100%;
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-desc {
  width: 100%;
  text-align: center;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.4;
}

.card-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 16px;
}

.dark-card {
  background-color: #5a6672;
  color: #fff;
}

.red-card {
  background-color: #236490;
  color: #fff;
}

.custom-red-card {
  background-color: #004A7C;
  color: #fff;
}

.black-card {
  background-color: #000;
  color: #fff;
}

.light-card {
  background-color: #f4f4f4;
  color: #000;
}

/* Grid positioning */
.div1 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
}

.div2 {
  grid-column: span 4 / span 4;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
}

.div4 {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 4;
}

.div5 {
  grid-column: span 4 / span 4;
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 6;
}

.div6 {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 5;
  grid-row-start: 6;
}

.div7 {
  grid-column: span 4 / span 4;
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 3;
}

.div8 {
  grid-column: span 2 / span 2;
  grid-row: span 4 / span 4;
  grid-column-start: 7;
  grid-row-start: 1;
}

.div9 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 7;
  grid-row-start: 5;
}

/* Responsive */
@media (max-width: 1024px) {
  .art-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
  }

  .card {
    grid-column: span 4 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 600px) {
  .card-title {
    font-size: 1.5em;
  }

  .card-desc {
    font-size: 0.9em;
  }

  .card-img {
    height: 90px;
  }
}


/* Stories Carousel */
.stories-container {
    background-color: #5a6672;
    color: #fff;
    padding: 60px 0;
    position: relative;
}

.stories-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.stories-row {
    display: flex;
}

.stories-text-col {
    max-width: 400px;
    padding-right: 15px;
    padding-left: 15px;
}

.stories-carousel-col {
    max-width: 700px;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

.stories-small {
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.stories-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stories-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.carousel-track {
    display: flex;
    overflow: hidden;
    gap: 15px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    height: fit-content;
    width: 100%;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex-shrink: 0;
    padding: 20px;
    width: 320px;
    color: #000;
}

.carousel-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.carousel-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.carousel-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

.carousel-card a {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.carousel-arrows button {
    background-color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

@media (max-width: 1404px) {
  .slide-title {
    font-size: 2.3rem;
  }
}

@media (max-width:1250px) {
  .stories-row{
    flex-direction: column;
    align-items: center;
  }
  .stories-text-col{
    width: 90vw;
  }
  .stories-carousel-col{
    width: 85vw;
  }
}


@media (max-width: 1200px) {
    .slide-container {
        flex-direction: column;
        padding: 60px 40px;
        gap: 60px;
    }
    
    .slide-left, .slide-right {
        width: 100%;
    }
    
    .slide-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .slide-subtitle {
        text-align: center;
        font-size: 1rem;
    }
    
    .nav-list {
        text-align: center;
    }
    
    .nav-item {
        text-align: center;
        font-size: 1rem;
        margin: 14px 0px;
    }
    .image-wrapper1, .image-wrapper2{
        width: 300px;
        height: 300px;
    }
    .background-highlight1, .background-highlight2{
        padding: 20px;
        max-height: 100%;
        max-width: 90%;
    }
    
    }

@media (max-width: 1024px) {
    .vertical-grid {
        flex-direction: column;
    }

    .card {
        flex: none !important;
    }

    .card:hover {
        transform: none;
        box-shadow: none;
    }
    .carousel-arrows{
      right: 10%;
      top: -100px;
    }
}



@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        height: auto;
    }

    .banner-left, .banner-right {
        width: 100%;
        clip-path: none;
        padding: 20px;
    }

    .banner-right {
        padding: 20px;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: auto 130px;
    }

    .cta-button {
        font-size: 0.85rem;
        padding: 10px 20px;
        width: fit-content;
        white-space: normal;
        text-overflow: initial;
    }
    
    
    .stories-text-col,
    .stories-carousel-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-track {
        height: auto;
        left: 0;
    }
    .stories-carousel-col{
      display: flex;
      flex-direction: column-reverse;
    }
    .carousel-arrows {
        position: static;
        transform: none;
        flex-direction: row;
        column-gap: 20px;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 650px) {
    .slide-container {
        padding: 40px 20px;
        gap: 40px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .outer-frame {
        padding: 30px;
    }
    
    .inner-frame {
        width: 250px;
        height: 250px;
        padding: 20px;
    }
    
    .image {
        border: 4px solid white;
    }
}


@media (max-width: 400px) {
    .field-label {
        font-size: 0.5rem;
    }
    
    .field-intro-title {
        font-size: 1.5rem;
    }
    
    .field-intro-para {
        font-size: 0.5rem;
        line-height: 1rem;
        letter-spacing: 0.01rem;
    }
    
    .intro-button {
        padding: 5px 8px;
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    .image-wrapper1, .image-wrapper2{
        width: 150px;
        height: 150px;
    }
    .news-item{
        flex-direction: column;
        row-gap: 30px;
    }
}

@media only screen and (max-width:770px){
    .navbar-nav{
        display: none;
    }
}
/* Sidebar styles */
/* Sidebar main container */
/* Reset some basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Sidebar main container */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 580px;
  height: 100vh;
  background-color: #004A7C;
  color: white;
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 1rem 1.5rem;
  overflow-y: auto;
}

/* Show sidebar */
.side-menu.show {
  right: 0;
}

/* Sidebar header (top logo and close button) */
.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sidebar logo */
.side-menu-header img {
  height: 80px;
}

/* Close button */
#closeMenu1 {
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
}

/* Sidebar body content */
.side-menu-body {
  margin-top: 20px;
}
.sidemenu-logo{
  background-image: url("../assets/icons/logo_1.png");
  height: 80px;
  aspect-ratio: 6/1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* Unordered list */
.footer-ul1 {
  display: flex;
  flex-direction: column;
  justify-content: left;
  row-gap: 25px;
  margin: 40px 0;
  padding: 0;
  list-style: none;
}

/* Menu items */
.footer-ul1 li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  padding: 0.5rem 1rem;
  display: block;
  
  transition: all 0.3s ease;
}

.footer-ul1 li a:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Overlay background */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  display: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  display: block;
}
.gallery{
    height: fit-content;
    padding-top: 50px;
}
/* Optional: Disable body scroll when sidebar is open */
body.no-scroll {
  overflow: hidden;
}

@media (max-width:580px) {
    .side-menu{
        width: 80vw;
    }
    .h1{
        font-size:28px;
    }
    .lead{
        font-size: 18px;
    }
    .sidecon{
      flex-direction: column;
      row-gap: 15px;
    }
    .sidemenu-logo{
      background-image: url("../assets/icons/mobile-logo.png");
  aspect-ratio: 1/1;
    }
}
@media (max-width:840px) {
    .hw{
        display: none;
    }
    .hw1{
      display: block;
    }
    #menuButton{
        display: block;
    }
    
}

@media (max-width:450px) {
 .hero-text h1{
  font-size: 1.4rem;
 }
  .hero-text p{
  font-size: 0.8rem;
 }
}
.leadh6{
    font-size: 16px;
    height: fit-content;
    line-height: 28px;
}
.leadh61{
    font-size: 12px;
}
.sidecon{
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
   
}
.hw{
    padding-left: 10px;
    color: white;
}
.hw1{
    color: white;
    font-size: 1.5rem;

}
.hw1:hover {
  cursor: pointer;
  font-weight: bold;
 
}
.hrr{
    color: white;
    opacity: 1;
}
.ic{
    font-size: 20px;
    padding-right: 10px;
}
/*chatbox*/ 

    /* Jumping + Glowing Chatbot Button */
    #chatbot-button {
      position: fixed;
      bottom: 20%;
      right:1%;
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #ff4b4b, #004A7C); /* Red gradient */
      border-radius: 1000px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 1000;
      animation: jump 1.2s infinite, glow 2s infinite;
    }

    #chatbot-button img {
      width: 130%;
      height: 130%;
      border-radius: 50%;
      object-fit: cover;
    }

    @keyframes jump {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-20px);
      }
    }

    @keyframes glow {
      0% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.4),
                    0 0 20px rgba(255, 0, 0, 0.4),
                    0 0 30px rgba(255, 0, 0, 0.4);
      }
      50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6),
                    0 0 30px rgba(255, 0, 0, 0.6),
                    0 0 40px rgba(255, 0, 0, 0.6);
      }
      100% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.4),
                    0 0 20px rgba(255, 0, 0, 0.4),
                    0 0 30px rgba(255, 0, 0, 0.4);
      }
    }

    /* Chat Popup */
    #chatbot-popup {
      position: fixed;
      bottom: 100px;
      right: 25px;
      width: fit-content;
      height: 400px;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 1000;
      animation: fadeInUp 0.3s ease;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .chat-header {
      background: linear-gradient(135deg, #004A7C, #e53935);
      color: #fff;
      padding: 16px 20px;
      font-size: 18px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .chat-header button {
      background: none;
      border: none;
      color: white;
      font-size: 22px;
      cursor: pointer;
    }

    .chat-body {
      flex: 1;
      padding: 15px;
      overflow-y: auto;
      background: #ffffff;
    }

    .chat-footer {
      display: flex;
      padding: 12px 15px;
      background-color: #ffffff;
      border-top: 1px solid #e0e0e0;
    }

    .chat-footer input {
      flex: 1;
      padding: 10px 15px;
      border-radius: 25px;
      border: 1px solid #ccc;
      outline: none;
      font-size: 14px;
    }

    .chat-footer button {
      margin-left: 10px;
      padding: 10px 18px;
      background: #000000;
      border: none;
      color: #fff;
      border-radius: 25px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .chat-footer button:hover {
      background: #333333;
    }

    .message {
      margin-bottom: 10px;
      padding: 10px 14px;
      border-radius: 15px;
      width: fit-content;
      line-height: 1.4;
    }

    .user-message {
      background-color: #fdb5b5;
      align-self: flex-end;
      text-align: right;
      margin-left: auto;
    }

    .bot-message {
      background-color: #e4e2e2;
      color: #333;
    }
    /* From Uiverse.io by forzayt */ 
/* Specific styles for .container */
.intro-animation{
  padding-top: 50px;
}
.container {
  background: #ffffff none repeat scroll 0 0;
  color: #ffffff;
  font-size: 100%;
  line-height: 24px;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* Specific styles for .heart-rate container */
.container .heart-rate {
  width: 150px;
  height: 73px;
  position: relative;
  margin: 20px auto;
}

/* Styles for the fade-in animation */
.container .heart-rate .fade-in {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  top: 0;
  right: 0;
  animation: heartRateIn 2.5s linear infinite;
}

/* Styles for the fade-out animation */
.container .heart-rate .fade-out {
  position: absolute;
  width: 120%; /* Adjusted width to ensure animation space */
  height: 100%;
  background-color: #ffffff;
  top: 0;
  right: -120%;
  animation: heartRateOut 2.5s linear infinite;
}

/* Keyframes for the heartRateIn animation */
@keyframes heartRateIn {
  0% {
    width: 100%;
  }
  50% {
    width: 0;
  }
  100% {
    width: 0;
  }
}

/* Keyframes for the heartRateOut animation */
@keyframes heartRateOut {
  0% {
    left: -120%;
  }
  30% {
    left: -120%;
  }
  100% {
    left: 0;
  }
}
