body {
  min-height: 100vh;
  background: linear-gradient(135deg, #00216a 0%, #017fe5 100%);
  overflow-x: hidden;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

p, .bento-box p, .lead, .ai-overview {
  font-family: 'Roboto', Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

em, i {
  font-style: normal !important;
}

@import url('https://fonts.googleapis.com/css?family=Roboto:700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

.section-title {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #00216a;
  letter-spacing: 1px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(120deg, #00216a 60%, #017fe5 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; 
}

.gradient-bg {
  background: linear-gradient(120deg, #017fe5 0%, #00216a 100%);
}

.gradient-btn {
  background: linear-gradient(90deg, #017fe5 0%, #00216a 100%);
  border: none;
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px 0 rgba(1,127,229,0.15);
}
.gradient-btn:hover {
  background: linear-gradient(90deg, #00216a 0%, #017fe5 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(0,33,106,0.18);
}

.booking-form-box {
  background: linear-gradient(135deg, #017fe5 60%, #00216a 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 32px 0 rgba(1,127,229,0.10);
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.booking-form-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.booking-form-box::-webkit-scrollbar-thumb {
  background: #b3b3c6; /* thumb color */
  border-radius: 8px;
  margin: 2px;
  border: 2px solid rgba(35,35,74,0.0); /* Transparent border to keep thumb off the edge */
}
.booking-form-box::-webkit-scrollbar-corner {
  background: transparent;
}

.bento-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.bento-box {
  border-radius: 2rem 0 2rem 2rem/2rem 2rem 2rem 4rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: background 0.4s, border 0.4s, box-shadow 0.4s;
  box-shadow: 0 2px 16px 0 rgba(0,33,106,0.08);
}
.bento-gradient {
  background: linear-gradient(120deg, #e3f0ff 0%, #cbe6ff 100%);
  
}
.bento-box:hover {
  background: linear-gradient(120deg, #017fe5 0%, #00216a 100%);
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(1,127,229,0.15);
}
.bento-box::before {
  content: '';
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #017fe5 60%, #00216a 100%);
  border-radius: 0 0 100% 0;
  z-index: 1;
}

#bubbles-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.navbar {
  z-index: 1050;
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin: 0 0.5rem;
  border-radius: 1rem;
  transition: background 0.3s, color 0.3s;
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
  background: linear-gradient(90deg, #017fe5 0%, #00216a 100%);
  color: #fff;
}

.navbar-collapse {
  background: linear-gradient(120deg, #00216a 80%, #017fe5 100%);
  border-radius: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 24px 0 rgba(1,127,229,0.10);
}

.reviews-section {
  background: #f8fbff;
}
.ai-overview {
  font-size: 1.1rem;
  font-style: normal;
  background: linear-gradient(90deg, #017fe5 0%, #00216a 100%);
  color: #fff;
}

.services-section {
  background: #f8fbff;
}

.service-card {
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  background: #fff;
  color: #00216a;
  position: relative;
  overflow: hidden;
}

/* Curved, glowing gradient border for service cards */
.service-card.gradient-border {
    /* border-radius: 2.5rem 0 2.5rem 2.5rem/2.5rem 2.5rem 2.5rem 0; */
    /* border: 4px solid;
    border-image: linear-gradient(120deg, #017fe5 60%, #00216a 100%) 1; */
    box-shadow: 0 0 12px 3px rgba(1,127,229,0.18), 0 2px 24px 0 rgba(0,33,106,0.10);
    transition: border-image 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card.gradient-border:hover {
    border-image: linear-gradient(120deg, #00216a 60%, #017fe5 100%) 1;
    box-shadow: 0 0 12px 8px rgba(1,127,229,0.28), 0 4px 32px 0 rgba(0,33,106,0.18);
    background: linear-gradient(120deg, #e6f0fa 60%, #fff 100%);
}

/* Service card image reveal on hover */
.service-card .service-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s;
    border-radius: 2rem 0 2rem 2rem/2rem 2rem 2rem 0; /* Match bento-box corners exactly */
}
.service-card.gradient-border:hover .service-img {
    opacity: 0.18;
}

.service-card .read-more-link {
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    z-index: 2;
    background: rgba(1,127,229,0.9);
    color: #fff;
    padding: 0.4rem 1.1rem;
    border-radius: 1.2rem;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(1,127,229,0.12);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
}
.service-card.gradient-border:hover .read-more-link {
    opacity: 1;
    transform: translateY(0);
}

/* Service Icon: Big, Branded, Gradient (icon only, no background) */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
}
.service-icon .bi {
  font-size: 3.2rem;
  background: linear-gradient(90deg, #00eaff 0%, #017fe5 50%, #00216a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: bold;
  filter: drop-shadow(0 2px 8px rgba(1,127,229,0.18));
  transition: transform 0.3s, filter 0.3s;
}
.service-card.gradient-border:hover .service-icon .bi {
  transform: scale(1.15) rotate(-8deg);
  filter: drop-shadow(0 4px 16px rgba(1,127,229,0.28));
}

/* Service Hero Section with Background Image, Gradient, and Bubbles */
.service-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px; 
  background-image: linear-gradient(rgb(0, 60, 120), rgba(0, 60, 120, 0.668)), url('../img/aquadent.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

.hero-content{
  padding-top: 90px; 
}
.bubble-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.bubble {
  position: absolute;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  filter: blur(6px);
  animation: floatBubble 4s infinite ease-in-out;
}
@keyframes floatBubble {
  0% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0); }
}
.service-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@keyframes phone-flash {
  0% { color: #00eaff; filter: drop-shadow(0 0 6px #00eaff); }
  25% { color: #01e549; filter: drop-shadow(0 0 8px #e50101); }
  50% { color: #fff200; filter: drop-shadow(0 0 10px #fff200); }
  75% { color: #ff5e00; filter: drop-shadow(0 0 8px #ff5e00); }
  100% { color: #00eaff; filter: drop-shadow(0 0 6px #00eaff); }
}
.navbar-text .bi-telephone {
  animation: phone-flash 1.2s infinite linear;
  font-size: 1.3em;
}

.navbar-toggler {
  border-color: #fff !important;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Sticky Navbar background on scroll */
.navbar.scrolled {
  background: rgba(0, 33, 106, 0.97) !important;
  box-shadow: 0 2px 12px rgba(1,127,229,0.10);
  transition: background 0.3s, box-shadow 0.3s;
}

@media (max-width: 991px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  .bento-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .navbar-collapse {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: linear-gradient(120deg, #00216a 70%, #017fe5 100%);
    z-index: 2000;
    padding: 1rem 0;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 32px 0 rgba(1,127,229,0.10);
  }
  .navbar-nav .nav-link {
    display: block;
    margin: 0.5rem 0;
    text-align: center;
  }
  .service-card {
    min-height: 420px;
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .service-img {
    height: 140px;
  }
}

.bento-box .blog-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.bento-box .blog-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.bento-box:hover .blog-thumb img {
  opacity: 1;
}
.bento-box .blog-thumb .blog-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(90deg, #0d6842 0%, #007696 100%);
  border-radius: 12px;
  z-index: 1;
}

.gradient-outline {
  display: inline-block;
  padding: 0.25em 1em;
  border-radius: 2rem;
  border: 0.5px solid;
  border-color: #00216a;
  /* border-image: linear-gradient(90deg, #0d6842 0%, #007696 100%); */
  border-image-slice: 1;
  /* background: #fff; */
  box-shadow: 0 2px 12px rgba(1,127,229,0.08);
}
