﻿/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}

:root {
    --primary: #433266;
    --secondary: #E17F00;
    --accent:#E0D1FF;
    --background:#FAFAFF;
    --text:#1C1C1C;
    --radius:6px;
    --transition:0.3s ease;
    --border: #c7bffb;
    --shadow: rgba(76, 59, 203, 0.1);
    --bg: #fafaff;
}

body{
  font-family:"Kaushan Script", cursive;
  background:var(--background);
}

/* HEADER */
.edu-header{
  background:#fff;
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 3px 12px rgba(0,0,0,0.05);
}

/* CONTAINER */
.edu-container{
  max-width:1200px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.edu-logo{
  font-family:"Josefin Sans", sans-serif;
  font-size:1.6rem;
  font-weight:900;
  color:var(--primary);
  text-decoration:none;
}

/* DESKTOP MENU */
.edu-menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:26px;
}

.edu-menu a{
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  font-size:16px;
  transition:var(--transition);
  padding: 10px;
  letter-spacing: 2px;
}

/* HOVER */
.edu-menu a:hover{
  color:var(--secondary);
}

/* DROPDOWN DESKTOP */
.dropdown{
  position:relative;
}

.dropdown-menu{
  position:absolute;
  top:110%;
  left:0;
  min-width:200px;
  background:#fff;
  border-radius:var(--radius);
  list-style:none;
  padding:8px 0;
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:var(--transition);
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown-menu li a{
  display:block;
  padding:10px 14px;
  color:var(--text);
  white-space:nowrap;
}

/* ENROLL BUTTON */
.btn-enroll{
  background:var(--primary);
  color:white !important;
  padding:8px 18px;
  border-radius:var(--radius);
}

/* MOBILE TOGGLE */
.edu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
  color:var(--primary);
}

/* ===============================
   MOBILE FIXES BELOW
=============================== */
@media(max-width:900px){

  .edu-toggle{display:block;}

  /* MOBILE NAV PANEL */
  .edu-nav{
    position:fixed;
    right:-260px;
    top:72px;
    width:260px;
    height:calc(100vh - 72px);
    background:white;
    padding:20px;
    box-shadow:-4px 0 16px rgba(0,0,0,0.1);
    transition:0.35s ease;
    overflow-y:auto;
  }

  .edu-nav.show{
    right:0;
  }

  .edu-menu{
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    gap:0;
  }

  .edu-menu li{
    width:100%;
    border-bottom:1px solid #f2f2f2;
    padding: 20px;
  }

  .edu-menu a{
    padding:14px 12px;
    width:100%;
  }

  /* ↓↓↓ FIX FOR EMPTY WHITE SPACE */
  .dropdown-menu{
    position:static;
    display:none;
    width:100%;
    background:#fafafa;
    border-left:3px solid var(--accent);
    box-shadow:none;
    padding:6px 0 6px 10px;
    opacity:1 !important;
    visibility:visible !important;
  }

  /* ONLY SHOW WHEN CLICKED */
  .dropdown.open .dropdown-menu{
    display:block;
  }

  /* Dropdown link contrast fix */
  .dropdown-menu li a{
    color:var(--text);
    padding:8px 4px;
  }
}

/* ANIMATIONS */
@keyframes fadeDown{
  from{opacity:0;transform:translateY(-4px);}
  to{opacity:1;transform:translateY(0);}
}
/* Slider Wrapper */
.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Slide Item */
.hero-slider .slide {
  width: 100%;
  display: none;
}

.hero-slider .slide.active {
  display: block;
}

/* Image Scaling */
.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background:#000;
}

/* Navigation Buttons */
.hero-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 4px;
  transition: 0.3s;
}

.hero-slider .nav:hover {
  background: rgba(0,0,0,0.7);
}

.hero-slider .prev { left: 10px; }
.hero-slider .next { right: 10px; }

/* Dots Navigation */
.hero-slider .dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-slider .dots div {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.3s;
}

.hero-slider .dots .active {
  background: #fff;
}

/* ======== ABOUT SECTION ======== */
.about-section {
  width: 100%;
  padding: 80px 0;
  background: #FAFAFF;
}

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
}

/* ======== TEXT SIDE ======== */
.about-text {
  flex: 1;
  z-index: 2;
}

.about-text h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #433266;
  margin-bottom: 18px;
}

.about-text p {
  font-family: "Kaushan Script", cursive;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #1C1C1C;
}

