/********** Template CSS **********/
:root {
  --primary: #fe5d37;
  --light: #fff5f3;
  --dark: #103741;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: "Lobster Two", cursive;
  font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
  font-weight: 600;
}

.font-secondary {
  font-family: "Lobster Two", cursive;
}

/*** Navbar ***/

.navbar .navbar-nav .nav-link {
  padding: 10px 10px;
  color: var(--dark);
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

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

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: calc(100% - 15px);
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* ===================================
   HEADER.PHP - Navigation & Carousel Styles
   =================================== */

/* Remove decorative borders from carousel */
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
  display: none !important;
}

/* Remove bottom margin from carousel container */
.container-fluid.p-0.mb-5 {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Carousel Height Settings */
.header-carousel .owl-carousel-item {
  height: 700px;
  min-height: 700px;
}

.header-carousel .owl-carousel-item img {
  height: 700px;
  object-fit: cover;
  width: 100%;
}

/* ===================================
   FLOATING NAVIGATION ELEMENTS
   =================================== */

/* Floating Logo Badge with School Name - Top Left */
.floating-logo-badge {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1050;
  background: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 8px 20px 8px 8px;
  gap: 12px;
}

.floating-logo-badge img {
  width: 60px;
 
  object-fit: contain;
}

.floating-logo-badge span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #103741;
  white-space: nowrap;
}

/* Floating Admission Button - Top Right */
.floating-admission-btn {
  position: fixed;
  top: 20px;
  right: 95px;
  z-index: 1050;
  background: white;
  color: #103741;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-admission-btn:hover {
  background: #103741;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Floating Menu Button - Top Right */
.floating-menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  width: 60px;
  height: 60px;
  background: #103741;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-menu-btn:hover {
  transform: scale(1.1);
  background: #0a2329;
}

.floating-menu-btn i {
  color: white;
  font-size: 1.5rem;
}

/* ===================================
   CAROUSEL NAVIGATION ARROWS
   =================================== */

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover  {
  background: #103741;
  border-color: #103741;
}

/* ===================================
   OFFCANVAS MENU STYLES
   =================================== */

.offcanvas-end {
  width: 400px !important;
  max-width: 90vw;
}

.bg-custom-primary {
  background-color: #103741 !important;
}

.text-custom-primary {
  color: #103741 !important;
}

.btn-custom-primary {
  background-color: #103741 !important;
  border-color: #103741 !important;
  color: white !important;
}

.btn-custom-primary:hover {
  background-color: #0a2329 !important;
  border-color: #0a2329 !important;
}

.btn-outline-custom-primary {
  border-color: #103741 !important;
  color: #103741 !important;
}

.btn-outline-custom-primary:hover {
  background-color: #103741 !important;
  color: white !important;
}

/* ===================================
   PAGE HEADER (Other Pages)
   =================================== */

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../img/img/11.jpg) center center no-repeat;
  background-size: cover;
}

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

/* ===================================
   HERO SECTION - REFERENCE DESIGN MATCH
   =================================== */

/* Hero Overlay Gradient Effect - Darker for Better Text Visibility */
.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.45) 100%) !important;
}

