* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Merriweather", serif;
}

body {
  border-top: 8px #1A1C5C 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: #1A1C5C !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: 500px) {
.img-fluid {
  width: 100%;
  height: 100%;
}
.navbar-brand{
  margin-right: 0px;
}
}
@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;
  }


}

@media (max-width: 457px) {
  #mainNavbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

}

/* Video Section */
.video-section1 {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: start;
  justify-content: end;
  text-align: left;
  flex-direction: column;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(70%);
}



.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 {
  display: flex;
  align-items: end;
  flex: 1 1 22%;
  aspect-ratio: 2/1.3;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  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/news4.JPG');
}
.card2 {
  background-image: url('../assets/images/Recp1.jpg');

}
.card3 {
  background-image: url('../assets/images/immence.jpg');
}
.card4 {
  background-image: url('../assets/images/Paramedical.jpg');
}

/* Tags */
.tag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 43%;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Tag Colors */
.red { background-color: #e538359e; color: #ffffff; }
.red a{ color: white;}
.blue { background-color: #00bbd4c5; color: #ffffff; }
.pink { background-color: #f06291a4; color: #ffffff; }
.yellow { background-color: #fdd83599; color: #ffffff; }

/* Card Title */
.cards h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  text-wrap: wrap;
}

/* 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;
}
  .card1 {
  background-image: url('../assets/images/news4.JPG');
}
.card2 {
  background-image: url('../assets/images/Recp1.jpg');

}
.card3 {
  background-image: url('../assets/images/immence.jpg');
}
.card4 {
  background-image: url('../assets/images/Paramedical.jpg');
}
.cards:hover {
  transform: translateY(0px);
}
.cards{
  aspect-ratio: 7/4;
}
.tag{
  width: 100%;
  height: 45%;
}
.cards h3{
  font-size: 1.5rem;
  text-align: center;
}
}
@media (max-width: 768px) {
  .cards {
    flex: 1 1 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}
@media (max-width: 530px) {
  .cards h3{
    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 #1A1C5C;
  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;
}

.box2 {
  width: 50%;
  height: 50%;
  background-color: #000000;
  display: flex;
  align-items: end;
}

.box1 {
  width: 100%;
  height: 50%;
  background-color: #1A1C5C;

}

.box1-img {
  display: flex;
  align-items: end;
  background-image: url("../assets/images/env.jpeg");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  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/scan.jpg");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: filter 0.3s ease;
}

.content {
  margin: 0px 0px 15px 25px;
  font-size: 16px;
  font-weight: bold;
}

.box1-img:hover,
.box3-img:hover,
.box2-img:hover {
  filter: brightness(80%);

  .content {
    margin-bottom: 20px;
    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: #1A1C5C;
  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: #1A1C5C;
  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: 768px) {
  .field_intro_title {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 470px) {
  .field_intro_title {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 400px) {
  .field_label {
    font-size: 0.5rem;
  }

  .field_intro_para {
    font-size: 1rem;
    line-height: 2rem;
    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: #1A1C5C;
    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;
  }
}

@media only screen and (max-width: 350px) {
  .field_intro_title {
    font-size: 1.4rem;
  }
}

/* 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.webp');

  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: #15438c;
  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: fit-content;
}

.cta-button {
  background-color: #15438c;
  color: white;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #15438c;
  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;
  margin: 0 auto;
}

.cta-button:hover {
  background-color: white;
  color: #15438c;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Color Changing Slide */
.slide-container {
  padding: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.slide-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
  padding-top: 40px;
}

.slide-left {
  width: 45%;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.slide-subtitle {
  font-size: 1.2rem;
  color: #323E49;
  margin-bottom: 30px;
}

.nav-list1 {
  list-style-type: none;
  padding: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-item1 {
  margin: 18px 0;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  width: fit-content;
  border-radius: 3px;
}

.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 {
  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: 30% 100%, 70% 100%;
  background-position: left, right;
  display: flex;
  justify-content: left;
  align-items: center;
}

.image-wrapper1 {
  width: 400px;
  height: 400px;
  border: 10px solid white;
  background-image: url("../assets/images/insta1.png");
  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: #1A1C5C;
  color: #fff;
}

.custom-red-card {
  background-color: #1A1C5C;
  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;
  }
}




/* 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: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 {
    padding: 60px 40px;
    gap: 30px;
  }

  .slide-content {
    padding-top: 0px;
  }

  .slide-left,
  .slide-right {
    width: 100%;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .slide-subtitle {
    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 {
    padding: 20px;
  }

}

@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;
  }

  .slide-content {
    flex-direction: column;
    gap: 30px;
  }

  .nav-list1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    font-size: 1rem;
  }

  .slide-container,
  .slide-content {
    gap: 15px;
  }

  .slide-title {
    margin: 0px;
    font-size: 1.9rem;
  }

  .nav-item1 {
    padding: 7px 10px;
    margin: 0;
  }
  .nav-item {
    margin: 5px 0px;
  }

  .main-heading {
    font-size: 1.8rem;
  }

  .cta-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .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: 600px) {
  .card-title {
    font-size: 1.5em;
  }

  .card-desc {
    font-size: 0.9em;
  }

  .card-img {
    height: 90px;
  }

  .slide-title {
    font-size: 1.8rem;
  }
}

@media(max-width: 412px) {
  .nav-list1 {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 400px) {
  .field-label {
    font-size: 0.5rem;
  }

  .field-intro-title {
    font-size: 1.5rem;
  }

  .field-intro-para {
    font-size: 1rem;
    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;
  }


}

@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: #1A1C5C;
  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;
}

/* 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;
}

.leadh6 {
  font-size: 16px;
  height: fit-content;
  line-height: 28px;
}

.leadh61 {
  font-size: 12px;
}

.sidecon {
  display: flex;
  list-style: none;
  font-size: 15px;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 20px;

}

.hw {
  padding-left: 10px;
  color: white;
  text-wrap: nowrap;
}

.hww {

  color: white;

}

.hww:hover {
  cursor: pointer;

}

.hrr {
  color: white;
  opacity: 1;
}

.ic {
  font-size: 20px;
  padding-right: 10px;
}

@media (max-width:580px) {
  .side-menu {
    width: 80vw;
  }

  .h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .sidecon {
    flex-direction: column;
    row-gap: 8px;
  }
  .nav-item{
    text-align: start;
  }
}

@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;
  }
}

/*chatbox*/

/* Jumping + Glowing Chatbot Button */
#chatbot-button {
  position: fixed;
  bottom: 20%;
  right: 1%;
  width: 70px;
  height: 70px;
  background-color: white;
  /* Red gradient */
  border-radius: 50%;
  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);
  }
}

/* Chat Popup */
#chatbot-popup {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: fit-content;
  height: 320px;
  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, #1A1C5C, #3555e5);
  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: #bab5fd;
  align-self: flex-end;
  text-align: right;
  margin-left: auto;
}

.bot-message {
  background-color: #e4e2e2;
  color: #333;
}
.footer-ul1{
  row-gap: 10px;
  margin: 0;
}