:root {
  --primary-blue: #1A4D8F;
  --accent-blue: #3AB4B4;
  --glass-bg: rgba(255, 255, 255, 0.97);
  --topbar-bg: rgba(26, 77, 143, 0.95);
}

body {
  background: #f9fbfd;
  font-family: 'Segoe UI', sans-serif;
  padding-bottom: 70px;
}

/* Top Info Bar */
.top-info-bar {
  background: var(--topbar-bg);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.phone-capsule {
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 25px;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.phone-capsule:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.social-icons a {
  color: rgba(255,255,255,0.8);
  margin-left: 20px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: white;
  transform: translateY(-2px);
}

/* Main Header */
.sticky-header {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-capsule {
  background: rgba(255,255,255,0.7);
  border-radius: 35px;
  padding: 12px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.04);
  gap: 10px;
}

.nav-link-custom {
  color: var(--primary-blue) !important;
  padding: 14px 32px !important;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  text-decoration: none !important;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white !important;
  box-shadow: 0 6px 20px rgba(26, 77, 143, 0.2);
}

/* Mobile Navigation */
.side-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  z-index: 1050;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 8px 0 40px rgba(0,0,0,0.1);
}

.side-drawer.open { left: 0; }

.drawer-header {
  padding: 25px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-link {
  color: var(--primary-blue) !important;
  padding: 16px 24px;
  margin: 10px 0;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: block;
  font-weight: 500;
}

.drawer-link:hover { background: rgba(26, 77, 143, 0.08); }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  display: none;
  backdrop-filter: blur(3px);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  max-width: 500px;
  margin: 0 auto;
}

.nav-action-item { flex: 0 0 auto; }
.nav-action-center { flex: 1; text-align: center; padding: 0 10px; }

/* Buttons */
.btn-appointment {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white !important;
  padding: 14px 35px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  font-weight: 600;
}

.btn-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 77, 143, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(26, 77, 143, 0.2)), url('images/cover.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin: 20px 20px 0;
  border-radius: 30px;
  position: relative;
}

.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-section .lead {
  text-shadow: 1px 1px 2px var(--primary-blue), 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: rgba(58, 180, 180, 0.03);
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--glass-bg);
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin: 20px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-width: 800px;
}

.carousel-control-prev,
.carousel-control-next { width: 5%; }

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-blue);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
}

.carousel-indicators .active { background-color: var(--accent-blue); }

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(45deg, rgba(26, 77, 143, 0.03), rgba(58, 180, 180, 0.03));
}

.contact-info-card {
  background: var(--glass-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.contact-detail:hover { transform: translateX(10px); }
.contact-detail a {
color: inherit;
text-decoration: none;
display: flex;
align-items: center;
transition: all 0.3s ease;
}

.contact-detail a:hover {
transform: translateX(5px);
}

.contact-detail:hover .contact-icon {
background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
}
.contact-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 20px;
}

/* Video Section */

.video-section {
padding: 100px 0;
background: var(--glass-bg); 
}

.video-wrapper {
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
position: relative;
background: #000; 
max-height: 500px;
}

.video-wrapper:hover { 
transform: translateY(-5px); 
}

/* YouTube Facade Container */
.youtube-facade {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-height: 500px;
cursor: pointer;
transition: transform 0.3s ease;
}

/* Hover Effects */
.youtube-facade:hover {
transform: scale(1.02);
}

.youtube-facade:hover .play-button {
background: #ff0000;
transform: translate(-50%, -50%) scale(1.1);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Play Button Styling */
.play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 68px;
height: 48px;
background: rgba(255, 0, 0, 0.8);
border-radius: 15px;
transition: all 0.3s ease;
backdrop-filter: blur(2px);
}

/* Play Triangle */
.play-button::before {
content: '';
position: absolute;
left: 50%;
top: 50%;
transform: translate(-35%, -50%);
border-style: solid;
border-width: 12px 0 12px 20px;
border-color: transparent transparent transparent #fff;
}

/* Fallback Styling */
.youtube-facade::after {
content: "▶";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 50px;
opacity: 0.8;
text-shadow: 0 2px 5px rgba(0,0,0,0.3);
display: none; 

}

/* Responsive Adjustments */
@media (max-width: 768px) {
.video-section {
padding: 60px 0;
}

.play-button {
width: 52px;
height: 36px;
}

.play-button::before {
border-width: 8px 0 8px 14px;
}
}

/* Aspect Ratio Container */
.ratio-16x9 {
position: relative;
width: 100%;
padding-top: 56.25%; 
}

.ratio-16x9 > * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* Map Section */
.map-section {
  padding: 0 0 100px;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 400px;
  transition: transform 0.3s ease;
}

.map-wrapper:hover { transform: scale(1.02); }

/* Footer Styles */
.footer {
background: var(--primary-blue);
color: white;
padding: 80px 0 30px;
position: relative;
overflow: hidden;
}

.footer::before {
content: '';
position: absolute;
top: -50px;
left: 0;
right: 0;
height: 100px;
background: linear-gradient(to bottom, transparent, var(--primary-blue));
z-index: 1;
}

.footer-logo {
width: auto;
height: 60px;
transition: transform 0.3s ease;
}

.footer-logo:hover {
transform: scale(1.05);
}

.footer h5 {
color: var(--accent-blue);
font-size: 1.25rem;
margin-bottom: 25px;
font-weight: 600;
position: relative;
padding-bottom: 15px;
}

.footer h5::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 3px;
background: var(--accent-blue);
}