/* Hero Text Styling - Cursive Font with Strong Shadow */
.hero-text-white {
    font-family: 'Lobster Two', cursive !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 4px 4px 15px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

/* Virtual Tour Button */
.virtual-tour-btn {
    background-color: rgba(255, 107, 107, 1);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    font-size: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.virtual-tour-btn:hover {
    background-color: rgba(255, 80, 80, 1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6), 0 3px 10px rgba(0, 0, 0, 0.4);
}

.virtual-tour-btn i {
    font-size: 18px;
}

/* Hero Content Positioning */
.header-carousel .owl-carousel-item .container {
    max-width: 1200px;
}

/* Ensure proper text sizing with better shadows */
.header-carousel .display-3 {
    font-size: 3.5rem;
    font-weight: 700;
}

.header-carousel .fs-5 {
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1.7;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Tablets */
@media (max-width: 991px) {
  .header-carousel .owl-carousel-item {
    height: 550px;
    min-height: 550px;
  }

  .header-carousel .owl-carousel-item img {
    height: 550px;
  }

  .header-carousel .display-3 {
    font-size: 2.5rem;
  }
  
  .header-carousel .fs-5 {
    font-size: 1rem !important;
  }
  
  .virtual-tour-btn {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* Mobile & Tablets */
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 550px;
    height: 550px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }

  .header-carousel .display-3 {
    font-size: 2rem;
    margin-bottom: 1rem !important;
  }
  
  .header-carousel .fs-5 {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .virtual-tour-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
  
  .virtual-tour-btn i {
    font-size: 16px;
  }

  /* Hide floating elements on tablet */
  .offcanvas-end {
    width: 100% !important;
  }
  
  .floating-menu-btn {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }
  
  .floating-menu-btn i {
    font-size: 1.3rem;
  }

  .floating-logo-badge {
    padding: 6px 15px 6px 6px;
    top: 15px;
    left: 15px;
  }

  .floating-logo-badge img {
    width: 45px;
    height: 45px;
  }

  .floating-logo-badge span {
    font-size: 1rem;
  }

  .floating-admission-btn {
    display: none !important;
  }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
  .header-carousel .owl-carousel-item {
    height: 450px;
    min-height: 450px;
  }

  .header-carousel .owl-carousel-item img {
    height: 450px;
  }

  .header-carousel .display-3 {
    font-size: 1.75rem;
  }
  
  .header-carousel .fs-5 {
    font-size: 0.9rem !important;
  }
  
  .virtual-tour-btn {
    padding: 10px 20px;
    font-size: 12px;
    gap: 8px;
  }

  .floating-menu-btn {
    width: 45px;
    height: 45px;
    top: 12px;
    right: 12px;
  }

  .floating-menu-btn i {
    font-size: 1.2rem;
  }

  .floating-logo-badge {
    padding: 5px 12px 5px 5px;
    top: 12px;
    left: 12px;
  }

  .floating-logo-badge img {
    width: 40px;
    height: 40px;
  }

  .floating-logo-badge span {
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile - Hide Text, Show Logo Only */
@media (max-width: 400px) {
  .floating-logo-badge span {
    display: none;
  }
  
  .floating-logo-badge {
    border-radius: 50%;
    padding: 5px;
  }

  .header-carousel .display-3 {
    font-size: 1.5rem;
  }
  
  .header-carousel .fs-5 {
    font-size: 0.85rem !important;
  }
}

/*** Facility ***/
.facility-item .facility-icon {
  position: relative;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-item .facility-icon::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-icon span {
  position: absolute;
  content: "";
  width: 15px;
  height: 30px;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
  left: auto;
  right: 0;
}

.facility-item .facility-icon i {
  position: relative;
  z-index: 2;
}

.facility-item .facility-text {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

.facility-item .facility-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-text * {
  position: relative;
  z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
  background: transparent;
}

.facility-item * {
  transition: 0.5s;
}

.facility-item:hover * {
  color: #ffffff !important;
}

/*** About ***/
.about-img img {
  transition: 0.5s;
}

.about-img img:hover {
  background: var(--primary) !important;
}

/*** Classes ***/
.classes-item {
  transition: 0.5s;
}

.classes-item:hover {
  margin-top: -10px;
}

/*** Team ***/
.team-item .team-text {
  position: absolute;
  width: 250px;
  height: 250px;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff;
  border: 17px solid var(--light);
  border-radius: 250px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  border-color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 576px) {
  .testimonial-carousel {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.testimonial-carousel .testimonial-item .border {
  border: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 45px;
  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 {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 45px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary) !important;
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: #ffffff;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
  color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Logo responsiveness for mobile */
@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 40px !important;
  }
  .navbar-brand h1 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 35px !important;
  }
  .navbar-brand h1 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 30px !important;
  }
  .navbar-brand h1 {
    font-size: 1rem !important;
  }
}

/* For extra small screens */
@media (max-width: 400px) {
  .navbar-brand {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .navbar-brand img {
    margin-bottom: 5px;
    margin-right: 0 !important;
  }
  .navbar-brand h1 {
    font-size: 0.9rem !important;
  }
}













/* new section after the carousel */

/* ===================================
   OUR CORE VALUES SECTION
   =================================== */

.core-value-card {
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.core-value-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-value-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

.core-value-content {
    padding: 20px 25px 30px;
    text-align: center;
}

.core-value-content h4 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.core-value-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===================================
   WHAT DOES DGS OFFER SECTION
   =================================== */

.offer-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.offer-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: #5B9BD5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.offer-item h5 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    color: #103741;
}

/* ===================================
   VIRTUAL TOUR VIDEO SECTION
   =================================== */

.virtual-tour-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.virtual-tour-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.virtual-tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.virtual-tour-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.virtual-tour-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.9);
    border: 5px solid white;
    color: white;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.virtual-tour-play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 80, 80, 1);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.virtual-tour-play-btn i {
    margin-left: 5px;
}

.virtual-tour-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.virtual-tour-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(91, 155, 213, 0.95);
    padding: 40px 0;
    z-index: 3;
}

.virtual-tour-bottom p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.schedule-visit-btn {
    background: #F4D35E;
    color: #103741;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 211, 94, 0.3);
}

.schedule-visit-btn:hover {
    background: #E5C44D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 211, 94, 0.5);
}

/* Video Modal Styles */
#videoModal .modal-content {
    background: transparent;
}

#videoModal video {
    border-radius: 10px;
    max-height: 80vh;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 991px) {
    .core-value-image {
        height: 180px;
    }

    .core-value-image img {
        width: 140px;
        height: 140px;
    }

    .core-value-content {
        padding: 15px 20px 25px;
    }

    .core-value-content h4 {
        font-size: 1.1rem;
    }

    .core-value-content p {
        font-size: 0.85rem;
    }

    .virtual-tour-section {
        height: 500px;
    }

    .virtual-tour-play-btn {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .core-value-card {
        margin-bottom: 20px;
    }

    .core-value-image {
        height: 160px;
    }

    .core-value-image img {
        width: 120px;
        height: 120px;
    }

    .offer-item {
        padding: 15px;
    }

    .offer-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .offer-item h5 {
        font-size: 1rem;
    }

    .virtual-tour-section {
        height: 450px;
    }

    .virtual-tour-play-btn {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .virtual-tour-text {
        font-size: 18px;
    }

    .virtual-tour-bottom {
        padding: 30px 0;
    }

    .virtual-tour-bottom p {
        font-size: 1rem;
    }

    .schedule-visit-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .core-value-image {
        height: 140px;
        padding: 15px;
    }

    .core-value-image img {
        width: 100px;
        height: 100px;
        border: 3px solid white;
    }

    .core-value-content {
        padding: 12px 15px 20px;
    }

    .core-value-content h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .core-value-content p {
        font-size: 0.8rem;
    }

    .virtual-tour-section {
        height: 400px;
    }

    .virtual-tour-play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
        border: 3px solid white;
    }

    .virtual-tour-text {
        font-size: 16px;
    }

    .virtual-tour-bottom {
        padding: 25px 15px;
    }

    .virtual-tour-bottom p {
        font-size: 0.9rem;
    }

    .schedule-visit-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}


/* ===================================
   OUR CORE VALUES SECTION
   =================================== */

.core-value-card {
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.core-value-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-value-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
}

.core-value-content {
    padding: 20px 25px 30px;
    text-align: center;
}

.core-value-content h4 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.core-value-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===================================
   WHAT DOES DGS OFFER SECTION
   =================================== */

.offer-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.offer-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: #5B9BD5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.offer-item h5 {
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    color: #103741;
}

/* ===================================
   VIRTUAL TOUR VIDEO SECTION - SIMPLE
   =================================== */

.virtual-tour-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: #000;
}

.tour-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.tour-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.tour-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.tour-play-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.9);
    border: 5px solid white;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.tour-play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 80, 80, 1);
}

