/********** Template CSS **********/
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-soft: #DBEAFE;
    --light: #EFF6FF;
    --dark: #103741;    
}
.custom-bg{
    background: var(--dark);
}
a{
    text-decoration: none !important;
    color: var(--primary);
}
/* body{
    font-family: 'Inter', Arial, Helvetica, sans-serif;

} */
/* Slider */
/* Parent container height */
.hero-section {
  height: 100vh;
}

/* Video column */
.video-section {
  height: 100%;
  overflow: hidden;
}
    
/* Background video */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Text overlay */
.video-overlay {
  position: relative;
  height: 100%;
  background: rgba(29, 29, 29, 0.13);
  z-index: 2;
}
/* button customm */
.btn-group .btn-org {
background: #ffffff !important;
color: var(--primary);
border: 2px solid var(--primary);
padding: 5px 10px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
text-decoration: none;
display: inline-block;
}

.btn-group .btn-org:hover {
background: var(--primary) !important;
color: #ffffff;
border: 1px solid #FFFFFF;
}

.btn-group .btn-org-outline {
background: #ffffff !important;
color: var(--primary);
border: 2px solid ;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
padding: 5px 10px;
text-decoration: none;
display: inline-block;
}

.btn-group .btn-org-outline:hover {
background: var(--primary);
color: #fff;
border: 1px solid #ffffff;
}

.btn-primary,
.btn.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* WhatsApp Floating Button */
/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  right: 44px;
  bottom: 152px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}



/* text animation / */  
.fade-text {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
    
/* Educational Animated Background */
.educational-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

.educational-icon {
    position: absolute;
    opacity: 0.1;
    color: var(--primary);
    font-size: 2rem;
    pointer-events: none;
    will-change: transform;
}

/* Icon 1 - Slides from left to right */
.educational-icon:nth-child(1) {
    top: 10%;
    left: -10%;
    font-size: 2.5rem;
    animation: slideRight 25s infinite linear;
    animation-delay: 0s;
}

/* Icon 2 - Slides from right to left */
.educational-icon:nth-child(2) {
    top: 20%;
    right: -10%;
    font-size: 1.8rem;
    animation: slideLeft 30s infinite linear;
    animation-delay: 2s;
}

/* Icon 3 - Moves diagonally top-right to bottom-left */
.educational-icon:nth-child(3) {
    top: -10%;
    left: 85%;
    font-size: 2.2rem;
    animation: diagonalDownLeft 35s infinite linear;
    animation-delay: 4s;
}

/* Icon 4 - Moves diagonally bottom-right to top-left */
.educational-icon:nth-child(4) {
    bottom: -10%;
    right: -10%;
    font-size: 1.5rem;
    animation: diagonalUpLeft 28s infinite linear;
    animation-delay: 1s;
}

/* Icon 5 - Slides from top to bottom */
.educational-icon:nth-child(5) {
    top: -10%;
    left: 10%;
    font-size: 2rem;
    animation: slideDown 32s infinite linear;
    animation-delay: 3s;
}

/* Icon 6 - Moves in a circular/arc pattern */
.educational-icon:nth-child(6) {
    top: 60%;
    left: -10%;
    font-size: 1.8rem;
    animation: arcMovement 40s infinite ease-in-out;
    animation-delay: 5s;
}

/* Icon 7 - Zigzag movement */
.educational-icon:nth-child(7) {
    top: 70%;
    left: -10%;
    font-size: 2.3rem;
    animation: zigzag 38s infinite ease-in-out;
    animation-delay: 2.5s;
}

/* Icon 8 - Slides from bottom to top */
.educational-icon:nth-child(8) {
    bottom: -10%;
    left: 80%;
    font-size: 1.7rem;
    animation: slideUp 27s infinite linear;
    animation-delay: 4.5s;
}

/* Icon 9 - Horizontal wave movement */
.educational-icon:nth-child(9) {
    top: 15%;
    left: -10%;
    font-size: 2rem;
    animation: horizontalWave 33s infinite ease-in-out;
    animation-delay: 1.5s;
}

/* Icon 10 - Vertical wave movement */
.educational-icon:nth-child(10) {
    top: -10%;
    left: 60%;
    font-size: 1.9rem;
    animation: verticalWave 29s infinite ease-in-out;
    animation-delay: 3.5s;
}

/* Icon 11 - Diagonal movement with rotation */
.educational-icon:nth-child(11) {
    top: 25%;
    left: -10%;
    font-size: 2.1rem;
    animation: diagonalRotate 36s infinite linear;
    animation-delay: 0.5s;
}

/* Icon 12 - Figure-8 movement */
.educational-icon:nth-child(12) {
    top: 50%;
    left: -10%;
    font-size: 1.6rem;
    animation: figureEight 42s infinite ease-in-out;
    animation-delay: 5.5s;
}

/* Slide Right Animation */
@keyframes slideRight {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateX(calc(100vw + 20px)) translateY(30px) rotate(180deg);
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(200vw + 40px)) translateY(0) rotate(360deg);
        opacity: 0.1;
    }
}

