.navbar {
  background-color: #fff;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

:root {
  --blue: #14b1e8;
  --green: #d3d707;
  --orange: #f0b106;
}

a {
  text-decoration: none;
}

.num {
  color: #555;
  font-size: 17px;
  font-weight: 500;
}

.nav-top .fa-facebook {
  color: #4267b2;
}

.nav-top .fa-youtube {
  color: #c4302b;
}

.nav-top .fa-instagram {
  /* color: #cd486b; */
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.only-in-mobile{
    display: none;
}

.nav-top i {
  font-size: 24px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: end;
}

.navbar-nav li:nth-child(-n + 8):after {
  content: "";
  border-right: 2px solid #a0a1a8;
  display: block;
  width: 102%;
  height: 14px;
  margin-top: -34px;
}

.navbar-nav .dropdown li:nth-child(-n + 8):after {
  display: none;
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--orange) !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  background-color: white;
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  padding: 0;
}

.dropdown-item {
  color: #333 !important;
  font-weight: 500;
  padding: 0.75rem 1.5rem !important;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  font-size: 13px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--green) !important;
  /* Green hover */
  color: #333 !important;
}

.dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: middle;
}

@media screen and (min-width: 992px) {
  .navbar {
    line-height: 2.4rem;
  }

  .dropdown-menu {
    line-height: initial;
    margin-top: 0;
  }

  /* Dropdown hover effects */
  .dropdown:hover > .dropdown-menu,
  .dropend:hover > .dropdown-menu {
    display: block;
  }

  .dropdown:hover > .dropdown-menu {
    margin-top: 0;
  }

  /* Nested dropdown positioning */
  .dropend:hover > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
  }

  .nav-item.dropdown:hover > .nav-link {
    color: var(--orange) !important;
    background-color: rgba(255, 255, 255, 0.2);
  }

  .dropdown-item:hover {
    background-color: var(--green) !important;
  }

  .dropend:hover > .dropdown-toggle {
    color: var(--orange) !important;
  }
}

.navbar-brand img {
  width: 100px;
  transition: all 0.3s ease-in-out;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.text-logo {
  line-height: 1.2;
}

.text-logo h5 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.text-logo p {
  margin: 0;
  font-size: 1.3rem;
  color: #555;
  line-height: 1;
  text-transform: uppercase;
}

/*------------------------- nav-bar-end--------------------------- */
/* -------------------------------------------------------------- */

/* ---------------------Banner-section-start-------------------- */
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */

/* .banner .container{
  margin-right: 0 !important;
} */

.custom-carousel .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.custom-carousel {
  position: relative;
}

.custom-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  background: white;
  display: block;
  border-radius: 50%;
  margin: 5px;
  opacity: 0.7;
}

.custom-carousel .owl-dot.active span {
  background: #000;
  opacity: 1;
}

.custom-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
}

s {
  width: 1072px;
  height: 500px;
}

.banner {
  padding-bottom: 120px;
  background: url(../images/Home/Bannerne.jpg) no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.banner-content {
  white-space: nowrap;
  z-index: 90;
  position: relative;
}

.banner-content h5 {
  font-size: 1rem;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: capitalize;
  margin-bottom: 20px;
}

.banner-btn {
  background-color: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.banner-btn:hover {
  transform: scale(1.05);
  background-color: #0e90c7;
  /* Slightly darker blue */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.banner-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.banner-content p {
  font-size: 1.3rem;
  line-height: 1.4;
  color: #6b8e23;
  margin-bottom: 25px;
  font-weight: 400;
  max-width: 600px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

img.s {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------- */
/* ------------Aboutus-section------------ */
/* -------------------------------------- */

.about-manyatha {
  margin-top: -50px;
  position: relative;
}

.about-manyatha .tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3a6d;
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  padding-top: 80px;
}

.about-manyatha .tagline:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #1976d2, #ffc107);
  border-radius: 2px;
}

.about-manyatha .mission-text {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 30px;
  font-weight: 400;
}

.about-manyatha .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.about-manyatha .feature-item {
  display: flex;
  align-items: flex-start;
}

.about-manyatha .feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1976d2, #64b5f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  color: white;
  font-size: 24px;
  box-shadow: 0 8px 15px rgba(25, 118, 210, 0.2);
  transition: all 0.3s ease;
}

.about-manyatha .feature-item:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #ffc107, #ffd54f);
}

.about-manyatha .feature-item:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #d32f2f, #f44336);
}

