/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400..700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 70px;
  --mobile-header-height: 45px;
  
  /* Colors */
  --first-color: hsl(18, 95%, 55%);
  --second-color: #cd4e5b;
  --title-color: hsl(255, 12%, 12%);
  --text-color: hsl(225, 12%, 24%);
  --body-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 20%, 10%);
  --gray-border: hsl(255, 6%, 90%);
  
  /* Fonts */
  --body-font: "Montserrat", sans-serif;
  --h1-font-size: 3rem;
  --normal-font-size: 1rem;
  
  /* Weights */
  --font-regular: 450;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Fredoka', sans-serif;
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--white-color);
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 10000 !important;
  transition: var(--transition-medium);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.nav{
  position:  relative;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 100%;
  max-width: 100% ;
  margin: 0 auto;
}
/*=====logo=====*/
.nav__logo{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  z-index: 10001;
  transition: transform 0.3s ease;
  text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.nav__logo span{
  color: rgb(41, 39, 129);
  font-weight:var(--font-semi-bold);
  transition: var(--transition-medium);
  margin-right: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  text-decoration: none !important;
  border-bottom: none !important;
}
.nav__logo i{
  color: var(--first-color);
  font-size: 1.8rem;
}
/* Remove any borders or outlines from logo */
.nav__logo:focus {
    outline: none !important;
    box-shadow: none !important;
}

.nav__logo span:focus {
    outline: none !important;
}
.nav__menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
    }
