html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: #222;
}

body.index-page {
  background: url(images/grad1.png) no-repeat center center fixed;
  background-size: cover;
}
body.courses-page {
  background: url(images/grad2.png) no-repeat center center fixed;
  background-size: cover;
}
body.about-page {
  background: url(images/about_us_image.png) no-repeat center center fixed;
  background-size: cover;
}
body.contact-page {
  background: url(images/contact\ us.png) no-repeat center center fixed;
  background-size: cover;
}

h1, h2, h3, h4, h5, h6, label {
  color: #ffffff !important; /* Make headings and labels dark for light backgrounds */
}

input, textarea {
  color: #222 !important; /* Make input text dark for readability */
}

h1 {
  font-size: 1.4rem;
  color: #ffffff;
}

hr {
  border-color: #F05F44;
  border-width: 3px;
  max-width: 65px;
}

.buffer {
  height: 10rem;
}

.btn {
  font-weight: 700;
  border-radius: 300px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: #05be17;
  border-color: #f6eeed;
}

.btn-primary:hover {
  background-color: #ee4b08;
  border-color: #fefdfc;
  border-width: 4px;
}

.btn-xl {
  padding: 1rem 2rem;
}

.navbar,
.navbar * {
  color: #ffffff !important;   /* Bootstrap green */
  font-weight: bold !important;
  font-size: 1.2rem !important;
}

#searchInput {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

#searchInput::placeholder {
  color: #fff !important;
  opacity: 1;
}

.carousel,
.carousel-item {
  border-radius: 2rem !important;
  overflow: hidden;
}

/* Carousel image styling */
.carousel-img {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1);
  transform: scale(1);
}

/* Zoom-in effect for active/transitioning carousel images */
.carousel-item.active .carousel-img,
.carousel-item-next .carousel-img,
.carousel-item-prev .carousel-img {
  transform: scale(1.08);
}

.carousel-caption,
.carousel-caption .container {
  display: block !important;
}

.carousel-caption-static {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: none;
}

.carousel-caption-static.show-caption {
  display: block;
}

.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: none;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.6s;
}

.back-to-top-btn svg {
  color: #28a745;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Discount Card Styling */
.footer .card {
  background: rgba(34,34,34,0.45) !important;
  border-radius: 2rem !important;
  max-width: 320px;
  margin: 0 auto;
  border: 2.5px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 1.5px 8px rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(14px) saturate(180%) contrast(130%);
  -webkit-backdrop-filter: blur(14px) saturate(180%) contrast(130%);
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.8s cubic-bezier(0.4,0,0.2,1), background 0.4s;
  transform: scale(1);
  color: #fff;
  overflow: hidden;
}

.footer .card[data-aos="zoom-in"].aos-animate,
.footer .card:hover {
  transform: scale(1.10);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 2px 12px rgba(255,255,255,0.10) inset;
  background: rgba(34,34,34,0.60) !important;
}

.footer .card .card-body {
  background: transparent;
  padding: 1.5rem 1.2rem;
  border-radius: 1.5rem;
}

.footer a {
  text-decoration: none;
}

/* Make the carousel fill 3/3 (full width) of the viewport on large screens, and responsive on small screens */
.subcontainer {
  width: 70vw !important;
  max-width: 70vw !important;
  margin: 0 auto !important;
  padding: 0;
}

.carousel {
  width: 70vw;
  max-width: 70vw;
}

.carousel-item {
  height: 500px; /* Adjust as needed */
}

/* Make carousel and images fill the viewport */
.subcontainer,
.carousel,
.carousel-inner,
.carousel-item {
  width: 80vw !important;
  max-width: 800vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 2rem !important;
  overflow: hidden;
}

.footer .list-unstyled.d-flex {
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  z-index: 2;
  align-items: center;
}
.footer .list-unstyled.d-flex li {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer .list-unstyled.d-flex li:first-child {
  margin-left: 0;
}
.footer .list-unstyled.d-flex li:last-child {
  margin-right: 0;
}
.footer .list-unstyled.d-flex a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.footer .list-unstyled.d-flex a:hover {
  background: #ffc107;
  color: #222;
  box-shadow: 0 4px 16px rgba(255,193,7,0.15);
  text-decoration: none;
}
.footer .list-unstyled.d-flex i {
  color: inherit;
  font-size: 1.7rem;
  transition: color 0.2s;
}

.glass-social {
  background: rgba(34, 34, 34, 0.35);
  border-radius: 1.5rem;
  padding: 0.5rem 1.5rem;
  margin: 0;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  z-index: 2;
  align-items: center;
  backdrop-filter: blur(8px) saturate(160%) contrast(120%);
  -webkit-backdrop-filter: blur(8px) saturate(160%) contrast(120%);
  border: 1.5px solid rgba(255,255,255,0.18);
  transition: background 0.3s, box-shadow 0.3s;
}

/* Glass effect for contact form, matching discount card */
.contact-form-glass {
  background: rgba(34,34,34,0.45) !important;
  border-radius: 2rem !important;
  max-width: 480px;
  margin: 0 auto;
  border: 2.5px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 1.5px 8px rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(14px) saturate(180%) contrast(130%);
  -webkit-backdrop-filter: blur(14px) saturate(180%) contrast(130%);
  transition: transform 1.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.8s cubic-bezier(0.4,0,0.2,1), background 0.4s;
  transform: scale(1);
  color: #fff;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

.contact-form-glass:hover,
.contact-form-glass:focus-within {
  transform: scale(1.10);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 2px 12px rgba(255,255,255,0.10) inset;
  background: rgba(34,34,34,0.60) !important;
}