:root {
  --main-bg-color: #faf9ee;
  --brown-color: rgb(85, 0, 0);
  --buttonbg: #dccfc0;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
}
html {
  scroll-behavior: smooth;
}
body {
  background-image: url(/IMAGES/final-sch-pic.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.point button {
  cursor: pointer !important;
}
/* set scl img in phn screen */
#phn_img {
  display: none;
}
#home_img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1000px) {
  .space {
    display: none !important;
  }
  #phn_img {
    display: block;
  }
}

/*scroll down animation */
@keyframes pulseText {
  0% {
    color: #ff9800;
    text-shadow: 0 0 16px #ff9800;
  }
  50% {
    color: #ff9800;
    text-shadow: 0 0 16px #ff9800;
  }
  100% {
    color: #ff9800;
    text-shadow: 0 0 16px #ff9800;
  }
}
#swipe-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounceDown 2s infinite;
}
.swipe-arrow {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  border-left: 4px solid #ff9800;
  border-bottom: 4px solid #ff9800;
  transform: rotate(-45deg);
  animation: arrowMove 1.2s infinite;
}
@keyframes arrowMove {
  0% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(12px) rotate(-45deg);
  }
  100% {
    transform: translateY(0) rotate(-45deg);
  }
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
/* }
cancke button */
@media (max-width: 450px) {
  #iframe iframe {
    width: 100vw !important;
    min-width: 0;
  }
}
/* ----------------------------------------------- */
.number a {
  text-decoration: none;
  color: var(--brown-color);
}
.address_sec {
  font-weight: 500 !important;
}
#navsection {
  width: 500px;
  height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
#navsection img {
  width: 130px;
}
#school_name {
  padding: 0, 10px;
  font-size: 40px;
  font-weight: bolder;
}
header p {
  color: var(--brown-color);
}
#location {
  font-weight: 500;
  font-size: large;
}
header {
  padding: 20px;
  background-color: var(--main-bg-color);
  display: flex;
  justify-content: center;
}

/* phn navbar nav */
#handburger {
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 10px 10px 2px;
}
#handburger img {
  width: 32px;
  height: 32px;
}
@media (max-width: 700px) {
  nav {
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: var(--brown-color);
    position: sticky;
    top: 0px;
    z-index: 2000;
  }
  #nav_list ul li {
    padding-bottom: 10px;
  }
  li:hover {
    transform: translateY(-4px) scale(1.05);
  }
  li a {
    position: relative;
    display: inline-block;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  li a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #5c2701;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
  }
  li:hover a {
    color: #5c2701;
  }
  li:hover a::after {
    transform: scaleX(1);
  }
  #handburger {
    display: flex;
  }
  /* nav ul li a {
    text-decoration: none;
    color: #5c2701;
    font-weight: 500;
    font-size: medium;
  } */
  #nav_list {
    margin-top: 20px;
    padding: 10px;
    display: none;
    flex-direction: column;
    background: #fff7ed;
    color: #5c2701;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1002;
  }
  #nav_list.show {
    border-bottom: 8px solid var(--brown-color);
    display: flex;
    gap: 15px;
  }
}

/* -----------------------------nav bar-------------------- */

nav {
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: var(--brown-color);
  position: sticky;
  top: 0px;
  z-index: 2000;
}

nav ul li a {
  text-decoration: none;
  color: var(--main-bg-color);
  font-weight: 500;
  font-size: medium;
}
nav ul {
  display: flex;
  column-gap: 50px;
  justify-content: center;
  align-items: center;
}
li {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
li:hover {
  transform: translateY(-4px) scale(1.05);
}
li a {
  position: relative;
  display: inline-block;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
li a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--main-bg-color);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
li:hover a {
  color: #fff;
}
li:hover a::after {
  transform: scaleX(1);
}
#handburger {
  display: none;
}

/* ---------------- scl bg img ----------------- */
#abs img {
  object-fit: cover;
  width: 100vw;
}
.empty1 {
  height: 100px;
  width: 100%;
}
.empty {
  height: 300px;
  width: 100%;
}
#abs {
  position: absolute;
  top: 0px;
  z-index: -1;
}
.space {
  height: 850px;
  width: 100%;
}
/* -----------------EXPLORE NOW SECTION -------------- */

#explore {
  width: 100%;
  height: 300px;
  background-color: var(--brown-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
#explore-content {
  width: max-content;
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  background-color: var(--main-bg-color);
}

