/* Modern Color Scheme and Variables */
:root {
  --primary-blue: #0066FF;
  --secondary-blue: #4D9FFF;
  --accent-blue: #00D1FF;
  --dark-blue: #001B3D;
  --white: #ffffff;
  --off-white: #F5F9FF;
  --light-gray: #EDF2F7;
  --text-dark: #1A202C;
  --text-light: #4A5568;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  --shadow-sm: 0 2px 4px rgba(0, 102, 255, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 102, 255, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 102, 255, 0.1);
  --border-radius: 16px;
}

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--off-white);
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto !important;
}

/* Modern Navbar */
.ftco-navbar-light {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.ftco-navbar-light .navbar-brand {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -1px;
}

.ftco-navbar-light .navbar-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ftco-navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.ftco-navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: all 0.3s ease;
}

.ftco-navbar-light .navbar-nav .nav-link:hover,
.ftco-navbar-light .navbar-nav .nav-link:focus {
  color: var(--primary-blue);
  opacity: 1;
}

.ftco-navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  font-weight: 600;
  opacity: 1;
}

.ftco-navbar-light .navbar-nav .nav-link:hover::after,
.ftco-navbar-light .navbar-nav .nav-link.active::after {
  width: 80%;
}

.text-white {
  color: var(--white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.hero .slider-item {
  min-height: 100vh;
  position: relative;
  background-color: var(--dark-blue);
  touch-action: pan-y pinch-zoom;
}

.hero .slider-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .text {
  padding: 0 3rem;
  position: relative;
  z-index: 1;
}

.hero .subheading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(0, 102, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h1 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Why Choose Us Section */
.why-us-content .feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.why-us-content .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-us-content .feature-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.why-us-content .feature-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Instructor Info Section */
.instructor-info {
  border-radius: var(--border-radius);
  border-top: 4px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.instructor-info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.instructor-info h3 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.instructor-info p {
  color: var(--text-light);
  line-height: 1.6;
}

.instructor-info i {
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.instructor-info .d-flex span {
  font-weight: 500;
  color: var(--text-dark);
}

/* Services Section */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  overflow: hidden;
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover:before {
  opacity: 0.05;
}

.service-card .icon {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card .btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card .btn-outline-primary:after {
  content: '→';
  opacity: 0;
  margin-left: -10px;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  line-height: 1;
}

.service-card .btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  padding-right: 2.5rem;
}

.service-card .btn-outline-primary:hover:after {
  opacity: 1;
  margin-left: 10px;
}

/* Remove the old arrow positioning */
.service-card:after {
  display: none;
}

.service-card:hover:after {
  display: none;
}

/* Testimonials Section Styles */
#testimonials {
    background-color: var(--dark-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none"/><circle cx="3" cy="3" r="0.5" fill="rgba(0,0,0,0.05)"/></svg>') repeat;
    opacity: 0.5;
}

#testimonials .subheading {
    color: #0066FF;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 30px;
}

#testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#testimonials .lead {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Gallery Styles */image.png
.gallery-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-wrapper h4 {
    font-weight: 500;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #fff;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.gallery-item a {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

/* Testimonials Grid Styles */
.testimonials-grid {
    margin-top: 40px;
    position: relative;
    padding: 20px 0;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimony-wrap {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px auto;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
}

.testimony-wrap.active {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .user-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
    transform: scale(1);
    transition: all 0.3s ease;
}

.testimony-wrap .rating {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimony-wrap .rating i {
    color: #FFD700;
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.testimony-wrap.active .rating i {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .review {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2D3748;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimony-wrap.active .review {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.3s;
}

.testimony-wrap.active .name {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .position {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.4s;
}

.testimony-wrap.active .position {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .location {
    font-size: 0.875rem;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.5s;
}

.testimony-wrap.active .location {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .location i {
    color: var(--primary-blue);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.testimonial-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.testimonial-nav .prev {
    left: -24px;
}

.testimonial-nav .next {
    right: -24px;
}

@media (max-width: 768px) {
    .testimonial-nav .prev {
        left: -12px;
    }

    .testimonial-nav .next {
        right: -12px;
    }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-dot:hover {
    background: rgba(0, 102, 255, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimony-wrap {
        padding: 2rem;
        margin: 15px;
    }

    .testimony-wrap .user-img {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .testimonial-nav button {
        width: 40px;
        height: 40px;
    }
}

/* FancyBox Customization */
.fancybox-bg {
    background: rgba(0, 0, 0, 0.95);
}

.fancybox-caption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.fancybox-button {
    background: rgba(0, 123, 255, 0.8);
    color: #fff;
}

.fancybox-button:hover {
    background: #007bff;
}

.fancybox-button--zoom,
.fancybox-button--slideshow,
.fancybox-button--fullscreen,
.fancybox-button--close {
    background: rgba(0, 123, 255, 0.8);
}

.fancybox-button--zoom:hover,
.fancybox-button--slideshow:hover,
.fancybox-button--fullscreen:hover,
.fancybox-button--close:hover {
    background: #007bff;
}

.fancybox-container {
    z-index: 9999;
}

.fancybox-content {
    background: transparent;
}

.fancybox-image {
    max-width: 100%;
    max-height: 90vh;
}

.fancybox-thumbs {
    background: rgba(0, 0, 0, 0.3);
}

.fancybox-thumbs__list a:before {
    border-color: #007bff;
}

/* Gallery image aspect ratio fix */
.gallery-item a {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8f9fa;
}

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

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-item {
        margin: 5px;
    }
    
    .gallery-item a {
        aspect-ratio: 3/2;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

/* Certifications Section */
.certification-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.certification-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.cert-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.certification-card:hover .cert-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.cert-icon i {
  font-size: 3rem;
  background: var(--white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.certification-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  color: var(--text-dark);
}

.certification-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 50px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.875rem;
}

.cert-badge i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .certification-card {
    padding: 2rem;
  }
  
  .cert-icon {
    width: 100px;
    height: 100px;
  }
  
  .cert-icon i {
    font-size: 2.5rem;
  }
}

/* Service Details Sections */
.service-details-container {
  width: 100%;
}

.service-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.service-details.active {
  opacity: 1;
  max-height: 1000px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.service-details-card {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-blue);
  position: relative;
  background: var(--white);
  padding: 2rem;
}

.service-details-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.service-image-placeholder {
  height: 200px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-features {
  list-style: none;
  padding-left: 0;
}

.service-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.service-features li i {
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.close-details {
  border-color: var(--light-gray);
  color: var(--text-light);
}

.close-details:hover {
  background-color: var(--light-gray);
  color: var(--text-dark);
}

/* Active service card styling */
.service-card.active {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card.active:before {
  opacity: 0.1;
}

/* Ready to Start button styling */
.ready-to-start {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
}

.ready-to-start:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* Slider Fixes */
.owl-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item,
.slider-item {
  touch-action: pan-y pinch-zoom !important;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

/* Ensure sections have proper scroll margin */
section[id] {
  margin-top: 80px;
}

/* Ensure content is scrollable */
body {
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  height: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Remove any JavaScript-based scroll handling */
.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.7;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-blue);
  opacity: 1;
}

.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  font-weight: 600;
  opacity: 1;
}

/* Ensure proper spacing for fixed header */
.ftco_navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

main {
  padding-top: 80px;
}

/* Scroll progress indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-progress {
  height: 100%;
  background: var(--primary-blue);
  width: 0;
  transition: width 0.2s ease-out;
}

/* Menu hover effect */
@media (min-width: 768px) {
  .navbar-nav .nav-item {
    position: relative;
  }

  .navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .navbar-nav .nav-item:hover::after,
  .navbar-nav .nav-item.nav-hover::after {
    width: 80%;
  }
}

/* Mobile menu improvements */
@media (max-width: 767px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: all 0.3s ease-out;
  }

  .navbar-nav .nav-item {
    transform: translateY(-8px);
    opacity: 0;
    transition: all 0.3s ease-out;
  }

  .navbar-collapse.show .nav-item {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(0, 123, 255, 0.1);
  }
}

/* Add transition for menu collapse */
.navbar-collapse {
  transition: all 0.3s ease-out;
}

/* Gallery Styles */
.gallery-wrapper {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.gallery-item a {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-item {
        margin: 5px;
    }
    
    .gallery-item a {
        aspect-ratio: 3/2;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}

/* FancyBox Customization */
.fancybox-bg {
    background: rgba(0, 0, 0, 0.95);
}

.fancybox-button {
    background: rgba(0, 123, 255, 0.8);
    color: #fff;
}

.fancybox-button:hover {
    background: #007bff;
}

.fancybox-button--zoom,
.fancybox-button--slideshow,
.fancybox-button--fullscreen,
.fancybox-button--close {
    background: rgba(0, 123, 255, 0.8);
}

.fancybox-button--zoom:hover,
.fancybox-button--slideshow:hover,
.fancybox-button--fullscreen:hover,
.fancybox-button--close:hover {
    background: #007bff;
}

.fancybox-caption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.fancybox-container {
    z-index: 9999;
}

.fancybox-content {
    background: transparent;
}

.fancybox-image {
    max-width: 100%;
    max-height: 90vh;
}

.fancybox-thumbs {
    background: rgba(0, 0, 0, 0.3);
}

.fancybox-thumbs__list a:before {
    border-color: #007bff;
}

/* Gallery image aspect ratio fix */
.gallery-item a {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8f9fa;
}

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

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-item a {
        aspect-ratio: 4/3;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
    }
}

.testimony-wrap {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px auto;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    max-width: 800px;
}

.testimony-wrap.active {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .user-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
    transform: scale(1);
    transition: all 0.3s ease;
}

.testimony-wrap .rating {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimony-wrap .rating i {
    color: #FFD700;
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.testimony-wrap.active .rating i {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .review {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2D3748;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimony-wrap.active .review {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.3s;
}

.testimony-wrap.active .name {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .position {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.4s;
}

.testimony-wrap.active .position {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .location {
    font-size: 0.875rem;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.5s;
}

.testimony-wrap.active .location {
    opacity: 1;
    transform: translateY(0);
}

.testimony-wrap .location i {
    color: var(--primary-blue);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.testimonial-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.testimonial-nav .prev {
    left: -24px;
}

.testimonial-nav .next {
    right: -24px;
}

@media (max-width: 768px) {
    .testimonial-nav .prev {
        left: -12px;
    }

    .testimonial-nav .next {
        right: -12px;
    }
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-dot:hover {
    background: rgba(0, 102, 255, 0.4);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimony-wrap {
        padding: 2rem;
        margin: 15px;
    }

    .testimony-wrap .user-img {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .testimonial-nav button {
        width: 40px;
        height: 40px;
    }
}

/* Footer Styles */
.footer {
    background: #ffffff;
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-contact-info li i {
    color: var(--primary-blue);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-info li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info li a:hover {
    color: var(--primary-blue);
}

.footer .social-links {
    margin-top: 2rem;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--text-dark);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.office-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.office-hours li:last-child {
    border-bottom: none;
}

.office-hours .day {
    font-weight: 500;
    color: var(--text-dark);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer h3 {
        margin-bottom: 1rem;
    }

    .footer .social-links {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-contact-info li {
        margin-bottom: 0.75rem;
    }
}

/* Google Translate (single instance) */
.google-translate-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1031;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.translate-circle-btn {
    display: none;
}
#google_translate_element {
    display: block;
}

@media (max-width: 768px) {
    .google-translate-container {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 24px;
        transform: translateX(-50%);
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .translate-circle-btn {
        display: flex;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--primary-blue);
        border: none;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        cursor: pointer;
        transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
        outline: none;
        margin: 8px;
        z-index: 1032;
    }
    .translate-circle-btn:hover, .translate-circle-btn:focus {
        background: var(--accent-blue);
        box-shadow: 0 6px 20px rgba(0,0,0,0.18);
        transform: translateY(-2px) scale(1.05);
    }
    .translate-circle-btn i {
        font-size: 2rem;
        color: #fff;
    }
    #google_translate_element {
        margin-top: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.15);
        padding: 12px 16px 8px 16px;
        min-width: 180px;
        max-width: 90vw;
        position: relative;
        z-index: 1031;
        display: none;
    }
}
@media (max-width: 480px) {
    .google-translate-container {
        bottom: 15px;
    }
    .translate-circle-btn {
        width: 48px;
        height: 48px;
    }
    #google_translate_element {
        min-width: 100px;
        padding: 8px 6px 4px 6px;
    }
}
