/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #0077b6;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-weight: 600;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;        /* 🔹 removes underline */
  position: relative;           /* needed for hover line animation */
  transition: color 0.3s ease;
}

/* Hover Effect: animated underline */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Optional: color change on hover */
.nav-links li a:hover {
  color: #ffd166;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 100px 20px;
  box-sizing: border-box;

  /* Responsive background setup */
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
              url('images/hero1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll; /* prevents zoom issues on mobile */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .btn {
  background: #00b4d8;
  padding: 12px 25px;
  border-radius: 6px;
  color: #fff;
  margin: 5px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero .btn:hover {
  background: #0077b6;
  transform: scale(1.05);
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
    min-height: 70vh;
    background-position: center top;
    background-size: contain; /* makes image fully visible */
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ✅ Extra Small Devices (under 480px) */
@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 50px 10px;
    background-size: cover; /* fallback for smaller screens */
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}



/* About Us */

.about {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #00b4d8; /* sky blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); /* subtle shadow for depth */
}

.about h2 {
  text-align: center;
  margin-bottom: 40px;
}

.about-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

/* Image Styling */
.about-container img {
  width: 100%;
  max-width: 400px;
  height: 280px;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* smooth hover transition */
  display: block;
}

/* Proper hover on mouse over */
.about-container img:hover {
  transform: scale(1.05); /* subtle zoom */
  box-shadow: 0 0 20px #00b4d8; /* sky blue glow */
  cursor: pointer;
}

/* Paragraph styling */
.about-container p {
  flex: 1;
}

/* Optional: responsive tweak */
@media(max-width:768px){
  .about-container {
    flex-direction: column;
  }
  .about-container img {
    max-width: 100%;
  }
}



/* Services */
.services {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 15px;
  border: 2px solid #0077b6; /* blue border */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover effect */
.card:hover {
  transform: scale(1.05);           /* subtle zoom */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* stronger shadow on hover */
  border-color: #00b4d8;           /* hover border color change */
}


.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.4rem;
  margin: 15px 0 10px;
  color: #007b5e;
}

.card p {
  padding: 0 15px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* Team Section */

#team {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #00b4d8; /* sky blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); /* subtle shadow for depth */
}

.team h2 {
  text-align: center;
  margin-bottom: 40px;
}
.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}
.team-card {
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.team-card img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Counters */
.counters {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #004080; /* dark blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 64, 128, 0.2); /* subtle shadow */
  background: #f9f9f9;       /* optional: light background for contrast */
}

.counters .counter {
  text-align: center;
  flex: 1;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counters .counter:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 64, 128, 0.3);
}

.counters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #00b4d8;
  color: #fff;
  padding: 50px 20px;
}
.counter {
  flex: 1 1 200px;
  text-align: center;
  margin: 10px 0;
}
.counter h3 {
  font-size: 2.5rem;
}

/* Testimonials */
.testimonials {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #00b4d8; /* sky blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); /* subtle shadow */
  background: #f9f9f9;       /* optional: light background for contrast */
}

/* Individual testimonial cards */
.testimonials .testimonial-card {
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials .testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.testimonials {
  padding: 60px 20px;
  text-align: center;
  background: #f7f9fb;
}
.testimonial-card {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #0077b6;
}

/* Blog Section */
.blog {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #00b4d8; /* sky blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); /* subtle shadow */
  background: #f9f9f9;       /* optional: light background for contrast */
}

/* Blog cards inside the section */
.blog .blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog .blog-card {
  flex: 1;
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog .blog-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
  border-color: #00b4d8;
}

.blog {
  padding: 60px 20px;
}
.blog h2 {
  text-align: center;
  margin-bottom: 40px;
}
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.blog-card img {
  width: 100%;
  display: block;
}
.blog-card h3 {
  padding: 15px;
  color: #0077b6;
}
.blog-card p {
  padding: 0 15px 15px;
}

/* Appointment Form */
.appointment {
  transition: box-shadow 0.6s ease;
}

.appointment {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  border: 2px solid #00b4d8; /* sky blue border */
  border-radius: 15px;        /* rounded corners */
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); /* subtle shadow */
  background: #f9f9f9;       /* optional: light background for contrast */
}