.tour-play-btn i {
    margin-left: 5px;
}

.tour-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.tour-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(91, 155, 213, );
    padding: 40px 0;
    z-index: 20;
}

.tour-bottom-bar p {
    font-size: 1.1rem;
}

.schedule-btn {
    background: #F4D35E;
    color: #103741;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background: #E5C44D;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .virtual-tour-section {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .virtual-tour-section {
        height: 500px;
    }
    
    .tour-play-btn {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .tour-text {
        font-size: 16px;
    }
    
    .tour-bottom-bar {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .virtual-tour-section {
        height: 450px;
    }
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 991px) {
    .core-value-image {
        height: 180px;
    }

    .core-value-image img {
        width: 140px;
        height: 140px;
    }

    .core-value-content {
        padding: 15px 20px 25px;
    }

    .core-value-content h4 {
        font-size: 1.1rem;
    }

    .core-value-content p {
        font-size: 0.85rem;
    }

    .virtual-tour-section {
        height: 500px;
    }

    .virtual-tour-play-btn {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .core-value-card {
        margin-bottom: 20px;
    }

    .core-value-image {
        height: 160px;
    }

    .core-value-image img {
        width: 120px;
        height: 120px;
    }

    .offer-item {
        padding: 15px;
    }

    .offer-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .offer-item h5 {
        font-size: 1rem;
    }

    .virtual-tour-section {
        height: 450px;
    }

    .virtual-tour-play-btn {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .virtual-tour-text {
        font-size: 18px;
    }

    .virtual-tour-bottom {
        padding: 30px 0;
    }

    .virtual-tour-bottom p {
        font-size: 1rem;
    }

    .schedule-visit-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .core-value-image {
        height: 140px;
        padding: 15px;
    }

    .core-value-image img {
        width: 100px;
        height: 100px;
        border: 3px solid white;
    }

    .core-value-content {
        padding: 12px 15px 20px;
    }

    .core-value-content h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .core-value-content p {
        font-size: 0.8rem;
    }

    .virtual-tour-section {
        height: 400px;
    }

    .virtual-tour-play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
        border: 3px solid white;
    }

    .virtual-tour-text {
        font-size: 16px;
    }

    .virtual-tour-bottom {
        padding: 25px 15px;
    }

    .virtual-tour-bottom p {
        font-size: 0.9rem;
    }

    .schedule-visit-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}



/* ===================================
   OUR PROGRAMS SECTION
   =================================== */

/* Icon Wrapper */
.program-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.program-card-inner {
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A90E2 0%, #5B9BD5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: white;
    transition: all 0.3s ease;
}

.program-card:hover .program-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #103741;
    margin-bottom: 10px;
    font-family: 'Lobster Two', cursive;
}

.program-card-age {
    font-size: 1rem;
    font-weight: 600;
    color: #5B9BD5;
    margin-bottom: 15px;
}

.program-card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.program-know-more {
    display: inline-block;
    color: #5B9BD5;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.program-know-more:hover {
    color: #4A90E2;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    .program-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .program-card-inner {
        padding: 25px 20px;
    }
    
    .program-card-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .program-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .program-icon-circle {
        width: 90px;
        height: 90px;
    }
    
    .program-card {
        margin-bottom: 20px;
    }
    
    .program-card-inner {
        padding: 20px 15px;
    }
    
    .program-card-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
        margin-bottom: 15px;
    }
    
    .program-card-title {
        font-size: 1.2rem;
    }
    
    .program-card-age {
        font-size: 0.9rem;
    }
    
    .program-card-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .program-icon-circle {
        width: 80px;
        height: 80px;
    }
}