.about-manyatha .feature-item:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #388e3c, #66bb6a);
}

.about-manyatha .feature-item:hover .feature-icon {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.about-manyatha .feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a3a6d;
  margin-bottom: 5px;
}

.about-manyatha .feature-content p {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.about-manyatha .btn-knw-more {
  background: #666;
  padding: 8px 20px;
  color: #fff;
}

.content-container {
  position: relative;
  top: 20px;
  top: -8px;
}

/* -------------------------------------------- */
/* ---------------------------------------------- */

.news-container {
  overflow: hidden;
  position: relative;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

.news-scroll {
  display: flex;
  padding: 15px 0;
}

.news-scroll-content {
  display: flex;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}

.news-scroll:hover .news-scroll-content {
  animation-play-state: paused;
}

.news-item {
  margin-right: 50px;
  display: flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 12px;
}

.news-item:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  margin-right: 10px;
}

.badge-course {
  background-color: #3a7bd5;
  color: white;
}

.badge-exam {
  background-color: #ff4757;
  color: white;
}

.badge-update {
  background-color: #20bf6b;
  color: white;
}

.badge-workshop {
  background-color: #8e44ad;
  color: white;
}

.news-date {
  font-size: 0.8rem;
  color: #555;
  margin-left: 10px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* .mart-44 {
  margin-top: -44px;
} */

/* ----------------------------------- */
/* ---------Counter------------------ */
/* --------------------------------- */

.counter-section {
  padding: 80px 0;
}

.counter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

.counter-box {
  text-align: center;
  width: 200px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.counter-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.counter-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.counter {
  font-size: 42px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.counter-title {
  font-size: 18px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .counter-box {
    width: 150px;
  }

  .counter {
    font-size: 32px;
  }

  .counter-image {
    width: 50px;
    height: 50px;
  }
}

/* -------------------------------------------- */
/* -------------Curiculam-section------------- */
/* ------------------------------------------ */

.bs {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background-color: #fff;
}

.div2 {
  color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.div2 h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  position: relative;
}

.div2 p {
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.feature i {
  color: var(--orange);
  font-size: 1.2rem;
}

.career-section .btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: fit-content;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(240, 177, 6, 0.3);
}

.c-2 {
  padding-top: 80px;
}

.curriculam {
  background-color: #f0f9fb;
}

.c-1 {
  margin-top: -160px;
}

.section-title {
  text-align: center;
  color: #333;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--blue),
    var(--green),
    var(--orange)
  );
  margin: 15px auto;
  border-radius: 2px;
}

.cirriculam-title {
  padding-bottom: 160px;
}

.title-sub {
  text-align: center;
  margin-bottom: 30px;
  font-size: 17px;
  color: #444;
}

.only-title-circulam {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3a6d;
}

/* ---------------------------------------------- */
/* ----------------Infrastrcture----------------- */
/* ---------------------------------------------- */

.activities {
  background-color: #f9f9f9;
}

.activities-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.custom-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.bg-text-activities {
  background-color: var(--blue);
  padding: 60px;
}

.bg-text-activities p {
  color: #fff;
}

.overlap-left {
  margin-left: -30px;
}

.custom-nav button {
  border: none !important;
  background-color: none !important;
}

.activities-carousel .item {
  position: relative;
  overflow: hidden;
}

.activities-carousel .item img {
  width: 100%;
  display: block;
}

.activities-carousel .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.activities-carousel .item-text {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  width: 100%;
}

.title_all_secondary {
  color: var(--orange);
}

.btn-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0b106;
  /* Orange */
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------- */
/* -------------------Footer----------------------- */
/* ----------------------------------------------- */

#topButton {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 99;
  font-size: 16px;
  background-color: var(--blue);
  color: white;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
  padding: 3px;
  cursor: pointer;
  transition: background-color 0.3sease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.social-dropdown {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.social-toggle {
  width: 50px;
  height: 50px;
  background-color: #fe0000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-toggle:hover {
  background-color: #5b4cdb;
}

.social-menu {
  position: absolute;
  bottom: 60px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: all 0.2s ease;
}

.social-dropdown:hover .social-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.social-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.social-item:hover {
  transform: scale(1.1);
}

.facebook {
  background-color: #3b5998;
}

.social-dropdown .fa-facebook {
  color: #fff;
}

.instagram {
  background-color: #fff;
}

.fa-instagram {
  color: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.youtube {
  background-color: #fff;
}

.fa-youtube {
  color: #ff0000;
}

.linkedin {
  background-color: #0077b5;
}

.footer-container {
  --blue: #14b1e8;
  --green: #d3d707;
  --orange: #f0b106;
  background-color: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  font-family: "Arial", sans-serif;
}

.footer-container .footer-heading {
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-container .footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--orange);
}

.footer-container .quick-links {
  list-style: none;
  padding: 0;
}

.footer-container .quick-links li {
  margin-bottom: 10px;
}

.footer-container .quick-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-container .quick-links a:hover {
  color: var(--blue);
  padding-left: 5px;
}

.footer-container .contact-info {
  margin-bottom: 15px;
}

.footer-container .contact-info i {
  color: var(--orange);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-container .social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #34495e;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-container .social-icons a:hover {
  background-color: var(--blue);
  transform: translateY(-3px);
}

.footer-container .footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  color: #bdc3c7;
}

.footer-container .footer-bottom a {
  color: var(--green);
  text-decoration: none;
}

.footer-container .footer-bottom a:hover {
  color: var(--orange);
}

.footer-container .newsletter-form .form-control {
  background-color: #34495e;
  border: none;
  color: white;
}

.footer-container .newsletter-form .btn-subscribe {
  background-color: var(--orange);
  color: #2c3e50;
  font-weight: bold;
  border: none;
  transition: all 0.3s ease;
}

.footer-container .newsletter-form .btn-subscribe:hover {
  background-color: var(--green);
}

/* ------------------------------------------------------------- */

.academics_kasthurba {
  background: url(../images/home/acadamic-banner.webp) no-repeat;
  background-size: cover;
  background-color: #6c000a;
  opacity: 1;
  /* Fully opaque */
}

.text-title-acadmics h5 {
  padding: 40px 0;
  text-transform: uppercase;
  color: #f2edd2;
  text-align: center;
  font-size: 22px;
  line-height: 1.3;
}

.flip-card-container {
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 300px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
  }
}

@media (hover: none) and (pointer: coarse) {
  .flip-card {
    transform: none !important;
  }

  .flip-card-back {
    display: none;
  }
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  display: flex;
  align-items: end;
  justify-content: center;
}

.flip-card-front::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.flip-card-front h3 {
  color: white;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
  padding: 0 15px;
  width: 100%;
}

.flip-card-back {
  background-color: var(--blue);
  transform: rotateY(180deg);
  padding: 20px;
  color: #f2edd2;
}

.flip-ms {
  background-color: var(--green);
}

.flip-hs {
  background-color: var(--orange);
}

.flip-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.flip-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.btn-view-more {
  background-color: #f2edd2;
  color: #6c000a;
  border: none;
}

.btn-view-more:hover {
  background-color: #f2edd2;
  color: #6c000a;
}

/* ------------------------------------------- */
/* ---------------Facilities----------------- */
/* ------------------------------------------ */

.facilities-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.facilities-section .section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.facilities-section .section-heading h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #1a3a6d;
}

.facilities-section .section-heading p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.facilities-section .facility-card {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
}

.facilities-section .facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.facilities-section .facility-img {
  height: 200px;
  overflow: hidden;
}

.facilities-section .facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facilities-section .facility-card:hover .facility-img img {
  transform: scale(1.1);
}

.facilities-section .facility-content {
  padding: 20px;
}

.facilities-section .facility-content h3 {
  color: var(--blue);
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.4rem;
}

.facilities-section .facility-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 16px;
}