#explore-content button {
  padding: 10px;
  background-color: var(--brown-color);
  color: var(--main-bg-color);
  border: none;
  border-radius: 10px;
}
#explore-content p {
  font-size: 45px;
  color: var(--brown-color);
  font-weight: 500;
  text-align: center;
}
/* -------------------four box home page--------------------- */

#box4 {
  background-color: var(--brown-color);
  color: #fff;
  padding: 40px 0;
}
#box4 p:nth-child(1) {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  margin: 20px 20px 20px 20px;
}
#box4 p:nth-child(2) {
  font-size: large;
  font-weight: 300;
  margin: 0px 60px;
}
#box4 button {
  background-color: antiquewhite;
  padding: 6px;
  margin: 30px 0px 0px 0px;
  border: none;
  font-size: medium;
  font-weight: 500;
}
#four-box {
  background-color: #f1ece5;
  padding: 0px 0px 60px 0px;
}

.four-box-section {
  max-width: 1300px;
  margin: 0px auto;
  padding: 60px 16px 0px 16px;
}
.four-box-row {
  display: flex;
  gap: 0px;
  margin-bottom: 0px;
}
.four-box-item {
  flex: 1;
  width: 500px;
  height: 400px;
  background: #fff7ed;
  box-shadow: 0 2px 12px rgba(92, 39, 1, 0.07);
  padding: 0px 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #5c2701;
  transition: box-shadow 0.2s;
}
.four-box-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.four-box-item:hover {
  box-shadow: 0 4px 24px rgba(92, 39, 1, 0.15);
}
@media (max-width: 450px) {
  #explore-content button {
    padding: 8px;
    background-color: var(--brown-color);
    color: var(--main-bg-color);
    border: none;
    border-radius: 10px;
  }
  #explore-content {
    width: max-content;
    margin: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    background-color: var(--main-bg-color);
  }
  #box4 p:nth-child(2) {
    font-size: large;
    font-weight: 300;
    margin: 0px 10px;
  }
  #box4 p:nth-child(1) {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 20px 20px 20px 20px;
  }
  #box4 {
    padding: 10px;
  }
  #box4 button {
    background-color: antiquewhite;
    padding: 6px;
    margin: 25px 0px 10px 0px;
    border: none;
    font-weight: 500;
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .show li a {
    color: #5c2701;
  }
  .sep {
    background-color: #cb9773;
    color: #5c2701;
    padding: 40px 0;
  }
  .four-box-section .four-box-row:nth-child(2) .four-box-item {
    background-color: #cb9773;
  }
}
@media (max-width: 850px) {
  .four-box-section {
    width: 100%;
  }
  .four-box-row {
    flex-direction: column;
    gap: 0px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .four-box-item {
    width: 95%;
    height: 600px;
  }
}

/* ----------------------------img slider------------------------- */
/* #pad1 .xx-large1 {
  font-size: x-large;
  font-weight: bold;
  text-align: center;
  margin: 20px;
}
#ohh1 {
  margin-top: 10px;
}
.msg1 {
  padding: 0px 11px;
}
.slider-container1 {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  background-color: var(--main-bg-color);
}
#pad1 {
  padding: 20px;
  background-color: #cb9773;
  color: #fff;
}
.slider1 {
  display: flex;
  transition: transform 0.5s ease;
}
.slide1 {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  display: none;
  justify-content: center;
  align-items: center;
}
.slide1.active1 {
  opacity: 1;
  display: flex;
}
.slide1 img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}
.slider-btn1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s;
}
.slider-btn1:hover {
  background: rgba(0, 0, 0, 0.7);
}
.slider-btn1.prev {
  left: 16px;
  color: #f1ece5;
}
.slider-btn1.next {
  right: 16px;
  color: #f1ece5;
}
.slider-dots1 {
  text-align: center;
  position: absolute;
  bottom: 18px;
  width: 100%;
}
.dot1 {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot1.active1 {
  background: #333;
}
@media (max-width: 900px) {
  .slider-container1 {
    max-width: 98vw;
  }
  .slide1 img {
    height: auto;
  }
}
@media (min-width: 1700px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (min-width: 1450px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1450px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1300px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1200px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1150px) {
  .space {
    height: 750px;
    width: 100%;
  }
}
@media (max-width: 1100px) {
  .space {
    height: 700px;
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .space {
    height: 600px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .space {
    height: 600px;
    width: 100%;
  }
}
@media (max-width: 800px) {
  .space {
    height: 500px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .space {
    height: 400px;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .space {
    height: 350px;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .space {
    height: 250px;
    width: 100%;
  }
}
@media (max-width: 450px) {
  .slide img {
    text-align: center;
    height: 200px;
    border-radius: 0;
  }
}
@media (max-width: 400px) {
  .space {
    height: 220px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .slider-container1 {
    max-width: 100vw;
    height: 300px;
    border-radius: 0;
  }
  .slide1 img {
    text-align: center;
    height: auto;
    border-radius: 0;
  }
  .slider-btn1 {
    font-size: 1.3rem;
    padding: 0.3rem 0.7rem;
  }
} */
/* ----------------------------------------------------------------- */
/* ----------------------------img slider------------------------- */
.pad .xx-large {
  font-size: x-large;
  font-weight: bold;
  text-align: center;
  margin: 20px;
}
#ohh {
  margin-top: 10px;
}
.msg {
  padding: 0px 11px;
}
.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  background-color: var(--main-bg-color);
}
.pad {
  padding: 20px;
  background-color: var(--brown-color);
  color: #fff;
}
.slider {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  display: none;
  justify-content: center;
  align-items: center;
}
.slide.active {
  opacity: 1;
  display: flex;
}
.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s;
}
.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.slider-btn.prev {
  left: 16px;
  color: #f1ece5;
}
.slider-btn.next {
  right: 16px;
  color: #f1ece5;
}
.slider-dots {
  text-align: center;
  position: absolute;
  bottom: 18px;
  width: 100%;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active {
  background: #333;
}
@media (max-width: 900px) {
  .slider-container {
    max-width: 98vw;
  }
  .slide img {
    height: auto;
  }
}
@media (min-width: 1700px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (min-width: 1450px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1450px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1300px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1200px) {
  .space {
    height: 800px;
    width: 100%;
  }
}
@media (max-width: 1150px) {
  .space {
    height: 750px;
    width: 100%;
  }
}
@media (max-width: 1100px) {
  .space {
    height: 700px;
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .space {
    height: 600px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .space {
    height: 600px;
    width: 100%;
  }
}
@media (max-width: 800px) {
  .space {
    height: 500px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .space {
    height: 400px;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .space {
    height: 350px;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .space {
    height: 250px;
    width: 100%;
  }
}
@media (max-width: 450px) {
  .slide img {
    text-align: center;
    height: 200px;
    border-radius: 0;
  }
}
@media (max-width: 400px) {
  .space {
    height: 220px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .slider-container {
    max-width: 100vw;
    height: 300px;
    border-radius: 0;
  }
  .slide img {
    text-align: center;
    height: auto;
    border-radius: 0;
  }
  .slider-btn {
    font-size: 1.3rem;
    padding: 0.3rem 0.7rem;
  }
}
/* ----------------------------------------------------------------- */

footer {
  padding: 20px;
  width: 100%;
  height: auto;
  background-color: var(--main-bg-color);
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
#logoflex {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 10px;
}

#logoflex span {
  color: var(--brown-color) !important;
  font-size: large;
  font-weight: 500;
}
#footer1 {
  padding: 15px;
  display: flex;
  width: 500px;
  gap: 30px;
}
#footer1 p {
  line-height: 35px;
  color: var(--brown-color);
  font-size: 20px;
  font-weight: 700;
}
#footer1 img {
  width: 100px;
  height: 100px;
}
#footerlogo img {
  width: 30px;
  height: 30px;
}
#footerlogo {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

#footer2 p {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: larger;
  font-weight: 700;
  color: var(--brown-color);
}
#footer2 a {
  text-decoration: none;
  color: var(--brown-color);
  font-weight: 500;
}
#footer2 ul li {
  padding-bottom: 10px;
}
#copyrights {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--main-bg-color);
  background-color: var(--brown-color);
}
@media (max-width: 1150px) {
  #box4 {
    padding: 0px;
  }
  #box4 button {
    background-color: var(--main-bg-color);
    padding: 6px;
    margin: 10px 0px 0px 0px;
    border: none;
    font-size: large;
  }
  #box4 p:nth-child(2) {
    font-size: large;
    font-weight: 300;
    margin: 0px 20px;
  }
}
@media (max-width: 850px) {
  #box4 button {
    background-color: antiquewhite;
    padding: 6px;
    margin: 40px 0px 30px 0px;
    border: none;
    font-size: medium;
    border-radius: 7px;
  }
}

