/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body{
font-family:'Poppins',sans-serif;
background:var(--background);
color:var(--text);
line-height: 150%;
font-size: 14px;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: inline-block;
}
/* SCHOOL BRAND COLORS */
:root{

--primary:#1b5e20;      /* deep school green */
--secondary:#2e7d32;    /* medium green */
--accent:#c62828;       /* school red accent */
--background:#f5f9f6;   /* light greenish background */
--text:#1f2933;
--muted:#6c757d;
--card-bg:#ffffff;
--border-soft:#e4efe7;
}

a {text-decoration:none;}
/* NAVBAR */

.navbar{
box-shadow:0 0 10px rgba(15,23,42,0.06);
background:#ffffff;
}

.navbar-nav .nav-link{
font-weight:500;
font-size: 16px;
margin-left:10px;
color:var(--text);
position:relative;
transition:color 0.3s ease;
}
.nav-link:hover{
  color: #1D0A5C;
}
.btn-primary {
    border-radius: 50px;
    background-color: #1D0A5C;
}

/**/
.hero-section {
  display: flex;
  overflow: hidden;
}
/* LEFT */
.tag {
  background: #e6e2f7;
  color: #6c4bff;
  width: 100%;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
}

.hero-section h1 {
  font-size: 48px;
  color: #1D0A5C;
  line-height: 1.2;
   font-family: 'Poppins', sans-serif;
   font-weight: 700;
}

.hero-section h1 span {
  color: #6C4BFF;

}
.hero-left {
    padding: 50px;
}

.hero-left p {
  margin: 20px 0;
  color: #b0a2ee;
  line-height: 1.6;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #6C4BFF;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.primary:hover {
    background: #1D0A5C;
    color: white;
}
.secondary {
  background: #e6e2f7;
  color: #6C4BFF;
    font-size: 14px;
  font-weight: 500;
}
.secondary:hover {
    color: #e6e2f7;
    background: #1D0A5C;
 }
/* RIGHT */
.hero-right {
  position: relative;
  background: #e9e6f7;
  display: flex;
  justify-content: center;
  align-items: center;
}


.circle img {
   width: 350px;
  height: 350px;
  border: 5px solid #6C4BFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  background: #fff;
}

.card {
  position: absolute;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
}

.card strong {
  color: #6C4BFF;
  font-size: 18px;
}

.card p {
  font-size: 12px;
  color: #777;
}

.card.top {
  top: 20px;
  right: 20px;
}

.card.bottom {
  bottom: 20px;
  left: 20px;
}

/* SECTION TITLES */
.title {
    font-weight: 500;
    font-size: 18px;
    color: #6C4BFF;
}
.section-title{
font-weight:700;
margin-bottom:30px;
color: #1D0A5C;
}

/* ICON BOX */
.icon-box{
background:var(--card-bg);
padding:35px;
border-radius:16px;
box-shadow:0 12px 35px rgba(15,23,42,0.06);
transition:transform 0.4s ease, box-shadow 0.4s ease;
border-top:4px solid #1D0A5C;
height: 100%;
}
.icon-box:hover{
transform:translateY(-10px);
box-shadow:0 18px 50px rgba(15,23,42,0.12);
}
.icon-box i{
font-size:42px;
 color: #6C4BFF;
}
.icon-box h4, h5{
   color: #1D0A5C;
}

.stats{
 box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
 background-color: white;
}

.stats h2{
font-size:35px;
font-weight:600;
color: #6C4BFF;
padding-top: 15px;
}
.stats p{
font-size:16px;
padding-bottom: 15px;
}
.border-left {
    border-left: 1px solid rgb(185, 178, 178);
}
/*What We Offer*/
.we-offer {
    background-color: white;
    border-radius: 10px;
    border: 1px solid rgb(185, 178, 178);
    padding: 15px;
    height: 100%;
}
.we-offer:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.we-offer i{
    font-size: 22px;
    background-color: #6C4BFF;
    padding: 14px;
    color: white;
    border-radius: 50px;
    margin-bottom: 10px;
}
.we-offer h5 {
    color: #1D0A5C;
    font-weight: 600;
}
.we-offer p {
    color: #79797d;
}

/* GALLERY */
.gallery img{
height:230px;
object-fit:cover;
border-radius:14px;
transition:0.4s;
}
.gallery img:hover{
transform:scale(1.06);
box-shadow:0 16px 40px rgba(15,23,42,0.35);
}