.nav__link {
    color: rgb(41, 39, 129);
        font-size: 0.95rem;
        font-weight: var(--font-medium);
        padding: 0.5rem 0.8rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
}
.nav__link:hover {
    color: var(--first-color);
    transform: translateX(5px);
    padding-left: 5px;
}
.nav__link.active-link{
    color: var(--first-color) !important;
    font-weight: 600;
}
.nav__link.button {
    background: var(--first-color);
    color: white !important;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    margin-top: 1rem;
    border: none;
    justify-content: center;
}
.nav__link.button:hover {
    background: hsl(18, 95%, 45%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/*=============== DESKTOP MENU ===============*/
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-menu .nav__link {
  color: rgb(41, 39, 129);
  font-size: 16px;
  font-weight: var(--font-medium);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.desktop-menu .nav__link:hover {
  color: var(--first-color);
  background: rgba(255, 107, 53, 0.1);
}
.desktop-menu .nav__link.button {
  background: var(--first-color);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: var(--font-semi-bold);
}
.desktop-menu .nav__link.button:hover {
  background: hsl(18, 95%, 45%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}
/* Desktop Dropdown */
.desktop-menu .dropdown {
  position: relative;
}
.desktop-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--gray-border);
}
.desktop-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.desktop-menu .dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
.desktop-menu .dropdown-link:hover {
  background: rgba(255, 107, 53, 0.08);
  color: var(--first-color);
  border-left-color: var(--first-color);
  padding-left: 25px;
}

/*=============== MOBILE MENU ===============*/
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  height: -webkit-fill-available;
  background: white;
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  right: 0;
  display: flex !important;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-border);
  background: white;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mobile-menu-logo i {
  color: var(--first-color);
  font-size: 20px;
}

.mobile-menu-logo span {
  color: rgb(41, 39, 129);
  font-weight: var(--font-semi-bold);
  font-size: 18px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
    position: relative;
}

.mobile-menu-toggle .hamburger {
    width: 100%;
    height: 3px;
    background: var(--first-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger animation */
.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: rotate(90deg);
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  color: #333;
  font-size: 18px;
  font-weight: var(--font-medium);
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--first-color);
  background: rgba(255, 107, 53, 0.05);
  padding-left: 25px;
}

.mobile-nav-link.button {
  background: var(--first-color);
  color: white !important;
  border-radius: 8px;
  margin: 20px;
  text-align: center;
  font-weight: var(--font-semi-bold);
  border: none;
}

.mobile-nav-link.button:hover {
  background: hsl(18, 95%, 45%);
  padding-left: 20px;
}

/* Mobile Dropdown */
.mobile-dropdown {
  border-bottom: 1px solid #eee;
}

.mobile-dropdown-toggle {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 18px;
  font-weight: var(--font-medium);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover {
  color: var(--first-color);
  background: rgba(255, 107, 53, 0.05);
  padding-left: 25px;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  background: #f8f9fa;
  border-left: 3px solid var(--first-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 500px;
}

.mobile-dropdown-link {
  display: block;
  padding: 14px 35px;
  color: #555;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--first-color);
  padding-left: 40px;
}

.mobile-dropdown-link:last-child {
  border-bottom: none;
}

/* Body lock when menu is open */
body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 1024px) {
  .header {
    height: var(--mobile-header-height);
  }
  
  body {
    padding-top: var(--mobile-header-height);
  }
    .nav__logo {
        position: relative !important;
        z-index: 10001 !important;
    }
    .nav__logo span {
        font-size: 1rem !important; /* Smaller text on mobile */
        max-width: 160px; /* Limit width */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav__logo i {
        font-size: 1.4rem !important; /* Smaller icon */
    }
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 350px !important;
        height: 100vh !important;
        background: white !important;
        z-index: 10002 !important;
        transition: right 0.3s ease !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2) !important;
    }
    
    .mobile-menu.active {
        right: 0 !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
  .desktop-menu {
    display: none;
  }
  
    
}
@media screen and (max-width: 768px) {
  .mobile-menu {
    width: 90%;
  }
  
  .mobile-nav-link {
    font-size: 16px;
    padding: 14px 20px;
  }
  
  .mobile-dropdown-toggle {
    font-size: 16px;
    padding: 14px 20px;
  }
  
  .mobile-dropdown-link {
    font-size: 15px;
    padding: 12px 35px;
  }
  
  .nav__logo span {
    font-size: 0.7rem !important; /* Even smaller on tablets */
    max-width: 140px;
  }
}
@media screen and (max-width: 480px) {
  .mobile-menu {
    width: 95%;
    max-width: 320px;
  }
  
  .mobile-nav-link {
    font-size: 15px;
    padding: 12px 15px;
  }
  
  .mobile-dropdown-toggle {
    font-size: 15px;
    padding: 12px 15px;
  }
  
  .mobile-dropdown-link {
    font-size: 14px;
    padding: 10px 25px;
  }
  
  .nav__logo span {
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav {
    padding: 0 15px;
  }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
  .mobile-menu {
    height: 100vh;
    height: -webkit-fill-available;
  }
  
  .mobile-menu-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  body.menu-open {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    height: -webkit-fill-available;
  }
}

/* Landscape orientation */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .mobile-menu-content {
    max-height: 80vh;
  }
  
  .mobile-nav-link,
  .mobile-dropdown-toggle {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/*=============== HOME ===============*/
.home{
  position: relative;
  padding: 1rem 0;
  min-height: 30vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fdf0c2, #ffe89d);; /* overlay for text contrast */
}
.home__container{
  display: flex;  
  align-items: center;
  justify-content: space-between;
  position: relative;
  row-gap: 2rem;
  flex-wrap: wrap;
  padding-block: 3rem 6rem;
  max-width: 100%;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
}
.home__content{
    width: 100%;
    padding: 0 0.5rem;
    row-gap: 2.5rem;
    animation: fadeIn 1.2s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home__data{
  text-align: center;
  padding-top: 1rem;
}

.home__title{
  animation: fadeInDown 1s ease-in-out;
  color: var(--white-color);
  font-style: italic;
  font-size: 80px;
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home__subtitle{
    line-height: 1.3;
    margin: 1rem 0;
    padding: 0 0.5rem;
    color: var(--white-color) !important;
    font-size: 3rem;
    font-weight: var(--font-bold);
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-wrapper {
  background: radial-gradient(circle, #fafafa00, #fcf8e9);
  width: 250px;
  height: 250px;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto 1rem auto;
  padding: 10px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-medium);
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}
@keyframes logoFloatMobile {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-8px) scale(1.02); }
}
.logo-wrapper.animate {
  opacity: 1;
  transform: scale(1);
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.school-logo{
  width: 160%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.home_buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: #e0e0e0;
}
.home__info{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 4.5rem;
}
.home__info-box{
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  transform: scale(0.9);
}
.home__info-title{
  color: var(--second-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
}
.home__info-description{
  font-size: var(--small-font-size);
  color:var(--white-color);
  margin: 0;

}
.home__description {
  color: var(--white-color) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-size: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  color: rgb(12, 8, 83);
}
.home__images{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  width: 100%;
}
.home__img-1,
.home__img-2 {
  border-radius: 0.5rem;
  transition: transform 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}
.home__img-1{
  width: 240px;
  position: relative;
  z-index: 1;
}
.home__img-2{
  width: 160px;
  position: relative;
  transform: translateX(-50%);
  z-index: 2;
  margin-top: -2rem;

}
.home__img-1:hover, .home__img-2:hover {
  transform: scale(1.03);
}
/* Slideshow container */
.home__slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.swiper-slide {
    width: 100%;
    height: 100%;
}
.slide__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.slide__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.3)
    );
    z-index: 1;
}
.home__lines{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: right;

}
/* home*/
@media screen and (min-width: 481px) and (max-width: 768px) {
    /* Home Section */
  .home {
    padding: 3rem 0;
  }

  .home__container {
    padding-block: 2rem 3rem;
    gap: 1rem;
  }

  .home__subtitle {
    font-size: 2rem;
    color: var(--white-color);
  }

  .home__description {
    font-size: 0.7rem;
    padding: 0 1rem;
    color: var(--white-color);
  }
}
@media screen and (max-width: 340px) {
  .home__title{
    font-size: 1.7rem;
  }
  .home__buttons{
    flex-direction: column;
  }
  .home__img-1{
    width: 200px;
    margin-left: 1.5rem;
  }
}
/* home description*/
@media screen and (max-width: 1024px){
  .home__description{
    font-size:30px;
  }
}
/* home img*/
@media screen and (max-width: 480px) {
  .home__img-1 {
    width: 240px;
  }
  .home__img-2 {
    width: 160px;
    border-width: 6px;
    margin-top: -2rem;
  }
}
@media screen and (max-width: 768px) {
  .home {
        padding: 0.3rem 0;
        min-height: 66vh;
        display: flex;
        align-items: center;
        position: relative;
    }
    .home__container {
        padding: 0.8rem 0.3rem !important;
        row-gap: 0.3rem;
        width: 100%;
        max-width: 100%;
    }
    .home__content {
        width: 100%;
        padding: 0 0.2rem;
    }
    /* Logo container mobile optimization */
    .logo-wrapper {
        width: 100px;
        height: 100px;
        margin: 0 auto 1.5rem auto;
        padding: 0.5rem;
        animation: logoFloatMobile 6s ease-in-out infinite;
    }
    
    @keyframes logoFloatMobile {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-8px) scale(1.02); }
    }
    
    .school-logo {
        width: 80px;
        height: auto;
        max-width: 100%;
    }
    
    /* Home title/subtitle mobile optimization */
    .home__subtitle {
        font-size: 1.2rem !important;
        line-height: 1;
        margin: 1rem 0;
        padding: 0 0.3rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }
    
    /* Home description mobile optimization */
    .home__description {
        font-size: 0.8rem !important;
        line-height: 1.3;
        padding: 0 0.5rem;
        margin: 1rem 0 2rem 0;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    }
    
    .home__description b {
        font-size: 1rem;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    /* Buttons mobile optimization */
    .home_buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .home_buttons .button {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 30px;
        text-align: center;
        margin: 0.5rem auto;
        display: block;
    }
    
    /* Slideshow mobile optimization */
    .home__slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .slide__image {
        background-size: cover;
        background-position: center;
    }
    
    /* Swiper pagination mobile */
    .swiper-pagination {
        bottom: 20px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.8);
        opacity: 0.7;
    }
    
    .swiper-pagination-bullet-active {
        background: var(--first-color);
        opacity: 1;
        transform: scale(1.2);
    }
}
@media screen and (min-width: 768px) {
  .home__img-1 {
    width: 300px;
    
  }

  .home__img-2 {
    width: 200px;
    margin-top: -2.5rem;
  }
}
@media screen and (min-width: 1024px) {
  .home__img-1 {
    width: 380px;
  }

  .home__img-2{
    width: 280px;
    margin-top: -3rem;

  }
}
@media screen and (min-width: 1440px) {
  .home__img-1 {
    width: 450px;
  }

  .home__img-2{
    width: 350px;
    margin-top: -3rem;

  }
}

/* general home*/
@media screen and (min-width: 1150px) {
  .bg-header .nav__link{
    color: var(--text-color);
  }
  .bg-header .active-link,
  .bg-header .nav__link:hover{
    color: var(--first-color);
  }
  .about__container{
    grid-template-columns: repeat(2, 480px);
    column-gap: 9rem;
    padding-block: 9rem 2rem;
  }
  .about__images{
    order:-1;
  }
  .about__img-1{
    width: 370px;
    border-width: 10px;
    top: -9rem;
    left: 11rem;
  }
  .aboutimg2{
    width: 470px;
  }
  .about__data,
  .about__data :is(.section__title, .section__subtitle){
    text-align: center;
  }
  .about__list{
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 3.5rem;
  }
  
  .services__data :is(.section__title, .section__subtitle),
  .services__description{
    text-align: center;
  }
  .services__data .section__title{
    margin-bottom: 0;
  }
  .services__swiper{
    max-width: 1100px;
  }
  .services__card{
    width: 348px;
    border-width: 3px;
    padding: 3.5rem 2rem 6rem;

  }
  .services__shape{
    height: 250px;
  }
  .swiper-button-next,
  .swiper-button-prev{
    bottom: 1.5rem;
  }
  .contact__container{
    justify-content: initial;
    align-items: flex-start;
    column-gap: 3.5rem;
    padding-block: 3.5rem 4rem;
  }
  
  .contact__data{
    gap: 2rem;
  }
  .contact__card{
    border-width: 3px;
  }
  .contact__title{
    font-size: var(--h3-font-size);
  }
  .footer__links,
  .footer__lists{
    row-gap: 1rem;
  }
  scrollup{
    right: 3rem;
  }
  
} 

/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  background-color: hsl(18, 95%, 55%);
  color:var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.button:hover{
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, .3);
  color: var(--white-color);
  transform: scale(1.05);
}
.button__link{
  display: flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--first-color);
}
.button__link span{
  font-weight: var(--font-semi-bold);
}
.button__link i{
  font-size: 1.5rem;
  transition: transform;
}
.button__link:hover i{
  transform: translateX(.25rem);
}