.facilities-section .facility-content .read-more {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.facilities-section .facility-content .read-more:hover {
  color: var(--green);
}

.facilities-section .facility-content .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.facilities-section .facility-content .read-more:hover i {
  transform: translateX(5px);
}

.facilities-section .facility-icon {
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.facilities-section .facility-icon i {
  font-size: 24px;
  color: white;
}

.vm-btn {
  background: var(--orange);
  color: var(--white);
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: fit-content;
  margin: 10px auto;
  box-shadow: 0 4px 15px rgba(240, 177, 6, 0.3);
  text-align: center;
  display: block;
}

/* ------------------------------------------ */
.school-activities {
  background-color: #f9f9f9;
  padding-bottom: 80px;
}

.facilities-title {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #1a3a6d;
}

.facilities-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* ----------------------------------------- */
/* -----------------CTA-------------------- */
/* ---------------------------------------- */

.admission-container {
  padding-top: 80px;
}

.admission-cta {
  background-color: #f8f9fa;
  padding: 20px 40px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 0 auto;
}

.admission-cta h2 {
  color: #2c3e50;
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}

.admission-cta p.subheading {
  color: #7f8c8d;
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 10px 30px;
  margin: 15px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button.phone {
  background-color: #f0b106;
  color: white;
}

.cta-button.email {
  background-color: #d3d707;
  color: #2c3e50;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ----------------------- */

.about-banner {
  padding: 40px 0px 0px;
  /* background-image: url(../images/aboutus/About_Manayata_School.webp); */
  /* background-size: cover; */
  /* background-position: center; */
  /* color: #fff; */
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  background-blend-mode: darken;
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.inside-banner h2 {
  color: #1a160c;
}

.inside-banner i {
  color: #efb307;
}

.about-manayata {
  padding: 60px 0px 100px;
  overflow: hidden;
}
.about-manayata .about-manayata-content {
  margin-top: 15px;
}

.about-manayata .about-manayata-content-caption {
  position: absolute;
  width: 50%;
  background: #f0f9fb;
  padding: 16px;
  display: flex;
  justify-content: end;
  right: 0;
  margin-top: -70px;
}

.vision-mission {
  background: #f8f9fa;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.vision-mission::before,
.vision-mission::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 0;
}

.vision-mission::before {
  background-color: #007bff;
  top: -80px;
  left: -80px;
}

.vision-mission::after {
  background-color: #ffc107;
  bottom: -80px;
  right: -80px;
}

.vision-mission {
  /* Base style for section boxes */
  .section-box {
    position: relative;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-left: 5px solid transparent;
  }

  /* Common icon styles using Font Awesome */
  .section-box::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #d3d707;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  /* Vision Icon */
  .vision-box::before {
    content: "\f06e";
    /* fa-eye */
  }

  /* Mission Icon */
  .mission-box::before {
    content: "\f140";
    /* fa-bullseye */
  }

  /* Section titles */
  .section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
  }

  /* Hover effect */
  .section-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #efb307;
  }

  .section-box:hover::before {
    transform: scale(1.2);
    color: #efb307;
  }
}

.section-box p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
}

.group-management-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f3f7 100%);
}