/* ===================================
   GALLERY SECTION - CAROUSEL SLIDER
   =================================== */

/* Icon Wrapper */
.gallery-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 107, 107, 0.3);
}

/* Gallery Carousel Container */
.gallery-carousel-container {
    position: relative;
    padding: 0 60px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 280px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 122, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 40px;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Navigation Arrows */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #1a5f7a;
    color: #1a5f7a;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.gallery-nav-btn:hover {
    background: #1a5f7a;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Owl Carousel Customization */
.gallery-owl-carousel .owl-stage-outer {
    overflow: visible;
}

.gallery-owl-carousel .owl-item {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gallery-owl-carousel .owl-item.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .gallery-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .gallery-img-wrapper {
        height: 250px;
    }
    
    .gallery-overlay i {
        font-size: 35px;
    }
    
    .gallery-carousel-container {
        padding: 0 50px;
    }
    
    .gallery-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .gallery-icon-circle {
        width: 90px;
        height: 90px;
    }
    
    .gallery-img-wrapper {
        height: 220px;
    }
    
    .gallery-overlay i {
        font-size: 30px;
    }
    
    .gallery-carousel-container {
        padding: 0 45px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gallery-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .gallery-img-wrapper {
        height: 200px;
    }
    
    .gallery-overlay i {
        font-size: 25px;
    }
    
    .gallery-carousel-container {
        padding: 0 40px;
    }
    
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}




/* ===================================
   TESTIMONIAL SECTION
   =================================== */

/* Icon Wrapper */
.testimonial-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(91, 155, 213, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(91, 155, 213, 0.3);
}

/* Testimonial Carousel Container */
.testimonial-carousel-container {
    position: relative;
    padding: 0 80px;
    max-width: 900px;
    margin: 0 auto;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Quote Icon */
.testimonial-quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #5B9BD5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.testimonial-quote-icon i {
    color: white;
    font-size: 24px;
}

/* Testimonial Content */
.testimonial-content {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #5B9BD5;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #103741;
    margin-bottom: 5px;
}

.author-role {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.author-rating {
    display: flex;
    gap: 5px;
}

.author-rating i {
    color: #FFB800;
    font-size: 16px;
}

/* Testimonial Navigation Arrows */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: white;
    border: 2px solid #5B9BD5;
    color: #5B9BD5;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.testimonial-nav-prev {
    left: 0;
}

.testimonial-nav-next {
    right: 0;
}

.testimonial-nav-btn:hover {
    background: linear-gradient(135deg, #4A90E2 0%, #5B9BD5 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(91, 155, 213, 0.4);
}

/* Owl Carousel Dots */
.testimonial-owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-owl-carousel .owl-dot.active {
    background: #5B9BD5;
    width: 30px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .testimonial-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-carousel-container {
        padding: 0 70px;
    }
    
    .testimonial-card {
        padding: 40px 30px 30px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .testimonial-icon-circle {
        width: 90px;
        height: 90px;
    }
    
    .testimonial-carousel-container {
        padding: 0 60px;
    }
    
    .testimonial-card {
        padding: 35px 25px 25px;
        margin: 15px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-rating {
        justify-content: center;
    }
    
    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .testimonial-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-carousel-container {
        padding: 0 50px;
    }
    
    .testimonial-card {
        padding: 30px 20px 20px;
        margin: 10px;
    }
    
    .testimonial-quote-icon {
        width: 50px;
        height: 50px;
        top: -20px;
    }
    
    .testimonial-quote-icon i {
        font-size: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .author-image {
        width: 70px;
        height: 70px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-role {
        font-size: 0.9rem;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}






/* Add these CSS rules to your style.css file to fix horizontal scrollbar */

/* 1. Prevent horizontal overflow on body and html */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* 2. Fix container widths */
.container-xxl, .container-fluid {
    overflow-x: hidden;
    max-width: 100%;
}

/* 3. Fix carousel container */
.container-fluid.p-0 {
    overflow-x: hidden;
}

.header-carousel {
    overflow-x: hidden;
    max-width: 100%;
}

.header-carousel .owl-carousel-item {
    overflow-x: hidden;
    max-width: 100vw;
}

.header-carousel .owl-carousel-item img {
    max-width: 100%;
    width: 100%;
}

/* 4. Fix rows extending beyond viewport */
.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

/* 5. Fix floating elements */
.floating-logo-badge,
.floating-admission-btn,
.floating-menu-btn {
    max-width: calc(100vw - 40px);
}

/* 6. Fix virtual tour section */
.virtual-tour-section {
    overflow-x: hidden;
    max-width: 100%;
}

.tour-bg-img,
.tour-video {
    max-width: 100%;
}

/* 7. Fix gallery and testimonial carousels */
.gallery-carousel-container,
.testimonial-carousel-container {
    overflow-x: hidden;
    max-width: 100%;
}

/* 8. Ensure all sections stay within bounds */
.container-xxl.py-5,
.container-xxl.bg-light {
    overflow-x: hidden;
}

/* 9. Fix offcanvas */
.offcanvas {
    max-width: 100vw;
}

/* 10. Additional safety measures */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}






/* virtual tour overlay content */