/*=============== ABOUT ===============*/
.about {
    background-color: var(--white-color);
    padding: 4rem 0;
}
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding-block: 3rem;
}
.about__data{
  order: 1;
  text-align: center;
}
.about__description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}
.about__images{
  order: 2;
  display: flex;
  margin-top: 5rem;
  position: relative;
  justify-self: center;
}
.about__image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.about__img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.about__image:hover .about__img {
    transform: scale(1.05);
}
.aboutimg1{
  width: 250px;
  border: 3px solid var(--body-color);
  position: absolute;
  top: -5rem;
  left: 6rem;
  transform: translateX(-50%);
}
.aboutimg2{
  width: 300px;
  margin-right: 2.5rem;
}
.about__list{
  display: grid;
  text-align: initial;
  grid-template-columns: repeat(auto-fit,minmax(200px, 1fr));
  justify-content: center;
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}
.about__list-item{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  column-gap: 5rem;
  color: var(--title-color);
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: inherit;
}
.about__list-item i{
  font-size: 1.25rem;
  color: var(--first-color);
}
/* responsive -about */
@media screen and (max-width: 340px) {

  .about__list{
    grid-template-columns: repeat(1, 200px);
  }
  .aboutimg1{
    width: 150px;
    left:4rem;
  }
  .aboutimg2{
    width: 200px;
    margin-right: 0;
  }

}
@media screen and (max-width: 768px) {
    .about {
        padding: 1.5rem 0.8rem !important;
        background: var(--white-color);
    }
    
    .about__container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 !important;
    }
    
    .about__content {
        order: 1;
        width: 100%;
        padding: 0 0.3rem;
    }
    
    .section__title {
        font-size: 0.8rem !important;
        line-height: 1;
        margin-bottom: 1.3rem;
        text-align: center;
        color: rgb(28, 27, 89);
    }
    
    .about__description {
        font-size: 0.8rem !important;
        line-height: 1.6;
        text-align: center;
        color: #444;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .home__images {
        order: 2;
        margin-top: 1.5rem !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .home__img-1,
    .home__img-2 {
        width: 90% !important;
        max-width: 300px;
        margin: 0 auto !important;
        transform: none !important;
    }
    
    .home__img-2 {
        margin-top: -1rem !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .about {
        padding: 2rem 1rem !important;
    }
    
    .about__container {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.8rem !important;
        padding-block: 1rem !important;
    }
    
    .section__title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem;
    }
    
    .about__description {
        font-size: 0.8rem !important;
        line-height: 1.7;
        padding-right: 1rem;
    }
    
    .home__images {
        margin-top: 3rem !important;
    }
    
    .home__img-1 {
        width: 280px !important;
    }
    
    .home__img-2 {
        width: 200px !important;
        margin-top: -2rem !important;
    }
}
@media screen and (min-width: 1025px) {
    .about {
        padding: 4rem 0 !important;
    }
    
    .about__container {
        max-width: 1200px;
        margin: 0 auto;
        padding-block: 3rem !important;
    }
    
    .section__title {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .about__description {
        font-size: 1.2rem !important;
        line-height: 1.8;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
}


/*=============== WHY CHOOSE US ===============*/
.why-choose {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}
.why-choose__content {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.why-choose__card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
  overflow: hidden;
}
.why-choose__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.why-choose__icon {
    font-size: 3rem;
    color: var(--first-color);
    margin-bottom: 1rem;
    transition: var(--transition-medium);
}
.why-choose__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--title-color);
}
.why-choose__description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* =========== WHY CHOOSE US - RESPONSIVE DESIGN =========== */