.footer-links a,
.footer-contact a,
.footer-social a {
color: rgba(255,255,255,0.8);
text-decoration: none;
display: block;
margin-bottom: 12px;
transition: all 0.3s ease;
position: relative;
}

.footer-links a {
padding-left: 20px;
}

.footer-links a::before {
content: '▹';
position: absolute;
left: 0;
color: var(--accent-blue);
transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
color: white;
transform: translateX(8px);
}

.footer-links a:hover::before {
color: white;
transform: translateX(3px);
}

.copyright {
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 30px;
margin-top: 60px;
text-align: center;
font-size: 0.9rem;
}

.copyright a {
color: var(--accent-blue);
text-decoration: none;
transition: color 0.3s ease;
}

.copyright a:hover {
color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
.footer {
padding: 60px 0 30px;
}

.footer h5 {
font-size: 1.1rem;
margin-bottom: 20px;
}

.footer-links a,
.footer-contact a,
.footer-social a {
margin-bottom: 10px;
}

.copyright .row > div {
text-align: center !important;
margin-bottom: 15px;
}
}

@media (max-width: 768px) {
.footer::before {
top: -30px;
height: 60px;
}

.footer-logo {
max-width: 140px;
}

.btn-appointment {
width: 100%;
text-align: center;
}
}

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

.footer h5::after {
width: 30px;
height: 2px;
}

.copyright {
padding-top: 20px;
margin-top: 40px;
}
}
/* Responsive Design */
@media (max-width: 991px) {
  .desktop-menu, .top-info-bar { display: none; }
  .mobile-bottom-nav { display: block; }
  .sticky-header { padding: 15px 0; }
  .hero-section { margin-bottom: 70px; }
}

@media (max-width: 768px) {
  .contact-section { padding: 60px 0; }
  .contact-detail { flex-direction: column; align-items: flex-start; }
  .contact-icon { margin-bottom: 15px; }
  .map-wrapper { height: 300px; }
  .footer { padding: 60px 0 30px; }
  .footer h5 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
  .video-wrapper, .map-wrapper { border-radius: 15px; }
  .contact-info-card { padding: 25px; }
  .btn-appointment { padding: 12px 25px; font-size: 0.9rem; }
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 50px 0;
    /* Adding a subtle background color to match the site's sections */
    background: linear-gradient(45deg, rgba(26, 77, 143, 0.03), rgba(58, 180, 180, 0.03));
}

.video-wrapper {

  background: white;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%; 
  overflow: hidden; 
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    border-radius: 15px;
    border: none;
}

/* Custom aspect ratio for YouTube Shorts (9:16) */
.ratio-9x16 {
  --bs-aspect-ratio: calc(16 / 9 * 100%);
}

/* Responsive adjustment for video wrappers */
@media (max-width: 991px) {
  .video-gallery-section {
    padding: 60px 0;
  }
}


@media (max-width: 768px) {
    .video-gallery-section .row {
        flex-direction: column;
        align-items: center;
    }
    
    .video-gallery-section .row > div {
        width: 100%; 
        max-width: 350px; 
    }
}
