/* ==========================================================
   ARTS STUDY CIRCLE — Component Styles
   ========================================================== */

/* ========================  NAVBAR  ======================== */
.main-navbar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0;
  transition: var(--ease-normal);
  z-index: 1050;
}
.main-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--blue-800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-navbar .navbar-brand span {
  color: var(--yellow-500);
}
.navbar-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}
.main-navbar .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 22px 16px !important;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--grad-yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--ease-normal);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--blue-700);
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  transform: scaleX(1);
}
.main-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px 0;
  margin-top: 0;
  border-top: 3px solid var(--yellow-500);
}
.main-navbar .dropdown-item {
  font-weight: 500;
  padding: 10px 20px;
  font-size: .9rem;
  transition: var(--ease-fast);
}
.main-navbar .dropdown-item:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  padding-left: 26px;
}
.navbar-toggler {
  border: 2px solid var(--blue-500);
  padding: 6px 10px;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}
.top-bar {
  background: var(--grad-blue);
  padding: 8px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.9);
}
.top-bar a {
  color: var(--yellow-300);
}
.top-bar a:hover {
  color: var(--white);
}
.top-bar i {
  margin-right: 5px;
}

/* ========================  HERO CAROUSEL  ======================== */
.hero-carousel {
  margin-top: 0;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  filter: brightness(.85);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  margin: 0 20px;
  transition: var(--ease-normal);
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: var(--yellow-500);
}
.hero-carousel .carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.5);
  border: 2px solid var(--white);
  transition: var(--ease-normal);
}
.hero-carousel .carousel-indicators button.active {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  transform: scale(1.2);
}

/* ========================  ABOUT SECTION  ======================== */
.about-section {
  background: var(--gray-50);
}
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--ease-slow);
}
.about-img-wrapper:hover img {
  transform: scale(1.03);
}
.about-img-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(13,42,110,.4), transparent);
  z-index: 1;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--yellow-500);
  color: var(--dark);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  z-index: 2;
}
.about-content h2 {
  color: var(--blue-800);
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.about-content h2 span {
  color: var(--yellow-600);
}
.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1rem;
}
.feature-list {
  margin: 20px 0 30px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--gray-700);
}
.feature-list li i {
  color: var(--yellow-500);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ========================  COURSES SECTION  ======================== */
.courses-section {
  background: var(--white);
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--ease-normal);
  height: 100%;
  border: 1px solid var(--gray-100);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.course-card .card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.course-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ease-slow);
}
.course-card:hover .card-img img {
  transform: scale(1.08);
}
.course-card .card-body {
  padding: 24px;
}
.course-card .card-body h5 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--blue-800);
}
.course-card .card-body p {
  color: var(--gray-500);
  font-size: .88rem;
  margin-bottom: 16px;
}
.btn-enquiry {
  background: var(--grad-yellow);
  color: var(--dark);
  border: none;
  padding: 8px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: .85rem;
  transition: var(--ease-normal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--dark);
}
.icon-blue   { background: var(--blue-100);  color: var(--blue-700);  }
.icon-yellow { background: var(--yellow-100); color: var(--yellow-700); }
.icon-mix    { background: linear-gradient(135deg, var(--blue-100), var(--yellow-100)); color: var(--blue-700); }

/* ========================  GALLERY SECTION  ======================== */
.gallery-section {
  background: var(--gray-50);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-bottom: 24px;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--ease-slow);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,42,110,.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--ease-normal);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}

/* ========================  ADMISSION SECTION  ======================== */
.admission-section {
  background: var(--grad-blue);
  position: relative;
  overflow: hidden;
}
.admission-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--yellow-500);
  border-radius: var(--radius-full);
  opacity: .08;
}
.admission-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: var(--yellow-400);
  border-radius: var(--radius-full);
  opacity: .06;
}
.admission-section h2 {
  color: var(--white);
  font-size: 2.5rem;
}
.admission-section p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 650px;
}

/* ========================  PAGE HEADER  ======================== */
.page-header {
  background: var(--grad-blue);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 400px;
  height: 400px;
  background: var(--yellow-500);
  border-radius: var(--radius-full);
  opacity: .07;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.page-header .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.page-header .breadcrumb-item.active {
  color: var(--yellow-400);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.5);
}

/* ========================  DIRECTOR MESSAGE  ======================== */
.director-section {
  background: var(--white);
}
.director-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.director-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.director-img .name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--grad-blue);
  color: var(--white);
  padding: 14px 20px;
  text-align: center;
}
.director-img .name-tag h5 {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
}
.director-img .name-tag small {
  color: var(--yellow-300);
}
.quote-card {
  background: var(--blue-50);
  border-left: 4px solid var(--yellow-500);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--gray-600);
}

/* ========================  SERVICES / FEATURES  ======================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--ease-normal);
  height: 100%;
  border-bottom: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-bottom-color: var(--yellow-500);
}
.service-card .icon-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2rem;
  transition: var(--ease-normal);
}
.service-card:hover .icon-box {
  transform: rotateY(180deg);
}
.service-card h5 {
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-500);
  font-size: .9rem;
}

/* ========================  CONTACT SECTION  ======================== */
.contact-section {
  background: var(--gray-50);
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--ease-normal);
  height: 100%;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.contact-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}
