/* styles.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

p {
    font-size: 18px;
    color: #474747;
}

h1 {
    font-size: 2.4rem;
    font-weight: 600;
}

h2 {
    font-size: 26px;
    font-weight: 400;
    color: #000;
}

h3 {
    font-weight: 400;
    font-size: 32px;
    color: #59aeb0;
}

h4 {
    font-size: 24px;
    font-weight: 500;
}

  /* Navbar Styling */
.navbar {
    position: fixed;  /* Makes the navbar sticky */
    left: 0;
    width: 100%;
    top: 0;            /* Sticks to the top of the viewport */
    z-index: 1000;     /* Ensures the navbar stays on top of other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaeef1;
    padding: 20px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
  }
  
  /* Navbar Logo Styling */
  .logo {
    display: flex;           /* Makes sure logo container also behaves as a flexbox */
    align-items: center;     /* Centers logo image vertically within its container */
  }

  .logo a{
    padding: 0;
  }

  .logo img {
    width: auto;         /* Allows the image to maintain its aspect ratio */
    max-width: 100px;    /* Sets the maximum width for the logo */
    height: auto;        /* Maintains the aspect ratio */
    vertical-align: middle;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  
  .nav-links a {
    font-family: 'Poppins', sans-serif;
    color: #000;
    text-decoration: none;
    font-weight: 400;
  }

  .nav-links .appointment {
    background-color: #59aeb0;
    color: #fff;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 500;
  }

  .nav-links .appointment:hover{
    background-color: #ca733f;
  }

  /* Dropdown Menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 200px;
  padding: 10px 0;
  z-index: 1001;
  list-style: none;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

.dropdown-content a:hover {
  background: #f3f8f6;
  color: var(--brand, #7daea3);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
  
  .hamburger {
    display: none;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    color: #59aeb0; /* Set the color of the icon */
    transition: color 0.3s; /* Smooth color transition on hover */
    font-size: 20px;
  }

  /* Footer Styling */
.footer {
    background-color: #eaeef1; /* Background color for the footer */
}

.footer img {
    width: 150px;
    height: auto;
}

/* Footer Content Layout */
.footer-content {
    padding: 4rem 4rem 3rem 4rem; /* Padding around the footer */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between left and right sections */
    align-items: center; /* Align items to the top */
}

/* Footer Left Section */
.footer-left {
    flex: 1; /* Allow left section to take space */
}

/* Logo Styling */
.footer-logo {
    max-width: 100%; /* Responsive logo */
    height: auto; /* Maintain aspect ratio */
}

/* Slogan Styling */
.slogan {
    margin: 1rem 0; /* Space around the slogan */
    padding-right: 7rem;
}

/* Container for the social icons */
.social-icon {
    display: inline-flex; /* Make icons inline but flexbox */
    justify-content: center; /* Center the icon within the circle */
    align-items: center; /* Center the icon vertically */
    width: 40px; /* Set fixed width for the icon container */
    height: 40px; /* Set fixed height for the icon container */
    border-radius: 50%; /* Make it a circle */
    background-color: #eaeef1; /* Optional: Background color for the circle */
    margin: 0 10px; /* Optional: Spacing between icons */
    text-align: center; /* Center the icon */
    font-size: 20px; /* Control the size of the font icon */
    color: #fff; /* Color of the icons */
    transition: background-color 0.3s ease; /* Add smooth hover effect */
    text-decoration: none;
    background-color: #000;
}

/* Optional: Hover effect for icons */
.social-icon:hover {
    background-color: #59aeb0; /* Change background on hover */
    color: #000; /* Change icon color on hover */
}

/* Ensure the font icons are centered inside the circle */
.social-icon i {
    line-height: 1; /* Reset line height for proper alignment */
}

/* Footer Right Section */
.footer-right {
    flex: 1; /* Allow right section to take space */
    display: flex; /* Use flexbox for columns */
    gap: 2rem; /* Space between columns */
}

/* Footer Section Styling */
.footer-section {
    flex: 1; /* Allow each section to take equal space */
}

/* Subtitle Styling */
.footer-section h4 {
    font-size: 1.2rem; /* Subtitle font size */
    margin-bottom: 0.5rem; /* Space below subtitle */
}

/* Links Styling */
.footer-section ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
}

.footer-section li {
    margin: 0.3rem 0; /* Space between links */
}

.footer-section a {
    text-decoration: none; /* Remove underline */
    color: #555; /* Link color */
    transition: color 0.3s; /* Smooth transition for hover */
}

/* Change color on hover */
.footer-section a:hover {
    color: #59aeb0; /* Green color on hover */
}

.copyright {
    padding: 1rem 4rem; /* Padding around the footer */
    background-color: #59aeb0;
}

.copyright p {
    color: #fff;
}

.mobile-view {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
  
/* Mobile Styles */
@media (max-width: 768px) {
    p {
        font-size: 14px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #eaeef1;
      width: 100%;
      flex-direction: column;
    }
  
    .nav-links li {
      padding: 1.5rem 0;
      text-align: center;
      margin-left: 0;
    }


    .nav-links li#appointment:hover{
        background-color: #eaeef1;
    }

    .nav-links .appointment {
        border-bottom: none;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }

    .footer {
        text-align: center;
    }

    .slogan {
        padding: 0;
    }

    .footer-content {
        flex-direction: column; /* Stack sections on smaller screens */
    }

    .social-media-icons {
        justify-content: center;
    }

    .footer-right {
        margin-top: 3rem; /* Space above right section */
    }

    .desk-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--brand, #7daea3);
}

/* Dropdown Menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 200px;
  padding: 10px 0;
  z-index: 1001;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

.dropdown-content a:hover {
  background: #f3f8f6;
  color: var(--brand, #7daea3);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Appointment Button */
.appointment {
  background: var(--brand, #7daea3);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.appointment:hover {
  background: #68978a;
}

/* Hamburger Menu for Mobile */
.hamburger {
  display: none;
  font-size: 22px;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-content a {
    padding: 8px 0;
  }

  .nav-links {
    gap: 5px;
  }
}