/* Slide Left Animation */
@keyframes slideLeft {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateX(calc(-100vw - 20px)) translateY(-30px) rotate(-180deg);
        opacity: 0.15;
    }
    100% {
        transform: translateX(calc(-200vw - 40px)) translateY(0) rotate(-360deg);
        opacity: 0.1;
    }
}

/* Diagonal Down Left Animation */
@keyframes diagonalDownLeft {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    100% {
        transform: translateX(calc(-100vw - 50px)) translateY(calc(100vh + 50px)) rotate(360deg);
        opacity: 0.1;
    }
}

/* Diagonal Up Left Animation */
@keyframes diagonalUpLeft {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    100% {
        transform: translateX(calc(-100vw - 50px)) translateY(calc(-100vh - 50px)) rotate(-360deg);
        opacity: 0.1;
    }
}

/* Slide Down Animation */
@keyframes slideDown {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(calc(100vh + 20px)) translateX(50px) rotate(180deg);
        opacity: 0.15;
    }
    100% {
        transform: translateY(calc(200vh + 40px)) translateX(0) rotate(360deg);
        opacity: 0.1;
    }
}

/* Slide Up Animation */
@keyframes slideUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(calc(-100vh - 20px)) translateX(-50px) rotate(-180deg);
        opacity: 0.15;
    }
    100% {
        transform: translateY(calc(-200vh - 40px)) translateX(0) rotate(-360deg);
        opacity: 0.1;
    }
}

/* Arc Movement Animation */
@keyframes arcMovement {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateX(50vw) translateY(-30vh) rotate(90deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(110vw) translateY(0) rotate(180deg);
        opacity: 0.12;
    }
    75% {
        transform: translateX(50vw) translateY(30vh) rotate(270deg);
        opacity: 0.15;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        opacity: 0.1;
    }
}

/* Zigzag Movement */
@keyframes zigzag {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    20% {
        transform: translateX(30vw) translateY(-20vh) rotate(45deg);
        opacity: 0.15;
    }
    40% {
        transform: translateX(60vw) translateY(20vh) rotate(-45deg);
        opacity: 0.12;
    }
    60% {
        transform: translateX(90vw) translateY(-15vh) rotate(30deg);
        opacity: 0.15;
    }
    80% {
        transform: translateX(120vw) translateY(10vh) rotate(-30deg);
        opacity: 0.12;
    }
    100% {
        transform: translateX(150vw) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
}

/* Horizontal Wave Movement */
@keyframes horizontalWave {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateX(40vw) translateY(-40px) rotate(90deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(110vw) translateY(0) rotate(180deg);
        opacity: 0.12;
    }
    75% {
        transform: translateX(40vw) translateY(40px) rotate(270deg);
        opacity: 0.15;
    }
}

/* Vertical Wave Movement */
@keyframes verticalWave {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateX(-40px) translateY(-30vh) rotate(-90deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(0) translateY(calc(-100vh - 50px)) rotate(-180deg);
        opacity: 0.12;
    }
    75% {
        transform: translateX(40px) translateY(-30vh) rotate(-270deg);
        opacity: 0.15;
    }
}

/* Diagonal Rotate Movement */
@keyframes diagonalRotate {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(calc(100vh + 50px)) rotate(720deg);
        opacity: 0.1;
    }
}

