:root {
  --accent-color: #b22222;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #ffff;
}

h2 {
  font-size: 1.5rem;
}

p {
  font-size: .85rem;
}

a {
  font-size: .85rem;
}

body {
  background-color: #223c7d;
}

/* naviagtion menu  */

.navbar {
  /* backdrop-filter: blur(5px); */
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  /* border-radius: 0 0 1rem 1rem; */
  padding: 0.3rem 0rem;
  z-index: 10;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #004b87 !important;
}

.nav-link {
  color: #111 !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0077cc !important;
}

.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border: none;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  color: #333;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f0f4f8;
}

.navbar-toggler {
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* Logo Area */
.logo-text {
  font-size: 1.25rem;
  color: #223c7d;
  font-weight: bold;
  line-height: 1;
}

.logo-subtext {
  font-size: 0.8rem;
  color: var(--accent-color);
  letter-spacing: 1px;
  line-height: 1;
}

.form-select {
  border-radius: 2rem;
  padding: 0.5rem 1rem;
}

.main-link {
  font-size: 1.4rem;
  color: #004b87;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16/7;
  background: url(../imgs/hero.jpg);
  background-position: center -4rem;
  background-repeat: no-repeat;
  background-size: cover;
  image-rendering: auto;
  opacity: 0;
  margin-top: -12px;
  animation: fadeInBg 2s ease-in-out forwards;
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .hero {
    aspect-ratio: 16/11;
    background-position: center 0;
  }
  .logo-text {
    font-size: 1rem;
  }
  .logo-subtext {
    font-size: 0.7rem;
  }
}

/* Buttons */
.btn-red {
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
}

.btn-red:hover {
  border: 1px solid var(--accent-color);
}


/* Boxes */
.school-box {
  background-color: #1e3265;
  padding: 0;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.school-box img {
  width: 100%;
}

.white-box {
  background-color: white;
  color: #1e3265;
  border-radius: 1rem;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.hero-board {
  max-width: 450px;
}

/* welcome card */

.welcome {
  padding: 3rem 15%;
  background: #ffff;
}

.welcome img {
  width: 100%;
}

.welcome .p-red {
  color: var(--accent-color);
}

.welcome .p-blue {
  color: #1e3265;
}

.welcome .p-red,
.welcome .p-blue {
  line-height: 1.3;
  font-size: 1.1rem;
  letter-spacing: .5px;
}

/* responsiveness welcome */
.welcome .description {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 0 1rem;
}

@media (max-width: 999px) {
  .welcome {
    padding: 3rem 3%;
    flex-direction: column;
  }
  .welcome .description {
    padding: 2rem 1rem;
  }
}

.what-our-parents-say .row {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.what-our-parents-say .row .col-sm {
  padding: 12px;
}

.what-our-parents-say .row img {
  width: 100%;
}

.what-our-parents-say .heading-text,
.container-activities .heading-text {
  margin: 0;
  text-align: center;
  padding-top: 3rem;
  font-size: 2.2rem;
}

.recent-acctivies {
  padding: 1rem 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .recent-acctivies {
    padding: 1rem 18px;
  }
}
.container-activities {
  padding: 3rem 0;
  padding-top: 0;
  text-align: center;
  background: #ffff;
}

.recent-acctivies img {
  width: calc(100%);
  padding: 5px;
}

.recent-acctivies .activity-1 {
  background: url(../imgs/instagram/feed-1.png);
}

.recent-acctivies .activity-2 {
  background: url(../imgs/instagram/feed-2.png);
}

.recent-acctivies .activity-3 {
  background: url(../imgs/instagram/feed-3.png);
}

.recent-acctivies .activity-4 {
  background: url(../imgs/instagram/feed-4.png);
}

.container-activities .heading-text {
  color: #223c7d;
}

.recent-acctivies .img-bgroung {
  width: calc(100% / 4);
  aspect-ratio: 1/1;
  margin: 2px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.recent-acctivies .img-bgroung .sensety {
  height: 100%;
  width: 100%;
  background: #ccc;
  opacity: 0;
  transition: all 0.4s ease;
}

.recent-acctivies .img-bgroung .sensety:hover {
  opacity: 0.3;
}

p.color-blue {
  color: #1e3265;
}

.result-year {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.result-year input {
  color: #1e3265;
  background: none;
  border-radius: 12px;
  padding: 0 5px;
  border: 1px #1e3265 solid;
}

.result-year input:focus {
  outline: none;
  box-shadow: none;
}

.footer {
  background: #ffff;
  padding: 0 12%;
}

footer h5 {
  color: #1e3265;
  font-size: 0.9rem;
}

.footer ul li a {
  font-size: 0.85rem;
  color: var(--accent-color);
}

.row.far-apart {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

footer p {
  color: #1e3265;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .footer {
    padding: 0 1rem;
  }
  .row.far-apart {
    flex-direction: column;
  }
}

footer ul.iconsbrand li a i {
  color: #1e3265;
  font-size: 1.2rem;
}

.banner {
  height: 100%;
  width: 100%;
  backdrop-filter: brightness(60%);
  padding-top: 22%;
}

.banner ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.banner ul li a {
  text-decoration: none;
  color: #ffff;
  font-family: "Poppins", sans-serif;
}

.banner h3 {
  font-size: 3rem;
  text-align: center;
}

.spoiler-text {
  height: 60vh;
  background: #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spoiler-text p {
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: center;
  padding: 10px;
  color: #1e3265;
  max-width: 1000px;
}

.spoiler-dicription {
  padding: 2rem 12%;
  background: #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.spoiler-dicription h2 {
  color: #004b87;
  padding-top: 1rem;
  font-weight: 300;
}

.spoiler-dicription p,
.spoiler-dicription span {
  color: #1e3265;
}

.spoiler-dicription p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.spoiler-dicription ul li {
  color: #1e3265;
  font-size: 0.9rem;
  line-height: 1.7;
}

.spoiler-dicription h3 {
  color: #1e3265;
  font-size: 2rem;
  padding: 1.7rem 0;
  font-weight: 300;
}

.spoiler-dicription a {
  color: #b22222;
}

.spoiler-dicription span {
  font-size: 1.2rem;
}

.border-curve {
  border-radius: 30px;
}

.spoiler-dicription img {
  width: 100%;
}

@media (max-width: 576px) {
  .spoiler-dicription {
    padding: 2rem 1rem;
  }
}

.hero.our-story {
  background: url(../imgs/upload/dummy_1620x1080_ffffff_cccccc.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.easy-navigation {
  padding: 2rem 12%;
  background: #ffff;
}

.easy-navigation .block-nav {
  aspect-ratio: 1/1;
  position: relative;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.easy-navigation .block-nav .image.about {
  width: 100%;
  height: 100%;
  background: url(../imgs/about.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.admission {
  width: 100%;
  height: 100%;
  background: url(../imgs/admission.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.information {
  width: 100%;
  height: 100%;
  background: url(../imgs/information.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.our-story {
  width: 100%;
  height: 100%;
  background: url(../imgs/our-story.gif);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.uniform {
  width: 100%;
  height: 100%;
  background: url(../imgs/uniform.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.sports {
  width: 100%;
  height: 100%;
  background: url(../imgs/sports.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.fee {
  width: 100%;
  height: 100%;
  background: url(../imgs/fee.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.management {
  width: 100%;
  height: 100%;
  background: url(../imgs/Management.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.policies {
  width: 100%;
  height: 100%;
  background: url(../imgs/Policies.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.admission {
  width: 100%;
  height: 100%;
  background: url(../imgs/admission-open.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.terms-dates {
  width: 100%;
  height: 100%;
  background: url(../imgs/terms-dates.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.after-school {
  width: 100%;
  height: 100%;
  background: url(../imgs/after-school.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.lunch {
  width: 100%;
  height: 100%;
  background: url(../imgs/lunch.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easy-navigation .block-nav .image.accredited {
  width: 100%;
  height: 100%;
  background: url(../imgs/accredited.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ending -- here */

.easy-navigation .block-nav a {
  height: 100%;
  width: 100%;
  background: none;
  backdrop-filter: brightness(60%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.easy-navigation .block-nav a:hover {
  background: rgba(128, 128, 128, 0.534);
}

.easy-navigation .block-nav a span {
  font-size: 2rem;
}

@media (max-width: 576px) {
  .easy-navigation {
    padding: 2rem 1rem;
  }
}

.credit a {
  text-decoration: none;
}

.hero.our-story {
  background: url(../imgs/about-us.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section {
  background-color: #ffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 0.4rem;
  margin-bottom: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.section h5 {
  font-weight: 400;
  border-bottom: 2px solid #dee2e6;
  padding: 0.5rem 1.2rem;
  margin-bottom: 1rem;
  color: #004b87;
}
.table thead {
  background-color: #004b87;
  color: white;
}
.table tbody td {
  vertical-align: middle;
}
.table {
  border-radius: 12px;
  overflow: hidden;
}
ol li,
ul li,
ol strong,
ul strong {
  margin-bottom: 0.5rem;
  color: #004b87;
}

.table-info {
  background: #004b87;
}

.instagram-btn {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-btn a{
  text-decoration: none;
  color: #b22222;
  padding: 5px 15px;
  background: none;
  border-radius: 20px;
  border: 1px solid #b22222;
  transition: all ease .3s;
}

.instagram-btn a:hover {
  background: #b22222;
  color: #ffff;
}

.form-select option{
  color: #1e3265;
  counter-reset: option;
}

.admission, .applynow {
  text-decoration: none;
}

/* cookies */
/* --- 1. FLOATING ANCHOR (Cookie Icon) --- */
#cookie-anchor {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: #004b87;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#cookie-anchor:hover {
  transform: translateY(-3px);
  border-color: #4f46e5;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#cookie-anchor img {
  width: 24px;
  filter: none; /* Keeps original icon colors */
}

/* --- 2. POP-UP BANNER --- */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: #ffffff;
  padding: 24px;
  z-index: 1060;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  animation: slideUp 0.4s ease-out;
}

/* Responsive: Desktop floats to the right */
@media (min-width: 768px) {
  #cookie-banner {
    left: auto;
    width: 400px;
  }
}

.banner-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.banner-text {
  font-size: 14px;
  line-height: 1.6;
  color: #1e293b !important;
  margin: 0;
}

.banner-text a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* --- 3. SETTINGS MODAL --- */
#cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.cookie-modal {
  background: #004b87;
  padding: 32px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cookie-option {
  background: #16518d;
  padding: 16px;
  margin: 12px 0;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 14px;
}

/* --- BUTTON STYLES --- */
.btn-accept, .btn-settings, .btn-save {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-accept {
  background: #4f46e5; /* Indigo */
  color: #ffffff !important;
}

.btn-accept:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.btn-settings {
  background: #f1f5f9;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
}

.btn-settings:hover {
  background: #e2e8f0;
}

.btn-save {
  background: #1e293b; /* Charcoal */
  color: #ffffff !important;
  width: 100%;
  margin-top: 10px;
}

/* Utility & Animations */
.hidden { display: none !important; }

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}