/* ===== Global Variables ===== */
:root {
    --primary: #0096c7;     /* Dental Sky Blue */
    --secondary: #90e0ef;   /* Soft Aqua */
    --light-bg: #f9fcff;    /* Very light blue background */
    --dark-text: #222;      /* Body text */
    --accent: #0077b6;      /* Deeper Blue Accent */
}

/* ===== Base ===== */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Logo Styling */
.navbar-logo {
  width: 42px;         /* adjust size */
  height: 42px;        /* keeps it square */
  object-fit: contain; /* keeps aspect ratio */
  border-radius: 50%;  /* makes it circular if logo is square */
  background: #fff;    /* white background (optional) */
  padding: 4px;        /* space around logo */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* subtle shadow */
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.1) rotate(3deg); /* fun hover effect */
}


/* ===== Navbar ===== */
.navbar-custom {
    background: var(--primary);
    padding: 0.8rem 1rem;
}
.navbar-custom .nav-link {
    color: #fff;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: 0.3s;
}
.navbar-custom .nav-link:hover {
    color: var(--secondary);
}
.btn-cta {
    background: var(--secondary);
    color: #003049;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    transition: 0.3s;
}
.btn-cta:hover {
    background: var(--accent);
    color: #fff;
}



/* ===== Hero Section ===== */
.hero {
    background: url('img/hero.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}
.section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    position: relative;
}
.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Wrapper ensures image stays a perfect circle */
.about-img-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;             /* Forces crop into circle */
    border: 6px solid var(--secondary);
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover {
    transform: scale(1.05);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* makes sure it fills the circle */
}

/* Responsive */
@media (max-width: 576px) {
    .about-img-wrapper {
        width: 200px;
        height: 200px;
    }
}



/* ===== Service Cards ===== */
.service-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95); /* soft glassy */
    box-shadow: 0 6px 20px rgba(0, 150, 199, 0.15);
    transition: all 0.35s ease;
    position: relative;
}
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 150, 199, 0.25);
}

/* Top Image with Overlay */
.service-card img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transition: transform 0.4s ease;
}
.service-card:hover img {
    transform: scale(1.1);
}
.service-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 200px;
    background: linear-gradient(to bottom, rgba(0, 150, 199, 0.2), rgba(0, 150, 199, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.service-card:hover::after {
    opacity: 1;
}

/* Card Body */
.service-card .card-body {
    text-align: center;
    padding: 25px 20px;
}

/* Title with Underline Animation */
.service-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.service-card .card-title::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background: var(--secondary);
    margin: 5px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.service-card:hover .card-title::after {
    width: 60%;
}

/* Staff Profile (no hover, just clean) */
.staff-profile {
  padding: 20px;
}

.staff-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 5px solid var(--secondary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 10px 0 5px;
}

.staff-desc {
  font-size: 0.95rem;
  color: #555;
  max-width: 250px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
}
.swiper-pagination-bullet {
  background: var(--secondary);
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}



/* Description */
.service-card .card-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
    min-height: 60px;
}

/* Price Tag */
.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Gradient Button */
.btn-outline-primary {
    border: none;
    background: linear-gradient(135deg, #0096c7, #0077b6);
    color: #fff !important;
    font-weight: 500;
    border-radius: 25px;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.25);
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0077b6, #023e8a);
    transform: scale(1.07);
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.4);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
}
.modal-header {
    background: var(--primary);
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.modal-footer .btn-primary {
    background: linear-gradient(135deg, #0096c7, #0077b6);
    border: none;
}
.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #0077b6, #023e8a);
}


/* ===== Buttons ===== */
/* Primary CTA (Book Appointment) */
.modal-footer .btn-primary {
    border: none;
    background: linear-gradient(135deg, #48cae4, #0096c7, #0077b6);
    background-size: 300% 100%;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.6rem 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 119, 182, 0.35);
}

.modal-footer .btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.45);
}

/* Secondary (Close button) */
.modal-footer .btn-secondary {
    background: #f1f1f1;
    color: #0077b6;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.6rem 1.4rem;
    transition: all 0.3s ease;
    border: 2px solid #0077b6;
}

.modal-footer .btn-secondary:hover {
    background: #0077b6;
    color: #fff;
    transform: translateY(-2px);
}



/* Uniform Grid Layout */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  width: 100%;
}

/* Card styling */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 150, 199, 0.15);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  height: 250px; /* ✅ Fixed height for uniform images */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 119, 182, 0.25);
}

/* Image (uniform size with cropping) */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ Keeps proportions and fills the card */
  border-radius: 18px;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-image {
  transform: scale(1.08);
}

/* Overlay with caption */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,150,199,0.7), rgba(0,150,199,0));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 18px;
  padding: 20px;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-card {
    height: 220px; /* Slightly smaller for tablets */
  }
}

@media (max-width: 576px) {
  .gallery-card {
    height: 200px; /* Smaller for mobile */
  }
}

/* Contact Section */
.contact-section {
  background: #0a1f2e; /* Dark navy background */
  color: #f1f1f1;
}

/* Section Title (matching your style) */
.contact-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.contact-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0096c7, #00b4d8);
}

/* Contact Info */
.contact-info-list p {
  font-size: 1rem;
  color: #ddd;
  margin-left: 12px;
}
.icon-box {
  width: 45px;
  height: 45px;
  background: #0096c7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(0,150,199,0.3);
}

/* Contact Card */
.contact-card {
  border: none;
  border-radius: 18px;
  background: #132c3f; /* darker card to blend with background */
}
.contact-card .form-control {
  border: 1.5px solid #2d4c63;
  background: #0e2435;
  color: #fff;
  transition: all 0.3s ease;
}
.contact-card .form-control::placeholder {
  color: #aaa;
}
.contact-card .form-control:focus {
  border-color: #0096c7;
  background: #122e44;
  box-shadow: 0 0 0 0.25rem rgba(0,150,199,0.25);
}

/* Button */
.submit-button {
  background: linear-gradient(90deg, #0096c7, #0077b6);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 15px rgba(0,119,182,0.4);
}
.submit-button:hover {
  background: linear-gradient(90deg, #0077b6, #005f8f);
}



/* responsive: smaller image on mobile and center spacing */
@media (max-width: 991.98px){
  .ai-image-wrap{ width:260px; height:260px; }
  .ai-assessment { padding-top:40px; padding-bottom:40px; }
}

@media (max-width: 575.98px){
  .ai-image-wrap{ width:200px; height:200px; }
  .ai-checklist li{ padding:10px; font-size:0.95rem; }
  .ai-cta{ width:100%; display:block; text-align:center; }
  .ai-assessment .lead{ font-size: .98rem; }
}



/* ===== Footer ===== */
/* Footer Section */
.footer {
  background: #0a1f2e; /* Dark navy like contact section */
  color: #d0f4ff;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}
.footer-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-text {
  font-size: 0.95rem;
  color: #ddd;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #ddd;
  transition: color 0.3s ease;
}
.footer-links li:hover {
  color: var(--secondary);
  cursor: pointer;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
}

.footer-bottom {
  font-size: 0.85rem;
  color: #bbb;
}

