/* =================================
   General Styles
================================= */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --purple-color: #6f42c1;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* =================================
   Top Bar Styles
================================= */
.top-bar {
    font-size: 14px;
    transition: all 0.3s ease;
}

.top-info span {
    transition: color 0.3s ease;
}

.top-info span:hover {
    color: #ffc107 !important;
    cursor: pointer;
}

/* Phone ring animation */ 
.phone-ring i { animation: ring 1.5s infinite; }
@keyframes ring { 0% { transform: rotate(0deg); } 10% { transform: rotate(15deg); } 20% { transform: rotate(-15deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-10deg); } 50% { transform: rotate(5deg); } 60% { transform: rotate(-5deg); } 70% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } }

.top-links .btn {
    font-size: 13px;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.top-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

.social-link:hover {
    background-color: rgba(255,255,255,0.2);
    color: #ffc107;
    transform: translateY(-3px);
}

/* =================================
   Navbar Styles
================================= */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.custom-navbar {
  background-color: var(--transwhite-color) !important;
}

.school-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.school-logo:hover {
    transform: rotate(360deg);
}

.school-info h5 {
    font-size: 20px;
    line-height: 1.2;
}

.school-info small {
    font-size: 10px;
}
/* Nav Bar barand */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
	filter: drop-shadow(0 0 0.75rem rgba(229,229,230,0.5));
}

.brand-text {
    line-height: 1.2;
}

.school-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.school-meta small {
    font-size: 10px;
    color: #666;
}
/*nav bar brabd  */


/*--add new --*/
.gradient-text {
  background: linear-gradient(90deg, #b80000, #ff5e00, #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* Brand logo bigger */ 
.logo-img { width: 75px; height: 75px; transition: all 0.3s ease; } 
.school-name { font-size: 17px; font-weight: 650;  }/*color: var(--primary-color); */
.school-name {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.school-subtitle { font-size: 10px; color: #333; }
.school-meta small { font-size: 13px; color: #666; } 
/* Shrink on scroll */ 
.navbar.shrink .logo-img { width: 50px; height: 50px; } 
.navbar.shrink .school-name { font-size: 15px; }
.navbar.shrink .school-meta small { font-size: 10px; }

/* Reduce on mobile */
@media (max-width: 991.98px) {
    .school-name {
        font-size: 13px;
    }
    .logo-img { width: 65px; height: 65px; transition: all 0.3s ease; }
    .school-meta small { font-size: 10px; color: #666; } 
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .school-name {
        font-size: 10px;
    }
    .logo-img { width: 50px; height: 50px; transition: all 0.3s ease; }
    
    .school-meta small { font-size: 8px; color: #666; } 
}

/*******New added ---*/
/* Premium School Brand Name */
.school-name {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;

  /* Perfect responsive scaling */
  font-size: clamp(14px, 2.2vw, 20px);

  /* Always single line */
  white-space: nowrap;

  /* Smooth look */
  line-height: 1.1;
  margin-bottom: 0;
}

/* Ultra Premium Gradient */
.gradient-text {
  background: linear-gradient(
    90deg,
    #8b0000,
    #ff4d00,
    #ff9900,
    #ffd700
  );
  background-size: 200% auto;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  display: inline-block;

  /* Smooth shine effect */
  animation: shine 5s linear infinite;
}

/* Subtle premium animation */
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
/******* End of New added ---*/
/* ================================
   NAVBAR BASE STYLE (DESKTOP)
================================ */

/* Main nav links */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 18px !important;
    margin: 0 4px;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover & Active Color */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--warning-color);
}

/* Underline animation (DESKTOP ONLY) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--warning-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* ================================
   DROPDOWN DESKTOP STYLE
================================ */

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 8px 0;
    margin-top: 12px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255,193,7,0.15);
    padding-left: 25px;
}

/* ================================
   MOBILE STYLE (Below 992px)
================================ */

@media (max-width: 991px) {

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

    .dropdown-toggle::after {
        content: "+";
        border: none;
        float: right;
        font-weight: 700;
        color: var(--primary-color);
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        content: "-";
    }

    .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 15px;
    }
}

/* =================================
   Hero Carousel Styles
================================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
	margin-top: 2px;
}

.hero-slider .item {
    min-height: 650px;
    display: flex;
    align-items: stretch; /* Stretch to fill container */
   /* align-items: center;*/
}

.hero-content {
   	background: rgb(57 55 55 / 65%);
    border-radius: 15px;
    margin: 20px;
}
/*
.hero-content {
  background: rgba(57, 55, 55, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-radius: 15px;
  padding: 40px 35px;
  max-width: 620px;

  margin: 20px;
  color: #fff;
}
*/
.hero-content h1 {
    animation: fadeInDown 1s ease;
}

.hero-content p {
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: bounceIn 1.5s ease;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display:block;
}



/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px !important;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
    background: var(--warning-color) !important;
}

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

.owl-carousel .owl-nav .owl-next {
    right: 20px;
}
/*
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 10px;
} */
/*added code  */
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 5;
}
/* Remove bottom spacing from carousel */
.hero-carousel,
.hero-slider,
.owl-carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* end of new addition */
.owl-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    background: var(--warning-color);
    width: 30px;
    border-radius: 10px;
}

