* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a5f7a;
  --primary-light: #2a8fae;
  --primary-dark: #0d3d4d;
  --accent: #c9a96e;
  --accent-light: #e0c99a;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 15px 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

nav.scrolled .logo-text {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 25px;
  margin: 0 10px;
  list-style: none;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;

  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}

nav.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(26, 95, 122, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--white);
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  background:
    linear-gradient(135deg, rgba(26, 95, 122, 0.9), rgba(13, 61, 77, 0.9)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920") center/cover;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 550px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 50px;
  right: 5%;
  display: flex;
  gap: 40px;
  color: var(--white);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Floating Cards */
.floating-cards {
  position: absolute;
  bottom: -60px;
  left: 5%;
  right: 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  z-index: 10;
}

.float-card {
  background: var(--white);
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: transform 0.3s;
}

.float-card:hover {
  transform: translateY(-10px);
}

.float-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.float-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.float-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* Section Styles */
section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-light);
  font-size: 16px;
}

.section-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

/* About Section */
.about {
  background: var(--bg-light);
  padding-top: 150px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-img-small {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 250px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin: 30px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-list i {
  color: var(--accent);
  font-size: 18px;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 12px;
}

/* Doctors Section */
.doctors {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.doctors .section-header h2,
.doctors .section-header p {
  color: var(--white);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.doctor-card:hover {
  transform: translateY(-10px);
}

.doctor-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 30px auto 20px;
  object-fit: cover;
  border: 4px solid var(--accent);
}

.doctor-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.doctor-role {
  color: var(--accent-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.doctor-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doctor-social a {
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.doctor-social a:hover {
  opacity: 1;
}

/* Appointment Section */
.appointment {
  background: var(--bg-light);
}

.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.appointment-form {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.appointment-info h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.appointment-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.contact-item div h4 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-bottom: 3px;
}

.contact-item div p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: "Playfair Display", serif;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 25px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-bottom: 3px;
}

.testimonial-author p {
  color: var(--text-light);
  font-size: 13px;
}

.stars {
  color: var(--accent);
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 80px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 28px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  margin-bottom: 25px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.8s ease forwards;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

nav.scrolled .mobile-menu-btn {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid,
  .appointment-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 40%;
    border-radius: 0 0 20px 20px;
    background: var(--primary-light);
    display: none;
    flex-direction: column;
    padding: 30px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
    cursor: pointer;
  }

  .hero-stats {
    display: none;
  }

  .floating-cards {
    grid-template-columns: 1fr;
    position: relative;
    bottom: 0;
    margin-top: 40px;
  }

  .hero {
    height: auto;
    padding: 150px 5% 80px;
  }

  .about-img-small {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 5%;
  }

  .about {
    padding-top: 80px;
  }
}
