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

:root {
  --white: #ffffff;
  --near-white: #fefefe;
  --dark-sky-blue: #1d9ebd;
  --pale-white: #fdfdfd;
  --yellow-white: #fffffe;
  --very-light-gray: #f9f9f9;
  --light-gray: #f8f8f8;
  --very-light-gray-alt: #fcfcfc;
  --medical-blue: #0077be;
  --medical-green: #00a651;
  --medical-gray: #4a5568;
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --shadow-soft: 0 4px 20px rgba(29, 158, 189, 0.08);
  --shadow-medium: 0 8px 30px rgba(29, 158, 189, 0.12);
  --shadow-strong: 0 16px 40px rgba(29, 158, 189, 0.16);
  --gradient-medical: linear-gradient(
    135deg,
    var(--dark-sky-blue) 0%,
    var(--medical-blue) 100%
  );
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
}

body {
  font-family: "Cairo", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  direction: rtl;
  font-weight: 400;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Social Media Sidebar */
.social-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  pointer-events: auto;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Add tooltip effect */
.social-btn::after {
  content: attr(title);
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.social-btn::before {
  content: "";
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

.social-btn:hover::after,
.social-btn:hover::before {
  opacity: 1;
  visibility: visible;
}

.social-btn i {
  font-size: 18px;
  z-index: 2;
  position: relative;
}

.social-btn .btn-bg {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  opacity: 0.9;
  z-index: 1;
}

/* Back button */
.back-btn {
  background: var(--text-primary);
  color: white;
}

.back-btn:hover {
  background: #1a202c;
}

/* Phone button */
.phone-btn {
  background: var(--medical-blue);
  color: white;
  animation: pulse 2s infinite;
}

.phone-btn:hover {
  background: #005a8b;
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(0, 119, 190, 0.8);
  }
  100% {
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.4);
  }
}

/* WhatsApp button */
.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128c7e;
}

/* YouTube button */
.youtube-btn {
  background: #ff0000;
  color: white;
}

.youtube-btn:hover {
  background: #cc0000;
}

/* Facebook button */
.facebook-btn {
  background: #1877f2;
  color: white;
}

.facebook-btn:hover {
  background: #166fe5;
}

/* Instagram button */
.instagram-btn {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.instagram-btn:hover {
  background: linear-gradient(
    45deg,
    #e0852e 0%,
    #d55f37 25%,
    #c7223e 50%,
    #b71f5b 75%,
    #a7157a 100%
  );
}

/* LinkedIn button */
.linkedin-btn {
  background: #0077b5;
  color: white;
}

.linkedin-btn:hover {
  background: #005885;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .social-sidebar {
    left: 10px;
    gap: 10px;
    transform: translateY(-50%) scale(0.9);
  }

  .social-btn {
    width: 45px;
    height: 45px;
  }

  .social-btn i {
    font-size: 16px;
  }

  /* Hide tooltips on mobile */
  .social-btn::after,
  .social-btn::before {
    display: none;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(29, 158, 189, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.nav-logo h2 {
  color: var(--dark-sky-blue);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  position: relative;
}

.nav-logo h2::after {
  content: "";
  margin-right: 8px;
  font-size: 1.2rem;
}

.nav-logo h2::before {
  content: "\f0fa";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 1.2rem;
  color: var(--dark-sky-blue);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
}

.nav-link:hover {
  color: var(--dark-sky-blue);
  background: rgba(29, 158, 189, 0.05);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 50%;
  transform: translateX(50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-medical);
  border-radius: 1px;
}

.nav-link.active {
  color: var(--dark-sky-blue);
  font-weight: 700;
  background: rgba(29, 158, 189, 0.08);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 50%;
  transform: translateX(50%);
  width: 80%;
  height: 3px;
  background: var(--gradient-medical);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--very-light-gray) 0%,
    var(--white) 100%
  );
  padding: 140px 0 100px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D9EBD' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
  background: var(--gradient-medical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.6rem;
  color: var(--medical-blue);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.hero-subtitle::before {
  content: "";
  margin-left: 8px;
  font-size: 1.4rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-medical);
  color: white;
  box-shadow: var(--shadow-medium);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--dark-sky-blue);
  border: 2px solid var(--dark-sky-blue);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--gradient-medical);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.doctor-card {
  /* background: rgba(255, 255, 255, 0.9); */
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-strong);
  text-align: center;
  transform: rotate(2deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.doctor-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(29, 158, 189, 0.03),
    transparent
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.doctor-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(29, 158, 189, 0.15);
}

.doctor-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: url("uploads/dr-samer.png") no-repeat center center;
  background-size: cover;
  margin: 0 auto 2rem;
  position: relative;
  box-shadow: var(--shadow-medium);
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.card-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.card-content p {
  color: var(--medical-blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.credentials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.credentials span {
  background: rgba(29, 158, 189, 0.08);
  border: 1px solid rgba(29, 158, 189, 0.2);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-sky-blue);
  backdrop-filter: blur(10px);
  position: relative;
}

.credentials span::before {
  content: "";
  margin-left: 6px;
  font-weight: 900;
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-medical);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.8;
}

/* About Section */
.about {
  background: var(--very-light-gray);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231D9EBD' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10 10'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
}

.qualifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.qualification-item h4 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.qualification-item ul {
  list-style: none;
}

.qualification-item li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-right: 1.5rem;
}