.group-box {
  background-color: #ffffff;
  position: relative;
  border-left: 6px solid #0d6efd;
}

.icon-floating {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 90px;
  opacity: 0.1;
}

.about-the-trust {
  padding: 120px 0px;
  background-image: url(../images/aboutus/Educational_Cultural_Society_Trust.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.cm-pm-body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f9fb;
  min-height: 100vh;
  padding: 20px;
  animation: cm-pm-background-shift 10s ease-in-out infinite alternate;
}

@keyframes cm-pm-background-shift {
  0% {
    background: linear-gradient(135deg, #edb109 0%, #d3d707 100%);
  }

  100% {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  }
}

@keyframes cm-pm-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cm-pm-slide-in-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cm-pm-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Main Container */
.cm-pm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header Section */
.cm-pm-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: cm-pm-fade-in-up 1s ease-out forwards;
}

.cm-pm-header-title {
  color: rgb(20, 5, 5);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.cm-pm-header-subtitle {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 300;
}

/* Messages Grid */
.cm-pm-messages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* Message Card */
.cm-pm-message-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: cm-pm-slide-in-up 0.8s ease-out forwards;
}

.cm-pm-message-card:nth-child(1) {
  animation-delay: 0.2s;
}

.cm-pm-message-card:nth-child(2) {
  animation-delay: 0.4s;
}

.cm-pm-message-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Profile Section */
.cm-pm-profile-section {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.cm-pm-profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d3d707, #edb207);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cm-pm-profile-info {
  flex: 1;
}

.cm-pm-profile-name {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
}

.cm-pm-profile-title {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  opacity: 0.8;
}

/* Decorative Line */
.cm-pm-decorative-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 20px 0;
  border-radius: 2px;
  display: none;
}

