:root {
  --primary: #8E2A5A;
  --primary-dark: #6E1F46;
  --primary-light: #B04A7A;

  --accent: #F4C20D;
  --accent-dark: #D9A90C;

  --grey-dark: #333333;
  --grey: #A8A8A8;
  --grey-light: #E5E5E5;

  --white: #ffffff;
}

/* BODY */
body{
  font-family:'Poppins',sans-serif;
  line-height:1.6;
  background-color: var(--grey-light);
  color: var(--grey-dark);
  margin:0;
}

/* NAVBAR */
.navbar{
  background: var(--primary-dark);
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
  padding-top:8px;
  padding-bottom:8px;
  min-height:80px;
}

/* HERO */
.carousel-caption{
  background: rgba(75,46,131,0.7);
  padding:20px;
  border-radius:10px;
  bottom:20%;
}

.carousel-caption h1,
.carousel-caption h2{
  color: var(--white);
  font-weight:600;
}

.carousel-caption p{
  color:#ddd;
}

/* SECTION */
.section-title{
  font-weight:600;
  margin-bottom:30px;
  color: var(--primary-dark);
}

/* CARDS */
.card-hover,
.faculty-card,
.why-card,
.testimonial-card,
.approach-card,
.service-card{
  transition:0.3s;
}

.card-hover:hover,
.faculty-card:hover,
.why-card:hover,
.testimonial-card:hover,
.approach-card:hover,
.service-card:hover{
  transform:translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* CTA */
.cta{
  background: var(--primary);
  color: var(--white);
  padding:50px;
  border-radius:12px;
  text-align:center;
}

.cta button,
.btn-warning{
  background: var(--accent);
  color:#000;
  border:none;
}

.cta button:hover,
.btn-warning:hover{
  background: var(--accent-dark);
}

/* BACKGROUND SECTIONS */
.cta-bg,
.results-bg{
  background: linear-gradient(rgba(75,46,131,0.7), rgba(75,46,131,0.7)),
  url('../images/cta.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  border-radius: 12px;
}

/* WHATSAPP */
.whatsapp-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:#fff;
  padding:12px 18px;
  border-radius:50px;
  text-decoration:none;
  font-weight:500;
}

/* FOOTER */
footer{
  background: var(--primary-dark);
  color:#fff;
}

footer p,
footer a,
footer li{
  color:#ddd;
}

footer a:hover{
  color:#fff;
}

/* IMAGES */
.hero-img{
  height:500px;
  object-fit:cover;
}

.faculty-img-box,
.service-img-box,
.gallery-box{
  overflow:hidden;
  border-radius:10px;
}

.gallery-box img{
  transition:0.3s;
}

.gallery-box:hover img{
  transform: scale(1.1);
}

/* CONTACT */
.contact-box{
  background: var(--white);
  padding:40px;
  border-radius:10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* LOGO FIX (BUG FIXED 🔥) */
.logo-img{
  height: 95px;
  object-fit: contain;
}

/* RESPONSIVE */
@media(max-width:768px){

  .carousel-caption h1{
    font-size:24px;
  }

  .carousel-caption h2{
    font-size:20px;
  }

  .hero-img{
    height:300px;
  }

  .logo-img{
    height:50px;
  }
}

.faculty-img-box img,
.service-img-box img,
.gallery-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 UNIVERSAL IMAGE FIX */
img{
  width: 100%;
  height: auto;
  display: block;
}

/* 🔥 FORCE SAME HEIGHT + PROPER FIT */
.faculty-img-box img,
.service-img-box img,
.gallery-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 FIX CONTAINER HEIGHT CONSISTENCY */
.faculty-img-box,
.service-img-box,
.gallery-box{
  height: 250px !important;
  overflow: hidden;
}

/* 🔥 HERO IMAGE FIX */
.hero-img{
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* 🔥 PREVENT STRETCHING IN RANDOM IMAGES */
.card img,
.section img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 🔥 MOBILE OPTIMIZATION */
@media(max-width:768px){

  .faculty-img-box,
  .service-img-box,
  .gallery-box{
    height: 200px !important;
  }

  .hero-img{
    height: 300px;
  }
}

/* 🔥 ALL HEADINGS STYLE */
h1, h2, h3, h4, h5, h6{
  color: var(--primary-dark); /* Purple */
  font-weight: 600;
}

/* 🔥 SUB HEADINGS (light variation) */
h3, h4, h5, h6{
  color: var(--grey-dark); /* Black/Grey */
}

/* 🔥 SPECIAL HIGHLIGHT (OPTIONAL) */
.section-title{
  color: var(--primary);
  position: relative;
}

/* UNDERLINE EFFECT (premium look 🔥) */
.section-title::after{
  content: "";
  width: 60px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin-top: 8px;
}

/* 🔥 PRIMARY BUTTON → YELLOW */
.btn,
.btn-primary{
  background-color: var(--accent) !important;
  color: #000 !important;
  border: none;
}

/* 🔥 HOVER EFFECT */
.btn:hover,
.btn-primary:hover{
  background-color: var(--accent-dark) !important;
  color: #000 !important;
}

/* 🔥 OUTLINE BUTTON FIX */
.btn-outline-primary{
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.btn-outline-primary:hover{
  background-color: var(--accent) !important;
  color: #000 !important;
}

.section-title::after{
  display: none;
}


/* FORCE SHOW ALL BY DEFAULT */
.gallery-item{
  display: block;
}

/* HIDE CLASS (JS use karega) */
.gallery-item.hide{
  display: none;
}

/* ACTIVE BUTTON */
.filter-btn.active{
  background-color: var(--accent) !important;
  color: #000 !important;
  border: none;
}


/* 🔥 GALLERY FIX */
.gallery-item{
  display: block;
}

.gallery-item.hide{
  display: none !important;
}

/* 🔥 DEFAULT NAV LINKS (PURPLE) */
.navbar .nav-link{
  color: var(--primary) !important;
  font-weight: 500;
  transition: 0.3s;
}

/* 🔥 HOVER */
.navbar .nav-link:hover{
  color: var(--accent) !important;
}

/* 🔥 ACTIVE PAGE (YELLOW 🔥) */
.navbar .nav-link.active{
  color: var(--accent) !important;
  font-weight: 600;
}

.gallery-img {
  width: 100%;
  height: 250px;       /* 👈 yahan se height control kar sakta hai */
  object-fit: cover;   /* 👈 image crop hoke same size dikhegi */
}


.gallery-img:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

#galleryCarousel img {
  width: 100%;
  height: 250px !important;
  object-fit: cover !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;   /* 👈 left side */
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* Mobile pe sirf icon dikhe */
@media(max-width: 576px) {
  .wa-text {
    display: none;
  }
}

#topBtn {
  position: fixed;
  bottom: 80px;   /* 👈 WhatsApp button ke upar aayega */
  right: 20px;     /* 👈 left side */
  display: none;  /* 👈 by default hidden */
  z-index: 999;

  background: #6f42c1; /* purple theme */
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
}

#topBtn:hover {
  transform: scale(1.1);
}

.hero-img {
  height: 500px;        /* 👈 sab images same height */
  object-fit: cover;    /* 👈 perfect crop */
}

.carousel-item {
  height: 500px;
}

.hero-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

footer h5,
footer h6 {
  color: #ffc107;   /* 👈 Bootstrap wala yellow (warning color) */
}

.cta-bg {
  color: #fff !important;
}

.cta-bg h1,
.cta-bg h2,
.cta-bg h3,
.cta-bg h4,
.cta-bg h5,
.cta-bg h6,
.cta-bg p {
  color: #fff !important;
}

.results-bg {
  color: #fff !important;
}

.results-bg h1,
.results-bg h2,
.results-bg h3,
.results-bg h4,
.results-bg h5,
.results-bg h6,
.results-bg p {
  color: #fff !important;
}