.qualification-item li::before {
  content: "";
  position: absolute;
  right: 0;
  font-size: 0.9rem;
}

.qualification-item li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--dark-sky-blue);
  font-size: 0.9rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-medical);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-medical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-medical);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(29, 158, 189, 0.2);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 8px rgba(29, 158, 189, 0.2));
  color: var(--dark-sky-blue);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 500;
}

.service-features {
  list-style: none;
  text-align: right;
}

.service-features li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-right: 1.5rem;
}

.service-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--medical-green);
  font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
  background: var(--very-light-gray);
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D9EBD' fill-opacity='0.02'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3Cpath d='M20 20h40v40H20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 40px 0;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.before,
.after {
  position: relative;
  text-align: center;
}

.label {
  display: inline-block;
  background: var(--gradient-medical);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft);
}

.placeholder-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(
    135deg,
    var(--very-light-gray),
    var(--light-gray)
  );
  border: 2px dashed rgba(29, 158, 189, 0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.placeholder-image::before {
  content: "\f0fa";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2rem;
  opacity: 0.5;
  color: var(--dark-sky-blue);
}

.placeholder-image::after {
  content: "صورة النتيجة الطبية";
  font-weight: 700;
  color: var(--dark-sky-blue);
}

.gallery-description {
  text-align: center;
  font-weight: 600;
  color: #333;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 4rem;
  color: var(--dark-sky-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.stars {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author strong {
  color: #333;
  font-weight: 600;
}

.testimonial-author span {
  color: #999;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: var(--very-light-gray);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231D9EBD' fill-opacity='0.02'%3E%3Cpath d='M50 50m-40 0a40 40 0 1 1 80 0a40 40 0 1 1 -80 0'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  font-size: 1.8rem;
  background: var(--gradient-medical);
  color: white;
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
}

.info-text h4 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-text p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-strong);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-medical);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid rgba(29, 158, 189, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-family: "Cairo", sans-serif;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark-sky-blue);
  box-shadow: 0 0 0 4px rgba(29, 158, 189, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--medical-gray), #2d3748);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-medical);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--dark-sky-blue);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--dark-sky-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-medical);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  color: white;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-medium);
  filter: brightness(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(29, 158, 189, 0.1);
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(29, 158, 189, 0.05);
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover {
    background: rgba(29, 158, 189, 0.05);
    color: var(--dark-sky-blue);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Page Header Styles */
.page-header {
  padding: 160px 0 100px;
  background: linear-gradient(
    135deg,
    var(--very-light-gray) 0%,
    var(--white) 100%
  );
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231D9EBD' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  background: var(--gradient-medical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* About Page Styles */
.about-detailed {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.about-text h3 {
  font-size: 1.3rem;
  color: var(--dark-sky-blue);
  margin-bottom: 1.5rem;
}

.doctor-photo-large .photo-placeholder {
  width: 100%;
  height: 400px;
  background: var(--very-light-gray);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #999;
}

.qualifications-detailed {
  margin-bottom: 4rem;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.qualification-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.qualification-card h4 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.qualification-card .year {
  display: inline-block;
  background: var(--dark-sky-blue);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.specialization-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.spec-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.spec-icon {
  background: var(--gradient-medical);
  color: white;
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
}

.spec-content h4 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.achievement-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.achievement-item h4 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stats-section {
  background: var(--very-light-gray);
  padding: 4rem 0;
  border-radius: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Services Page Styles */
.services-detailed {
  padding: 80px 0;
}

.service-detail {
  margin-bottom: 5rem;
}

.service-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content.reverse {
  grid-template-columns: 1fr 2fr;
}

.service-content.reverse .service-text {
  order: 2;
}

.service-content.reverse .service-image {
  order: 1;
}

.service-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.service-intro {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-details,
.service-benefits {
  margin-bottom: 2rem;
}

.service-details h3,
.service-benefits h3 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-details ul,
.service-benefits ul {
  list-style: none;
}

.service-details li,
.service-benefits li {
  padding: 0.5rem 0;
  position: relative;
  padding-right: 1.5rem;
}

.service-details li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--dark-sky-blue);
  font-size: 0.9rem;
}

.service-benefits li::before {
  content: "★";
  position: absolute;
  right: 0;
  color: var(--dark-sky-blue);
}

.service-image .image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--very-light-gray);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.process-section {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--dark-sky-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--dark-sky-blue), #2bb3d6);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery Page Styles */
.gallery-filter {
  padding: 40px 0;
  text-align: center;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 1rem 2rem;
  border: 2px solid var(--dark-sky-blue);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--dark-sky-blue);
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-medical);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.gallery-detailed {
  padding: 80px 0;
}

.gallery-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.gallery-item-detailed {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.gallery-item-detailed:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.before-after-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.before .image-placeholder,
.after .image-placeholder {
  height: 200px;
  background: var(--very-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  position: relative;
}

.case-info {
  padding: 1.5rem;
}

.case-info h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
}

.case-info p {
  margin-bottom: 0.5rem;
  color: #666;
}

.video-testimonials {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  height: 200px;
  background: var(--very-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-button {
  font-size: 3rem;
  cursor: pointer;
  color: var(--dark-sky-blue);
}

.video-item h3 {
  padding: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.video-item p {
  padding: 0 1rem 1rem;
  color: #666;
}

/* Testimonials Page Styles */
.testimonials-detailed {
  padding: 80px 0;
}

.testimonials-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.testimonial-card-detailed {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card-detailed blockquote {
  font-style: italic;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.patient-photo {
  width: 60px;
  height: 60px;
  background: var(--very-light-gray);
  border-radius: 50%;
}

.patient-details h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.procedure {
  color: var(--dark-sky-blue);
  font-weight: 600;
  display: block;
}

.date {
  color: #999;
  font-size: 0.9rem;
}

.rating-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.rating-item span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.satisfaction-stats {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.review-form-section {
  padding: 80px 0;
}

.review-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.rating-input {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 1.5rem;
  cursor: pointer;
  color: #ddd;
  transition: color 0.3s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover {
  color: #ffd700;
}

/* Contact Page Styles */
.contact-methods {
  padding: 80px 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--gradient-medical);
  color: white;
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
}

.contact-card h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
  color: #666;
}

.appointment-section {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.appointment-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.info-card h3 {
  color: var(--dark-sky-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.working-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.day-hours {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--very-light-gray);
}

.location-section {
  padding: 80px 0;
}

.map-container {
  height: 400px;
  background: var(--very-light-gray);
  border-radius: 15px;
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}

.faq-section {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--dark-sky-blue);
  font-weight: bold;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Articles Page Styles */
.articles-categories {
  padding: 40px 0;
  text-align: center;
}

.categories-filter {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  padding: 1rem 2rem;
  border: 2px solid var(--dark-sky-blue);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--dark-sky-blue);
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
  background: var(--gradient-medical);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(29, 158, 189, 0.1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.article-card.featured {
  grid-column: span 2;
}

.article-image {
  position: relative;
  height: 200px;
  background: var(--very-light-gray);
}

.article-card.featured .article-image {
  height: 250px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.article-category {
  background: var(--gradient-medical);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft);
  width: fit-content;
}

.article-content {
  padding: 3rem 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #999;
}

.article-card h2,
.article-card h3 {
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-card.featured h2 {
  font-size: 1.8rem;
}

.article-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--dark-sky-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #167a94;
}

.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--dark-sky-blue), #2bb3d6);
  color: white;
  padding: 80px 0;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 2rem;
  border-radius: 25px;
  white-space: nowrap;
}

.popular-articles {
  background: var(--very-light-gray);
  padding: 80px 0;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.popular-item {
  display: flex;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.popular-image {
  width: 80px;
  height: 80px;
  background: var(--very-light-gray);
  border-radius: 10px;
  flex-shrink: 0;
}

.popular-content h4 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.popular-views {
  color: #999;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .service-content,
  .appointment-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-content.reverse .service-text,
  .service-content.reverse .service-image {
    order: initial;
  }

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

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    min-width: auto;
    width: 100%;
  }

  .article-card.featured {
    grid-column: span 1;
  }

  .contact-cards,
  .qualifications-grid,
  .specialization-list,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}

/* Add medical-themed animations */
@keyframes pulse-medical {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 158, 189, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(29, 158, 189, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 158, 189, 0);
  }
}

.btn-primary:focus {
  animation: pulse-medical 1.5s infinite;
}
.before-after {
  display: flex;
}
.before,
.after {
  width: 50%;
}
.before img,
.after img {
  max-width: 100%;
  height: auto;
}

/* Articles Loading States */
.articles-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--gray-600);
}

.loading-spinner i {
  font-size: 3rem;
  color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading-spinner p {
  font-size: 1.1rem;
  margin: 0;
}

.no-articles {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.no-articles-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--gray-600);
}

.no-articles-content i {
  font-size: 4rem;
  color: var(--gray-400);
}

.no-articles-content h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--gray-700);
}

.no-articles-content p {
  font-size: 1.1rem;
  margin: 0;
  color: var(--gray-500);
}

/* Single Article Page Styles */
.article-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 4rem 0 3rem;
  text-align: center;
}

.article-breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.article-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
  color: white;
}

.article-breadcrumb i {
  margin: 0 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-category .category-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.article-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.article-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.article-info i {
  font-size: 0.8rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.3;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-excerpt {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.article-content-section {
  padding: 4rem 0;
  background: var(--gray-50);
}

.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-main {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-featured-image {
  margin: -2rem -2rem 2rem -2rem;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: var(--gray-900);
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.article-content h1 {
  font-size: 1.8rem;
}
.article-content h2 {
  font-size: 1.6rem;
}
.article-content h3 {
  font-size: 1.4rem;
}
.article-content h4 {
  font-size: 1.2rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-right: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-right: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-100);
  border-radius: 8px;
  font-style: italic;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.article-tags,
.article-share {
  margin-bottom: 2rem;
}

.article-tags h4,
.article-share h4 {
  margin: 0 0 1rem 0;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.author-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.author-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.author-avatar i {
  font-size: 2rem;
  color: white;
}

.author-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-800);
  font-size: 1.2rem;
}

.author-info p {
  margin: 0 0 1.5rem 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.related-articles {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-articles h3 {
  margin: 0 0 1.5rem 0;
  color: var(--gray-800);
  font-size: 1.2rem;
  text-align: center;
}

.related-article {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.related-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-article-image {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-article-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.related-article-content p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.related-article-content .read-more {
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.related-article-content .read-more:hover {
  text-decoration: underline;
}

.sidebar-newsletter {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.sidebar-newsletter h3 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-800);
  font-size: 1.2rem;
}

.sidebar-newsletter p {
  margin: 0 0 1.5rem 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.cta-content p {
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 150px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .article-header {
    padding: 3rem 0 2rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .article-info {
    justify-content: center;
  }

  .article-main {
    padding: 1.5rem;
  }

  .article-featured-image {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  }

  .share-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 1.8rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-main {
    padding: 1rem;
  }

  .article-featured-image {
    margin: -1rem -1rem 1rem -1rem;
  }
}
img {
  max-width: 100%;
}
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  text-align: center;
}
