/*style.css for Truefaith Clinic */

/* Reset & fonts */
:root{
  --bg: #f8fbff;
  --card: #ffffff;
  --accent: #175cdd;
  --accent-2: #0e45a8;
  --muted: #6b7280;
  --glass: rgba(255,255,255,0.7);
  --radius: 14px;
  --container: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg, var(--bg), #ffffff 60%);
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

/* Utility container */
.container{
  width: min(var(--container), 96%);
  margin: 0 auto;
}



/* Header */
.site-header{
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.6);
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(17,24,39,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{ display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit; }
.logo-mark{
  width:48px; height:48px; border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1.05rem; box-shadow: 0 6px 18px rgba(23,92,221,0.2);
}
.brand-title{ font-weight:700; color:var(--accent); }
.brand-sub{ font-size:0.8rem; color:var(--muted); }

/* Navigation */
.nav ul{ list-style:none; display:flex; gap:22px; align-items:center; }
.nav a{ text-decoration:none; color:#0f1724; font-weight:600; padding:8px 6px; border-radius:8px; transition: all .18s ease; }
.nav a:hover{ background: rgba(23,92,221,0.06); color:var(--accent); }

/* Header actions */
.header-actions{ display:flex; gap:12px; align-items:center; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:10px; cursor:pointer; }
.btn-primary{
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#fff; border:none; font-weight:700; box-shadow:0 8px 30px rgba(14,69,168,0.12);
   text-decoration: none;
}
.btn-ghost{
  background: transparent; border:1px solid rgba(15,20,36,0.06); color:var(--accent); padding:9px 14px;
   text-decoration: none;
}
.hamburger{ display:none; background:transparent; border:none; font-size:1.1rem; color:var(--accent); }

/* Hero */
.hero{ padding:56px 0; }
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 460px;
  gap:40px;
  align-items:center;
}
.eyebrow{ display:inline-block; background:#eaf3ff; color:var(--accent); padding:6px 12px; border-radius:999px; font-weight:600; margin-bottom:12px; }
.hero-left h1{ font-size:2.6rem; line-height:1.05; margin-bottom:12px; }
.accent{ color:var(--accent); }
.lead{ color:var(--muted); margin-bottom:18px; font-size:1.05rem; }
.hero-features{ list-style:none; display:flex; gap:18px; margin-bottom:22px; align-items:center; flex-wrap:wrap; }
.hero-features li{ display:flex; gap:10px; align-items:center; color:#374151; font-weight:600; }
.hero-features i{ color:#22c55e; }

/* Hero CTA */
.hero-cta{ display:flex; gap:12px; margin-bottom:20px; }
.hero-stats{ display:flex; gap:24px; margin-top:12px; color:var(--muted); }
.hero-stats strong{ display:block; color:var(--accent); font-size:1.35rem; }

/* Hero right card */
.hero-card{ position:relative; border-radius:18px; overflow:hidden; box-shadow: 0 20px 50px rgba(2,6,23,0.12); }
.hero-card img{ display:block; width:100%; height:100%; object-fit:cover; min-height:320px; transform:scale(1.03); transition:transform .6s ease; }
.hero-card:hover img{ transform:scale(1.06); }
.card-overlay{ position:absolute; left:18px; bottom:18px; background:linear-gradient(180deg, rgba(11,32,84,0.9), rgba(11,32,84,0.6)); color:#fff; padding:14px 16px; border-radius:10px; max-width:80%; }

/* Sections */
.section-title{ text-align:center; color:var(--accent); font-size:1.6rem; margin-bottom:6px; font-weight:700; }
.section-sub{ text-align:center; color:var(--muted); margin-bottom:26px; }

.service-row {
  display: flex;
  flex-wrap: wrap;   
  gap: 24px;
  overflow-x: auto;
  padding: 12px 0;
  scroll-behavior: smooth;
}

.service-row::-webkit-scrollbar {
  display: none;
}
.service-row {
  -ms-overflow-style: none;  
  scrollbar-width: none;     
}

.service {
  flex: 0 0 260px; 
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px 28px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  transition: transform 0.4s ease;
  box-shadow: 0 6px 18px rgba(23,92,221,0.2);
}
.service:hover .service-img {
  transform: scale(1.1) rotate(5deg);
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service h3 {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 1.25rem;
  font-weight: 600;
}
.service p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}


.service:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.12);
}




.brand-sub {
  display: flex;
  gap: 14px;              
  justify-content: center; 
  margin-top: 6px;
  flex-wrap: wrap;        
}

.brand-sub .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;                 
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 22px;      
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(23, 92, 221, 0.25);
}

.brand-sub .brand-link i {
  font-size: 1rem;         
}

.brand-sub .brand-link:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 92, 221, 0.35);
}


/* About Section */
.about {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(23,92,221,0.03), rgba(14,69,168,0.02));
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(2,6,23,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-media:hover img {
  transform: scale(1.05);
  box-shadow: 0 24px 64px rgba(2,6,23,0.15);
}

/* Experience Badge */
.about-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(23,92,221,0.25);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 700;
}

.about-content p {
  color: #374151;
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-content .btn-primary {
  margin-top: 12px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 12px;
    text-decoration: none;
  box-shadow: 0 8px 30px rgba(14,69,168,0.15);
}

/* Appointment Section */
.appointment {
  position: relative;
  padding: 60px 0;
  background: url('assets/banner.avif') no-repeat center center/cover;
  color: black;
  overflow: hidden;
  border-radius: 20px;
}
.appointment::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(23, 92, 221, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.appointment::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(14, 69, 168, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.appointment .tooth-icon {
  position: absolute;
  top: 30%;
  right: 10%;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.12);
  z-index: 1;
  pointer-events: none;
}

.appointment .tooth-icon2 {
  position: absolute;
  bottom: 20%;
  left: 15%;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.08);
  z-index: 1;
  pointer-events: none;
}


.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2; 
}

.appointment-info h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #175cdd;
}
.appointment-info p {
  margin-bottom: 18px;
}
.info-list {
  list-style: none;
  padding: 0;
  color: black;
  font-weight: 700;
}
.info-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Form column */
.appointment-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(2,6,23,0.1);
  color: #111;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}
