/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */

/* Hero Section */
.hero {
  background-image: url('./Assets/herobackground.jpg'); /* Use the correct path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  color: #fff;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Adjust opacity */
  z-index: 0;
}

.hero-content, .hero-image {
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  width: 300px;
  max-width: 100%;
  border-radius: 5px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0a4d4d;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: #0a4d4d;
}

.btn:hover {
  transform: translateY(-3px);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px;
  background-color: #f9f9f9;
}

.feature {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 10px;
}

.feature-icon {
  font-size: 24px;
  color: #0a4d4d;
}

.feature-content h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 14px;
  color: #666;
}

/* Services Section */
.services-section {
  display: flex;
  padding: 50px 30px;
}

.services-content {
  flex: 2;
  padding-right: 30px;
}

.services-image {
  flex: 1;
}

.services-image img {
  width: 100%;
  border-radius: 5px;
}

h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
}

.doctor-info {
  margin-bottom: 30px;
}

.doctor-info h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.doctor-info .degree {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.doctor-info .bio {
  font-size: 14px;
  line-height: 1.5;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-icon {
  background-color: #e0f5f2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a4d4d;
  font-size: 20px;
}

.service-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.service-content p {
  font-size: 14px;
  color: #666;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 30px;
  background-color: #f9f9f9;
  text-align: center;
  position: relative;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 30px auto;
}

.testimonial {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.testimonial.active {
  display: flex;
}

.testimonial-avatar img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial-content p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
  max-width: 600px;
}

.testimonial-content h4 {
  color: #0a4d4d;
  margin-top: 10px;
}

/* Slider Navigation Buttons */
.testimonial-controls {
  margin-top: 20px;
}

.testimonial-controls button {
  background-color: #0a4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.testimonial-controls button:hover {
  background-color: #088282;
}

/* Animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


/* Blog Section */
.blog-section {
  padding: 50px 30px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.view-all {
  color: #0a4d4d;
  text-decoration: none;
  font-weight: bold;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-post {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease; /* <--- Smooth transition */
}

.blog-post:hover {
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  transform: translateY(-10px); /* <--- Move the card slightly up */
}


.blog-image {
  position: relative;
  height: 180px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit:contain;
}

.blog-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: #0a4d4d;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
}

.blog-post h3 {
  padding: 15px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
      flex-direction: column;
      text-align: center;
  }
  
  .hero-image {
      margin-top: 30px;
  }
  
  .features {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .services-section {
      flex-direction: column;
  }
  
  .services-content {
      padding-right: 0;
      margin-bottom: 30px;
  }
  
  .blog-posts {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-buttons {
      justify-content: center;
  }
  
  .service-cards {
      grid-template-columns: 1fr;
  }
  
  .testimonials {
      grid-template-columns: 1fr;
  }
  
  .blog-posts {
      grid-template-columns: 1fr;
  }
  .blog-post:hover {
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    transform: translateY(-10px); /* <--- Move the card slightly up */
  }
}

@media (max-width: 576px) {
  .hero h1 {
      font-size: 28px;
  }
  
  .features {
      grid-template-columns: 1fr;
  }
  
  .testimonial {
      flex-direction: column;
  }
}


.footer {
  background-color: #000000;
  padding: 60px 0 20px;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-logo .logo {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-contact p {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #cccccc;
}

.footer-contact i {
  margin-right: 10px;
  color: #70424b;
}

.footer-contact a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-hours p {
  margin-bottom: 10px;
  color: #cccccc;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #70424b;
  color: white;
  border-radius: 50%;
  text-align: center;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: #8a5964;
}

.footer-social .btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #70424b;
  color: white;
}

.btn-primary:hover {
  background-color: #8a5964;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #cccccc;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .footer-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
      grid-template-columns: 1fr;
  }
  
  .footer-bottom {
      flex-direction: column;
      text-align: center;
  }
  
  .footer-links {
      margin-top: 10px;
  }
}


header {
  background-color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  color: #0a4d4d;
  line-height: 1.2;
}

.hamburger-menu {
  position: relative;
}

#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.hamburger-icon {
  font-size: 24px;
  color: #0a4d4d;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #0a4d4d;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #5da399;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .menu-btn {
      display: flex;
  }
  
  .main-nav {
      position: absolute;
      top: 50px;
      right: 0;
      background-color: white;
      width: 250px;
      border-radius: 5px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-20px);
      transition: all 0.3s ease;
      z-index: 100;
  }
  
  #menu-toggle:checked ~ .main-nav {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
  
  .main-nav ul {
      flex-direction: column;
      align-items: center;
  }
  
  .main-nav li {
      margin: 10px 0;
      width: 100%;
      text-align: center;
  }
  
  .main-nav a {
      display: block;
      padding: 10px;
  }
  
  .main-nav a:hover {
      background-color: #f5f5f5;
      transform: none;
  }
}


.testimonial-content p {
  position: relative;
  font-style: italic;
  padding: 20px;
  color: #555;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 40px;
  color: #0a4d4d; /* Same color as your theme */
  position: absolute;
}

.testimonial-content p::before {
  top: -10px;
  left: -10px;
}

.testimonial-content p::after {
  bottom: -10px;
  right: -10px;
}

.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  font-size: 32px;
  color: #444;
  margin-bottom: 10px;
}

.about-content h3 {
  font-size: 24px;
  color: #1d3557;
  margin-bottom: 10px;
}

.about-content .quote {
  font-style: italic;
  color: #457b9d;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}


/* Logo container: image + text side-by-side */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;  /* space between logo and text */
}

/* Holds the two lines of text */
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

/* Logo image sizing */
#logo {
  height: 70px;
  width: auto;
}

/* Top line */
.logo-text h4 {
  margin: 0;
  font-size: 20px;
  color: #0a4d4d;
}

/* Bottom line */
.logo-text p {
  margin: 0;
  font-size: 14px;
  color: #0a4d4d;
}