/* Figure-8 Movement */
@keyframes figureEight {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateX(30vw) translateY(-40vh) rotate(90deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(110vw) translateY(0) rotate(180deg);
        opacity: 0.12;
    }
    75% {
        transform: translateX(30vw) translateY(40vh) rotate(270deg);
        opacity: 0.15;
    }
}

/* Ensure content is above background */
.container-fluid.page-bg,
.container-fluid {
    position: relative;
    z-index: 1;
}

/* Mobile responsive - reduce icons on small screens */
@media (max-width: 768px) {
    .educational-icon {
        font-size: 1.2rem;
        opacity: 0.06;
    }
    
    .educational-icon:nth-child(n+7) {
        display: none;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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-weight: 500;
    transition: .5s;
}

.btn-animate {
    animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
        transform: translateY(-2px);
    }
}

/* Global animated background for main page */
.page-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #dbeafe 100%);
}

.page-bg::before,
.page-bg::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(50% 40% at 30% 30%, rgba(37, 99, 235, 0.12), transparent 55%),
                radial-gradient(55% 45% at 70% 50%, rgba(29, 78, 216, 0.10), transparent 60%);
    opacity: 0.55;
    filter: blur(14px);
    animation: bg-wave 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.page-bg::after {
    background: radial-gradient(45% 35% at 20% 60%, rgba(37, 99, 235, 0.10), transparent 60%),
                radial-gradient(60% 40% at 80% 25%, rgba(29, 78, 216, 0.12), transparent 55%);
    opacity: 0.35;
    animation-duration: 26s;
    animation-direction: alternate-reverse;
}

@keyframes bg-wave {
    0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
    50%  { transform: translate3d(3%, 2%, 0) scale(1.02); }
    100% { transform: translate3d(-1%, 1%, 0) scale(1.035); }
}
.btn.btn-primary {
    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: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
   font-family: system-ui;
    font-weight: 700;
}

/* Animated underline for selected headings only */
.heading-underline {
    position: relative;
    display: inline-block;
    animation: heading-title-in 0.7s ease-out both;
}

.heading-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px; /* lower line */
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: heading-underline-grow 0.6s ease-out forwards;
}

.heading-underline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px; /* upper line, closer to text */
    width: 0;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    animation: heading-underline-grow-thin 0.6s ease-out 0.1s forwards;
}

@keyframes heading-underline-grow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60%;
        opacity: 1;
    }
}

@keyframes heading-underline-grow-thin {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 40%;
        opacity: 1;
    }
}

@keyframes heading-title-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About section dynamic accents */
.about-text-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
}

.about-text-card::before {
    content: "";
    position: absolute;
    inset: -120% -120%;
    background: linear-gradient(120deg, transparent 30%, rgba(37, 99, 235, 0.16), transparent 70%);
    animation: about-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

.about-text-card::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

@keyframes about-shine {
    from { transform: translate(-30%, -30%) rotate(12deg); }
    to   { transform: translate(30%, 30%) rotate(12deg); }
}

.about-img img {
    animation: about-float-slow 10s ease-in-out infinite;
}

@keyframes about-float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Subtle animated background behind About block */
.about-block-anim {
    position: relative;
    overflow: hidden;
}

.about-block-anim::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(50% 50% at 20% 20%, rgba(37, 99, 235, 0.12), transparent 60%),
        radial-gradient(55% 55% at 80% 60%, rgba(29, 78, 216, 0.09), transparent 65%),
        repeating-linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.035) 0,
            rgba(37, 99, 235, 0.035) 1px,
            transparent 16px
        );
    opacity: 0.4;
    filter: blur(6px);
    animation: about-bg-wave 24s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.about-block-anim > * {
    position: relative;
    z-index: 1;
}