/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .why-choose {
        padding: 0.9rem 0.5rem !important;
    }
    
    .why-choose__content {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin-top: 0.8rem !important;
    }
    
    .why-choose__card {
        padding: 0.8rem !important;
        text-align: center;
    }
    
    .why-choose__icon {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .why-choose__title {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .why-choose__description {
        font-size: 0.8rem !important;
        line-height: 1;
    }
}

/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .why-choose {
        padding: 3rem 1.5rem !important;
    }
    
    .why-choose__content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        margin-top: 2.5rem !important;
    }
    
    .why-choose__card {
        padding: 1.75rem !important;
    }
    
    .why-choose__icon {
        font-size: 2.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .why-choose__title {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .why-choose__description {
        font-size: 1rem !important;
    }
}

/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .why-choose {
        padding: 4rem 0 !important;
    }
    
    .why-choose__container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .why-choose__content {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .why-choose__card {
        padding: 2rem !important;
    }
    
    .why-choose__icon {
        font-size: 3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .why-choose__title {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }
    
    .why-choose__description {
        font-size: 1rem !important;
        line-height: 1.6;
    }
}
/*=============== QUICK LINKS ===============*/
.quick-links {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.quick-links__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.quick-link__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white-color);
    border: 2px solid var(--gray-border);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--title-color);
    transition: all 0.3s ease;
    min-height: 150px;
}

.quick-link__card:hover {
    background: var(--first-gradient);
    color: var(--white-color);
    border-color: var(--first-color);
    transform: translateY(-5px);
}

.quick-link__card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-link__card span {
    font-size: 1.2rem;
    font-weight: var(--font-semi-bold);
}

/* =========== QUICK LINKS - RESPONSIVE DESIGN =========== */

/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .quick-links {
        padding: 1.5rem 1rem !important;
    }
    
    .quick-links__content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .quick-link__card {
        padding: 1.25rem !important;
        min-height: 100px !important;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .quick-link__card i {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .quick-link__card span {
        font-size: 1rem !important;
    }
}

/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .quick-links {
        padding: 2.5rem 1.5rem !important;
    }
    
    .quick-links__content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.2rem !important;
        margin-top: 2rem !important;
    }
    
    .quick-link__card {
        padding: 1.5rem !important;
        min-height: 120px !important;
    }
    
    .quick-link__card i {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .quick-link__card span {
        font-size: 1.1rem !important;
    }
}

/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .quick-links {
        padding: 4rem 0 !important;
    }
    
    .quick-links__container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .quick-links__content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .quick-link__card {
        padding: 2rem !important;
        min-height: 150px !important;
    }
    
    .quick-link__card i {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .quick-link__card span {
        font-size: 1.2rem !important;
    }
}


/*=============== UTILITY CLASSES ===============*/
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }


/* ==================== EVENTS SECTION ==================== */
.events {
    background: linear-gradient(135deg, #ffe89d 0%, #ffd166 100%);
    padding: 5rem 0;
}
.events__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.event__card {
    background: var(--white-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.event__date {
    background: var(--first-gradient);
    color: var(--white-color);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 80px;
}
.event__day {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-bold);
    line-height: 1;
}
.event__month {
    font-size: 1rem;
    font-weight: var(--font-semi-bold);
}
.event__title {
    font-size: 1.3rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}
.event__description {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.event__time {
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
    font-size: 0.9rem;
}
.event__location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-light);
    font-size: 0.9rem;
}
.events__loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    padding: 3rem 0;
}
.events__loading p {
    color: var(--text-color);
    font-size: 1rem;
}
.events__loading .spinner {
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top: 4px solid var(--first-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.events__content {
    min-height: 200px;
    position: relative;
}
.no-events-message {
    color: #666;
    font-size: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem auto;
    max-width: 500px;
}
.no-events-message p {
    margin: 0;
    line-height: 1.5;
}
/* No Events State */
#noEvents {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-color-light);
    font-size: 1.1rem;
}
.event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.event__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.btn-small {
    padding: 0.5rem;
    background: var(--gray-border);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-small:hover {
    background: var(--first-color);
    color: white;
}

.btn-small.delete:hover {
    background: #e74c3c;
}
/* =========== EVENTS SECTION - RESPONSIVE DESIGN =========== */

/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .events {
        padding: 1.3rem 1rem !important;
    }
    
    .events__container {
        padding: 0 1rem !important;
    }
    
    .events__content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.2rem !important;
    }
    
    .event__card {
        flex-direction: column !important;
        padding: 1rem !important;
        text-align: center;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .event__date {
        min-width: 60px !important;
        padding: 0.6rem !important;
        margin-bottom: 1rem;
    }
    
    .event__day {
        font-size: 1.3rem !important;
    }
    
    .event__month {
        font-size: 0.7rem !important;
    }
    
    .event__title {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .event__description {
        font-size: 0.7rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.3;
    }
    
    .event__time {
        font-size: 0.7rem !important;
    }
    
    .event__location {
        font-size: 0.7rem !important;
        justify-content: center;
    }
    
    .event__meta {
        justify-content: center !important;
        gap: 0.75rem !important;
        margin-top: 0.75rem !important;
    }
    
    .section__subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
        text-align: center !important;
    }
}

/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .events {
        padding: 2.5rem 1.5rem !important;
    }
    
    .events__content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        margin-top: 1.75rem !important;
    }
    
    .event__card {
        padding: 1.2rem !important;
        max-width: 100% !important;
    }
    
    .event__date {
        min-width: 60px !important;
        padding: 0.75rem !important;
    }
    
    .event__day {
        font-size: 1.6rem !important;
    }
    
    .event__title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .event__description {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.5;
    }
    
    .section__subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .events {
        padding: 3rem 0 !important;
    }
    
    .events__container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .events__content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .event__card {
        padding: 1.5rem !important;
    }
    
    .event__date {
        min-width: 80px !important;
        padding: 1rem !important;
    }
    
    .event__day {
        font-size: 2rem !important;
    }
    
    .event__title {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .event__description {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.5;
    }
    
    .section__subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }
}

