/* ABOUT HERO */
.about-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("assets/images/school-hero.jpeg") center center/cover
    no-repeat;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 40, 70, 0.92),
    rgba(29, 66, 139, 0.82),
    rgba(174, 14, 14, 0.25)
  );
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.15),
    transparent 45%
  );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  max-width: 850px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.about-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 600;
}

.about-breadcrumb a {
  color: #ffd54f;
  text-decoration: none;
  transition: 0.3s;
}

.about-breadcrumb a:hover {
  color: #fff;
}

.about-breadcrumb span {
  color: #fff;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.about-hero p {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

/* Floating Circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
  z-index: 2;
}

.hero-circle-1 {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -80px;
}

.hero-circle-2 {
  width: 280px;
  height: 280px;
  bottom: -140px;
  right: -120px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/*================ Responsive ================*/
@media (max-width: 991px) {
  .about-hero {
    min-height: 380px;
  }

  .about-hero h1 {
    font-size: 2.7rem;
  }

  .about-hero p {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 340px;
    padding: 70px 0;
  }

  .about-breadcrumb {
    font-size: 13px;
    padding: 8px 18px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 15px;
    line-height: 1.7;
    padding: 0 10px;
  }

  .hero-circle-1 {
    width: 150px;
    height: 150px;
  }

  .hero-circle-2 {
    width: 180px;
    height: 180px;
  }
}

/* principal message main styling starts from here */
.principal-message {
  padding: 100px 0;
  background: #f8fbff;
}

.principal-image-wrapper {
  position: relative;
  text-align: center;
}

.principal-image-wrapper img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.principal-info {
  width: 85%;
  margin: -40px auto 0;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.principal-info h4 {
  margin-bottom: 6px;
  color: #1d428b;
  font-weight: 700;
}

.principal-info span {
  color: #d62828;
  font-weight: 600;
}

.message-box {
  position: relative;
  background: #fff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.quote-icon {
  font-size: 42px;
  color: #e8bb0a;
  margin-bottom: 20px;
}

.message-box p {
  color: #555;
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 18px;
}

.principal-sign {
  margin-top: 35px;
  border-top: 1px solid #e8e8e8;
  padding-top: 20px;
}

.principal-sign h5 {
  color: #1d428b;
  font-weight: 700;
  margin-bottom: 5px;
}

.principal-sign span {
  color: #777;
}

/*================ Responsive ================*/

@media (max-width: 991px) {
  .principal-message {
    padding: 80px 0;
  }

  .message-box {
    padding: 35px;
  }
}

@media (max-width: 767px) {
  .principal-message {
    padding: 60px 0;
  }

  .principal-image-wrapper img {
    max-width: 320px;
  }

  .principal-info {
    width: 90%;
  }

  .message-box {
    padding: 30px 22px;
  }

  .message-box p {
    font-size: 15px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .principal-info {
    padding: 15px;
  }

  .principal-info h4 {
    font-size: 20px;
  }

  .message-box {
    padding: 25px 18px;
  }

  .quote-icon {
    font-size: 32px;
  }
}

/* principal quote section styling  */
.principal-quote {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  background: url("../images/campus9.jpeg") center center/cover no-repeat;
}

.principal-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 52, 104, 0.93),
    rgba(29, 66, 139, 0.88)
  );
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.12),
    transparent 45%
  );
}

.quote-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.quote-content i {
  font-size: 58px;
  color: #e8bb0a;
  margin-bottom: 30px;
}

.quote-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.6;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 35px;
}

.quote-divider {
  width: 90px;
  height: 4px;
  margin: 0 auto 30px;
  background: #e8bb0a;
  border-radius: 20px;
}

.quote-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.quote-content span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

/* Decorative circles */
.principal-quote::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -120px;
  right: -120px;
}

.principal-quote .container::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -80px;
}

/*================ Responsive ================*/

@media (max-width: 991px) {
  .principal-quote {
    padding: 90px 0;
  }

  .quote-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .principal-quote {
    padding: 70px 0;
  }

  .quote-content i {
    font-size: 42px;
    margin-bottom: 20px;
  }

  .quote-content h2 {
    font-size: 24px;
    line-height: 1.7;
  }

  .quote-content h4 {
    font-size: 20px;
  }

  .quote-content span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .principal-quote {
    padding: 60px 0;
  }

  .quote-content h2 {
    font-size: 20px;
  }

  .quote-content i {
    font-size: 34px;
  }

  .quote-divider {
    width: 60px;
  }
}

.qualification {
  margin: 8px 0;

  color: #666;

  font-size: 15px;

  font-weight: 600;

  font-style: italic;
}

.principal-info span {
  display: block;

  color: #d62828;

  font-weight: 600;

  margin-top: 5px;
}

/* -------------------------------------------------------------------------------------------------------- */

/* mission and vision page */
.vision-hero {
  background: url("../images/campus7.jpeg") center center/cover no-repeat;
}

/*==================================
VISION & MISSION
==================================*/
.vision-section,
.mission-section {
  padding: 100px 0;
}

.vision-section {
  background: #f8fbff;
}

.mission-section {
  background: #fff;
}

.vm-image {
  position: relative;
}

.vm-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  transition: 0.5s;
}

.vm-image:hover img {
  transform: scale(1.03);
}

.vm-badge {
  position: absolute;
  left: 25px;
  bottom: 25px;
  background: #1d428b;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.vm-badge i {
  color: #e8bb0a;
}

.vm-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.vm-list li {
  margin-bottom: 16px;
  font-size: 17px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vm-list i {
  color: #1d428b;
  font-size: 18px;
}

/*==================================
Responsive
==================================*/

@media (max-width: 991px) {
  .vision-section,
  .mission-section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .vision-section,
  .mission-section {
    padding: 60px 0;
  }

  .vm-badge {
    left: 15px;
    bottom: 15px;
    padding: 10px 18px;
    font-size: 14px;
  }
  .vm-list li {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .vm-badge {
    position: static;
    margin-top: 15px;
    width: max-content;
  }
}

/* school motto section styling starts from here */
.school-motto {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
  background: url("../images/campus9.jpeg") center center/cover no-repeat;
}

.school-motto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 53, 104, 0.95),
    rgba(29, 66, 139, 0.9)
  );
}

.motto-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.1),
    transparent 45%
  );
}

.motto-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.motto-tag {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #e8bb0a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.motto-content h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
}

.motto-content p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.motto-line {
  width: 90px;
  height: 4px;
  margin: 40px auto 25px;
  border-radius: 20px;
  background: #e8bb0a;
}

.motto-content h5 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

/* Decorative Shapes */
.motto-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 280px;
  height: 280px;
  top: -120px;
  left: -100px;
}

.shape-2 {
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -80px;
  animation-delay: 2s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/*================ Responsive ================*/
@media (max-width: 991px) {
  .school-motto {
    padding: 90px 0;
  }

  .motto-content h2 {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .school-motto {
    padding: 70px 0;
  }

  .motto-content h2 {
    font-size: 2.2rem;
  }

  .motto-content p {
    font-size: 16px;
    line-height: 1.8;
  }

  .motto-tag {
    font-size: 12px;
    padding: 7px 18px;
  }

  .motto-content h5 {
    font-size: 18px;
  }

  .shape-1 {
    width: 180px;
    height: 180px;
  }

  .shape-2 {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .school-motto {
    padding: 60px 0;
  }

  .motto-content h2 {
    font-size: 1.8rem;
  }

  .motto-content p {
    font-size: 15px;
  }

  .motto-line {
    width: 60px;
  }
}