@keyframes about-bg-wave {
    0%   { transform: translate3d(-1%, -1%, 0) scale(1); }
    50%  { transform: translate3d(1%, 1%, 0) scale(1.01); }
    100% { transform: translate3d(-0.5%, 0.5%, 0) scale(1.015); }
}

/* Animated background for About section */
.about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #dbeafe 100%);
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 45%),
                radial-gradient(circle at 80% 30%, rgba(29, 78, 216, 0.08), transparent 50%);
    opacity: 0.4;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
}

.about-section::after {
    content: "";
    position: absolute;
    inset: -10% -10%;
    background:
        radial-gradient(150% 60% at 20% 40%, rgba(59, 130, 246, 0.14), transparent 55%),
        radial-gradient(140% 60% at 80% 60%, rgba(29, 78, 216, 0.10), transparent 55%),
        repeating-linear-gradient(
            120deg,
            rgba(37, 99, 235, 0.04) 0,
            rgba(37, 99, 235, 0.04) 1px,
            transparent 14px
        );
    opacity: 0.75;
    filter: blur(1.4px);
    animation: about-waves 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes about-waves {
    0%   { transform: translate3d(-2%, -3%, 0) scale(1); }
    50%  { transform: translate3d(3%, 2%, 0) scale(1.015); }
    100% { transform: translate3d(-1%, 1%, 0) scale(1.03); }
}
.about-section > .container {
    position: relative;
    z-index: 1;
    text-align: justify;
}


h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.25s ease;
}

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

/* Keep active link dark by default; turn primary only on hover */
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

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

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}
/* NAV LINK BASE */
.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 25px 15px;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* COLOR CHANGE ON HOVER */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* UNDERLINE (HIDDEN BY DEFAULT) */
.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 15px; /* adjust underline position */
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

/* SHOW UNDERLINE ON HOVER + ACTIVE */
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link::after {
        display: none;
    }
}

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

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

/* Click-based dropdown - Bootstrap default behavior */
.navbar .nav-item .dropdown-menu {
    display: none;
}

.navbar .nav-item .dropdown-menu.show {
    display: block;
}

/* @media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: visible;
        transition: .5s;
    }

    .navbar .nav-item .dropdown-menu.show {
        top: 100%;
        visibility: hidden;
        transition: .5s;
        opacity: 1;
    }
} */


/*** Header ***/
/* .header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
} */

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }

}

/* Swipper slider */
/* ===== Desktop / Laptop ===== */
.swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; /* Desktop: robot & child safe */
  display: block;
}

/* Static content */
.carousel-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 420px;
  color: #fff;
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .swiper {
    height: 80vh;
  }

  .swiper-slide img {
    object-position: center center;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .swiper {
    height: 70vh;
  }

  .swiper-slide img {
    object-fit: contain;        /* NO CUT on mobile */
    object-position: center;
    background: #000;           /* optional */
  }

  .carousel-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.5); /* readability */
  }
}

/* ===== Small Mobile ===== */
@media (max-width: 480px) {
  .swiper {
    height: 60vh;
  }

  .carousel-content h1 {
    font-size: 1.6rem;
  }

  .carousel-content p {
    font-size: 0.9rem;
  }
}