@media (max-width: 900px) {
  #iframe {
    /* display: none; */
    margin: 0px 10px;
  }
}

@media (max-width: 800px) {
  #explore-content p {
    font-size: 30px;
  }
}
@media (max-width: 750px) {
  /* body {
    background-size: cover;
  } */
  .space {
    height: 600px;
  }
}
@media (max-width: 700px) {
  #nav_list {
    display: none;
  }
  #handburger {
    width: 100%;
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #handburger p {
    padding-left: 10px;
    color: var(--main-bg-color);
    font-weight: 400;
    font-size: large;
  }
  #handburger img {
    padding-right: 2px;
    width: 50px;
    height: 50px;
  }
  nav {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0px;
  }
}

@media (max-width: 600px) {
  #navsection img {
    width: 100px;
    height: 100px;
  }
  #school_name {
    font-size: larger;
  }
  #location {
    font-size: medium;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
  }
  #logoflex p {
    font-size: medium;
    font-weight: 700;
    line-height: 25px;
  }
  #logoflex span {
    font-size: small;
    padding-top: 1px;
  }
  #footer2 {
    display: none;
  }
  #pad p {
    font-size: medium;
  }
  #explore-content p {
    font-size: 20px;
  }
  #box4 p:nth-child(2) {
    line-height: 35px;
    font-size: large;
    font-weight: 300;
    margin: 0px 20px;
    text-align: justify;
  }
}

