:root {
  --primary-color: #014D4D;   /* Deep teal */
  --secondary-color: #00A7B5; /* Aqua blue */
  --accent-color: #2B2C6C;    /* Navy purple */
  --highlight-color: #e63946; /* Red for buttons */
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: #ffffffee;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-brand img {
  height: 55px;
  margin-right: 8px;
}

.brand-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 20px;
}

.nav-link {
  color: var(--accent-color) !important;
  font-weight: 500;
  margin: 0 8px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.dropdown-item {
  padding: 10px 18px;
}

.dropdown-item:hover {
  background: var(--secondary-color);
  color: white;
}

/* Appointment Button */
.btn-appointment {
  background: var(--highlight-color);
  color: white;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 18px;
  margin-right: 10px;
  transition: background 0.3s, transform 0.3s;
}

.btn-appointment:hover {
  background: #c92d39;
  transform: translateY(-2px);
}

/* Phone Contact */
.phone-contact {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent-color);
}

.phone-contact i {
  font-size: 20px;
  color: white;
  background: var(--secondary-color);
  border-radius: 50%;
  padding: 8px;
  margin-right: 8px;
}

/* Hero Section */
.hero img {
  height: 80vh;         /* keeps height consistent */
  width: 100%;          /* full width */
  object-fit: cover;    /* scales image to fill, cropping excess */
  object-position: center; /* center the image */
}


/* Banner Section */
.banner-section img {
  padding: 20px 0;
  width: 100%;
  height: auto;
  display: block;
}

/* About Section */
.about-section {
  background: #f8fbfc;
}

.about-section h6 {
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-section h2 {
  color: var(--accent-color);
  font-weight: 700;
  border-left: 5px solid var(--secondary-color);
  padding-left: 12px;
  margin-bottom: 20px;
}

.about-section p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}

.about-section img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.about-section img:hover {
  transform: scale(1.05);
}

.about-section .btn {
  background-color: var(--secondary-color);
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.about-section .btn:hover {
  background-color: #007580;
  color: #fff;
}

/* Services Section */
.services-section {
  background: #f0f7f8;
}

.services-section h6 {
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.services-section h2 {
  color: var(--accent-color);
}

.service-card {
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
}

.service-card h5 {
  color: var(--accent-color);
  margin-bottom: 12px;
}

.service-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: "Georgia", serif;
}

.service-icon {
  font-size: 40px;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--highlight-color);
}

/* Section Titles */
.section-subtitle {
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  color: var(--accent-color);
  font-size: 2rem;
}

/* Why Choose Us Section */
.why-card {
  height: 320px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,33,71,0.7), rgba(0,33,71,0.6));
  z-index: 0;
}

.why-card i, 
.why-card h5,
.why-card p {
  position: relative;
  z-index: 1;
}

.why-card h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Get in Touch Section */
.get-in-touch-section {
  background: url('assets/bgwhy.jpg') no-repeat center center/cover;
  position: relative;
  min-height: 500px;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.get-in-touch-section h6 {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--highlight-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.get-in-touch-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.get-in-touch-section p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: #f0f0f0;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.get-in-touch-section .btn {
  background: linear-gradient(135deg, var(--highlight-color), #ff4b5c);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.5);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.get-in-touch-section .btn:hover {
  background: linear-gradient(135deg, #ff4b5c, var(--highlight-color));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 25px rgba(230, 57, 70, 0.6);
}

/* Footer */
.footer {
  background: #002147;
  color: #f1f1f1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  width: 70px;
  height: auto;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer p {
  margin-bottom: 8px;
  color: #ddd;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--highlight-color);
  padding-left: 5px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icons .facebook { background: #3b5998; }
.social-icons .instagram { background: #E4405F; }
.social-icons .youtube { background: #FF0000; }
.social-icons .linkedin { background: #0077B5; }

.social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Media Queries */
@media (max-width: 767px) {
  .navbar .nav-link {
    margin: 5px 0;
  }

  .phone-contact {
    margin-top: 10px;
  }

  .about-section h2, 
  .services-section h2, 
  .section-title {
    font-size: 1.8rem;
  }

  .get-in-touch-section h2 {
    font-size: 2rem;
  }
}

/* Fade-in animation */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}


/* Appointment Section */
.appointment-section {
  background: #f0f7f8;
  padding: 100px 20px 60px;
  font-family: 'Poppins', sans-serif;
}

.appointment-container {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.appointment-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.appointment-section h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #00A7B5;
  margin-bottom: 10px;
}

.appointment-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #014D4D;
  margin-bottom: 15px;
}

.appointment-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 35px;
}

/* Form Labels */
.appointment-container .form-label {
  font-weight: 600;
  color: #2B2C6C;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

/* Inputs & Select */
.appointment-container .form-control,
.appointment-container .form-select,
.appointment-container textarea {
  border-radius: 12px;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.appointment-container .form-control:focus,
.appointment-container .form-select:focus,
.appointment-container textarea:focus {
  border-color: #00A7B5;
  box-shadow: 0 0 10px rgba(0, 167, 181, 0.3);
  outline: none;
}

/* Textarea */
.appointment-container textarea {
  resize: none;
}

/* Submit Button */
.appointment-container .btn-primary {
  background: linear-gradient(135deg, #e63946, #ff4b5c);
  color: #fff;
  font-weight: 700;
  padding: 14px 40px;
  font-size: 1.1rem;
  border-radius: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
}

.appointment-container .btn-primary:hover {
  background: linear-gradient(135deg, #ff4b5c, #e63946);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 25px rgba(230, 57, 70, 0.6);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .appointment-section {
    padding: 80px 15px 40px;
  }

  .appointment-section h2 {
    font-size: 2rem;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 20px; /* Distance from the right edge */
  top: 50%;   /* Vertically center */
  transform: translateY(-50%); /* Adjust vertical centering */
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
}

.whatsapp-float i {
  margin-top: 14px;
}