.contact-card h5 {
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--gray-500);
  font-size: .9rem;
  margin: 0;
}
.contact-card a {
  color: var(--blue-600);
  font-weight: 500;
}
.contact-card a:hover {
  color: var(--yellow-600);
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-family: var(--font);
  font-size: .95rem;
  transition: var(--ease-fast);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.contact-form label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
  font-size: .9rem;
}

/* ========================  ADMISSION FORM  ======================== */
.admission-form-section {
  background: var(--white);
}
.admission-info-card {
  background: var(--grad-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  height: 100%;
}
.admission-info-card h3 {
  color: var(--white);
  margin-bottom: 20px;
}
.admission-info-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.9);
}
.admission-info-card ul li i {
  color: var(--yellow-400);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--ease-normal);
  height: 100%;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.step-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--grad-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h5 {
  color: var(--blue-800);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ========================  COUNTER  ======================== */
.counter-section {
  background: var(--grad-dark);
  padding: 60px 0;
}
.counter-box {
  text-align: center;
  padding: 20px;
}
.counter-box .counter-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--yellow-400);
}
.counter-box p {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .85rem;
}

/* ========================  FOOTER  ======================== */
.main-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  position: relative;
  overflow: hidden;
}
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-blue-yellow);
}
.footer-top {
  padding: 70px 0 40px;
}
.footer-brand h4 {
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-brand h4 span {
  color: var(--yellow-500);
}
.footer-brand p {
  font-size: .9rem;
  margin-bottom: 20px;
  line-height: 1.8;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--ease-normal);
  color: var(--white);
}
.footer-social .fb    { background: #1877f2; }
.footer-social .yt    { background: #ff0000; }
.footer-social .ig    { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social .wa    { background: #25d366; }
.footer-social a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--yellow-500);
  border-radius: 2px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--ease-fast);
}
.footer-links a:hover {
  color: var(--yellow-400);
  padding-left: 6px;
}
.footer-links a i {
  font-size: .7rem;
  color: var(--yellow-500);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: .9rem;
}
.footer-contact li i {
  color: var(--yellow-400);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-contact li a {
  color: rgba(255,255,255,.65);
}
.footer-contact li a:hover {
  color: var(--yellow-400);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
  font-size: .85rem;
}
.footer-bottom span {
  color: var(--yellow-400);
  font-weight: 600;
}

/* ========================  GALLERY MODAL  ======================== */
.gallery-modal .modal-content {
  background: transparent;
  border: none;
}
.gallery-modal .modal-header {
  border: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  padding: 0;
}
.gallery-modal .modal-header .btn-close {
  background-color: rgba(255,255,255,.9);
  border-radius: var(--radius-full);
  padding: 10px;
  opacity: 1;
}
.gallery-modal .modal-body {
  padding: 0;
}
.gallery-modal .carousel-item img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}
.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  margin: 0 -25px;
}
.gallery-modal .carousel-control-prev:hover,
.gallery-modal .carousel-control-next:hover {
  background: var(--yellow-500);
}

/* ========================  RESPONSIVE  ======================== */
@media (max-width: 1199.98px) {
  .hero-carousel .carousel-item img { height: 65vh; }
  .section-title h2 { font-size: 2rem; }
}

@media (max-width: 991.98px) {
  .main-navbar .nav-link { padding: 12px 16px !important; }
  .main-navbar .nav-link::after { display: none; }
  .hero-carousel .carousel-item img { height: 50vh; }
  .section-padding { padding: 60px 0; }
  .about-img-wrapper img { height: 340px; }
  .director-img img { height: 380px; }
  .admission-section h2 { font-size: 2rem; }
  .page-header { padding: 80px 0 50px; }
  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
  .top-bar { display: none; }
  .hero-carousel .carousel-item img { height: 40vh; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { width: 40px; height: 40px; margin: 0 10px; }
  .section-padding { padding: 50px 0; }
  .section-title { margin-bottom: 35px; }
  .section-title h2 { font-size: 1.7rem; }
  .about-img-wrapper img { height: 280px; }
  .about-content { margin-top: 30px; }
  .gallery-item img { height: 200px; }
  .contact-form { padding: 25px; }
  .footer-top { padding: 50px 0 30px; }
  .counter-box .counter-number { font-size: 2.2rem; }
  .admission-info-card { margin-bottom: 30px; }
  .director-img img { height: 300px; }
  .page-header h1 { font-size: 1.6rem; }
  .admission-section h2 { font-size: 1.7rem; }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item img { height: 30vh; }
  .section-title h2 { font-size: 1.4rem; }
  .course-card .card-body { padding: 22px; }
  .btn-blue, .btn-yellow, .btn-outline, .btn-white { padding: 11px 24px; font-size: .88rem; }
}
