.section-title{
  background:#333;
  color:white;
  padding:10px 15px;
  font-size:22px;
  font-weight:bold;
  border-radius:5px;
 
}

.custom-table{
   background:white;
  border-radius:0px;
  overflow:hidden;
  margin-bottom:40px;
}

.custom-table table tr:hover{
  background:#f3e1e5;
}
.pdf-icon{
  width:30px;
}

.innner-from-sticky{ top: 10px; position: sticky;}
.contact-section {
      padding: 60px 0;
    }
    .contact-section .section-title {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 20px;
      color: #661521;
    }
    .contact-section .section-subtitle {
      font-size: 14px;
      color: #666;
      max-width: 520px;
    }
    .contact-info-card {
      background: #f8f3f4;
      border-radius: 6px;
      padding: 24px 20px;
      border-left: 4px solid #661521;
      height: 100%;
    }
    .contact-info-card h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 16px;
      color: #222;
    }
    .contact-info-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .contact-info-list li {
      margin-bottom: 10px;
      font-size: 14px;
      color: #333;
    }
    .contact-info-label {
      display: inline-block;
      min-width: 70px;
      font-weight: 600;
      color: #661521;
    }
    .contact-form-card {
      background: #f8f3f4;
      border-radius: 6px;
      padding: 24px 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .btn-contact {
      background-color: #661521;
      border-color: #661521;
      color: #ffffff;
      padding: 8px 26px;
      font-weight: 500;
      border-radius: 4px;
    }
    .btn-contact:hover,
    .btn-contact:focus {
      background-color: #4d0f19;
      border-color: #4d0f19;
      color: #ffffff;
    }
    .contact-map {
      margin-top: 30px;
      border-radius: 6px;
      overflow: hidden;
      border: 1px solid #eee;
    }
    .contact-map iframe {
      width: 100%;
      min-height: 260px;
      border: 0;
    }
    @media (max-width: 767px) {
      .contact-section {
        padding: 40px 0;
      }
      .contact-info-card,
      .contact-form-card {
        padding: 18px 16px;
      }
    }


    /* gallery page start */
.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
  margin-top: 2rem;
}

.gallery-header h1 {
  font-weight: 700;
  color: #212529;
}

.gallery-header p {
  color: #6c757d;
}

/* Masonry gallery */
.masonry-gallery {
  column-count: 4;
  column-gap: 1rem;
}

@media (max-width: 1200px) {
  .masonry-gallery {
      column-count: 3;
  }
}

@media (max-width: 768px) {
  .masonry-gallery {
      column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
      column-count: 1;
  }
}

.masonry-item {
  display: block;
  margin-bottom: 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.masonry-item img {
  width: 100%;
  display: block;
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
/* gallery page end */


/* testimonials start */
.testimonials-section {
  padding-top: 50px;
  padding-bottom: 60px;
  background-color: #f8f3f4;
}

.testimonials-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  color: #555;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 4px solid #661521;
}

.testimonial-avatar {
  min-width: 60px;
  max-width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f0d6dc;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex: 1;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 2px;
  color: #222;
}

.testimonial-role {
  font-size: 13px;
  color: #8a4a56;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .testimonial-card {
    padding: 18px 14px;
  }
}
/* testimonials end */
.radius15{ border-radius: 15px;}
.video-gallery-item iframe{   width: 100%; height: 250px; }
.video-gallery-item{ margin-bottom: 30px;}
.service-catagery-list {
  background-color: #f7f7f7;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.service-catagery-list h3 {
  font-size: 26px;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.service-catagery-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-catagery-list ul li {
  margin-bottom: 15px;
  transition: all 0.3s ease-out;
}

.service-catagery-list ul li:last-child {
  margin-bottom: 0;
}

.service-catagery-list ul li a {
  display: block;
  position: relative;
  background-color: #fff;
  color: #000;
  text-transform: capitalize;
  border-radius: 10px;
  font-weight: 700;
  padding: 13px 40px 13px 15px;
  transition: all 0.3s ease-out;
}

.service-catagery-list ul li a::after {
  content: '\f061';
  font-family: "FontAwesome";
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #000;
  transition: all 0.3s ease-out;}

.service-catagery-list ul li:hover a {
  background-color: #358bb5;
  color: #fff;}
 
.service-catagery-list ul li:hover a::after {
  color: #fff;
}

/* portmore school page start */
.school-detail-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
}

.school-detail-image img {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.school-detail-body {
  padding: 22px 24px 24px;
}

.school-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.school-detail-tagline {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a4a56;
  margin-bottom: 16px;
}

.school-detail-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.school-detail-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 18px;
}

.school-detail-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.school-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #661521;
}

.school-detail-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 8px;
  color: #222;
}

.school-detail-list.two-column {
  column-count: 2;
  column-gap: 25px;
}

@media (max-width: 767px) {
  .school-detail-body {
    padding: 18px 16px 20px;
  }

  .school-detail-title {
    font-size: 20px;
  }

  .school-detail-list.two-column {
    column-count: 1;
  }
}
/* portmore school page end */

/* vision & mission page start */
.vm-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.vm-hero img {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.vm-body {
  padding: 22px 24px 24px;
}

.vm-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background-color: #f8e7eb;
  color: #661521;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vm-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.vm-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}

.vm-box {
  flex: 1 1 260px;
  background-color: #faf6f7;
  border-radius: 10px;
  padding: 16px 16px 14px;
}

.vm-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.vm-quote {
  font-style: italic;
  border-left: 3px solid #661521;
  padding-left: 12px;
}

.vm-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.vm-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.vm-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  color: #661521;
}

.vm-footer-text {
  margin-top: 16px;
  font-size: 14px;
  color: #444;
  padding-top: 10px;
  border-top: 1px solid #f0dde2;
}

@media (max-width: 767px) {
  .vm-body {
    padding: 18px 16px 20px;
  }
}
/* vision & mission page end */

.success-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.success-hero img {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.success-body {
  padding: 22px 24px 24px;
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.success-intro {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.success-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.success-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.success-badge {
  flex: 1 1 120px;
  background-color: #faf6f7;
  border-radius: 10px;
  padding: 10px 10px 8px;
  text-align: center;
}

.success-badge-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #661521;
  line-height: 1.1;
}

.success-badge-label {
  display: block;
  font-size: 11px;
  color: #555;
  margin-top: 3px;
}

.success-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 0;
}

.success-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.success-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  color: #661521;
}

@media (max-width: 767px) {
  .success-body {
    padding: 18px 16px 20px;
  }
}

.timing-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.timing-hero img {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.timing-body {
  padding: 22px 24px 24px;
}

.timing-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.timing-intro {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

.timing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.timing-box {
  flex: 1 1 260px;
  background-color: #faf6f7;
  border-radius: 10px;
  padding: 14px 14px 10px;
}

.timing-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.timing-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.timing-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.timing-class {
  display: inline-block;
  min-width: 60px;
  font-weight: 600;
  color: #661521;
}

.timing-hours {
  display: inline-block;
  margin-left: 4px;
}

.timing-note {
  display: block;
  font-size: 12px;
  color: #777;
}

.timing-principal {
  border-top: 1px solid #f0dde2;
  padding-top: 10px;
  margin-top: 4px;
}

.timing-principal h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timing-principal p {
  font-size: 14px;
  color: #444;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .timing-body {
    padding: 18px 16px 20px;
  }
}

.building-gallery-section {
  margin-top: 20px;
}

.building-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.building-gallery-item {
  flex: 1 1 calc(33.333% - 8px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.building-gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.building-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
  .building-gallery-item {
    flex: 1 1 calc(50% - 8px);
  }
}