/* Mobile responsive */
@media (max-width: 768px) {
  .carousel-content {
    text-align: center;
  }

  .carousel-content h1 {
    font-size: 2rem;
  }
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes (Book cards with hover reveal) ***/
.classes-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.classes-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.classes-item .slide {
    width: 100%;
    transition: 0.4s ease;
}

/* Image block stays fixed but gently zooms on hover */
.classes-item .slide.slide1 {
    transform: translateY(0);
    overflow: hidden;
}

.classes-item .slide.slide1 img {
    transition: transform 0.5s ease;
}

.classes-item:hover .slide.slide1 img {
    transform: scale(1.05);
}

/* Details panel hidden above, slides down on hover and covers image */
.classes-item .slide.slide2 {
    position: relative;
    transform: translateY(-100%);
    opacity: 0;
    background: #ffffff;
    z-index: -2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.classes-item:hover .slide.slide2 {
    transform: translateY(0);
    opacity: 1;
}


/*** Team ***/
.team-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-item .team-text {
    position: absolute;
    width: 220px;
    height: 114px;
    bottom: -101px;
    right: -16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 10px solid var(--light);
    border-radius: 87px;
    transition: .5s;
}


.team-item:hover .team-text {
    border-color: var(--primary);
}
.team-text P{
margin-bottom: 0 !important;

}
/* Your mobile styles here */
  .team-item .team-text h3{
    font-size: 1.1rem;
}

/* 3D Pop-up Modal Styles */
.team-modal-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.team-modal-3d.active {
    display: flex;
}

.team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-modal-3d.active .team-modal-overlay {
    opacity: 1;
}

.team-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    transform-style: preserve-3d;
    transform: rotateX(90deg) scale(0.5);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.team-modal-3d.active .team-modal-container {
    transform: rotateX(0deg) scale(1);
    opacity: 1;
}

.team-modal-card-3d {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform-style: preserve-3d;
    position: relative;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(2deg);
    }
}

@keyframes modalEntrance {
    0% {
        transform: rotateX(90deg) scale(0.5) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg) scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalExit {
    0% {
        transform: rotateX(0deg) scale(1) translateY(0);
        opacity: 1;
    }
    100% {
        transform: rotateX(-90deg) scale(0.5) translateY(-100px);
        opacity: 0;
    }
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.team-modal-close i {
    font-size: 22px;
    color: var(--dark);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-modal-close:hover i {
    color: white;
}

.team-modal-content {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 25px;
}

.team-modal-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

/* .team-modal-card-3d:hover .team-modal-image-wrapper {
    transform: translateZ(30px) scale(1.05  );
} */

.team-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* .team-modal-card-3d:hover .team-modal-image {
    transform: scale(1.1);
} */

.team-modal-details {
    text-align: center;
    transform: translateZ(10px);
}

.team-modal-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Lobster Two', cursive;
}

.team-modal-role {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-modal-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.team-modal-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 2px solid var(--light);
}

.team-modal-contact p {
    margin: 0;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.team-modal-contact i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-modal-container {
        width: 95%;
        max-width: 100%;
    }
    
    .team-modal-content {
        padding: 20px;
    }
    
    .team-modal-image-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .team-modal-name {
        font-size: 1.5rem;
    }
    
    .team-modal-role {
        font-size: 1rem;
    }
    
    .team-modal-description {
        font-size: 0.9rem;
    }
}

/* Mobile devices (up to 767px) */
@media (max-width: 767px) {
    .team-item .team-text {
    bottom: 5px;
    right: 0;
    font-size: 16px;
    margin: 0;
    width: 170px;
    height: 90px;
    border: 8px solid rgba(255,255,255,0.5);
}
  /* Your mobile styles here */
  .team-item .team-text h3{
    font-size: 1rem;
}
 .team-item .team-text p{
    font-size: 0.75rem;
/*** Footer ***/
 }
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(191, 219, 254, 0.4);
    border-radius: 45px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer {
    background:
        linear-gradient(135deg, #123a7a 0%, #2563eb 58%, #60a5fa 100%) !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(191, 219, 254, 0.12);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(219, 234, 254, 0.18), transparent 32%),
        radial-gradient(circle at 85% 25%, rgba(96, 165, 250, 0.18), transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(239, 246, 255, 0.12), transparent 28%);
    pointer-events: none;
    animation: footerGlowShift 14s ease-in-out infinite alternate;
}

.footer > .container {
    position: relative;
    z-index: 1;
}

.footer .row.g-5 > div:nth-child(1) {
    animation: footerFadeUp 0.7s ease-out both;
}

.footer .row.g-5 > div:nth-child(2) {
    animation: footerFadeUp 0.7s ease-out 0.12s both;
}

.footer .row.g-5 > div:nth-child(3) {
    animation: footerFadeUp 0.7s ease-out 0.24s both;
}

.footer .row.g-5 > div:nth-child(4) {
    animation: footerFadeUp 0.7s ease-out 0.36s both;
}

.footer .btn.btn-social:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.footer .btn.btn-social.social-instagram:hover {
    border-color: #e1306c;
    background: #e1306c;
    box-shadow: 0 14px 28px rgba(225, 48, 108, 0.32);
}

.footer .btn.btn-social.social-facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
    box-shadow: 0 14px 28px rgba(24, 119, 242, 0.32);
}

.footer .btn.btn-social.social-youtube:hover {
    border-color: #ff0000;
    background: #ff0000;
    box-shadow: 0 14px 28px rgba(255, 0, 0, 0.28);
}

.footer .btn.btn-social.social-linkedin:hover {
    border-color: #0a66c2;
    background: #0a66c2;
    box-shadow: 0 14px 28px rgba(10, 102, 194, 0.3);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    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 {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(4px);
}

.footer h3,
.footer .copyright a,
.footer .btn.btn-link::before,
.footer i {
    color: #dbeafe;
}

.footer p,
.footer .text-white-50,
.footer .btn.btn-link {
    color: rgba(219, 234, 254, 0.82) !important;
}

.footer .form-control {
    border-color: rgba(191, 219, 254, 0.4);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(191, 219, 254, 0.16);
    margin-top: 1.25rem;
}

.footer .copyright a {
    color: #FFFFFF;
}

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

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: #ffffff !important;
    font-weight: 700;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

@keyframes footerGlowShift {
    0% {
        transform: translate3d(-1.5%, 0, 0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translate3d(1.5%, -1%, 0) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translate3d(-1%, 1%, 0) scale(1.03);
        opacity: 0.9;
    }
}

@keyframes footerFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.modal-backdrop {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: -1 !important;
}
.modal-content {
    width: 90% !important;
}
/* About Header image  */
.page-header {
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),  url("../img/aboutus.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* icon animation */
.bubble-container{
    display:flex;
    justify-content:center;
    gap:50px;
    z-index:999;
    position:absolute;
    left:75%;
    top:50%;
    transform:translate(-50%,-50%);
}

/* Bubble Style */
.bubble{
    width:50px;
    height:50px;
    /* background:rgb(221,221,221); */
    border-radius:10%;
    display:flex;
    justify-content:center;
    align-items:center;
    /* box-shadow:0 10px 25px rgba(0,0,0,0.15); */
    opacity: 0;
    animation: blinkPop 7s ease-in-out infinite;
}

/* Icon */
.bubble img{
    width:90px;
    /* border: 1px solid rgba(255,255,255,0.5);
} */
}

/* Stagger Timing */
.bubble:nth-child(1){ animation-delay:2.1s; }
.bubble:nth-child(2){ animation-delay:3.1s; }
.bubble:nth-child(3){ animation-delay:4.1s; }
.bubble:nth-child(4){ animation-delay:5.1s; }
.bubble:nth-child(5){ animation-delay:6.1s; }
.bubble:nth-child(6){ animation-delay:7.1s; }
.bubble:nth-child(7){ animation-delay:8.1s; }
.bubble:nth-child(8){ animation-delay:9.1s; }

/* Blink + Pop Animation */
@keyframes blinkPop{

    0%{
        opacity:0;
        transform:scale(0.5);
    }

    40%{
        opacity:1;
        transform:scale(1.2);
    }

    60%{
        transform:scale(0.9);
        opacity: 1;
    }

    80%{
        transform:scale(1);
        opacity:1;
    }

    100%{
        opacity:0;
        transform:scale(0.5);
    }
}
