/********** Template CSS **********/


.top-header{
    background: #F0FBFC;
    color: rgb(8, 15, 17);
    font-size: 14px;
}

.social-links a{

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    margin-left: 8px;

    color: white;
    text-decoration: none;

    font-size: 14px;

    transition: 0.3s;
}

/* Facebook */
.social-links a:nth-child(1){

    background: #1877F2;

}

/* Instagram Official Gradient */
.social-links a:nth-child(2){

    background: radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);

}

/* LinkedIn */
.social-links a:nth-child(3){

    background: #0A66C2;

}

/* YouTube */
.social-links a:nth-child(4){

    background: #FF0000;

}

.social-links a:hover{

    transform: scale(1.08);

}

.logo-box{
    width: 70px;
    height: 70px;

    background: white;
    color: #051c77;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #051c77;
    border-radius: 12px;
 
    font-size: 30px;
}

.school-title{
    color: #051c77;
    font-weight: 700;

}


.navbar-custom{
    background: #051c77;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-toggler {
    border: 1px solid white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-custom .nav-link{

    color: white !important;
    padding: 18px 16px !important;

    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link:hover{

    background: rgba(255,255,255,0.15);

}

.dropdown-menu{

    border: none;
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(252, 250, 250, 0.1);

}

.dropdown-item:hover{

    background: #051c77;
    color: white;

}

.carousel-img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

/* Desktop */
@media (min-width: 992px) {
    .carousel-img {
        height: 500px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .carousel-img {
        height: 420px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-img {
        height: 300px;
    }
}

:root {
    --primary: #051c77;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}




@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
/* Carousel Images */
/* ==========================
   Rounded Owl Carousel
========================== */

.header-carousel{
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.header-carousel .owl-stage-outer{
    border-radius:30px;
    overflow:hidden;
}

.header-carousel .owl-stage{
    border-radius:30px;
}

.header-carousel .owl-item{
    border-radius:30px;
}

.header-carousel .owl-carousel-item{
    position:relative;
    border-radius:30px;
    overflow:hidden;
}

/* Images */

.carousel-img{
    width:100%;
    height:600px;
    object-fit:cover;
    display:block;
}

/* Overlay */

.carousel-overlay{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:center;
    border-radius:30px;
}

/* Title */

.carousel-title{
    color:#fff;
    font-size:55px;
    font-weight:700;
    text-shadow:2px 2px 10px rgba(0,0,0,.4);
}

/* Navigation */

.header-carousel .owl-nav{
    position:absolute;
    top:50%;
    width:100%;
    transform:translateY(-50%);
}

.header-carousel .owl-prev,
.header-carousel .owl-next{
    position:absolute;
    width:55px;
    height:55px;
    border-radius:50% !important;
    background:#fff !important;
    color:#051c77 !important;
    font-size:20px !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.header-carousel .owl-prev{
    left:20px;
}

.header-carousel .owl-next{
    right:20px;
}

.header-carousel .owl-prev:hover,
.header-carousel .owl-next:hover{
    background:#051c77 !important;
    color:#fff !important;
}

/* Dots */

.header-carousel .owl-dots{
    position:absolute;
    bottom:20px;
    width:100%;
    text-align:center;
}

.header-carousel .owl-dot span{
    width:12px;
    height:12px;
    background:#fff !important;
    opacity:.6;
}

.header-carousel .owl-dot.active span{
    background:#FFD700 !important;
    opacity:1;
}

/* Tablet */

@media(max-width:991px){

    .carousel-img{
        height:450px;
    }

    .carousel-title{
        font-size:38px;
    }

}

/* Mobile */

@media(max-width:768px){

    .header-carousel,
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-carousel-item,
    .carousel-overlay{
        border-radius:20px;
    }

    .carousel-img{
        height:300px;
    }

    .carousel-title{
        font-size:26px;
        text-align:center;
    }

    .header-carousel .owl-prev,
    .header-carousel .owl-next{
        width:42px;
        height:42px;
    }

}

/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}









/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.carousel-img {
    height: 550px;
    object-fit: cover;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 350px;
    }

    .carousel-title {
        font-size: 1.3rem;
    }
}

.custom-nav button {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
}

.custom-nav button:hover {
    background:#051c77;
    transform: translateY(-50%) scale(1.08);
}

.custom-prev {
    left: 20px;
}

.custom-next {
    right: 20px;
}

@media (max-width: 768px) {
    .custom-nav button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .custom-prev {
        left: 10px;
    }

    .custom-next {
        right: 10px;
    }
}

.owl-nav{
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-prev,
.owl-next{
    position: absolute;
    width: 50px;
    height: 50px;
    background: #051c77 !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.owl-prev{
    left: 20px;
}

.owl-next{
    right: 20px;
}

.owl-prev:hover,
.owl-next:hover{
    background: #0097a7 !important;
}

@media (max-width: 991px) {
    #navbarCollapse {
        display: none;
        width: 100%;
    }
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav {
    flex-wrap: nowrap;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.navbar-custom .nav-link {
    padding: 15px 10px !important;
    font-size: 18px;
}

@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar-nav .nav-link {
        white-space: nowrap;
    }
}

.navbar-custom .nav-link {
    color: white !important;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-custom .nav-link.active {
    color: #FFD700 !important;
    font-weight: 700 !important;
}
/* ===== HEADER CONTAINER ===== */
/* HEADER WRAPPER */
/* Container */
.container {
    width: 100%;
    padding: 10px 15px;
}

/* Header Section */
.header-section {
    display: flex;
    align-items: center;
    gap: 10px;              /* small gap between logo and title */
    flex-wrap: wrap;        /* allows wrapping on small screens */
}

/* Logo Box */
.logo-box {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid #051c77;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;        /* prevents shrinking */
}

/* Logo Image */
.logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* School Title */
.school-title {
    font-size: 28px;
    font-weight: 700;
    color: #051c77;
    margin: 0;

    flex: 2;               /* takes remaining space */
    line-height: 1.2;
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 768px) {

    .header-section {
        flex-direction: row;   /* still in one line */
        align-items: center;
        gap: 8px;
    }

    .logo-box {
        width: 50px;
        height: 50px;
    }

    .school-title {
        font-size: 28px;
        line-height: 1.2;

        /* prevents text going outside screen */
        overflow-wrap: anywhere;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .school-title {
        font-size: 28px;
    }

    .logo-box {
        width: 45px;
        height: 45px;
    }
}

.language-switcher{
    display:flex;
    gap:8px;
}

.lang-btn{

    background:#fff;
    color:#0d6efd;

    border:1px solid #0d6efd;
    border-radius:20px;

    padding:6px 16px;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:0.3s;
}

.lang-btn:hover{

    background:#0d6efd;
    color:white;

}

/* Hide Google UI */

.goog-te-banner-frame.skiptranslate{
    display:none !important;
}

body{
    top:0 !important;
}

.goog-te-gadget{
    display:none !important;
}
/* Hide Google Translate Top Bar */

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Hide translate popup frame */
iframe.skiptranslate {
    display: none !important;
}

/* Hide Google translate branding area */
.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget span,
.goog-logo-link {
    display: none !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 90px; /* Moved up */
    right: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 38px;
    height: 38px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px; /* Moved up on mobile too */
        right: 15px;
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}







/* =========================================================
   STAFF MEMBERS PAGE — STYLESHEET
   Theme: Royal Blue Premium
   ========================================================= */

/* ---------- 1. Root Variables ---------- */
:root {
  --color-primary: #0A66C2;
  --color-secondary: #1976D2;
  --color-accent: #64B5F6;
  --color-bg: #ffffff;
  --color-bg-soft: #eef6fd;
  --color-text: #222222;
  --color-text-muted: #5b6b7b;
  --color-white: #ffffff;

  --radius: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 10px 30px rgba(10, 102, 194, 0.10);
  --shadow-hover: 0 20px 45px rgba(10, 102, 194, 0.25);
  --shadow-glow: 0 0 0 3px rgba(100, 181, 246, 0.45), 0 20px 45px rgba(10, 102, 194, 0.28);

  --transition-fast: 0.25s ease;
  --transition-med: 0.45s cubic-bezier(0.22, 1, 0.36, 1);

  --font-main: 'Poppins', sans-serif;
}

/* ---------- 2. Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 3. Page Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- 4. Floating Decorative Icons ---------- */
.floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icons i {
  position: absolute;
  color: rgba(10, 102, 194, 0.08);
  font-size: 3rem;
  animation: float 9s ease-in-out infinite;
}

.icon-1 { top: 12%; left: 6%; animation-delay: 0s; font-size: 2.5rem; }
.icon-2 { top: 65%; left: 88%; animation-delay: 2s; font-size: 3.5rem; }
.icon-3 { top: 40%; left: 92%; animation-delay: 4s; font-size: 2rem; }
.icon-4 { top: 80%; left: 10%; animation-delay: 1s; font-size: 2.2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(8deg); }
}

/* ---------- 5. Hero / Header Section ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0A66C2 0%, #1976D2 55%, #3f8fe0 100%);
  color: #fff;
  padding: 6.5rem 1.5rem 9rem;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14) 0, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.10) 0, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 auto 2.3rem;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 110px;
}

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(10,102,194,0.3);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(10,102,194,0.4);
}

/* Ripple effect */
.ripple {
  position: relative;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(10, 102, 194, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ---------- 7. Controls (Search & Filter) ---------- */
.controls-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: -4.2rem auto 2.5rem;
  padding: 0 1.5rem;
}

.controls-wrap {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box, .filter-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1.5px solid #dce8f7;
  border-radius: 50px;
  padding: 0.7rem 1.2rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box { flex: 1 1 320px; }
.filter-box { flex: 1 1 220px; }

.search-box:focus-within, .filter-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(100, 181, 246, 0.25);
}

.search-box i, .filter-box i {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.search-box input, .filter-box select {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  background: transparent;
}

.filter-box select {
  cursor: pointer;
}

.result-count {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 0.3rem;
}

/* ---------- 8. Staff Grid Section ---------- */
.staff-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

@media (max-width: 1100px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .staff-grid { grid-template-columns: 1fr; }
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  display: none;
}

.no-results.show { display: block; }

/* ---------- 9. Staff Card ---------- */
.staff-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--color-primary);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 0.6s var(--transition-med) forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

.staff-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.staff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: border-color var(--transition-med);
  pointer-events: none;
}

.staff-card:hover::after {
  border-color: rgba(100, 181, 246, 0.6);
}

.card-photo-wrap {
  width: 108px;
  height: 108px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-bg-soft);
  box-shadow: 0 6px 18px rgba(10,102,194,0.18);
  position: relative;
}

.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.staff-card:hover .card-photo-wrap img {
  transform: scale(1.14);
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  background: var(--color-bg-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.staff-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--color-text);
}

.staff-card .designation {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.card-meta {
  text-align: left;
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-meta li,
.card-meta div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-meta i {
  width: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.card-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-intro {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.card-socials {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.card-socials a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-size: 0.85rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.card-socials a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.card-actions {
  display: flex;
  gap: 0.7rem;
}

.card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.83rem;
}

/* ---------- 10. Statistics Section ---------- */
.stats-section {
  position: relative;
  padding: 4.5rem 1.5rem;
  margin-top: 2rem;
  overflow: hidden;
  text-align: center;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg-soft), #f5faff 60%, #e3f1fd);
  z-index: -1;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med);
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.stat-card h3 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.stat-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- 11. Fade-Up Scroll Animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 12. Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 60, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: 22px;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 5;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 2.6rem 2rem 4.2rem;
  text-align: center;
  color: #fff;
  border-radius: 22px 22px 0 0;
  position: relative;
}

.modal-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  object-fit: cover;
  margin: 0 auto 1rem;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-header .designation {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.modal-content {
  padding: 1.8rem 2rem 2.2rem;
  margin-top: -2.2rem;
}

.modal-info-grid {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 520px) {
  .modal-info-grid { grid-template-columns: 1fr; }
}

.modal-info-grid div {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
}

.modal-info-grid i {
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.modal-info-grid strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.modal-section {
  margin-bottom: 1.4rem;
}

.modal-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

.tag.award {
  background: #fff4e0;
  color: #b8860b;
}

.modal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.modal-contact a {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #0d3a66, #0A66C2);
  color: #eaf3fc;
  padding: 3.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: #fff;
}

.footer-logo i {
  color: var(--color-accent);
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(234,243,252,0.8);
  margin-bottom: 1.1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.footer-col p, .footer-col li {
  font-size: 0.87rem;
  color: rgba(234,243,252,0.8);
  margin-bottom: 0.7rem;
}

.footer-col p i {
  margin-right: 0.5rem;
  color: var(--color-accent);
  width: 14px;
}

.footer-col ul li a {
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 0.7rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-icons a:hover {
  background: var(--color-accent);
  color: #0d3a66;
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(234,243,252,0.7);
}

/* ---------- 14. Utility / Lazy Image Placeholder ---------- */
img[loading="lazy"] {
  background: var(--color-bg-soft);
}
.empower-box{
    max-width: 1200px;      /* Reduce width (try 650px–750px) */
    width: 100%;
    margin: 0 auto;        /* Center the box */
    background: #fff;
    padding: 30px;         /* Reduced from 40px */
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    border-left: 6px solid #0d6efd;
    position: relative;
    overflow: hidden;
}

.empower-box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg,#051c77,#0d6efd,#4fa3ff);
}

.since-badge{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:7px 18px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.empower-box h2{
    font-size:2.2rem;
    color:#051c77;
    font-weight:700;
    line-height:1.3;
    margin-bottom:20px;
}

.empower-box p{
    font-size:1.08rem;
    color:#555;
    line-height:2;
    text-align:justify;
    margin:0;
}

.empower-box strong{
    color:#051c77;
    font-weight:600;
}

.empower-box:hover{
    transform:translateY(-5px);
    transition:.3s ease;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

@media(max-width:768px){
    .empower-box{
        padding:25px;
    }

    .empower-box h2{
        font-size:1.8rem;
    }

    .empower-box p{
        font-size:1rem;
        line-height:1.8;
    }
}


/* =========================================
   JAYDEEP MONE UDYOG KENDRA
   Stylish Information Box
   ========================================= */

.udyog-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #f4f8ff, #ffffff, #eef5ff);
}

.udyog-container {
    max-width: 1100px;
    margin: auto;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(13, 110, 253, 0.12);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.10),
        0 5px 15px rgba(13, 110, 253, 0.08);

    transition: all 0.4s ease;
}

/* Decorative top line */
.udyog-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(
        90deg,
        #051c77,
        #0d6efd,
        #5b8def
    );
}

/* Decorative circle */
.udyog-container::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.05);
    right: -70px;
    top: -70px;
    pointer-events: none;
}

/* Hover effect */
.udyog-container:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.13),
        0 8px 20px rgba(13, 110, 253, 0.10);
}

.udyog-header {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 55px;

    width: 100%;
    margin-bottom: 35px;
}

.udyog-logo {
    width: 190px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 5px solid #eaf1ff;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.udyog-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* shows the complete logo */
    padding: 10px;        /* increase if edges still feel close */
    box-sizing: border-box;
    background: #fff;
}


.udyog-container:hover .udyog-logo img {
    transform: scale(1.05);
}


/* Heading */
.udyog-heading {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}


.udyog-heading h2 {
    margin: 0;

    color: #062b91;

    font-size: 38px;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 0.3px;
}



/* Divider */
.udyog-divider {
    width: 115px;
    height: 5px;

    margin-top: 18px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #062b91,
        #0d6efd
    );
}

/* Content */
.udyog-content {
    position: relative;
    z-index: 2;
}

.udyog-content p {
    font-size: 16px;
    line-height: 1.85;

    color: #444;

    text-align: justify;

    margin-bottom: 22px;
}

.udyog-content p:last-child {
    margin-bottom: 0;
}


/* Highlight final paragraph */
.udyog-content p:last-child {
    background: #f4f8ff;

    padding: 20px 24px;

    border-left: 5px solid #0d6efd;

    border-radius: 10px;

    color: #263b68;

    font-weight: 500;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 768px) {

    .udyog-section {
        padding: 45px 15px;
    }

    .udyog-container {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .udyog-logo img {
        width: 125px;
        height: 125px;
    }

    .udyog-title {
        font-size: 25px;
    }

    .udyog-content p {
        font-size: 15px;
        line-height: 1.75;
        text-align: left;
    }
}


@media (max-width: 480px) {

    .udyog-container {
        padding: 35px 18px;
    }

    .udyog-logo img {
        width: 110px;
        height: 110px;
    }

    .udyog-title {
        font-size: 22px;
    }

    .udyog-divider {
        margin-bottom: 22px;
    }

    .udyog-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .udyog-content p:last-child {
        padding: 16px;
    }
}

/* =========================================
   IDD / JIDDA SCHOOL INFORMATION SECTION
   ========================================= */

.idd-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #f5f8ff, #ffffff, #eef5ff);
}

.idd-container {
    max-width: 1100px;
    margin: auto;
}


/* Header */

.idd-header {
    text-align: center;
    margin-bottom: 45px;
}

.idd-badge {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 30px;

    background: #e8f0ff;
    color: #0d6efd;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.idd-header h2 {
    margin: 14px 0 12px;

    font-size: 36px;
    font-weight: 800;

    color: #051c77;
}

.idd-line {
    width: 90px;
    height: 4px;

    margin: auto;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #051c77,
        #0d6efd
    );
}


/* Main Cards */

.idd-card {
    background: #ffffff;

    padding: 35px 40px;

    margin-bottom: 25px;

    border-radius: 22px;

    border: 1px solid rgba(13, 110, 253, 0.08);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);

    position: relative;

    overflow: hidden;
}

.idd-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: linear-gradient(
        #051c77,
        #0d6efd
    );
}

.idd-card h3 {
    color: #051c77;

    font-size: 24px;

    margin: 0 0 18px;

    font-weight: 750;
}

.idd-card p {
    color: #444;

    font-size: 16px;

    line-height: 1.85;

    text-align: justify;

    margin-bottom: 18px;
}

.idd-card p:last-child {
    margin-bottom: 0;
}


/* Highlight */

.idd-highlight {
    background: #f2f7ff;

    padding: 20px 25px;

    border-radius: 14px;

    border-left: 4px solid #0d6efd;

    margin: 25px 0;
}

.idd-highlight strong {
    color: #051c77;

    font-size: 18px;
}

.idd-highlight p {
    margin-top: 8px;
}


/* What is IDD */

.what-idd {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #f2f7ff
    );
}

.idd-icon {
    min-width: 55px;
    height: 55px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0d6efd;

    color: #ffffff;

    font-size: 23px;
}


/* History */

.history-box {
    display: flex;

    gap: 25px;

    align-items: center;

    margin-bottom: 25px;
}

.history-year {
    min-width: 120px;
    height: 120px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    background: linear-gradient(
        135deg,
        #051c77,
        #0d6efd
    );

    color: white;

    font-weight: 800;

    font-size: 18px;

    line-height: 1.15;

    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}


/* Skills */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin: 25px 0;
}

