:root {
  --pink-dark: #d63384;
  --pink-darker: #b02568;
  --pink-light: #ffd1f4;
  --pink-bg: #fff0f6;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background-color: rgb(249, 222, 241);
}

/* Text & Color Utilities */
.text-pink { color: var(--pink-dark) !important; }
.bg-pink { background-color: pink; }
.border-pink { border-color: var(--pink-dark) !important; }

/* Common Section Styling */
.section h2 {
  color: var(--pink-dark);
  margin-bottom: 20px;
}
.section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
}
.section {
  background-color: var(--pink-darker);
  padding: 4px;  
  color: white;
  margin: 2px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* header styling  */
header {
  background: var(--pink-dark);
  color: #fff;
  padding: 15px 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}
header nav a:hover {
  text-decoration: underline;
}
/* Reduce brand text size on small screens */
@media (max-width: 576px) {
  .navbar-brand img {
    width: 65px;
    height: 55px;
  }
  .navbar-brand .brand-text span {
    font-size: 0.9rem;
  }
  .navbar-brand .tagline {
    font-size: 0.75rem; /* smaller tagline for mobile */
  }
  .navbar-nav .nav-link {
    padding: 8px 0; /* more compact menu links */
  }
}

/* banner section  */
/* Banner image height */
#heroCarousel img {
  height: 500px;        /* default desktop */
  object-fit: cover;
}

/* Overlay box (desktop default) */
.banner-overlay {
  max-width: 450px;
  z-index: 10;
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
  #heroCarousel img {
    height: 350px;
  }
  .banner-overlay {
    top: auto;
    bottom: 10%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 15px;
  }
  .banner-overlay h1 {
    font-size: 1.6rem;
  }
  .banner-overlay p {
    font-size: 1rem;
  }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  #heroCarousel img {
    height: 260px;
  }
  .banner-overlay {
    bottom: 5%;
    padding: 12px;
  }
  .banner-overlay h1 {
    font-size: 1.2rem;
  }
  .banner-overlay p {
    font-size: 0.1rem;
  }
  .banner-overlay .btn {
    font-size: 0.85rem;
    padding: 6px 16px;
  }
}
/* about section  */
/* Ensure image scales nicely */
#about img {
  max-height: 450px;
  width: 100%;
  object-fit: fill;
}

/* Tablet adjustments */
@media (max-width: 768px) {
  #about .roshni {
    padding: 10px;
  }
  #about img {
    max-height: 350px;
  }
  #about h2 {
    font-size: 1.5rem;
  }
  #about p {
    font-size: 0.95rem;
  }
  #about .btn {
    font-size: 0.9rem;
    padding: 6px 16px;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #about img {
    max-height: 400px;
    width: 200px;
  }
  #about h2 {
    font-size: 1.3rem;
    text-align: center;
  }
  #about p {
    font-size: 0.9rem;
    text-align: justify;
  }
  #about .btn {
    display: block;
    margin: 10px auto 0 auto; /* center button */
    width: auto;
  }
}
/* degree section styling  */
.degree {
  background: var(--pink-darker);
  color: white;
}
.degree-box {
  transition: all 0.3s ease;
  cursor: pointer;
}

.degree-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.degree-box h3 {
  margin: 15px 0 10px 0;
  color: var(--pink-darker);
}
.degree-box p {
  font-size: 1rem;
  color: #333;
}
/* Adjust degree box image height on smaller screens */
@media (max-width: 480px) {
  .degree {
    padding: 20px 0;
  }
  .degree-box h3 {
    font-size: 1rem;
  }
  .degree-box p {
    font-size: 0.9rem;
  }
}
/* services section  */

/* contact section styling  */

/* gallery section styling */
/* Gallery Hover Effects */
  .gallery-item {
    overflow: hidden;
    border-radius: 10px;
  }

  .gallery-item img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-item:hover img {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.4);
  }
  /* testimonial section styling  */

  /* Smooth sliding */
  .testimonial-slider {
    transition: transform 0.6s ease-in-out;
  }

  /* Testimonials responsive sizing */
  .testimonial-slider .item {
    width: 100%; /* Always full width on mobile */
    max-width: 100%;
  }

  /* Dots */
  .dots button {
    width: 12px;
    height: 12px;
    margin: 4px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
  }

  .dots button.active {
    background: #d63384;
  }
/* Arrow styling */
.owl-nav button {
  background: #d63384 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  font-size: 20px !important;
  line-height: 20px !important;
  margin: 0 10px;
  transition: 0.3s;
}
.owl-nav button:hover {
  background: #a32261 !important;
}

/* Dots styling */
.owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 5px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  transition: 0.3s;
}
.owl-dots .owl-dot.active span {
  background: #d63384 !important;
}

  /* Mobile tweaks */
  @media (max-width: 768px) {
    .testimonial-slider .item {
      font-size: 0.95rem;
      padding: 1.2rem;
      margin: 0.5rem;
    }
  }
/* footer section styling  */
#footer {
  background: var(--pink-dark);
  color: #fff;
  text-align: center;
  padding: 20px;
  box-shadow: var(--shadow);
}
#footer a.flink:hover {
    color: #d63384;
    text-decoration: underline;
  }
  /* Small text for copyright */
  #footer p.small {
    font-size: 0.85rem;
  }