/*
@media (max-width: 768px) {
    .hero-slider .item {
        min-height: 400px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}
*/
/* ================================
   MOBILE FIX (IMPORTANT)
================================ */
@media (max-width: 768px) {

  /* Reduce hero height */
  .hero-slider .item {
    min-height: 360px;
  }

  .hero-image {
    height: 360px;
  }

  /* Make hero-content fit inside image */
  .hero-content {
    max-width: 100%;
    padding: 16px 12px;
    margin: 0 auto;
    text-align: center;
  }

  /* Smaller heading */
  .hero-title {
    font-size: 0.70rem;
    margin-bottom: 10px;
   /* white-space: nowrap;*/
  }

  /* Hide or shrink paragraph */
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  /* Stack buttons */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
  }
}

/* ================================
   VERY SMALL DEVICES
================================ */
@media (max-width: 480px) {

  .hero-slider .item {
    min-height: 320px;
  }

  .hero-image {
    height: 320px;
  }

  .hero-title {
    font-size: 1.29rem;
  }

  .hero-subtitle {
    display: none; /* optional but recommended */
  }
}

/* =================================
   Section Header Styles
================================= */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--success-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* =================================
   Our Benefits Section
================================= */
.our-benefits {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.benefit-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.benefit-box:hover .benefit-icon {
    transform: rotateY(360deg);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.6;
}

/* Custom Background Colors */
.bg-primary-light {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.bg-success-light {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.bg-warning-light {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.bg-info-light {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.bg-danger-light {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.bg-purple-light {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.text-purple {
    color: var(--purple-color);
}

/* =================================
   Footer Styles
================================= */
/*
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.footer h5 {
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--warning-color) !important;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
}


/* =================================
   Footer Styles
================================= */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.footer h5 {
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
	filter: drop-shadow(0 0 0.50rem rgba(229,229,230,0.5));
   /* background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255,255,255,0.2); n*/ 
	
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
	 color: var(--warning-color) !important;
}

.footer-links a:hover {
    color: var(--warning-color) !important;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
}

/* Animated Footer Elements */
.footer-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
    z-index: 1;
}

.float-element {
    position: absolute;
    color: #fff;
    font-size: 40px;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.school-bag {
    top: 10%;
    left: 5%;
    animation-name: float1;
    font-size: 50px;
}

.pencil-1 {
    top: 20%;
    right: 10%;
    animation-name: float2;
    animation-duration: 12s;
}

.book-1 {
    bottom: 30%;
    left: 15%;
    animation-name: float3;
    animation-duration: 18s;
}

.pencil-2 {
    top: 60%;
    right: 20%;
    animation-name: float1;
    animation-duration: 14s;
}

.backpack {
    bottom: 20%;
    right: 5%;
    animation-name: float2;
    font-size: 45px;
}

.ruler {
    top: 40%;
    left: 8%;
    animation-name: float3;
    animation-duration: 16s;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(0, -40px) rotate(0deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(-5deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-30px, 20px) rotate(-10deg);
    }
    66% {
        transform: translate(30px, -30px) rotate(10deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(15px, 15px) rotate(3deg);
    }
    40% {
        transform: translate(-15px, 30px) rotate(-3deg);
    }
    60% {
        transform: translate(15px, -15px) rotate(3deg);
    }
    80% {
        transform: translate(-15px, -30px) rotate(-3deg);
    }
}
/*new addition  */

/* Footer text visibility fix */
.footer,
.footer .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Footer icons */
.footer i {
  color: #ffc107;
}

/* Footer links */
.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}



/* =================================
   Scroll to Top Button
================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* =================================
   Animations
================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* =================================
   Responsive Design
================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .benefit-box {
        margin-bottom: 20px;
    }
}




/* WhatsApp Floating Button */
/* Tooltip */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 95px; /* just above scroll button */
    right: 30px;  /* align same as scroll button */
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

/* Hover */
.whatsapp-float:hover {
    transform: translateY(-5px);
    background: #1ebe5d;
}

/* Tooltip Text */
.wa-tooltip {
    position: absolute;
    right: 65px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Tooltip Arrow */
.wa-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #000;
}

/* Show Tooltip on Hover */
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}
/* Icon */
.whatsapp-float i {
    color: #fff !important;
}

/* Pulse Animation */
/* Pulse Animation */
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}


/* Base Style For Social Buttons */
.social-float {
    position: fixed;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Facebook */
.facebook-float {
    bottom: 160px; /* top position */
    background: #1877F2;
}

.facebook-float:hover {
    background: #0f5ed7;
    transform: translateY(-5px);
}

/* WhatsApp */
.whatsapp-float {
    bottom: 95px;
    background: #25D366;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-5px);
}

/* Scroll */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Pulse Only For WhatsApp */
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 65px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustment */
@media (max-width: 576px) {
    .social-float,
    .scroll-to-top {
        right: 15px;
    }
}