.appointment-form textarea {
  min-height: 100px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
}
.btn.btn-primary {
  background: linear-gradient(90deg, #175cdd, #0e45a8);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
}
.btn.btn-ghost {
  background: transparent;
  border: 1px solid #175cdd;
  color: #175cdd;
  padding: 10px 20px;
  border-radius: 12px;
}


/* Contact */
.contact {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.contact-card {
  background: var(--card);
  padding: 28px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.12);
}
.card-icon-bg {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(23,92,221,0.2);
}
.card-icon {
  font-size: 28px;
  color: #fff;
}
.contact-card h4 {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 1.25rem;
  font-weight: 600;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 15px;
}
.contact-card .btn-small {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.contact-card .btn-small:hover {
  background: var(--accent-2);
}



/* Footer */
.footer{ background:#0f3e91; color:#fff; padding:28px 0 10px; margin-top:28px; }
.footer-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:18px; }
.footer-links{ list-style:none; padding:0; }
.footer-links a{ color:rgba(255,255,255,0.9); text-decoration:none; display:block; margin-bottom:8px; }
.footer-bottom{ text-align:center; padding-top:12px; opacity:0.95; font-size:0.92rem; }

.gmail-link {
  color: #ffffff;       
  text-decoration: none; 
  transition: color 0.2s ease;
}

.gmail-link:hover {
  color: #ffffff; 
}


/* Floating WhatsApp fab */
.whatsapp-fab{
  position:fixed; right:18px; bottom:18px; z-index:200; background:#25D366; color:#fff; width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 30px rgba(37,211,102,0.16); font-size:1.3rem;
  transition:transform .18s ease;
}
.whatsapp-fab:hover{ transform:translateY(-6px); }

/* =========================
   Why Choose Section
========================= */
.why-choose {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(23,92,221,0.04), rgba(14,69,168,0.03));
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.choose-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.choose-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform 0.3s, color 0.3s;
}

.choose-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.choose-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.choose-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.12);
}

.choose-card:hover i {
  transform: scale(1.3) rotate(10deg);
  color: var(--accent-2);
}

/* =========================
   Gallery / Before & After
========================= */
.gallery {
  padding: 64px 0;
  background: var(--bg);
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img:first-child {
  transform: scale(1.15);
}

.after-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-card:hover .after-img {
  opacity: 1;
}

/* =========================
   Testimonials
========================= */
.testimonials {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(23,92,221,0.04), rgba(14,69,168,0.03));
  text-align: center;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 3rem;
  color: rgba(23,92,221,0.1);
  font-weight: bold;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-card h4 {
  font-weight: 600;
  color: var(--accent-2);
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(2,6,23,0.12);
}


/* Responsive */

@media (max-width: 1024px) {
  .service {
    flex: 0 0 220px; 
  }
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .appointment-grid{ grid-template-columns: 1fr; }
  .header-inner{ gap:10px; }
  .nav {
    display: none;             
    position: absolute;       
    top: 150px;                
    left: 50%;                 
    transform: translateX(-50%); 
    background: var(--card);
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.08);
    z-index: 100;
    text-align: center;
    width: 200px;             
  }

  .nav.open {
    display: block;            
  }

  .nav ul {
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav li {
    margin: 0;
  }

  .nav a {
    display: block;
    padding: 10px 18px;
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .nav a:hover {
    background: var(--accent);
    color: #fff;
  }

  .hamburger {
    display: block;
  }

  .header-actions .btn-primary {
    display: none;
  }
 
  .about-media .about-badge {
    bottom: 10px;
    left: 10px;
    padding: 6px 12px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }
    .appointment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .service-row {
    flex-wrap: nowrap; 
    overflow-x: auto;
  }
  .service {
    flex: 0 0 200px; 
  }
}

@media (max-width: 520px) {
  .about-content p {
    font-size: 1rem;
  }
    .hero-left h1{ font-size:1.8rem; }
  .hero-stats{ flex-direction:column; gap:6px; }
    .service-row {
    flex-direction: column; 
    overflow-x: visible;
    align-items: center;
  }
  .service {
    flex: 0 0 90%; 
    max-width: 320px;
  }
    .contact-grid {
    grid-template-columns: 1fr;
  }
}