/* =========== COMMON SECTION STYLES - RESPONSIVE =========== */

/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .section {
        padding: 2rem 0 !important;
    }
    
    .section__title {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
        padding: 0 0.5rem;
    }
    
    .container {
        padding: 0 1rem !important;
    }
}

/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 3rem 0 !important;
    }
    
    .section__title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .container {
        padding: 0 1.5rem !important;
    }
}

/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .section {
        padding: 4rem 0 !important;
    }
    
    .section__title {
        font-size: 2.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 2rem !important;
    }
}

/* =========== EVENTS LOADING/EMPTY STATES - RESPONSIVE =========== */

/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .events__loading {
        padding: 2rem 0 !important;
        min-height: 150px !important;
    }
    
    .events__loading .spinner {
        width: 30px !important;
        height: 30px !important;
    }
    
    .events__loading p {
        font-size: 0.95rem !important;
    }
    
    .no-events-message {
        padding: 1.5rem !important;
        margin: 1rem auto !important;
        max-width: 90% !important;
    }
    
    .no-events-message p {
        font-size: 0.95rem !important;
    }
    
    #noEvents {
        padding: 2rem 0 !important;
        font-size: 1rem !important;
    }
}

/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .events__loading {
        padding: 3rem 0 !important;
        min-height: 180px !important;
    }
    
    .events__loading .spinner {
        width: 35px !important;
        height: 35px !important;
    }
    
    .no-events-message {
        padding: 2rem !important;
        margin: 1.5rem auto !important;
        max-width: 80% !important;
    }
    
    #noEvents {
        padding: 3rem 0 !important;
        font-size: 1.1rem !important;
    }
}

/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .events__loading {
        padding: 4rem 0 !important;
        min-height: 200px !important;
    }
    
    .events__loading .spinner {
        width: 40px !important;
        height: 40px !important;
    }
    
    .no-events-message {
        padding: 2.5rem !important;
        margin: 2rem auto !important;
        max-width: 500px !important;
    }
    
    #noEvents {
        padding: 4rem 0 !important;
        font-size: 1.2rem !important;
    }
}

