 General Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: #0c2340;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #de66ca;
  font-size: xx-large;
  font-weight: 600;
  font-family: 'quicksand font';
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #bc0505;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('caring.avif') center/cover no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.6); /* subtle white overlay */
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4); /* adjust transparency if needed */
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}








.hero {
  background-color: #f4f4f4;
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h {
  font-size: 300%;
  color: #bc0505;
  margin-bottom: 1rem;
}
.hero-text h1 {
  font-size: 1.5rem;
  color: #0c2340;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #bc0505;
  color: #0c2340;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #bc0505;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: #fff;
}

.about h2 {
  text-align: center;
  color: #0c2340;
  margin-bottom: 2rem;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

.features > div {
  margin-bottom: 1.5rem;
}

.features h3 {
  color: #0c2340;
  margin-bottom: 0.5rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: #f4f4f4;
}

.services h2 {
  text-align: center;
  color: #0c2340;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  flex: 1 1 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  color: #0c2340;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.testimonials h2 {
  color: #0c2340;
  margin-bottom: 2rem;
}

.testimonial-box {
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-box img {
  border-radius: 50%;
  width: 100px;
  margin-bottom: 1rem;
}

.testimonial {
  font-style: italic;
  color: #444;
}

/* Footer */
.site-footer {
  background-color: #0c2340;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content,
  .about-wrapper,
  .service-cards {
    flex-direction: column;
    text-align: center;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-nav a {
    margin: 0.5rem 0;
  }
}


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* Smaller gap brings logo text closer */
  text-decoration: none;
}

.logo-img {
  height: 50px; /* Bigger logo */
  width: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.brand-text {
  font-size: 1.5rem; /* Bigger and more visible text */
  font-weight: 700;
  color: #0c2340;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.6px;
}







/* General image styling for sections */
section img {
  width: 80%;                /* Makes image smaller overall */
  max-width: 300px;          /* Limits image width */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(0.93);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin: 0 auto;
  display: block;
}

/* Popping hover effect */
section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}




.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 58px; /* Slightly larger logo */
  width: auto;
  transition: height 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Navigation Styles */
.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c2340;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

/* Header */
.site-header {
  background-color: #0c2340;
  padding: 1rem 0;
}




/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  font-weight: 500;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1;
}

.dropdown-content a {
  color: #0c2340;
  padding: 0.75rem 1.2rem;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}


.elegant-section {
  background: linear-gradient(to bottom right, #fdfdfd, #f4f4f4);
  padding: 5rem 2rem;
}

.appointment-section {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.appointment-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0c2340;
}
.appointment-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}
.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.appointment-form button {
  background-color: #bc0505;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
.appointment-form button:hover {
  background-color: #a00404;
}






.btn-get-started {
  display: inline-block;
  background: linear-gradient(135deg, #bc0505, #de66ca);
  color: #ffffff;
  padding: 0.9rem 2.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(188, 5, 5, 0.35);
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.btn-get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn-get-started:hover::before {
  left: 125%;
}

/* Hover glow and scale */
.btn-get-started:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 0 15px #de66ca, 0 0 30px rgba(188, 5, 5, 0.5);
  background: linear-gradient(135deg, #a80404, #c554b6);
  border-color: #fff;
}

/* Icon style */
.btn-get-started .icon {
  margin-right: 8px;
  font-size: 1.3rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Icon spin on hover */
.btn-get-started:hover .icon {
  transform: rotate(20deg) scale(1.2);
}






  .btn-book {
    display: inline-block;
    margin-top: 2rem;
    background-color: #0c2340;
    color: white;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .btn-book:hover {
    background-color: #bc0505;
    transform: scale(1.05);
  }



  .main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

.main-nav a,
.dropbtn {
  text-decoration: none;
  color: #fff;
  padding: 10px 16px;
  display: inline-block;
  background: none;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #002d62;
  min-width: 220px;
  border-radius: 6px;
  z-index: 1000;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  padding: 10px 14px;
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #f3a4a4;
}

.dropdown:hover .dropdown-content {
  display: block;
}




.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: slideDown 0.4s ease-out;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  margin: 10px 0;
  font-family: 'Open Sans', sans-serif;
  color: #003366;
}

.modal-content p {
  color: #444;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


 /* ========== Mobile Optimization ========== */
@media (max-width: 768px) {

  /* Layout and container */
  .container, .header-container, .about-wrapper, .service-cards, .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0 1rem;
  }

  /* Header / Nav */
  .main-nav {
    flex-direction: column;
    gap: 1rem;
    background-color: #0c2340;
    padding: 1rem 0;
  }

  .main-nav a,
  .dropbtn {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: #0c2340;
    border-radius: 0;
  }

  .dropdown-content a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #1a1a1a;
  }

  /* Hero Section */
  .hero {
    padding: 2rem 1rem;
  }

  .hero-text h {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 1.3rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-get-started,
  .btn-book {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
  }

  .hero-image img {
    max-width: 90%;
  }

  /* About section */
  .about h2 {
    font-size: 1.6rem;
  }

  .features > div {
    margin-bottom: 1.2rem;
  }

  /* Service Cards */
  .card {
    flex: 1 1 100%;
    padding: 1rem;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card img {
    max-width: 90%;
  }

  /* Testimonials */
  .testimonial-box img {
    width: 80px;
  }

  /* Footer */
  .site-footer {
    font-size: 0.9rem;
    padding: 1rem;
  }

  /* Modal */
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  .modal-content h2 {
    font-size: 1.4rem;
  }

  .modal-content p {
    font-size: 1rem;
  }

  /* Appointment section */
  .appointment-section {
    padding: 1.5rem;
  }

  .appointment-form input,
  .appointment-form textarea {
    font-size: 0.95rem;
  }
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #0c2340;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 0;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a,
  .dropbtn {
    margin: 0.5rem 0;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    background-color: #003366;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* Disable hover dropdown on mobile */
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}

.fancy-phone {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; /* smaller font */
  color: #0077cc !important;
  text-decoration: none !important;
  background-color: #d6f1ff; /* soft baby blue */
  padding: 0.2em 0.5em; /* reduced padding */
  border-radius: 4px; /* slightly smaller corners */
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 400;
}

.fancy-phone:hover {
  background-color: #0077cc;
  color: #fff !important;
}



.sliding-text {
  font-family: "Times New Roman", Times, serif !important;
  font-style: italic !important;
  font-weight: bold !important;
  font-size: 2.5rem;
  text-align: center;
  color: #1e1e1e;
}

#slidingWords {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: inline-block;
}