.cta-btn {
  margin-top: 18px;
  padding: 12px 22px;
  border: none;
  background: #433266;
  color: #fff;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 2px;
  font-size: 20px;
}

.cta-btn:hover {
  background: #524273;
}

/* ======== IMAGE SIDE ======== */
.about-image-wrapper {
  flex: 1;
  position: relative;
  height: 380px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 85% 0, 100% 25%, 100% 100%, 15% 100%, 0 75%);
  position: relative;
  z-index: 2;
  border-radius: 6px;
}

/* ======== OFFSET BACK SHAPE ======== */
.bg-shape {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #E0D1FF;
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  border-radius: 6px;
  transition: 0.3s ease;
}

/* Adds hover depth */
.about-image-wrapper:hover .bg-shape {
  transform: translate(6px, 6px);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image-wrapper {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .about-text h2 {
    font-size: 2rem;
  }
  .about-image-wrapper {
    height: 240px;
  }
}
 
.leadership-section {
  padding: 30px 0;
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

/* Row Wrapper */
.leader-row {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 120px auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Reverse second block */
.leader-row.reverse {
  flex-direction: row-reverse;
}

/* Content Card */
.leader-content {
  background: #fff;
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  width: 55%;
  position: relative;
  z-index: 2;
}

.leader-title {
  font-size: 1.9rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.leader-text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #444;
}

.leader-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* Image Box */
.leader-img-wrapper {
  width: 340px;
  height: 430px;
  position: relative;
  z-index: 3;
}

.leader-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Decorative Background Card */
.leader-row::before {
  content: "";
  position: absolute;
  top: -22px;
  right: 14px;
  width: 380px;
  height: 380px;
  background: var(--accent);
  border-radius: 18px;
  transform: rotate(4deg);
  z-index: 1;
  opacity: 0.5;
}

.leader-row.reverse::before {
  left: 14px;
  right: auto;
  transform: rotate(-4deg);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .leader-row,
  .leader-row.reverse {
    flex-direction: column;
  }

  .leader-content {
    width: 100%;
    text-align: center;
  }

  .leader-img-wrapper {
    margin-top: -20px;
    width: 280px;
    height: 360px;
  }

  .leader-row::before,
  .leader-row.reverse::before {
    display: none;
  }

  .leader-title {
    font-size: 1.6rem;
  }
}


.programs-section {
    padding: 150px 40px;
    background:  url('../images/a1.png') center no-repeat ;
     background-size: cover;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #433266;
  font-family: "Josefin Sans", sans-serif;
  margin-bottom: 25px;
}

.programs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Arrow Buttons */
.arrow {
  background: #43326600;
  color: #433266;
  border: none;
  font-size: 30px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
}

.arrow:hover { 
  color: #e17f00
}

/* Scroll container */
.cards-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 16px);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.cards-scroll::-webkit-scrollbar {
  display: none;
}

/* Cards */
.program-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.program-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.program-card h3 {
  font-size: 1.08rem;
  font-family: "Josefin Sans", sans-serif;
  margin: 14px 14px 6px;
  color: #111;
  font-weight: 700;
}

.program-card p {
  margin: 0 14px 16px;
  font-size: 0.88rem;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-scroll { grid-auto-columns: calc(33.33% - 14px); }
}

@media (max-width: 768px) {
  .cards-scroll { grid-auto-columns: calc(50% - 12px); }
}

@media (max-width: 480px) {
  .cards-scroll { grid-auto-columns: calc(75% - 10px); }
}

.edu-footer {
  background: #181931;
  color: #d9d9d9;
  padding-top: 50px; 
}
.edu-footer h3 {
    
  font-family: "Josefin Sans", sans-serif;
}
 strong{
    
  font-family: "Josefin Sans", sans-serif;
}
.footer-top {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 0 20px 40px;
}

.footer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.footer-box p {
  font-size: 0.95rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.footer-box ul li a {
  color: #d9d9d9;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-box ul li a:hover {
  color: var(--secondary);
  letter-spacing: 3px;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d2d48;
  color: white;
  border-radius: 50%;
  font-size: 14px;
  transition: 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--secondary);
}

.visitors {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #fff;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  color: #999;
  border-top: 1px solid #262742;
  font-size: 0.9rem;
}


.contact-banner {
  width: 100%;
  height: 280px;
  background: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 40, 0.55);
}

.banner-content {
  position: relative;
  text-align: center;
  color: #fff;
}

.banner-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: "Josefin Sans", sans-serif;
}