.btn-success{
background:var(--secondary);
border:none;
}

.btn-success:hover{
background:#1b5e20;
}

.btn-warning{
background:var(--accent);
border:none;
color:#ffffff;
}
.btn-warning:hover{
background:#a51e1e;
}

/* FOOTER */
.footer{
background:#1D0A5C;
color:#cbd5f5;
}

.footer h5{
color:#ffffff;
margin-bottom:15px;
}

.footer a{
color:#cbd5f5;
text-decoration:none;
}
.footer a:hover{
color: #6C4BFF;
}

/* SCROLL BUTTON */
#topBtn{
position:fixed;
bottom:20px;
right:20px;
display:none;
border-radius:50%;
padding: 10px;
width:45px;
height:45px;
background: #6C4BFF;
color:white;
}
/* SIMPLE ATTRACTIVE BANNER */
.simple-banner {
background-image: linear-gradient(135deg, rgba(29,10,92,0.5) 0%, rgba(93,63,191,0.5) 100%), url('../images/bg.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;    
color: white;
padding: 5% 0%;
position: relative;
overflow: hidden;
}
.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.banner-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    animation: iconBounce 2s infinite;
}
.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}
.banner-text {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}
.banner-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.info-item i {
    color: #4ade80;
    font-size: 1.1rem;
}
/* Simple Banner Animations */
@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@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);
    }
}



.why-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  border-left: 6px solid transparent;
}

.why-card:hover {
  transform: translateY(-5px);
}
.bg1 { background: #cfe0ff; }
.bg2 { background: #ffd9c2; }
.bg3 { background: #c9f5df; }
.bg4 { background: #e2ccff; } 
.bg5 { background: #ffe8b3; } 
.bg6 { background: #ccefff; }
.bg7 { background: #e0e0e0; }
.bg8 { background: #d6e9ff; }

.why-icon {
  background: #1D0A5C;
  color: #fff;
  padding: 5px;
  font-size: 24px;
  border-radius: 6px;
  margin-right: 20px;
}
.why-content p {
  margin-top: 8px;
  font-size: 15px;
  color: #666;
}

/* CBSE BOARD PAGE STYLES */
#benefits {
    background-color: #6c4bff;
    color: white;
}
.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}
/*Academic Structure*/
.structure-details {
    padding: 30px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    color: #1D0A5C;
    padding: 8px 0;
    position: relative;
    font-weight: 500;
}
/*Academic Structure*/
.sport-card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  text-align: center;
  background-color: white;
  padding: 15px;
  height: 100%;
}
.sport-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.structure-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31, 58, 95, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.structure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(31, 58, 95, 0.2);
}
.structure-level {
    background: linear-gradient(135deg, #1D0A5C, #4A6FA5);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}
.structure-level h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
/*Teaching Methodology*/
.edu-box {
  flex: 1;
  min-width: 150px;
  margin: 20px;
  text-align: center;
}
.edu-box h6{
    color: #1D0A5C;
}
.icon {
  width: 75px;
  height: 75px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: 0.3s ease;
  background: #6C4BFF;
}

/*Facilities*/
.facilities-icon {
  font-size: 40px;
  padding-bottom: 10px;
  color: #1A3A5F;
}
/*What Our Students Say*/
.review-card {
  background-color: #8A51EE;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.stars {
  color: #FFC107;
  font-size: 24px;
  margin-bottom: 20px;
}
/*Why Us*/
.why-us-card {
  padding: 15px;
  border: 1px solid rgb(231, 220, 220);
  background-color: white;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.why-us-card:hover {
    border: 2px solid #1D0A5C;
    transform:translateY(-10px);
  box-shadow:0 18px 50px rgba(15,23,42,0.12);
}
/*Admissions*/
.project-colour {
    color: #ae9fc6;
}

/*Contact*/
.contact-box i{
	font-size: 25px;
	padding-right: 10px;
	color: #1D0A5C;
}
.contact-box span{
	color: #1D0A5C;
	font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 770px) {
    .banner-title { font-size: 2.5rem;}
}

@media (max-width: 576px) {
      .banner-title { font-size: 2rem;}
      .banner-info { gap: 10px; }
      .hero-right { padding: 100px 0px;}
      .card.top {top: 0px; right: 10px; }
      .card.bottom {bottom: 0px; left: 10px; }
}