/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

/* Global Styles */
:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #8c7ae6;
  --light-color: #ffffff;
  --dark-color: #2d3436;
  --text-color: #2d3436;
  --border-radius: 10px;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Nunito Sans", "Inter", "Tajawal", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  font-weight: 600;
}
a {
  text-decoration: none;
}

.btn {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.section-label {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.section-description {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
}
/* Top Bar Styles */
.top-bar {
  background: var(--primary-color);
}

.top-bar .social-links a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Navbar Styles */
.navbar {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 50px;
  width: 50px;
}
.brand-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 1rem 1.2rem !important;
  color: var(--text-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar .btn-primary {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-toggler {
  color: var(--primary-color);
  border: none;
  outline: none;
}

/* Hero Section  */
.hero-section {
  position: relative;
}

.hero-overlay {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  transition: background 1s ease;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-overlay .container {
  position: relative;
  z-index: 2;
  padding: 100px 10px;
}

.min-vh-80 {
  min-height: 80vh;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
}

/*  Slider Controls */
.slider-controls {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  pointer-events: auto;
  z-index: 4;
  display: none;
}

.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

/* Simple Dots on Right Side */
.slider-dots {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
  z-index: 4;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-color);
}

/* Service Cards */
.hero-section .service-cards {
  position: relative;
  margin-top: -50px;
  z-index: 2;
}

.hero-section .service-card {
  background: white;
  padding: 20px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-section .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-section .service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.hero-section .service-card h4 {
  color: var(--text-color);
  font-size: 1.2rem;
}

.hero-section .service-card p {
  color: #666;
  margin-bottom: 0;
}

/* About Section */

.about-section {
  padding: 100px 0;
}

/* About Image and Badge */

.about-image {
  position: relative;
  padding: 20px;
}

.about-image img {
  /* width: 60%;
  height: auto; */
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}

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

.experience-badge .text {
  flex: 1;
}

.experience-badge span {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.experience-badge h4 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: 700;
}

.experience-badge p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}

/* About Content */

.about-text {
  color: #6c757d;
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item i {
  font-size: 20px;
  color: var(--primary-color);
}

.feature-item span {
  font-weight: 500;
  color: #2d3436;
}

/* ============= Services Section ============== */

.services-section {
  background-color: #f8f9fa;
  padding: 100px 0;
}

.services-section .service-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.services-section .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.services-section .service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 12px;
  margin-bottom: 20px;
}

.services-section .service-icon i {
  font-size: 24px;
  color: #fff;
}

.services-section .service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2d3436;
}

.services-section .service-card p {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============== Vision ============== */

.vision-section {
  padding: 100px 0;
}

.vision-card {
  height: 100%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vision-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vision-card:hover .vision-image img {
  transform: scale(1.05);
}

.vision-content {
  padding: 20px;

  background: linear-gradient(
    to top,
    rgba(108, 92, 231, 0.9),
    rgba(108, 92, 231, 0.7)
  );
}

.vision-content h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.vision-text {
  padding: 20px;
  margin: 0;
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===================================== Surgery Types ===================================== */
.surgery-types-section {
  background-color: #f8f9fa;
  padding: 100px 0;
}

.surgery-types-section .surgery-types {
  margin-top: 4rem;
  gap: 50px;
}

.surgery-types-section .surgery-card {
  flex: 1;
  position: relative;
  z-index: 1;
}

.surgery-types-section .number {
  width: 40px;
  height: 40px;
  background: #2d3436;
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  top: -20px;
  left: 20px;
  z-index: 2;
}

.surgery-types-section .card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  min-height: 100%;
}

.surgery-types-section .card-content {
  padding: 2rem;
  color: #2d3436;
}

.surgery-types-section .card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.surgery-types-section .description {
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Before/After Image Toggle Styles */
.image-toggle-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.image-wrapper.active {
  opacity: 1;
  display: block;
}

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

.image-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.toggle-buttons {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.toggle-btn {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  color: #333;
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background-color: var(--primary-color, #2d3436);
  color: white;
  border-color: var(--primary-color, #2d3436);
}

/* ================ First Visit ================  */

.first-visit {
  padding: 100px 0;
}

.service-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.service-text {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.eye-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.eye-image {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  scale: 0.8;
  transition: all 0.3s ease;
}
.eye-image:hover {
  scale: 1;
  transition: all 0.3s ease;
}

/* ================ Contact ================ */

.contact-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.contact-info-box {
  border-radius: 15px;
  margin-bottom: 2rem;
}

.contact-info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2d3436;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 10px;
  margin-right: 1rem;
}

.icon-box i {
  color: white;
  font-size: 1.25rem;
}

.info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #2d3436;
}

.info p {
  margin: 0;
  color: #6c757d;
}

.social-media h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3436;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  color: white;
}

.appointment-form {
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color), 0.25);
}

label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2d3436;
}
/* header pages */
.page-header {
  min-height: 40vh;
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-header-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.breadcrumb-item {
  font-size: 14px;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

/* Page specific styles */
.page-content {
  margin-bottom: 50px;
}

.about-page .vision-section {
  background-color: #f8f9fa;
}
.services-page .services-section {
  background-color: #fff;
}

/* ===================================== Doctor Page ===================================== */

/* Hero Section */
.hero-section-doctor {
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section-doctor::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(30, 136, 229, 0.1);
  z-index: 0;
}

.hero-section-doctor::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(30, 136, 229, 0.1);
  z-index: 0;
}

.hero-section-doctor .hero-content {
  position: relative;
  z-index: 1;
  padding-right: 30px;
}

.hero-section-doctor .name {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.hero-section-doctor .profession {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-section-doctor .intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.hero-section-doctor .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.hero-section-doctor .credential-item {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: var(--box-shadow);
}

.hero-section-doctor .credential-item i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.hero-section-doctor .profile-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero-section-doctor .profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Experience Section */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 25px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-date {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 500;
}

/* Expertise Section */
.expertise-section {
  background-color: #f8f9fa;
}

.expertise-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

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

.expertise-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.expertise-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* Recognition Section */
.recognition-section {
  background-color: white;
}

.highlight-text {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-color);
}

.recognition-card {
  display: flex;
  align-items: flex-start;
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  transition: var(--transition);
}

.recognition-card:hover {
  transform: translateY(-5px);
}

.recognition-card .icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 50px;
  text-align: center;
}

.recognition-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Certificates Gallery Section */
.certificates-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.certificates-gallery {
  margin-top: 30px;
}

.certificate-item {
  margin-bottom: 30px;
  transition: var(--transition);
}

.certificate-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

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

.certificate-image {
  position: relative;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 71, 161, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.view-certificate-btn {
  background-color: white;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.2rem;
  transition: var(--transition);
  transform: translateY(20px);
}

.certificate-card:hover .view-certificate-btn {
  transform: translateY(0);
}

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

.certificate-content {
  padding: 20px;
}

.certificate-content h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.certificate-content p {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.certificate-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.85rem;
}

.certificate-meta span {
  display: flex;
  align-items: center;
}

.certificate-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* Certificate Modal */
.certificate-modal-img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.certificate-modal-details {
  padding: 20px 0;
}

.certificate-modal-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.certificate-modal-description {
  margin-bottom: 20px;
  color: var(--text-color);
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

.verification-badge i {
  margin-right: 8px;
}

/* Animation for certificate items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificate-item {
  animation: fadeIn 0.5s ease forwards;
}

/* ===================================== Footer ===================================== */

.footer-section {
  background-color: #202044;
  padding: 80px 0 0;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(10px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.contact-info {
  color: rgba(255, 255, 255, 0.8);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item i {
  width: 20px;
  margin-right: 10px;
  color: var(--primary-color);
}

.copyright-bar {
  background: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  margin-top: 60px;
}

.copyright-bar p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .service-cards {
    margin-top: 50px;
  }

  .service-card {
    margin-bottom: 20px;
  }
  .about-image img {
    width: 100%;
  }
  .experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }
  .about-content {
    margin-top: 40px;
    padding-left: 0 !important;
  }
  .section-title {
    font-size: 2rem;
  }

  /* service */
  .services-section .section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .services-section .section-description {
    margin-bottom: 30px;
  }

  /* vision */
  .vision-section {
    padding: 60px 0;
  }

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

  .vision-image {
    height: 250px;
  }

  /* Surgeries */
  .surgery-types {
    flex-direction: column;
    gap: 3rem;
  }

  .surgery-card {
    margin-bottom: 40px;
  }

  .connection-line {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }
  /* contact */
  .contact-section {
    padding: 60px 0;
  }

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

  .appointment-form {
    margin-top: 2rem;
    padding: 30px;
  }

  /* Doctor Page */
  .hero-section-doctor {
    padding: 60px 0;
  }

  .hero-section-doctor .name {
    font-size: 2.5rem;
  }

  .hero-section-doctor .hero-content {
    padding-right: 0;
    margin-top: 40px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
    top: -35px !important;
    transform: translateY(100%) !important;
    transform: translateX(-50%) !important;
  }

  .timeline-content {
    width: calc(100% - 80px);
    width: 100% !important;
    margin-left: auto !important;
  }

  .certificate-image img {
    height: 200px;
  }
  /* footer */
  .footer-section {
    padding: 60px 0 0;
  }
}

@media (max-width: 768px) {
  .top-bar {
    text-align: center;
  }

  .social-links {
    margin-top: 10px;
    text-align: center;
  }

  .hero-title {
    font-size: 1.5rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-section .service-cards {
    margin-top: 30px;
  }
  .min-vh-80 {
    min-height: 40vh;
  }

  .slider-dots {
    bottom: 0;
    top: auto;
    flex-direction: row;
    align-items: center;
    left: 50%;
    transform: translateY(-100%);
    display: none;
  }

  /* service  */

  .services-section .services-section {
    padding: 60px 0;
  }

  .services-section .section-title {
    font-size: 1.75rem;
  }

  .services-section .service-card {
    padding: 25px;
  }

  /* vision */
  .vision-section .section-title {
    font-size: 1.75rem;
  }

  .vision-image {
    height: 200px;
  }

  /* Surgeries */

  .surgery-types-section {
    padding: 60px 0;
  }

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

  .surgery-types-section .card-content {
    padding: 1.5rem;
  }
  /* contact */
  .section-title {
    font-size: 1.75rem;
  }

  .appointment-form {
    padding: 20px;
  }

  /* Doctor Page */

  .hero-section-doctor .name {
    font-size: 2rem;
  }

  .hero-section-doctor .profession {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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