/*=============== FOOTER ===============*/
.footer{
  background-color: var(--black-color);
  color: var(--text-color);
  padding-block: 2.5rem 1.5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--first-gradient);
}
.footer__container{
  row-gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.footer__logo span{
  color: var(--white-color);
  font-size: 1.4rem;
  font-weight: var(--font-semi-bold);
  text-decoration: none;
}
.footer__logo i{
  color: var(--first-color);
  font-size: 1.5rem;
  text-decoration: none;
}
.footer__logo:hover {
  transform: scale(1.05); 
}
.footer__description{
  margin-block: 1rem;

}
.footer__email, 
.footer__info{
  font-style: normal;
  color: var(--text-color-light);
  line-height: 1.6;
}
.footer__content{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer__title{
  font-size: 1.2rem;
  color: var(--white-color);
  margin-bottom: 1.2rem;
  font-weight: var(--font-semi-bold);
}
.footer__links,
.footer__lists{
  display: grid;
  row-gap: .5rem;
}
.footer__link{
  color: var(--text-color-light);
  transition: color .4s;
  text-decoration: none;

}
.footer__link:hover{
  color: var(--first-color);
}
.footer__social{
  display: flex;
  column-gap: 1rem;
  text-decoration: none !important;
  
}
.footer__social-link{
  display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--first-color);
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer__social-link:hover{
  transition: translateY(-.2rem);
}
.footer__copy{
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  margin-top: 4rem;
}
/* Responsive Design-footer*/
@media screen and (max-width: 400px) {
    .footer {
        padding: 1rem 0 0.5rem !important;
    }
    
    .footer__container {
        row-gap: 0.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer__content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
    }
    
    .footer__social {
        justify-content: center !important;
    }
    
    .footer__copy {
        margin-top: 1rem !important;
        font-size: 0.7rem !important;
        padding: 0 0.5rem;
    }
}

@media screen and (max-width: 480px) {
  /* Footer */
  .footer {
    padding-block: 1rem 0.8rem 1.3rem;
  }

  .footer__container {
    row-gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer__content {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    text-align: center;
  }
  .footer__logo {
    justify-content: center !important;
    margin-bottom: 1rem;
    display: flex !important;
    text-align: center;
    }
  .footer__logo span, .footer__email {
    font-size: 0.6rem;
  }

  .footer__title {
    font-size: 1.1rem;
  }

  .footer__description,
  .footer__link {
    font-size: 0.5rem;
  }

  .footer__copy {
    margin-top: 1.5rem;
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 768px) {
  .footer__container {
    row-gap: 2rem; /* Reduced gap */
    padding-bottom: 2rem; /* Reduced padding */
  }
  
  .footer__content {
    grid-template-columns: 1fr; /* Stack content vertically */
    gap: 2rem;
  }
  .footer__logo {
    justify-content: center; /* Center on mobile */
    margin-bottom: 1rem;
  }
  
  .footer__logo span {
    font-size: 1.25rem; /* Smaller text on mobile */
  }
  
  .footer__logo i {
    font-size: 1.5rem; /* Smaller icon on mobile */
  }
  .footer__title {
    font-size: 1.2rem; /* Smaller title */
  }

  .footer__description,
  .footer__link {
    font-size: 0.9rem; /* Smaller text */
  }
  
  .footer__copy {
    margin-top: 2rem; /* Reduced margin */
  }

}
@media screen and (min-width: 481px) and (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1.8rem !important;
    }
    
    .footer__container {
        row-gap: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .footer__logo {
        text-align: center;
        display: flex;
        justify-content: center;
        font-size:1rem ;
    }
    
    .footer__logo span {
        font-size: 1.2rem !important;
    }
    
    .footer__logo i {
        font-size: 1.2rem !important;
    }
    
    .footer__title {
        font-size: 1.15rem !important;
        margin-bottom: 0.85rem !important;
    }
    
    .footer__description,
    .footer__link,
    .footer__info {
        font-size: 0.9rem !important;
    }
    
    .footer__social {
        justify-content: flex-start;
        gap: 0.85rem !important;
    }
    
    .footer__social-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.15rem !important;
    }
    
    .footer__copy {
        margin-top: 2rem !important;
        font-size: 0.8rem !important;
    }
}

/* Desktop (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .footer {
        padding: 3rem 2rem 2.5rem !important;
    }
    
    .footer__container {
        row-gap: 3rem !important;
        padding-bottom: 3rem !important;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer__content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
    
    .footer__logo span {
        font-size: 1.3rem !important;
    }
    
    .footer__logo i {
        font-size: 1.6rem !important;
    }
    
    .footer__title {
        font-size: 1.25rem !important;
    }
    
    .footer__description,
    .footer__link,
    .footer__info {
        font-size: 0.95rem !important;
    }
    
    .footer__social-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .footer__copy {
        margin-top: 3rem !important;
        font-size: 0.85rem !important;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Large Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .footer {
        padding: 4rem 0 3rem !important;
    }
    
    .footer__container {
        max-width: 1200px;
        margin: 0 auto;
        row-gap: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    .footer__content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
    }
    
    .footer__logo span {
        font-size: 1.5rem !important;
    }
    
    .footer__logo i {
        font-size: 1.8rem !important;
    }
    
    .footer__title {
        font-size: 1.4rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .footer__description,
    .footer__link,
    .footer__info {
        font-size: 1rem !important;
    }
    
    .footer__social-link {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.3rem !important;
    }
    
    .footer__copy {
        margin-top: 3.5rem !important;
        font-size: 0.9rem !important;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 2rem;
    }
}
/* footer -Landscape orientation*/
@media screen and (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 1.5rem 0 1rem !important;
    }
    
    .footer__container {
        row-gap: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .footer__title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer__description,
    .footer__link,
    .footer__info {
        font-size: 0.8rem !important;
    }
    
    .footer__copy {
        margin-top: 1.5rem !important;
        font-size: 0.7rem !important;
    }
}

/* Ultra-wide screens (1440px and up) */
@media screen and (min-width: 1440px) {
    .footer__container {
        max-width: 1400px;
    }
    
    .footer__content {
        gap: 4rem !important;
    }
    
    .footer__copy {
        max-width: 1400px;
    }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: 6px;
  background-color: hsl(225, 5%, 75%);
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
  background-color: hsl(225, 5%, 65%);
}
::-webkit-scrollbar-thumb:hover{
  background-color: hsl(225, 5%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 2rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .15);
  color: var(--title-color);
   width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: var(--z-tooltip);
  transition: var(--transition-medium);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}
.scrollup:hover{
  transform: translateY(-.5rem);
}
/* Show Scroll Up */
.show-scroll{
  bottom: 2rem;
}

/*=============== SCHOOL INFO PAGE STYLES ===============*/
/* School Info Section */
.school-info-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}

.school-info-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.school-info-header h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

.school-info-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #e87320;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-card h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.info-card h2 i {
    color: #3498db;
}

.info-content {
    color: #34495e;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* History Section */
.history-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.history-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-top: 3px solid #3498db;
}

.history-item h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.history-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Vision & Mission */
.vision-mission {
    margin-bottom: 2rem;
}

.vision-mission:last-child {
    margin-bottom: 0;
}

.vision-mission h3 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* School Motto */
.motto-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
}

.motto-box h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.motto-box p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: #e8f4fc;
    transform: translateY(-3px);
}

.value-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}
.value-item h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}
.value-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* School Anthem */
.anthem-box {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}
.anthem-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.anthem-box .chorus {
    font-weight: 600;
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

/* Rules List */
.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.rules-list li:hover {
    background: #e8f4fc;
    padding-left: 3.5rem;
}

.rules-list li:before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
}

