/* ========== Base & layout ========== */
* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: 'Poppins', 'Lato', Calibri, Arial, sans-serif; color:#333; }

/* container helper */
.container { max-width:1200px; margin:0 auto; padding:0 1rem; }

/* colors */
:root {
  --primary:#1a237e;
  --accent:#00b894;
  --muted:#f5f8fb;
}

/* ========== NAVBAR ========== */
header { position:sticky; top:0; z-index:1000; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.06); }
.navbar { display:flex; align-items:center; justify-content:space-between; padding:0.9rem 1rem; max-width:1200px; margin:0 auto; }
.logo a { text-decoration:none; font-weight:700; font-size:1.4rem; color:var(--primary); }
.logo span { color:var(--accent); margin-left:0.25rem; }

.nav-links { display:flex; gap:1.25rem; list-style:none; margin:0; padding:0; align-items:center; }
.nav-links a { text-decoration:none; color:#333; font-weight:500; padding:0.25rem; transition:color .2s ease; }
.nav-links a:hover { color:var(--accent); }

/* appointment button */
.btn-appointment {
  display:inline-block;
  background: linear-gradient(45deg,var(--primary),var(--accent));
  color:#fff; padding:0.55rem 1rem; border-radius:40px; font-weight:600; box-shadow:0 6px 12px rgba(0,0,0,0.12);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn-appointment:hover { transform:translateY(-3px); box-shadow:0 10px 20px rgba(0,0,0,0.14); }

/* mobile toggle */
.menu-toggle { display:none; background:transparent; border:none; font-size:1.5rem; cursor:pointer; }

/* ========== HERO SLIDER ========== */
.hero-slider { position:relative; height:90vh; min-height:480px; overflow:hidden; }
.slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1s ease-in-out; }
.slide.active { opacity:1; }
.hero-content { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); text-align:center; color:#fff; text-shadow:0 6px 20px rgba(0,0,0,0.45); padding:0 1rem; }
.hero-content h1 { font-size:2.6rem; margin:0 0 .6rem; }
.hero-content p { font-size:1.15rem; margin:0 0 1.2rem; }

/* ========== SERVICES ========== */
.services { padding:3.5rem 0; background:var(--muted); text-align:center; }
.section-title { font-size:2rem; color:var(--primary); margin-bottom:0.5rem; }
.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; margin-top:1.25rem; }
.service-card { background:#fff; border-radius:10px; padding:0.9rem; box-shadow:0 6px 16px rgba(0,0,0,0.06); transition:transform .25s ease; }
.service-card:hover { transform:translateY(-8px); }
.service-card img { width:100%; height:180px; object-fit:cover; border-radius:8px; display:block; }
.service-card h3 { color:var(--accent); margin:0.9rem 0 0.35rem; font-size:1.1rem; }
.service-card p { margin:0; color:#555; font-size:0.95rem; }

/* ========== ABOUT ========== */
.about { padding:3.5rem 0; background:#fff; }
.about-container { display:flex; gap:2rem; align-items:center; }
.about-image { flex:0 0 40%; }
.about-image img { width:100%; height:auto; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.08); display:block; }
.about-content { flex:0 0 60%; }
.about-content h2 { margin-top:0; color:var(--primary); }
.about-content p { line-height:1.6; color:#444; }

/* Why Choose Us Section */
.why-us {
  padding: 4rem 1.5rem;
  background: #fff;
  text-align: center;
}

.why-us .section-title {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 2.5rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 in a row */
  gap: 2rem;
  max-width: 900px;
  margin: auto;
}

.why-us-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.why-us-card h3 {
  font-size: 1.3rem;
  color: #00b894;
  margin-bottom: 1rem;
}

.why-us-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}


/* ========== TESTIMONIALS ========== */
.testimonials { padding:3.5rem 0; background:#fff; text-align:center; }
.testimonial-wrapper { position:relative; max-width:900px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:1rem; }
.testimonial-viewport { width:100%; overflow:hidden; }
.testimonial-container { display:flex; width:100%; transition:transform .45s ease-in-out; }
.testimonial-card { flex:0 0 100%; padding:2rem; border-radius:12px; background:#f9f9f9; box-shadow:0 8px 22px rgba(0,0,0,0.06); text-align:left; }
.testimonial-card p { font-size:1.05rem; margin:0 0 1rem; color:#333; }
.testimonial-card h4 { margin:0; color:var(--accent); font-weight:600; }

/* arrows */
.arrow { position:absolute; top:50%; transform:translateY(-50%); background:var(--primary); color:#fff; border:none; width:44px; height:44px; border-radius:50%; cursor:pointer; font-size:1.25rem; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(0,0,0,0.12); transition:background .18s ease; z-index:5; }
.arrow:hover { background:var(--accent); }
.arrow.left { left:-16px; }
.arrow.right { right:-16px; }

/* ========== FAQ ========== */
.faq { padding:3.5rem 0; background:var(--muted); }
.faq .section-title { text-align:center; }
.faq-item { max-width:800px; margin:0.6rem auto; border-radius:8px; overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,0.06); background:#fff; }
.faq-question { width:100%; text-align:left; border:none; background:var(--primary); color:#fff; padding:1rem 1.2rem; font-weight:600; cursor:pointer; font-size:1rem; }
.faq-question:hover { background:var(--accent); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .3s ease; background:#fff; padding:0 1.2rem; }
.faq-answer p { margin:1rem 0; color:#444; line-height:1.6; }

/* ========== Responsive ========== */
@media (max-width:1024px) {
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .about-container { flex-direction:column; text-align:center; }
  .about-image, .about-content { flex: 0 0 100%; }
  .arrow.left { left:6px; }
  .arrow.right { right:6px; }
}

@media (max-width:768px) {
  .nav-links { position:fixed; right:-100%; top:64px; background:#fff; flex-direction:column; padding:1.25rem; width:220px; gap:1rem; box-shadow:-4px 4px 30px rgba(0,0,0,0.08); transition:right .25s ease; }
  .nav-links.active { right:0; }
  .menu-toggle { display:inline-block; }
  .hero-content h1 { font-size:1.6rem; }
  .hero-content p { font-size:0.95rem; }
  .service-grid { grid-template-columns:1fr; }
  .testimonial-card { padding:1rem; }
  .arrow.left, .arrow.right { display:flex; }
}


/* Contact Section */
.contact {
  padding: 4rem 1.5rem;
  background: #f9f9f9;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.contact-form {
  flex: 0 0 58%;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form .section-title {
  font-size: 1.8rem;
  color: #1a237e;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Lato', 'Poppins', Arial, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1a237e;
  box-shadow: 0 0 4px rgba(26, 35, 126, 0.4);
}

.btn-submit {
  background: #1a237e;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-submit:hover {
  background: #00b894;
}

/* Map Section */
.contact-map {
  flex: 0 0 38%;
}

.contact-map .section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a237e;
}

.contact-map iframe {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-form,
  .contact-map {
    flex: 0 0 100%;
  }
}

/* Footer Section */
.footer {
  background: #000;
  color: #ccc;
  padding: 3rem 1.5rem 1rem;
  font-family: 'Lato', 'Poppins', Arial, sans-serif;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Left: Logo & Description */
.footer-left {
  flex: 1 1 30%;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer-left p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaa;
}

/* Middle: Important Links */
.footer-links {
  flex: 1 1 25%;
}

.footer-links h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #00b894;
}

/* Right: Call to Action */
.footer-cta {
  flex: 1 1 30%;
}

.footer-cta h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-cta p {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.btn-footer {
  display: inline-block;
  background: #1a237e;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-footer:hover {
  background: #00b894;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #222;
  padding-top: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #777;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .footer-left, .footer-links, .footer-cta {
    flex: 1 1 100%;
  }
  .footer-logo {
    margin: auto;
  }
}

/* CTA Banner Section */
.cta-banner {
  background: url('/assets/images/cta-back.jpg') no-repeat center center/cover;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-overlay {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent */
  width: 50%;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  background: #1a237e;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #00b894;
}

/* Responsive */
@media (max-width: 992px) {
  .cta-overlay {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .cta-banner {
    height: auto;
    padding: 3rem 1rem;
  }
  .cta-overlay {
    width: 100%;
    padding: 1.5rem;
  }
  .cta-content h2 {
    font-size: 1.5rem;
  }
  .cta-content p {
    font-size: 0.9rem;
  }
}

.navbar .logo img {
  max-height: 50px;
  width: auto;
}


