:root {
    --hospital-50: #ebf7ff;
    --hospital-100: #d6edff;
    --hospital-200: #b0dcff;
    --hospital-300: #7bc5ff;
    --hospital-400: #419cff;
    --hospital-500: #1a7dff;
    --hospital-600: #0056ff;
    --hospital-700: #0042cf;
    --hospital-800: #0038a8;
    --hospital-900: #00357d;
    --hospital-950: #00265a;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  /* Base styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background-color: #fff;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-900);
    line-height: 1.2;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
  }
  
  button {
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
  }
  
  /* Container */
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  @media (min-width: 640px) {
    .container {
      padding: 0 1.5rem;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      padding: 0 2rem;
    }
  }
  
  /* Section styles */
  section {
    padding: 4rem 0;
  }
  
  @media (min-width: 768px) {
    section {
      padding: 5rem 0;
    }
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #fff;
    padding: 1rem 0;
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    padding: 0.5rem 0;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .logo-primary {
    color: var(--hospital-600);
  }
  
  .logo-secondary {
    font-weight: 300;
    color: var(--hospital-400);
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-link {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--hospital-600);
  }
  
  .emergency-btn {
    display: none;
    background-color: var(--hospital-600);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
  }
  
  .emergency-btn:hover {
    background-color: var(--hospital-700);
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-700);
  }
  
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .mobile-menu.open {
    display: block;
  }
  
  .mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .mobile-link:hover {
    color: var(--hospital-600);
  }
  
  .mobile-emergency {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }
  
  @media (min-width: 768px) {
    .nav-links {
      display: flex;
    }
    
    .emergency-btn {
      display: block;
    }
    
    .mobile-menu-btn {
      display: none;
    }
  }

  /* Scroll to top button */

  ::-webkit-scrollbar {
    width: 6px; 
  }
  
  ::-webkit-scrollbar-track {
    background: var(--hospital-100); 
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--hospital-300);
    border-radius: 3px; 
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gray-300); 
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  @media (min-width: 768px) {
    .hero-section {
      padding-top: 10rem;
      padding-bottom: 5rem;
    }
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  @media (min-width: 768px) {
    .hero-grid {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }
  
  .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--hospital-100);
    color: var(--hospital-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  @media (min-width: 768px) {
    .hero-title {
      font-size: 3rem;
    }
  }
  
  @media (min-width: 1024px) {
    .hero-title {
      font-size: 3.75rem;
    }
  }
  
  .highlight {
    color: var(--hospital-600);
  }
  
  .hero-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 640px) {
    .hero-buttons {
      flex-direction: row;
    }
  }
  
  .primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hospital-600);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
  }
  
  .primary-btn:hover {
    background-color: var(--hospital-700);
  }
  
  .outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
  }
  
  .outline-btn:hover {
    border-color: var(--hospital-600);
    color: var(--hospital-600);
  }
  
  .arrow-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
  }
  
  .outline-btn:hover .arrow-icon {
    transform: translateX(4px);
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--hospital-600);
  }
  
  .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
  }
  
  .hero-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
  
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
  }
  
  /* About Section */
  .about-section {
    background-color: var(--gray-50);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  @media (min-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }
  
  .about-images {
    display: none;
  }
  
  @media (min-width: 768px) {
    .about-images {
      display: block;
    }
  }
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .image-item {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
  
  .image-item.shifted {
    margin-top: 1.5rem;
  }
  
  .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  @media (min-width: 768px) {
    .section-title {
      font-size: 2.5rem;
    }
  }
  
  .section-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
  }
  
  .features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature {
    display: flex;
    gap: 0.75rem;
  }
  
  .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--hospital-100);
    color: var(--hospital-600);
    border-radius: 9999px;
    flex-shrink: 0;
  }
  
  .feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .feature-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
  }
  
  .about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .about-stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hospital-600);
  }
  
  .about-stat-label {
    color: var(--gray-600);
  }
  
  /* Services Section */
  .section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    margin-bottom: 4rem;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 640px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .service-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
    border: none;
  }
  
  .service-card:hover {
    box-shadow: var(--card-shadow-hover);
  }
  
  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--hospital-100);
    color: var(--hospital-600);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .service-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
  }
  
  /* Doctors Section */
  .doctors-section {
    background-color: var(--gray-50);
  }
  
  .doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 640px) {
    .doctors-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .doctors-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .doctor-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
    border: none;
  }
  
  .doctor-card:hover {
    box-shadow: var(--card-shadow-hover);
  }
  
  .doctor-image {
    height: 16rem;
    overflow: hidden;
  }
  
  .doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .doctor-card:hover .doctor-image img {
    transform: scale(1.05);
  }
  
  .doctor-info {
    padding: 1.5rem;
    padding-bottom: 1rem;
  }
  
  .doctor-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .doctor-specialty {
    color: var(--hospital-600);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
  }
  
  .doctor-description {
    color: var(--gray-600);
    font-size: 0.875rem;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: color 0.3s ease;
  }
  
  .social-link:hover {
    color: var(--hospital-600);
  }
  
  /* Appointment Section */
  .appointment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  @media (min-width: 1024px) {
    .appointment-grid {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }
  
  .info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .info-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
  }
  
  .info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--hospital-100);
    color: var(--hospital-600);
    border-radius: 9999px;
  }
  
  .info-title {
    font-size: 1.125rem;
    font-weight: 600;
  }
  
  .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .info-label {
    color: var(--gray-600);
  }
  
  .info-value {
    font-weight: 500;
  }
  
  .info-description {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
  }
  
  .emergency-number {
    color: var(--hospital-600);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 0.5rem;
  }
  
  .form-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--card-shadow-hover);
  }
  
  .form-header {
    margin-bottom: 1.5rem;
  }
  
  .form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .form-description {
    color: var(--gray-600);
  }
  
  .appointment-form, .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  @media (min-width: 640px) {
    .form-row {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  label {
    font-weight: 500;
    color: var(--gray-700);
  }
  
  input, select, textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    width: 100%;
  }
  
  input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--hospital-500);
    box-shadow: 0 0 0 2px rgba(26, 125, 255, 0.1);
  }
  
  .error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
  
  .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hospital-600);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  
  .submit-btn:hover {
    background-color: var(--hospital-700);
  }
  
  /* Contact Section */
  .contact-section {
    background-color: var(--gray-50);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  @media (min-width: 768px) {
    .contact-grid {
      grid-template-columns: 1fr 2fr;
    }
  }
  
  .contact-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    height: 100%;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-item {
    display: flex;
    gap: 1rem;
  }
  
  .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--hospital-100);
    color: var(--hospital-600);
    border-radius: 9999px;
    flex-shrink: 0;
  }
  
  .contact-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .contact-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
  }
  
  .map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
  }
  
  /* Footer */
  .footer {
    background-color: var(--gray-900);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .footer-info {
    margin-bottom: 2rem;
  }
  
  .footer-logo {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .footer-logo-primary {
    color: var(--hospital-400);
  }
  
  .footer-logo-secondary {
    font-weight: 300;
    color: var(--gray-400);
  }
  
  .footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
  }
  
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  
  .footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--gray-800);
    color: white;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
  }
  
  .footer-social-link:hover {
    background-color: var(--hospital-600);
  }
  
  .footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  .footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-link {
    color: var(--gray-400);
    transition: color 0.3s ease;
  }
  
  .footer-link:hover {
    color: var(--hospital-400);
  }
  
  .hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hours-item {
    display: flex;
    justify-content: space-between;
  }
  
  .hours-day {
    color: var(--gray-400);
  }
  
  .hours-time {
    color: white;
  }
  
  .hours-note {
    padding-top: 1rem;
    color: var(--gray-400);
  }
  
  .emergency-contact {
    padding-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hospital-400);
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
  }
  
  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  .copyright {
    color: var(--gray-400);
    text-align: center;
  }
  
  .scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--hospital-600);
    color: white;
    border: none;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
  }
  
  .scroll-top:hover {
    background-color: var(--hospital-700);
  }