.discipline-note {
    margin-top: 1.5rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Boarding Info */
.boarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.boarding-option {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.boarding-option h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.boarding-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.boarding-features li {
    padding: 0.5rem 0;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 10px;
}

.boarding-features li i {
    color: #3498db;
}

.important-notes {
    background: #e8f4fc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.important-notes h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.important-notes p {
    color: #7f8c8d;
    margin: 0;
}
/*=============== RESPONSIVE DESIGN FOR SCHOOL INFO ===============*/
/* Mobile (0-768px) */
@media screen and (max-width: 768px) {
    .school-info-section {
        padding: 2rem 1rem;
        padding-top: calc(var(--header-height) + 1rem);
    }
    
    .school-info-header h1 {
        font-size: 2.2rem;
    }
    
    .school-info-header p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .info-card h2 {
        font-size: 1.5rem;
    }
    
    .info-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .history-highlights,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .history-item,
    .value-item {
        padding: 1.2rem;
    }
    
    .motto-box {
        padding: 1.5rem;
    }
    
    .motto-box h3 {
        font-size: 1.6rem;
    }
    
    .anthem-box {
        padding: 1.5rem;
    }
    
    .anthem-box p,
    .anthem-box .chorus {
        font-size: 1rem;
    }
    
    .rules-list li {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .boarding-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .boarding-option {
        padding: 1.5rem;
    }
    
    .boarding-option h4 {
        font-size: 1.2rem;
    }
}
/* Tablet (769px-1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .school-info-section {
        padding: 3rem 1.5rem;
        padding-top: calc(var(--header-height) + 1.5rem);
    }
    
    .school-info-header h1 {
        font-size: 2.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Desktop (1025px and up) */
@media screen and (min-width: 1025px) {
    .school-info-section {
        padding: 4rem 2rem;
        padding-top: calc(var(--header-height) + 2rem);
    }
}

/* ==================== ACADEMICS PAGE STYLES ==================== */

/* Academics Hero Section */
.academics-hero {
    padding-top: 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.academics-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.academics-hero__title {
    font-size: 2.5rem;
    color: #141952;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.academics-hero__description {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.academics-hero__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.academics-hero__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Curriculum Section */
.curriculum__container {
    padding: 4rem 0;
}

.curriculum__content {
    display: grid;
    gap: 3rem;
}

.curriculum__info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.curriculum__title {
    font-size: 1.75rem;
    color: #141952;
    margin-bottom: 1.5rem;
}

.curriculum__description {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.curriculum__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.curriculum__feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.curriculum__icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 1rem;
}

.curriculum__feature h4 {
    font-size: 1.1rem;
    color: #141952;
    margin-bottom: 0.5rem;
}

.curriculum__feature p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

/* Subjects Grid */
.subjects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.subject__card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.subject__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.subject__card i {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 1rem;
}

.subject__card h4 {
    font-size: 1.1rem;
    color: #141952;
    margin-bottom: 0.5rem;
}

.subject__card p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

/* Co-curricular Activities */
.co-curricular {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 0;
}

.co-curricular__header {
    text-align: center;
    margin-bottom: 3rem;
}

.co-curricular__tagline {
    font-size: 1.5rem;
    color: #141952;
    margin: 1rem 0;
}

.co-curricular__description {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.co-curricular__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.activity__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.activity__icon {
    font-size: 2.5rem;
    color: #4299e1;
    margin-bottom: 1.5rem;
}

.activity__title {
    font-size: 1.25rem;
    color: #141952;
    margin-bottom: 1rem;
}

.activity__description {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Departments Section */
.departments__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.department__card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.department__card:hover {
    transform: translateY(-5px);
}

.department__header {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.department__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.department__title {
    font-size: 1.25rem;
    margin: 0;
}

.department__body {
    padding: 1.5rem;
}

.department__list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.department__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.department__list li:last-child {
    border-bottom: none;
}

/* Guidelines Section */
.guidelines {
    background: #f8fafc;
    padding: 4rem 0;
}

.guidelines__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guidelines__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.guidelines__icon {
    font-size: 2.5rem;
    color: #4299e1;
    margin-bottom: 1.5rem;
}

.guidelines__title {
    font-size: 1.25rem;
    color: #141952;
    margin-bottom: 1rem;
}

.guidelines__description {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Calendar Section */
.calendar__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calendar__term {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.calendar__term-title {
    font-size: 1.5rem;
    color: #141952;
    margin-bottom: 0.5rem;
}

.calendar__term-dates {
    font-size: 1.1rem;
    color: #4299e1;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.calendar__events {
    list-style: none;
    padding: 0;
}

.calendar__events li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.calendar__events li:last-child {
    border-bottom: none;
}

/* Responsive Design acamedic */
@media (max-width: 768px) {
    .academics-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .academics-hero__title {
        font-size: 2rem;
    }
    
    .curriculum__features {
        grid-template-columns: 1fr;
    }
    
    .subjects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .co-curricular__grid {
        grid-template-columns: 1fr;
    }
    
    .departments__content {
        grid-template-columns: 1fr;
    }
    
    .guidelines__content {
        grid-template-columns: 1fr;
    }
    
    .calendar__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .subjects__grid {
        grid-template-columns: 1fr;
    }
    
    .academics-hero__title {
        font-size: 1.75rem;
    }
    
    .curriculum__title,
    .co-curricular__tagline,
    .department__title,
    .guidelines__title,
    .calendar__term-title {
        font-size: 1.25rem;
    }
}

/*=============== SISTER SCHOOLS ===============*/
.sister__container{
  row-gap: 10rem;
}

.sister__data{
  text-align: center;
}
.sister__school__description{
  margin-bottom: 2rem;
}
.sister__school_list{
  text-align: initial;
  grid-template-columns: repeat(2, 130px);
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.sister__school__list-item{
  display: inline;
  column-gap: 5rem;
  color: var(--title-color);
}
.sister__school__list-item i{
  font-size: 1.25rem;
  color: var(--first-color);
}

/*=============== CONTACT ===============*/
.contact {
  background-color: #f9f9f9;
  padding: 3rem 0;
}
.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact__img{
  width: 320px;
  justify-self: center;

}
.contact__data{
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.contact__description{
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.contact__card{
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact__card:hover{
  border-color: var(--first-color);
  transform: scale(1.03);

}
.contact__card iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.contact__icon{
  width:48px;
  height: 48px;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}
.contact__title{
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.contact__info{
  font-style: normal;
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #3b82f6;
}
.contact-info p {
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}
.contact__social{
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact__social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}
.contact__social-link:hover{
  transform: translateY(-.25rem);
}
/* contact*/
@media (max-width: 768px) {
  .contact__data {
    flex-direction: column;
  }
  
  .contact__card {
    padding: 1.25rem;
  }
}

/* =========== ADMISSIONS FORM STYLES =========== */

.admission-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}
.admission-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    overflow: hidden;
}
.admission-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eaeaea;
}
.admission-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Fredoka', sans-serif;
}
.admission-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
}
.admission-form {
    display: grid;
    gap: 1.5rem;
}
.form-section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--first-color);
}
.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
}
.form-section h3 i {
    color: var(--first-color);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--first-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.button.secondary {
    background: var(--gray-border);
    color: var(--text-color);
}
.button.secondary:hover {
    background: #e0e0e0;
}

.form-help {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 0.2rem;
}
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}
.form-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.form-step.active .step-number {
    background: var(--first-color);
    color: white;
}
.required {
    color: #e74c3c;
    margin-left: 3px;
}
.form-note {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.file-upload:hover {
    border-color: var(--first-color);
    background: #f0f7ff;
}
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}
.file-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    max-height: 200px;
    overflow: auto;
}
.file-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.file-preview p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
}
.upload-btn {
    background: var(--first-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    max-width: 200px;
}
.upload-btn:hover {
    background: hsl(18, 95%, 45%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Radio and Checkbox Styles */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--first-color);
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}
.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.5;
}
.checkbox-group a {
    color: var(--first-color);
    text-decoration: underline;
}
.checkbox-group a:hover {
    color: hsl(18, 95%, 45%);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}
.submit-btn {
    background: var(--first-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
}
.submit-btn:hover:not(:disabled) {
    background: hsl(18, 95%, 45%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.reset-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
}
.reset-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--first-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    border-left: 5px solid #2ecc71;
    margin-top: 2rem;
}
.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.success-message i {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}
.success-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-family: 'Fredoka', sans-serif;
}
.success-message p {
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}
.success-message strong {
    color: #2c3e50;
}

/* Error Styling */
.error {
    border-color: #e74c3c !important;
}
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}
.success-message {
    color: #2ecc71;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Responsive Design for Admissions Form */
@media (max-width: 768px) {
    .admission-section {
        padding: 2rem 1rem;
    }
    
    .admission-container {
        padding: 1.5rem;
    }
    
    .admission-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-btn, .reset-btn {
        width: 100%;
        justify-content: center;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .file-upload-wrapper {
        align-items: center;
    }
    
    .upload-btn {
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .admission-container {
        padding: 1rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .success-message {
        padding: 1.5rem;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
    }
}
/* Print Styles for Admissions Form */
@media print {
    .admission-section {
        background: white !important;
    }
    
    .admission-container {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .submit-btn, .reset-btn, .upload-btn {
        display: none !important;
    }
    
    .file-upload-wrapper {
        display: none !important;
    }
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color-light);
}
.close-modal:hover {
    color: var(--first-color);
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
}

/* services */
@media screen and (min-width: 768px) {
  .services__title {
    font-size: 1.4rem;
  }

  .services__description {
    font-size: 1.05rem;
  }
  .services__card {
    max-height: none;
    height: auto;
    padding-bottom: 3rem; /* More breathing space */
  }
}
@media screen and (min-width: 1024px) {
  .services__title {
    font-size: 1.6rem;
  }
  .services__card {
    height: 400px; /* Adjust based on actual card content */
    max-height: 100%;
    padding: 1.5rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .services__description {
    font-size: 1.1rem;
  }
  
  .services {
  padding-bottom: 6rem;
  }
}

/* ==================== PRIVACY & TERMS STYLES ==================== */
.policy-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.policy-hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.policy-hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.policy-hero__description {
    font-size: 1rem;
    opacity: 0.8;
}
.policy-content {
    padding: 4rem 0;
    background-color: #f8fafc;
}
.policy-content__wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}
.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.policy-section__title {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 700;
}
.policy-section__subtitle {
    font-size: 1.3rem;
    color: #3b82f6;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}
.policy-section__text {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}
.policy-list {
    list-style-type: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}
.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #4b5563;
}
.policy-list li:before {
    content: "•";
    color: #3b82f6;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}
/* Responsive Design- policy*/
@media screen and (max-width: 480px) {
    .policy-hero {
        padding: 3rem 0;
    }
    
    .policy-hero__title {
        font-size: 2rem;
    }
    
    .policy-content__wrapper {
        padding: 1.5rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    .policy-hero__title {
        font-size: 2.5rem;
    }
    
    .policy-hero__subtitle {
        font-size: 1.2rem;
    }
    
    .policy-content__wrapper {
        padding: 2rem;
    }
    
    .policy-section__title {
        font-size: 1.5rem;
    }
    
    .policy-section__subtitle {
        font-size: 1.2rem;
    }
}