*{
   margin:0;
   padding:0;
   box-sizing: border-box;
}
  body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Roboto, sans-serif;
    }

    .container{
        max-width: 1400px;
        margin: 0 auto;
    }
.bg-color-header{
    background-color: #3e4095;
}

.text-cl-blue{
    color: #3e4095;
}
/* header and Nav css start */

    .top-bar {
      background-color: #3d3d98;
      padding: 5px 20px;
      text-align: right;
    }

    .top-bar a.btn {
      margin-left: 10px;
      font-size: 14px;
      font-weight: 600;
    }

    .navbar {
      padding: 5px 20px;
    }

    .navbar-nav .nav-link {
      font-weight: 600;
      color: #2b2b2b;
      margin: 0 10px;
      position: relative;
      cursor: default;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
      color: #3d3d98;
    }

    .dropdown-toggle::after {
      content: "\f107";
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      border: none;
      vertical-align: middle;
      margin-left: 5px;
      transition: transform 0.3s;
    }

    .nav-item.dropdown:hover .dropdown-toggle::after {
      transform: rotate(180deg);
    }

    .navbar-brand img {
      max-height: 83px;
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      background-color: white;
      border-radius: 10px;
      padding: 10px 0;
      min-width: 240px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.15);
      z-index: 1000;
      margin-top: 0;
      font-size: 15px;
    }

    .dropdown:hover > .dropdown-menu {
      display: block;
    }

    .dropdown-item {
      padding: 10px 20px;
      font-weight: 400;
      color: #333;
      transition: background 0.3s, color 0.3s;
    }

    .dropdown-item:hover {
      background-color: #f1f1f1;
      color: #3d3d98;
    }

    /* Disable pointer and Bootstrap default toggle behavior */
    .navbar-nav .nav-link.dropdown-toggle {
      pointer-events: none;
    }

    .header-sticky{
    position: sticky;
    top: 0;
    z-index: 9999;
    }
/* header and Nav css end  */


/* footer css start */
.f-container{
     padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}
  .footer {
      background-color: #f1e7e7;
      padding: 0px 5px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size: 15px;
      line-height: 1.6;
      color: #333;
    }

    .footer-logo img {
      max-width: 126px;
    }

    .footer h5 {
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 10px;
      position: relative;
      display: inline-block;
      color: #222;
    }

    /* .footer h5::after {
      content: "";
      display: block;
      width: 100%;
      max-width: 280px;
      height: 1px;
      background-color: #888;
      margin-top: 6px;
    } */

    .footer a {
      color: #333;
      text-decoration: none;
      display: block;
      margin-bottom: 6px;
    }

    .footer a:hover {
      text-decoration: none;
      color: #d9d69c;
    }

    .footer p {
      margin-bottom: 10px;
   
    }

    ul {
      padding-left: 0;
      list-style: none;
      margin-bottom: 0;
    }

    .text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}
 /* footer css end */
 
 .section-index{
    padding-top: 30px;
    padding-bottom: 20px;
 }
 .font-18-w-400{
     font-weight: 400;
    font-size: 18px;
 }
 /* scial icon css start */
.social-bar {
  position: fixed;
  top: 35%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
}

.social-icon {
  display: flex;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  background-color: transparent; /* No bg by default */
  color: #a89e9e; /* Muted gray icon color */
  transition: width 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  font-family: sans-serif;
}

.social-icon:hover {
  width: 160px;
  background-color: #5f5d5dc9; /* Label background on hover */
  color: white;
}

.social-icon .icon-circle {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: transparent; /* No brand color in default */
  transition: background-color 0.3s ease;
}

.social-icon:hover .icon-circle {
  /* Brand color on hover */
}

.facebook:hover .icon-circle {
  background-color: #3b5998;
}

.youtube:hover .icon-circle {
  background-color: #ff0000;
}