@media (max-width: 850px) {
  #navsection img {
    width: 100px;
    height: 100px;
  }
  #school_name {
    font-size: larger;
  }
  #location {
    font-size: medium;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
  }
  #logoflex p {
    font-size: medium;
    font-weight: 700;
    line-height: 25px;
  }
  #logoflex span {
    font-size: small;
    padding-top: 1px;
  }
  /* #footer2 {
    display: none;
  } */
  #pad p {
    font-size: medium;
  }
  #explore-content p {
    font-size: 20px;
  }
  #box4 p:nth-child(2) {
    line-height: 35px;
    font-size: large;
    font-weight: 300;
    margin: 0px 20px;
    text-align: justify;
  }
}
@media (max-width: 760px) {
  #footer2 {
    display: none;
  }
}
@media (max-width: 500px) {
  #logoflext {
    gap: 10px;
  }
  #copyrights p {
    font-size: small;
  }
}

@media (max-width: 400px) {
  #copyrights p {
    font-size: small;
  }
  #school_name {
    font-size: 25px;
  }
  #explore-content p {
    font-size: small;
    font-weight: 500;
  }
  #explore-content {
    padding: 15px;
  }
  #explore-content button {
    padding: 8px 4px;
    font-size: 10px;
    border-radius: 0px;
  }
  #explore {
    height: 150px;
  }
}
@media (max-width: 350px) {
  #copyrights {
    padding: 0px;
    margin: 0;
  }
  #footer1 {
    padding: 5px;
    gap: 5px;
  }
  #logoflex {
    gap: 5px;
  }
  #logoflex p {
    text-align: justify;
  }
  #footerlogo {
    gap: 5px;
  }
  #logoflex span {
    padding-top: 0px;
  }
}

/* -------------------------about section------------------ */
/*-------------- prin msg and sec msg=------------------ */
.about-flex-container {
  background-color: var(--brown-color);
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 20px 0px 20px 0;
  justify-content: center;
}
.flex-box {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: auto;
  height: auto;
  background: #f2f2f2;
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: box-shadow 0.2s;
  color: var(--brown-color);
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flex-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.99);
}
.flex-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.flex-container .flex-box:nth-child(4),
.flex-container .flex-box:nth-child(6) {
  padding: 10px;
}
.flex-box span {
  font-size: x-large;
  font-weight: bold;
}
.flex-box p {
  margin: 10px;
  font-size: large;
  color: var(--brown-color);
  text-align: justify;
  line-height: 30px;
}
#reverse {
  flex-wrap: wrap-reverse;
}

#About_sec1 {
  color: var(--main-bg-color);
  width: 100%;
  height: auto;
  background-color: var(--main-bg-color);
  text-align: justify;
  padding: 25px;
  display: flex;
  justify-content: center;
}
.about1 {
  border-radius: 30px;
  background-color: var(--brown-color);
  color: var(--main-bg-color);
  padding: 30px;
  width: 800px;
}
.about-dir-content {
  color: var(--brown-color);
}

.std1p {
  line-height: 25px;
}
.about1 h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
}
@media (max-width: 450px) {
  .about1 h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: x-large;
  }
}
.about1 p {
  line-height: 30px;
  font-size: 18px;
}
/* ---------our dic style */

#about-dir {
  width: 100%;
  line-height: 30px;
  height: auto;
  background-color: var(--main-bg-color);
  color: var(--brown-color);
  text-align: center;
  padding: 10px 20px 20px 20px;
}
#about-dir p:nth-child(1) {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
}
@media (max-width: 450px) {
  #about-dir p:nth-child(1) {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 30px;
  }
}
#about-dir p:nth-child(2) {
  font-size: 17px;
  font-weight: 500;
  padding: 0 10px;
  margin-bottom: 30px;
  text-align: justify;
}
/* ------staff names styling------------ */