/* Form styling inside appointment section */
.appointment form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.appointment input,
.appointment textarea,
.appointment select,
.appointment button {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.appointment input:focus,
.appointment textarea:focus,
.appointment select:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 5px rgba(0, 180, 216, 0.3);
  outline: none;
}

.appointment button {
  background: #0077b6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.appointment button:hover {
  background: #00b4d8;
  transform: scale(1.05);
}

.appointment {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}
.appointment form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.appointment input, .appointment textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}
.appointment button {
  background: #0077b6;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.appointment button:hover {
  background: #023e8a;
}
.success-msg {
  color: green;
  margin-top: 10px;
}

/* Contact Section */
.contact {
  background: #f1f9f9;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact h2 {
  font-size: 2rem;
  color: #0b3d3c;
  margin-bottom: 20px;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #333;
  line-height: 1.6;
}

/* Map Styling */
.contact .map-container {
  position: relative;
  width: 100%;
  height: 450px; /* Increased height */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 50px; /* Space before footer */
}

.contact .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    padding: 40px 15px;
  }

  .contact .map-container {
    height: 300px;
  }
}

/* Footer */
footer {
  background: #023e8a;
  color: #fff;
  text-align: center;
  padding: 15px;
}
footer {
  position: relative;
  z-index: 2;
}
footer {
  color: #fff;
  padding: 20px 10px;
  font-size: 15px;
  line-height: 1.6;
}

footer a.developer-link {
  color: #00e0ff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

footer a.developer-link:hover {
  color: #fff;
  text-decoration: underline;
}


/* Floating Buttons */
.float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.float-btn a {
  background: #25d366;
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: 0.3s;
}
.float-btn a:hover {
  transform: scale(1.1);
}
.float-btn a:last-child {
  background: #0077b6;
}


/* 1. Desktop Navbar */
.nav-links {
  display: flex; /* Make sure menu shows on desktop */
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  text-decoration: underline;
}

/* 2. Hamburger hidden on desktop */
.hamburger {
  display: none;
}

/* 3. Mobile Menu */
@media (max-width: 992px) {
  .hamburger {
    display: block; /* Show hamburger */
  }

  .nav-links {
    display: none; /* Hide menu initially on mobile */
    flex-direction: column;
    background: #0077b6;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    display: flex; /* Show menu when active */
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    font-size: 1.1rem;
  }
}
/* Floating WhatsApp & Call Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-buttons a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

/* WhatsApp Button */
.float-whatsapp {
  background-color: #25D366;
}

/* Call Button */
.float-call {
  background-color: #0077b6;
}

.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-buttons a {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}
/* Donation */
/* Donation Section */
.donation {
  background: #f0faff;
  padding: 60px 20px;
  text-align: center;
  border: 2px solid #0077b6;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
  max-width: 800px;
  margin: 60px auto;
}

.donation h2 {
  color: #0077b6;
  font-size: 2rem;
  margin-bottom: 15px;
}

.donation p {
  color: #333;
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
  margin-bottom: 25px;
}

.donation button {
  background: #0077b6;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.donation button:hover {
  background: #0096c7;
}

/* QR container */
.qr-container {
  display: none;
  margin-top: 20px;
  transition: all 0.4s ease;
}

.qr-container.show {
  display: block;
}

.qr-container img {
  width: 220px;
  height: 220px;
  border-radius: 10px;
  border: 2px solid #0077b6;
  box-shadow: 0 0 15px rgba(0, 119, 182, 0.4);
}

.download-btn {
  display: inline-block;
  margin-top: 10px;
  background: #00b4d8;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.download-btn:hover {
  background: #0077b6;
}
#msg{
  color: #61b752;
  display: block;
}