/********** Template CSS **********/
:root {
  --primary: #d11818;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #fcfcfc;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Arial", sans-serif;
}

.btn {
  font-weight: 700;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  background-color: #f4efe1;
  color: #1d2a4d !important;
  border: 2px solid #1d2a4d;
  border-radius: 10px;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #1d2a4d;
  color: #ffffff !important;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.custom-navbar-bg {
  background-color: #850909;
}

.custom-brand {
  font-family: "Monotype Corsiva", "Apple Chancery", cursive;
  color: #ffffff !important;
  font-size: 2.5rem;
  text-transform: none;
}

.custom-brand-logo {
  max-height: 100px; /* Adjust height to fit the navbar */
  width: auto;
}

.navbar-dark .navbar-nav .nav-link {
  font-family: "Open Sans", sans-serif;
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff !important;
  outline: none;
  transition: 0.5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff !important;
}

@media (min-width: 992px) {
  .navbar-dark .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f4f4f4;
    transform: translateX(-50%);
    opacity: 0;
    transition: 0.5s;
  }

  .navbar-dark .navbar-nav .nav-link:hover::before,
  .navbar-dark .navbar-nav .nav-link.active::before {
    opacity: 1;
  }

  .custom-dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    background-color: #f4f4f4;
  }

  .custom-dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: #666;
    font-size: 16px;
  }

  .custom-dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: #333;
  }
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

/* Hero Carousel Styles */
#header-carousel .hero-img {
  object-fit: cover;
  max-height: 600px;
}

#header-carousel .hero-caption {
  top: 0;
  bottom: 0;
  right: 10%;
  left: auto;
}

#header-carousel .hero-title {
  font-size: 6rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  #header-carousel .hero-title {
    font-size: 3rem;
  }
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
  width: 10%;
}

/* Classes Section Styles */
.class-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.class-title {
  font-size: 23px;
  color: #000;
  margin-top: 20px;
  font-weight: 300;
}

.class-divider {
  width: 60px;
  height: 2px;
  background-color: #b8860b; /* Golden color */
  margin: 20px auto 0;
  border: none;
}

.text-gold {
  color: #b8860b !important;
}

/* About Section Styles */
.about-bg {
  background-image: url("../img/about-home-bg.png");
  background-repeat: repeat;
}

.about-title {
  font-size: 45px;
  font-weight: normal;
  color: #111;
}

.about-subtitle {
  line-height: 1.6;
  font-weight: normal;
  font-size: 23px;
  color: #000;
  font-weight: 300;
}

.about-text {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-align: justify;
}

.about-btn {
  background-color: #d11818;
  font-size: 0.9rem;
}

.about-img {
  height: 600px;
}

/* Director Section Styles */
.director-img {
  max-width: 350px;
  height: auto;
}

/* Testimonial Section Styles */
.testimonial-bg {
  background: url("../img/testimonials-bg.jpg");
  background-size: cover;
  background-position: center;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  background: #ffffff !important;
  color: #333333 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  background: #b8860b !important;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.5;
  transition: 0.3s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  opacity: 1;
  transform: scale(1.3);
}

.testimonial-title {
  color: #103241;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.testimonial-name {
  color: #103241;
}

/* Gallery Section Styles */
.gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Footer Section Styles */
.footer {
  background: url("../img/footer-bg.jpg") center center no-repeat;
  background-size: cover;
}

.footer h4 {
  font-family: "Arial", sans-serif;
  font-weight: normal;
}

.footer p {
  color: #ffffff;
  font-size: 16px;
}

.footer .italic {
  font-style: italic;
  font-size: 0.9rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  margin: 0 5px;
}

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

.copyright {
  padding-bottom: 30px;
}

/* Page Header Styles */
.page-header {
  background: url("../img/banner.jpg") center center no-repeat;
  background-size: cover;
  padding: 100px 0;
}

.page-header h1 {
  color: #ffffff;
  font-size: 45px;
  font-weight: 400;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.page-header .breadcrumb-item.active {
  color: #ffffff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Detailed About Section */
.detailed-about-bg {
  background: url("../img/about-bg.png") center center no-repeat;
  background-size: 80% auto;
}

.about-p {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333333;
}

.text-brown {
  color: #c48e3d;
}

.text-blue {
  color: #0000ff;
}

.bharatnatyam-section {
  background-color: #e9f5e1;
}

.shloka-bg {
  background: url("../img/about-bg.png") center center no-repeat;
  background-size: 50% auto;
}

.shloka-text {
  font-weight: bold;
  font-style: italic;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

/* Contact Info Section */
.contact-info-row h4 {
  color: #000000;
  font-weight: 400;
  font-family: "Arial", sans-serif;
}

.contact-info-row p {
  color: #333333;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .contact-info-row .border-end {
    border-right: none !important;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

/* Contact Form Dark Theme */
/* Contact Section */
.contact-form-section {
  position: relative;
  background: url("../img/contact-bg.jpg") center center no-repeat;
  background-size: cover;
  min-height: 100%;
  display: flex;
  align-items: center;
}

/* Dark Overlay */
.contact-form-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   
  z-index: 1;
}

/* Form Box */
.contact-form-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Input Fields */
.custom-input {
  border-radius: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  transition: all 0.3s ease;
}

.custom-input:focus {
  border-color: #bfa56a;
  box-shadow: 0 0 8px rgba(191, 165, 106, 0.5);
}

/* Placeholder */
.custom-input::placeholder {
  color: #777;
}

/* Button */
.btn-gold-contact {
  background-color: #bfa56a;
  color: #fff;
  border: none;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-gold-contact:hover {
  background-color: #a68d54;
  color: #fff;
  transform: translateY(-2px);
}

/* Heading */
.contact-form-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-form-box {
    padding: 30px 20px;
  }

  .contact-form-box h2 {
    font-size: 1.8rem;
  }

  .btn-gold-contact {
    width: 100%;
  }
}