.skills-grid span {
    background: #f3f7ff;

    color: #263b68;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;
}


/* Achievement */

.achievement-box {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 20px;

    padding: 22px;

    background: #fff8e8;

    border-radius: 15px;

    border-left: 5px solid #f0a500;
}

.achievement-star {
    font-size: 35px;

    color: #f0a500;
}

.achievement-box strong {
    color: #7a4d00;
}


/* Closing */

.idd-closing {
    margin-top: 35px;

    padding: 35px 40px;

    border-radius: 22px;

    text-align: center;

    background: linear-gradient(
        135deg,
        #051c77,
        #0d6efd
    );

    color: white;

    box-shadow: 0 15px 35px rgba(5, 28, 119, 0.2);
}

.closing-icon {
    font-size: 28px;

    margin-bottom: 12px;
}

.idd-closing p {
    max-width: 850px;

    margin: auto;

    font-size: 17px;

    line-height: 1.8;

    font-weight: 500;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    .idd-section {
        padding: 45px 15px;
    }

    .idd-header h2 {
        font-size: 28px;
    }

    .idd-card {
        padding: 28px 22px;
    }

    .idd-card p {
        font-size: 15px;

        text-align: left;
    }

    .history-box {
        flex-direction: column;

        align-items: flex-start;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .what-idd {
        flex-direction: column;
    }
}


@media (max-width: 480px) {

    .idd-header h2 {
        font-size: 24px;
    }

    .idd-card h3 {
        font-size: 21px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .idd-closing {
        padding: 28px 20px;
    }
}