/* Message Content */
.cm-pm-message-content {
  line-height: 1.8;
  color: #444;
  font-size: 1.1rem;
  text-align: justify;
  position: relative;
}

.cm-pm-message-content::before {
  content: '"';
  font-size: 4rem;
  color: #667eea;
  position: absolute;
  left: 0px;
  top: -30px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* Signature */
.cm-pm-signature {
  margin-top: 30px;
  text-align: right;
  font-style: italic;
  color: #666;
  font-size: 1rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

/* Floating Elements */
.cm-pm-floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.cm-pm-floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: cm-pm-float 6s ease-in-out infinite;
}

.cm-pm-floating-circle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.cm-pm-floating-circle:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.cm-pm-floating-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.principal-section {
  background-color: #f9fcff;
  padding: 60px 0;
}

.quote-box {
  padding: 25px 35px 35px 0;
  border-radius: 12px;
}

.quote-box blockquote {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
  color: #1a1a1a;
}

.quote-box blockquote::before {
  content: "“";
  font-size: 10rem;
  position: absolute;
  left: 0;
  top: -100px;
  color: #0d6efd;
  font-family: Georgia, serif;
  display: none;
}

.principal-img {
  border-radius: 50%;
  max-height: 500px;
  object-fit: cover;
}

.principal-name {
  margin-top: 25px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #0d6efd;
}

.principal-section .section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--blue),
    var(--green),
    var(--orange)
  );
  margin: unset !important;
  border-radius: 2px;
  margin-top: 5px !important;
}

.leadershipteam {
  padding: 60px 0px;
}

.leadershipteam .leadershipteam-content {
  padding-left: 90px;
}

.kinder-header h1 {
  font-size: 2.8rem;
  font-weight: bold;
}

.kinder-section {
  padding: 60px 0px 0;
}

.kinder-img {
  width: 100%;
  border-radius: 15px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #f29e3e;
  margin-right: 10px;
}

.highlight-box {
  background-color: #fff3cd;
  border-left: 6px solid #f29e3e;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.icon-box {
  font-size: 2.5rem;
  color: #f29e3e;
  margin-right: 10px;
}

.kinder-section-2 {
  /* background-image: url(../images/school-type-bg.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
  background-color: #f0f9fb;
  padding: 120px 0px 60px;
  position: relative;
  margin-top: -60px;
  z-index: -1;
}

.kinder-section-3 {
  padding: 60px 0px 60px;
}

.primary-section-2 {
  /* background-image: url(../images/Primary_School/Primary_lines_background.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
  background-color: #f0f9fb;
  padding: 120px 0px 60px;
  position: relative;
  margin-top: -60px;
  z-index: -1;
}

.middle-section-2 {
  /* background-image: url(../images/Middle_School/kids_stationary.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
  background-color: #f0f9fb;
  padding: 120px 0px 60px;
  position: relative;
  margin-top: -60px;
  z-index: -1;
}

.high-section-2 {
  /* background-image: url(../images/Middle_School/kids_stationary.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; */
  background-color: #f0f9fb;
  padding: 120px 0px 60px;
  position: relative;
  margin-top: -60px;
  z-index: -1;
}

