
/* Base Styles */
:root {
  --primary-color: #4FB6E0;
  --primary-dark: #3a8fb3;
  --secondary-color: #A7E8BD;
  --secondary-light: #D4F7E0;
  --accent-color: #33C3F0;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #555;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  max-width: 100%;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon::before {
  content: '📞';
  font-size: 1.2rem;
}

.location-icon::before {
  content: '📍';
  font-size: 1.2rem;
}

.email-icon::before {
  content: '✉️';
  font-size: 1.2rem;
}

.clock-icon::before {
  content: '🕒';
  font-size: 1.2rem;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-color: var(--light-gray);
  background: linear-gradient(150deg, var(--secondary-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(var(--secondary-light), transparent);
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  padding-right: 50px;
}

.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-text h2 span {
  color: var(--primary-color);
  display: block;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.satisfaction-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background-color: var(--white);
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.badge-icon {
  background-color: var(--secondary-color);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: bold;
}

.badge-text p {
  margin-bottom: 0;
  font-weight: 600;
}

.badge-text small {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stats-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0;
}

.stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--medium-gray);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon img {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.service-card h3 {
  color: var(--text-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

.service-treatments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.treatment-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  transition: var(--transition);
  background-color: var(--light-gray);
}

.treatment-item:hover {
  background-color: var(--secondary-light);
  transform: translateX(5px);
}

.treatment-icon {
  font-size: 1.2rem;
  margin-right: 12px;
  background-color: var(--white);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.treatment-item p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.dentist-profile {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--white);
  padding: 15px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dentist-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.dentist-profile-text {
  display: flex;
  flex-direction: column;
}

.dentist-profile-text p {
  margin-bottom: 0;
  font-weight: 600;
}

.dentist-profile-text small {
  font-size: 0.8rem;
  color: var(--text-light);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.features-list, .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-light);
}

.feature-icon {
  color: var(--white);
  background-color: var(--primary-color);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.feature-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--white);
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.testimonial {
  min-width: 350px;
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.star {
  color: gold;
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
  color: var(--text-color);
}

.author-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Contact Section */
.contact {
  padding: 100px 0;
 
 background-color: var(--white);
}

.contact-content {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  height: 500px;
}

.contact-info-column, .map-column {
  width: 100%;
  height: 100%;
}

.contact-info-section {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-section h3 {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-text h4 {
  margin-bottom: 5px;
}

.info-text p {
  margin-bottom: 5px;
}

.text-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 20px;
}

.hours-grid p {
  margin-bottom: 5px;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--box-shadow);
  width: 100%;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .map-container {
    height: 350px;
  }
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
}

.facebook-icon::before {
  content: 'f';
  font-weight: bold;
}

.twitter-icon::before {
  content: 't';
  font-weight: bold;
}

.instagram-icon::before {
  content: 'i';
  font-weight: bold;
}

.youtube-icon::before {
  content: 'y';
  font-weight: bold;
}

.footer-links h4, .footer-newsletter h4 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links h4::after, .footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-btn {
  padding: 10px 15px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
}

.scroll-top::before {
  content: '↑';
  font-size: 1.2rem;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-dark);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content, .about-content {
    flex-direction: column;
  }
  
  .hero-text, .about-text {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-text h2 {
    font-size: 2.5rem;
  }
  
  nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 30px 30px;
    transition: top 0.5s ease;
    z-index: 999;
  }
  
  nav.active {
    top: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 30px;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .contact-info {
    display: none;
  }
  
  .features-list, .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .treatment-item {
    padding: 6px 8px;
  }
  
  .treatment-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .stats-container {
    flex-wrap: wrap;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .testimonial {
    min-width: 100%;
  }
}