.banner-content p {
  font-size: 1rem;
  opacity: 0.9;
  font-family: "Kaushan Script", cursive;
}

@media (max-width: 768px) {
  .contact-banner {
    height: 200px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
  .banner-content p {
    font-size: 0.9rem;
  }
}
.contact-floating {
  position: relative;
  padding: 0;
  margin-bottom: 80px;
}

.map-area iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.contact-card {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff0;
  padding: 10px;
  width: 335px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-family: "Josefin Sans", sans-serif;
}

.contact-card h3 {
  margin-bottom: 14px;
  color: #433266;
  font-weight: 800;
  font-size: 1.8rem;
  background: #fff;
  padding: 10px;
  text-align: center;
}

.contact-card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #444;
  font-family: "Kaushan Script", cursive;
  border: 1px solid #444;
  padding: 10px;
  background: #fff;
}

@media (max-width: 768px) {
  .contact-card {
    position: static;
    width: 100%;
    margin-top: 20px;
    box-shadow: none;
    border-radius: 0;
  }
}

 

/* Wrapper Background */
.edu-contact-shell {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background: linear-gradient(145deg, #EEEAFE, #fafaff);
}

/* Main Card */
.edu-contact-card {
    width: 100%;
    max-width: 880px;
    background: white;
    border: 3px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 50px;
    box-shadow: 0 0 0 6px white, 0 12px 25px var(--shadow);
    position: relative;
    animation: floatUp .6s ease-out;
}

/* Header content */
.edu-contact-title {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.edu-contact-sub {
    color: #444;
    margin-bottom: 30px;
    font-size: .95rem;
}

/* Field Rows */
.edu-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 20px;
}

/* Fields */
.edu-field {
    display: flex;
    flex-direction: column;
}

.edu-field label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: .5px;
}

/* Inputs */
.edu-field input,
.edu-field textarea {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: var(--bg);
    font-size: .95rem;
    color: var(--text);
    transition: var(--transition);
}

/* Focus Animation */
.edu-field input:focus,
.edu-field textarea:focus {
    border-color: var(--secondary);
    background: #fff;  
    box-shadow: 0 0 0 3px #E17F004F;
    transform: translateY(-2px);
}

/* Large Row Layout */
.edu-field textarea {
    resize: none;
    margin-bottom: 10px;
}

/* Button */
.edu-action {
    text-align: center;
}

.edu-btn-send {
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 38px;
    letter-spacing: .3px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: "Montserrat", sans-serif;
}

.edu-btn-send:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* Appearing Animation */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .edu-field-row {
        grid-template-columns: 1fr;
    }

    .edu-contact-card {
        padding: 30px 24px;
    }
}
 
/* =============================
   GALLERY BANNER
============================= */
.gallery-banner {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, #584975 40%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 25px;
    overflow: hidden;
    color: #fff;
}

/* Decorative Shapes */
.gallery-banner::before,
.gallery-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
}

.gallery-banner::before {
    width: 380px;
    height: 380px;
    background: var(--accent);
    top: -80px;
    left: -60px;
}

.gallery-banner::after {
    width: 280px;
    height: 280px;
    background: var(--secondary);
    bottom: -60px;
    right: -50px;
    opacity: 0.22;
}

.banner-inner {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.banner-inner h1 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.banner-inner p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-banner {
        height: 240px;
    }
    .banner-inner h1 {
        font-size: 2rem;
    }
    .banner-inner p {
        font-size: 0.92rem;
    }
}

 

/* MAIN SECTION */
.edu-gallery-section {
    padding: 80px 40px;
    background: var(--background);
    text-align: center;
}

/* HEADER */
.gallery-header h2 {
    font-size: 2.4rem;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.gallery-header p {
    color: #555;
    margin-bottom: 30px;
}

/* FILTER BUTTONS */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.gallery-filters button {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.gallery-filters button:hover,
.gallery-filters button.active {
    background: var(--primary);
    color: #fff;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 22px;
}

/* ITEMS */
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}
.gallery-item {
    display: flex;        /* so display:flex works */
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* HOVER OVERLAY */
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(67, 50, 102, 0.70);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .5px;
    transition: 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width:768px) {
    .edu-gallery-section {
        padding: 50px 20px;
    }
    .gallery-header h2 {
        font-size: 2rem;
    }
}