.primary-section {
  padding: 60px 0px 0;

  .primary-header h1 {
    font-size: 2.8rem;
    font-weight: bold;
  }

  .feature-list {
    list-style: none;
    padding-left: 0;
  }

  .primary-section {
    padding: 60px 20px;
  }

  .primary-img {
    width: 100%;
    border-radius: 15px;
  }

  .feature-list li {
    margin-bottom: 12px;
  }

  .feature-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #1b7cbe;
    margin-right: 10px;
  }

  .highlight-box {
    background-color: #d1ecf1;
    border-left: 6px solid #0c5460;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
  }

  .icon-box {
    font-size: 2.5rem;
    color: #1b7cbe;
    margin-right: 10px;
    margin-bottom: 10px;
  }
}

.cta-section {
  background: #fefefe;
}

.btn-warning {
  background-color: #f29e3e;
  border: none;
}

.btn-warning:hover {
  background-color: #d97f21;
}

.facilities-details {
  background-color: #fff;
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.facilities-details ul {
  list-style: none;
  padding-left: 0;
}

.facilities-details ul li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.facilities-details-content-right-col,
.facilities-details-content-left-col {
  background-color: #efb208;
}

.facilities-details .facilities-details-content-left {
  background-color: #efb208;
  color: #ffffff;
  padding: 60px 120px 60px 35px;
  position: relative;
  left: 10%;
}

.facilities-details .facilities-details-content-right {
  background-color: #efb208;
  color: #ffffff;
  padding: 60px 35px 60px 100px;
  position: relative;
  right: 10%;
}

.facilities-details ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ffffff;
}

.contact-of-manyatha {
  padding: 0px 0px 60px;
}

.contact-of-manyatha .school-header {
  background-color: var(--blue);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
}

.contact-of-manyatha .school-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-of-manyatha .contact-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-bottom: 2rem;
  background-color: white;
}

.contact-of-manyatha .contact-card h3 {
  color: #d3d707;
}

.contact-of-manyatha .contact-card:hover {
  transform: translateY(-5px);
}

.contact-of-manyatha .contact-icon {
  font-size: 2rem;
  color: #efb307;
  margin-bottom: 1rem;
}

.contact-of-manyatha .contact-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-of-manyatha .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

.contact-of-manyatha .map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-section {
  padding: 60px 0;
}

.gallery-section h2 {
  color: #333333;
  text-transform: uppercase;
  font-size: 1.6em;
}

.gallery-section h5 {
  background-image: url(../images/Activities/shapes.webp);
  background-size: 100% 100%;
  padding: 5px 0px;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 0 !important;
}

.gallery-section .gallery-box .box {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0px 4px 20px -4px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  margin-bottom: 20px;
}

.gallery-section .gallery-box .box:hover {
  box-shadow: 0px 4px 40px -4px rgba(0, 0, 0, 0.3);
}