.instagram:hover .icon-circle {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.whatsapp:hover .icon-circle {
  background-color: #25D366;
}

.social-icon .label {
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover .label {
  opacity: 1;
}

.font-24{
    font-size: 24px;
}
/* scial icon css end */

/* start form css */
.form-container {
  position: fixed;
  top: 30%;
  right: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  width: 400px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-container.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-container input,
.form-container textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.form-container button {
  padding: 8px 20px;
  background-color: #8e2962;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  width: auto;           /* auto width */
  align-self: flex-start;  /* right-align button inside form */
}


.form-container button:hover {
  background-color: #6c1f4b;
}

/* end form css */

/* get touch form start  */

.contact-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-section p {
  color: #555;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.input-box {
  position: relative;
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 20px 24px 60px;
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.04),
    0 -2px 8px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  min-height: 100px;
}


.input-box i,
.input-box .prefix {
  position: absolute;
  left: 22px;
  color: #6c757d;
  font-size: 18px;
}

.input-box .prefix {
  font-weight: bold;
}

.input-box input,
.input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
}

.input-box textarea {
  resize: none;
  height: 140px;
}

.input-box.full {
  grid-column: span 2;
}

.btn-container {
  text-align: center;
  margin-top: 20px;
}

.btn-container button {
  background-color: #8e2962;
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-container button:hover {
  background-color: #6c1f4b;
}


/* get touch form end */

/* === Features Section Cards === */
/* .features-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
} */

.feature-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 18px #0000003b;
  padding: 30px 25px;
  text-align: center;
  flex: 1 1 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-box i {
  font-size: 52px;
  color: #2196f3;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-box p {
  color: #000;
    font-size: 1rem;
    font-weight: 400;
}



/* Smooth hover effect on all cards */
.feature-box:hover {
  transform: translateY(-6px);
   background: #f2e9ec;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.history-vision-section {
  background-color: #f2e9ec;
  padding: 50px 20px;
}

.content-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.text-block {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: center;
}

.text-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-block p {
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.image-block {
  flex: 1 1 400px;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  border-radius: 10px;
  height: auto;
}




.stats-section {
  background-color: #eee6e7;
}

.stat-item {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  gap: 24px; /* icon and text spacing */
}

.stat-icon {
  font-size: 50px;
  color: green;
  flex-shrink: 0;
}

.stat-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px; /* number and label spacing */
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.1;
}

.stat-label {
  font-size: 15px;
  color: #111;
  margin:22px 0px 0px 0px;
}
.mt-100{
    margin-top: 100px;
}
.text-box{
    background-color: #f2e9ec;
    padding: 23px 20px;
}
/* css start About the St. Joseph's Mission School Curriculum */
.custom-card {
  border-radius: 12px;
  padding: 30px 25px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: #fff;
  min-height: 550px; /* Ensures equal height visually */
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
  text-transform: uppercase;
}

.grade {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.description {
  font-size: 1.10rem;
  color: #444;
  line-height: 1.6;
  padding: 0 5px;
  margin-bottom: 25px;
  flex-grow: 1; /* Makes this stretch so button stays at bottom */
}

.btns {
  width: 100%;
  padding: 10px 0;
  font-weight: 600;
  font-size: 15px;
  border-radius: 30px;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto; /* Pushes to bottom */
}

/* Hover colors */
.btn-peach {
  background-color: #ffbd8a;
  color: #fff;
}
.btn-peach:hover {
  background-color: #f9a057;
}

.btn-lightblue {
  background-color: #c8d3e8;
  color: #fff;
}
.btn-lightblue:hover {
  background-color: #a9bfe2;
}

.btn-mint {
  background-color: #9ed8ac;
  color: #fff;
}
.btn-mint:hover {
  background-color: #7fcf99;
}

/* Background card colors */
.bg-peach {
  background-color: #fff3ea;
}
.bg-lightblue {
  background-color: #f1f6ff;
}
.bg-mint {
  background-color: #f1fcf6;
}

/* css end About the St. Joseph's Mission School Curriculum */

/* css achicver silder start */

.award-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.award-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.award-details {
  padding: 12px;
  background: #fff;
}

.award-details h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.award-details p {
  margin: 2px 0;
  font-size: 14px;
  color: #444;
}



/* css achivers slider end */

/* indexpage-zigzag-student-css-start */
  .student-section {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 40px;
      margin-bottom: 50px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .student-img {
   width: 85%;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    height: 350px;
    }

    .section-heading {
      font-weight: 700;
      font-size: 24px;
      position: relative;
      display: inline-block;
      margin-bottom: 20px;
    }

    .section-para{
    color: #000;
    font-size: 1.10rem;
    font-weight: 400;
    }

   .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #000;
  transform-origin: left;
  animation: underline-slow-loop 5s ease-in-out infinite;
}


@keyframes underline-slow-loop {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  20% {
    transform: scaleX(0.5);
    opacity: 1;
  }
  50% {
    transform: scaleX(1);
  }
  70% {
    transform: scaleX(1);
    opacity: 1;
  }
  90% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

    .explore-btn {
      background-color: #812149;
      color: #fff;
      border-radius: 8px;
      padding: 10px 25px;
      font-weight: 600;
      margin-top: 20px;
      transition: background 0.3s ease;
    }

    .explore-btn:hover {
      background-color: #6a193a;
    }
    /* indexpage-zigzag-student-css-end */

     /* What's Sets Us Apart-css-end */
     .set-bg{
        background-color: #f3f4f6;
     }
    .containers {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 60px;
      gap: 50px;
    }

    .text-content {
      flex: 1;
      max-width: 50%;
    }

    .image-content {
      flex: 1;
      max-width: 50%;
      text-align: end;
    }

    .image-content img {
      width: 85%;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      height: 350px;
    }

    h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    h3 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 20px;
    }

   

    .slide-up {
      animation: slideUp 0.7s ease;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
        padding: 20px;
      }

      .text-content, .image-content {
        max-width: 100%;
      }
    }
    /* What's Sets Us Apart-css-end */
    .mt-50{
        margin-top: 50px;
    }

    /* Start-Css-School-Overview-page */

      .hero-section {
      position: relative;
      width: 100%;
      max-width: 1920px;
      height: 262px;
      background-image: url('../img/bg-school-overview.jpg'); /* Replace with correct image path */
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-section::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.4); /* Optional dark overlay for text visibility */
    }

    .hero-section h1 {
      position: relative;
      color: white;
      font-size: 48px;
      font-weight: bold;
      z-index: 1;
    }
    
    @media (max-width: 768px) {
      .hero-section {
        height: 200px;
      }

      .hero-section h1 {
        font-size: 5vw;
      }
    }

    @media (max-width: 480px) {
      .hero-section {
        height: 150px;
      }
      .hero-section h1 {
        font-size: 6vw;
      }
      .hero-section h1 {
        font-size: 6vw;
      }
    }

    .text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
     
    .card-container {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .card {
      background: #fff;
      border: 2px solid #f97316;
      border-radius: 20px;
      width: 330px;
      height: 400px;
      min-height: 380px;
      padding: 30px 20px;
      text-align: center;
      transition: all 0.3s ease-in-out;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .card:hover {
      border-color: #2563eb;
      background: linear-gradient(to bottom, #ebf4ff, #c0f0ff);
      box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    }

    .card:hover .icon {
      border-color: #2563eb;
      color: #2563eb;
    }

    .icon {
      width: 70px;
      height: 70px;
      border: 2px solid #f97316;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #f97316;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }

    .card:hover .icon svg {
      color: #2563eb;
    }

    .card h3 {
     
      font-size: 22px;
      margin-bottom: 15px;
    }

    .card p {
      font-size: 15px;
      line-height: 1.7;
      color: #333;
      text-align: center;
      hyphens: auto;
      word-break: break-word;
    }

    @media (max-width: 768px) {
      .card-container {
        flex-direction: column;
        align-items: center;
      }

      .card {
        width: 90%;
      }

      .card p {
        text-align: left;
      }
    }

    .mt-100{
        margin-top: 100px;
    }
    .zigzag-section {
  padding: 60px 20px;
  background: #fdfdfd;
}
.zigzag-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.zigzag-block.reverse {
  flex-direction: row-reverse;
}
.zigzag-content {
  flex: 1 1 500px;
  padding: 20px 40px;
  text-align: center;
}
.zigzag-content h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #152c5b;
}
.zigzag-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.zigzag-icon {
  width: 60px;
  margin-bottom: 20px;
}
.zigzag-image {
  flex: 1 1 400px;
  padding: 20px;
  display: flex;
  justify-content: center;
}
.zigzag-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .zigzag-block {
    flex-direction: column;
  }
  .zigzag-block.reverse {
    flex-direction: column;
  }
  .zigzag-content, .zigzag-image {
    text-align: center;
  }
}
     /* End-Css-School-Overview-page */

/* Start-css-why-st-joseph-mission-school-page */
.bg-why{
    background-color: #f4f4f4;
}
.hero-section-1 {
      position: relative;
      width: 100%;
      max-width: 1920px;
      height: 262px;
      background-image: url('../img/bg-school-overview.jpg'); /* Replace with correct image path */
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-section-1::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.4); /* Optional dark overlay for text visibility */
    }
       .hero-section-1 h1 {
      position: relative;
      color: white;
      font-size: 48px;
      font-weight: bold;
      z-index: 1;
    }


    .para-why{
        font-size: 22px;
    font-weight: 400;
    }
        .containerss {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 100px;
    }

    .image-container {
      flex: 1;
      min-width: 300px;
    }

    .image-container img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .content {
      flex: 1.2;
      min-width: 300px;
    }

    .point {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 18px;
    }

    .point-icon {
      color: #3756e5;
      font-size: 20px;
      line-height: 1.4;
    }

    .point-text {
     font-size: 18px;
    line-height: 1.6;
      color: #333;
    }

    .point-text b {
      color: #0a1a3f;
    }

      .feature-list {
      
      margin-top: 50px;
    
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 48px;
    }

    .feature-icon {
      color: #2a4fd7;
      font-size: 20px;
      margin-top: 4px;
    }

    .feature-text {
      font-size: 18px;
      color: #333;
      line-height: 1.6;
    }

    .feature-text b {
      font-weight: 600;
      color: #0c1a45;
    }
/* End-css-why-st-joseph-mission-school-page */

/* start css backend admin pannel */
 .sidebar {
      background-color: #d4e6f1;
      min-height: 100vh;
      padding: 20px;
    }
    .sidebar a {
      color: #23169a;
    display: block;
    font-size: 1.1em;
    font-weight: 500;
    padding: 10px;
    text-decoration: none;
    transition: background .3s ease;
}
    
    .sidebar a:hover {
      text-decoration: none;
      background-color: #ddd;
      color: #086ad8;
    }
    .topbar {
      background-color: #208fa0;
      padding: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .topbar button {
      background-color: #fff;
      border: none;
      color: #208fa0;
      font-weight: bold;
      padding: 8px 15px;
      border-radius: 5px;
    }
    .topbar i {
      font-size: 22px;
      color: #fff;
    }
    .width-60{
        width: 60%;
    }
    
 /* start css backend admin pannel */
 