.staff-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 30px;
  background-color: var(--brown-color);
}
.staff-box {
  background-color: var(--main-bg-color);
  color: var(--brown-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 18px;
  width: 200px;
  flex: 1 1 180px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.staff-box h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--brown-color);
}
.staff-box p {
  margin: 0;
  color: var(--brown-color);
  font-size: 0.98rem;
}
.staff-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}
@media (max-width: 900px) {
  .staff-container {
    gap: 14px;
    padding: 20px;
  }
  .staff-box {
    max-width: 45%;
    min-width: 140px;
    padding: 18px 10px;
  }
}
@media (max-width: 600px) {
  .staff-container {
    padding: 20px;
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  .staff-box {
    width: 200px;
  }
}

/* ------------------------------------------------students html styly starting------------------ */
#std_sec1 {
  color: var(--brown-color);
  width: 100%;
  height: auto;
  background-color: var(--main-bg-color);
  text-align: justify;
  padding: 25px;
  display: flex;
  justify-content: center;
}
.std1 {
  border-radius: 30px;
  background-color: var(--brown-color);
  color: var(--main-bg-color);
  padding: 30px;
  width: 800px;
}
.std h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
}
.std p {
  line-height: 30px;
  font-size: 18px;
}

.flex-container {
  background-color: var(--brown-color);
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 20px 0px 20px 0;
  justify-content: center;
}
.flex-box {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 400px;
  height: 400px;
  background: #f2f2f2;
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: box-shadow 0.2s;
  color: var(--brown-color);
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.flex-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.99);
}
.flex-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.flex-container .flex-box:nth-child(4),
.flex-container .flex-box:nth-child(6) {
  padding: 10px;
}
.flex-box span {
  font-size: x-large;
  font-weight: bold;
}
.flex-box p {
  margin: 10px;
  font-size: large;
  color: var(--brown-color);
  text-align: justify;
  line-height: 30px;
}
#reverse {
  flex-wrap: wrap-reverse;
}

/* =========================    contact form styling   ============ */
#contact-form-container {
  background: linear-gradient(
    135deg,
    var(--main-bg-color) 0%,
    var(--buttonbg) 20%,
    var(--brown-color) 100%
  );
  padding: 20px;
}
#contact-section {
  max-width: 500px;
  margin: 0px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
}
#contact-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem;
  color: #5c2701;
  letter-spacing: 1px;
}
.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #7b3504;
}
.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 1rem;
  background: #fafbfc;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #0078d7;
  outline: none;
}
#send-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #0078d7 0%, #005fa3 100%);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#send-btn:disabled {
  background: #b3c6e0;
  cursor: not-allowed;
}
#form-status {
  margin-top: 14px;
  text-align: center;
  font-size: 1rem;
  color: #0078d7;
  min-height: 22px;
}
@media (max-width: 700px) {
  #contact-section {
    padding: 18px 8px;
    max-width: 98vw;
  }
  #contact-section h2 {
    font-size: 1.3rem;
  }
  .form-group input,
  .form-group textarea {
    font-size: 0.98rem;
  }
}

/* gallary section */

/** Gallery Styles */
/* .event-sliders-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0px auto 0;
  max-width: 900px;
  width: 95%;
}
.event-title {
  text-align: center;
  margin: 15px 10px 10px 10px;
  color: var(--main-bg-color);
  font-size: x-large;
  letter-spacing: 1px;
}
.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 100%;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 16px 0;
}
.slider-btn {
  background: #0074d9;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.slider-track {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 90vw;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  max-width: 600px;
  min-height: 360px;
  position: relative;
}
.slider-img {
  width: 100%;
  max-width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  background: #eee;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
@media (max-width: 700px) {
  .slider-track {
    max-width: 95vw;
    min-height: 250px;
  }
  .slider-img {
    max-width: 90vw;
    height: 250px;
  }
}
@media (max-width: 480px) {
  .event-title {
    font-size: 25px;
  }
  .slider-img {
    height: 220px;
  }
}
/* Modal styles */
.slider-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.slider-modal.show {
  display: flex;
}
.slider-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  background: #fff;
  object-fit: contain;
  margin-bottom: 16px;
}
.slider-modal-close {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  position: absolute;
  top: 30px;
  right: 40px;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-modal-close:hover {
  background: #0074d9;
  color: #fff;
}
/* --------------------------------------------------- */