.gallery-section .gallery-box .box.big {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-section .gallery-box .box.horizontal {
  grid-column: span 2;
}

.gallery-section .gallery-box .box.vertical {
  grid-row: span 2;
}

.gallery-section .gallery-box .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

.gallery-section .gallery-box .box:hover img {
  transform: scale(1.2);
}

.gallery-section-new .gallery-box {
  background: #fff;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  /*grid-template-rows: repeat(1, 18vw);*/
  grid-auto-rows: 16vw;
  grid-gap: 1rem;
  grid-auto-flow: dense;
}

.gallery-section-new .gallery-box .box.big {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-section-new .gallery-box .box.horizontal {
  grid-column: span 2;
}

.gallery-section-new .gallery-box .box.vertical {
  grid-row: span 2;
}

.gallery-section-new .gallery-box .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

.tab-content {
  padding: 20px;
  /* background-color: #ececec; */
}

.tab-content ul {
  list-style: none;
  padding-left: 0;
}

.tab-content ul li {
  margin-bottom: 5px;
}

/* .tab-content li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f29e3e;
    margin-right: 10px;
} */

.tab-content .nav-link.active {
  background-color: #007bff;
  color: white !important;
}

.admission-box,
.download-box {
  background-color: #fdfdfd;
  /* border-left: 5px solid #0d6efd; */
  font-family: "Segoe UI", sans-serif;
  transition: box-shadow 0.3s ease;
}

.admission-box:hover,
.download-box:hover {
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.1);
}

.admission-list .list-group-item {
  background-color: transparent;
  padding: 0.75rem 0.5rem;
  border: none;
  border-bottom: 1px dashed #dee2e6;
  font-size: 1rem;
}

.contact-link {
  color: #0d6efd;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.modal.fade .modal-dialog {
  transform: perspective(1000px) rotateX(-90deg);
  transition: all 0.5s ease-in-out;
  transform-origin: top center;
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  transform: perspective(1000px) rotateX(0);
  opacity: 1;
}

.modal-open {
  z-index: 99999 !important;
}

.awards-section .gallery-box {
  background-color: #f0f9fb;
  padding: 10px;
  align-items: center;
}

.award-content {
  display: flex;
  align-items: center;
  gap: 100px;
}

.award-content h2 {
  font-size: 30px;
  font-weight: 700;
}

.award-content h2 sup {
  text-transform: lowercase;
}

.award-content .award-date {
  position: relative;
}

.award-content .award-date::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -70%;
  transform: translateX(-50%);
  border-right: 5px solid #eeb306;
  display: block;
  width: 0;
  /* Since it's a vertical line, width is not needed */
  height: 150px;
}

.mtse-course-details .highlight-box {
  background: linear-gradient(135deg, #e6f0ff, #f0f9ff);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  border-left: 6px solid #f29e3e;
}

.mtse-course-details .highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.mtse-course-details .highlight-box h4 {
  font-size: 1.5rem;
  color: #002855;
}

.mtse-course-details .highlight-box p {
  font-size: 1rem;
  color: #333;
}

.mtse-course-details .sec-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #002855;
}

.mtse-course-details .bg-soft {
  background-color: #f8fbff;
}

.mtse-course-details .info-card {
  border: 1px solid #dfeeff;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.mtse-course-details .know-more-btn {
  margin: 10px 0;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 8px;
}

.mtse-course-details .know-more-btn i {
  margin-right: 5px;
}

.mtse-course-details .know-more-btn:hover {
  background-color: #d3d707;
}

.Objective_of_MTSE ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #1b7cbe;
  margin-right: 10px;
}
.Objective_of_MTSE ul li {
  margin-bottom: 10px;
}

.mpd {
  padding: 80px 0;
}
.mpd-title {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #978168;
}

.mpd .row {
  padding-bottom: 40px;
}

.mpd h5 {
  text-transform: uppercase;
  font-size: 20px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.school-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.school-info-table th,
.school-info-table td {
  border: 1px solid #dee2e6;
  padding: 12px 15px;
  text-align: left;
}

.school-info-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.school-info-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.school-info-table tr:hover {
  background-color: #f1f1f1;
}

@media (max-width: 768px) {
  .school-name {
    font-size: 2rem;
  }

  .form-row .col-md-4 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 991px) {
  .gallery-section .gallery-box {
    grid-template-columns: repeat(4, auto);
    grid-auto-rows: 18vw;
  }
}

@media (max-width: 767px) {
  .gallery-section .gallery-box {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 575px) {
  .gallery-section .gallery-box {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: 35vw;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cm-pm-messages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cm-pm-header-title {
    font-size: 2.5rem;
  }

  .cm-pm-message-card {
    padding: 30px;
  }

  .cm-pm-profile-section {
    flex-direction: column;
    text-align: center;
  }

  .cm-pm-profile-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}
