/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background-color: #f8ffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sidebar and menu-button styles (optional, for alternate mobile nav) */
.sidebar {
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li {
  width: 100%;
}
.sidebar a {
  width: 100%;
}
.menu-button {
  display: none;
}

/* Header Layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: #0097a7;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.1;
  text-align: left;
  z-index: 100;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.10);
}

.nav-logo .main-text {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-logo .sub-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: -2px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  width: 100%;
}

/* Desktop Navigation Bar */
.desktop-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.desktop-nav a:hover, 
.desktop-nav a:focus,
.desktop-nav a.active {
  color: #0097a7;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #0097a7;
  transition: width 0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus::after,
.desktop-nav a.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Increased for visibility */
    position: relative; /* Ensure stacking */
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #0097a7;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Base Layout Fixes */
:root {
    --font-size-base: 16px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-body: 1rem;
    --spacing-base: 1rem;
    --max-width: 1200px;
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.5rem;
        --font-size-h4: 1.25rem;
        --spacing-base: 0.875rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-base: 12px;
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
        --font-size-h4: 1.125rem;
        --spacing-base: 0.75rem;
    }
}

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
}

body {
    background: #f8ffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: var(--font-size-body);
    line-height: 1.6;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section Layouts */
.welcome-section, 
.highlights, 
.about-section, 
.services-section {
    background: #e0f7fa;
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Services Section Layout */
.services-section {
    padding: 3rem;
    margin: 2rem;
    background: #e0f7fa;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.service-card {
    background: #fff;
    color: #007c91;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.service-card .service-icon {
    width: 180px;
    height: 160px;
    object-fit: contain;
}

.service-card h3 {
    color: #0097a7;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.service-card p {
    color: #005662;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.2);
}

.clinic-logo {
    display: block;
    margin: 1rem auto 0.5rem auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.10);
    object-fit: cover;
}

.welcome-section {
    text-align: center;
    margin: 2rem 0 2.5rem 0;
}

.welcome-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.10);
    margin-bottom: 1.5rem;
}

.intro-text {
    color: #007c91;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.btn-primary {
    display: inline-block;
    background: #0097a7;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.10);
}

.btn-primary:hover, .btn-primary:focus {
    background: #007c91;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.15);
}

.highlights {
    background: #e0f7fa;
    padding: 3rem 1rem;
    margin: 2rem 0;
    text-align: center;
}

/* Enhanced Highlight Items for Homepage */
.highlight-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    padding: 2rem;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #0097a7 #e0f7fa;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
}

/* Scrollbar styling */
.highlight-list::-webkit-scrollbar {
    height: 8px;
}

.highlight-list::-webkit-scrollbar-track {
    background: #e0f7fa;
    border-radius: 4px;
}

.highlight-list::-webkit-scrollbar-thumb {
    background: #0097a7;
    border-radius: 4px;
}

.highlight-item {
    background: #fff;
    color: #007c91;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
    transition: all 0.3s ease;
    font-size: 1.15rem;
    font-weight: 600;
    min-height: 100px;
    min-width: 260px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0.5rem 0;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.2);
    background: linear-gradient(to bottom right, #fff, #e0f7fa);
    color: #0097a7;
}

.highlights h3 {
    color: #0097a7;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .highlight-list {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
    }

    .highlights {
        padding: 2rem 0.5rem;
        margin: 1.5rem 0;
    }

    .highlight-item {
        padding: 1.5rem;
        font-size: 1.1rem;
        min-width: 220px;
        min-height: 90px;
        margin: 0.25rem 0;
    }

    .highlights h3 {
        margin-bottom: 2rem;
    }
}

.footer {
    background: #0097a7;
    color: #fff;
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 2rem;
    padding: 0 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 180px;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: #e0f7fa;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #b2ebf2;
}

.footer h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #b2ebf2;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #e0f7fa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #b2ebf2;
}

.working-hours {
    width: 100%;
    border-collapse: collapse;
    color: #e0f7fa;
}

.working-hours th {
    color: #fff;
    text-align: left;
    padding: 8px 0;
    border-bottom: 1px solid rgba(224, 247, 250, 0.2);
}

.working-hours td {
    padding: 8px 15px 8px 0;
    color: #e0f7fa;
}

.working-hours .morning,
.working-hours .evening {
    color: #fff;
}

.working-hours .holiday {
    color: #b2ebf2;
    font-weight: bold;
}

.working-hours .closed {
    color: #b2ebf2;
}

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

.social-icon {
    color: #fff;
    text-decoration: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #e0f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Social icon hover brand colors - each icon shows its own color only */
.social-icon:hover {
    border-color: transparent;
}
.social-icon:hover .fa-facebook-f {
    color: #fff;
}
.social-icon.facebook:hover {
    background: #3b5998;
}
.social-icon.twitter:hover {
    background: #1da1f2;
}
.social-icon.x:hover {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-color: #000000;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.social-icon.x:hover .fa-x-twitter {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}
.social-icon.x {
    background: linear-gradient(135deg, #0097A7 0%, #0097A7 100%);
    border: 1px solid #e0f7fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon.x .fa-x-twitter {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.social-icon.instagram:hover {
    background: linear-gradient(135deg, #e4405f 0%, #8a3ab9 100%) !important;
}
.social-icon.googleplus:hover {
    background: #db4437;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(224, 247, 250, 0.1);
    text-align: center;
    color: #e0f7fa;
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact {
        align-items: center;
    }

    .opening-hours {
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

.welcome-description {
    max-width: 700px;
    margin: 1.2rem auto 1.5rem auto;
    font-size: 1.35rem;
    color: #005662;
    line-height: 1.7;
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* About Page Styles */
.about-page {
    max-width: 900px;
    margin: 2.5rem auto 2rem auto;
    padding: 0 1.5rem;
}

.about-section {
    background: #e0f7fa;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08);
    margin-bottom: 2rem;
    padding: 2rem 2rem 1.5rem 2rem;
    text-align: center;
}

.about-section h2 {
    color: #0097a7;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-section p, .about-section ul {
    color: #005662;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem auto;
    max-width: 500px;
}

.about-section ul li {
    background: #fff;
    color: #007c91;
    margin: 0.5rem 0;
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 180, 216, 0.07);
    font-size: 1.08rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.7em;
}

.gallery .clinic-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery .clinic-images img {
    width: 260px;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 180, 216, 0.10);
    background: #fff;
}

@media (max-width: 700px) {
    .about-page {
        padding: 0 0.5rem;
    }
    .about-section {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .gallery .clinic-images img {
        width: 98vw;
        max-width: 340px;
        height: 140px;
    }
}

/* Doctors Page Styles */
.doctors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 2.5rem auto 2rem auto;
    padding: 0 1.5rem;
}

.doctor-card {
    background: #e0f7fa;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
}

.doctor-card:hover, .doctor-card:focus-within {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.18);
    z-index: 2;
}

.doctor-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.10);
    background: #fff;
}

.doctor-card h2 {
    color: #0097a7;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.doctor-card p {
    color: #005662;
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.page-header {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    color: #0097a7;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    text-decoration-color: #0097a7;
}

.page-header p {
    color: #007c91;
    font-size: 1.15rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .doctors-grid {
        gap: 1.2rem;
    }
    .doctor-card {
        width: 95vw;
        max-width: 340px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

.visiting-doctors-section {
    background: #e0f7fa;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08);
    margin: 2.5rem auto 2rem auto;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 1200px;
}

.visiting-doctors-heading {
    color: #0097a7;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.visiting-doctors-grid {
    margin-top: 0;
}

.chief-doctor-section {
    background: #e0f7fa;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08);
    margin: 2.5rem auto 2rem auto;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 1200px;
}

.chief-doctor-heading {
    color: #0097a7;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.chief-doctor-grid {
    margin-top: 0;
}

/* Underline utility for section headings */
.underline-accent {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: #0097a7;
}

/* Accent color utility for headings */
.heading-accent {
  color: #0097a7;
}

/* Parallax Background */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(224, 247, 250, 0.3), rgba(178, 235, 242, 0.3));
  transform: translateZ(-1px) scale(1.5);
  z-index: -1;
  pointer-events: none;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #0097a7, #b2ebf2);
  z-index: 9999;
  transition: width 0.2s ease-out;
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.18);
}

.service-card:hover .service-icon {
  animation: pulse 1s infinite;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-section {
        padding: 2rem;
        margin: 1.5rem;
    }
    
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Enhanced Responsive Styles */
@media (max-width: 1024px) {
    .nav-container,
    main,
    .footer-container {
        padding: 0 var(--spacing-base);
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .welcome-description {
        font-size: 1.2rem;
        padding: 0 var(--spacing-base);
    }
}

@media (max-width: 768px) {
    .nav-logo .main-text {
        font-size: 1.5rem;
    }

    .nav-logo .sub-text {
        font-size: 0.9rem;
    }

    .intro-text {
        font-size: var(--font-size-h2);
    }

    .highlight-list {
        gap: 1rem;
    }

    .highlight-item {
        min-width: 200px;
        padding: 1.5rem;
    }

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

    .working-hours {
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .highlight-item {
        min-width: 140px;
        padding: 1rem;
        font-size: 0.95rem;
    }
    .welcome-section, .highlights, .about-section, .services-section {
        padding: 0.7rem;
        margin: 0.7rem 0;
    }
    main {
        padding: 5px;
    }
}

@media (max-width: 400px) {
    .highlight-item {
        min-width: 100px;
        padding: 0.7rem;
        font-size: 0.85rem;
    }
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 650px) {
    main {
        padding: 10px;
    }
    
    .welcome-section, 
    .highlights, 
    .about-section, 
    .services-section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .parallax-bg {
        transform: none;
    }

    .welcome-description {
        font-size: 1.1rem;
        padding: 0;
    }

    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .highlight-item {
        min-width: 180px;
        min-height: 80px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-logo .main-text {
        font-size: 1.3rem;
    }

    .nav-logo .sub-text {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .intro-text {
        font-size: var(--font-size-h3);
    }

    .welcome-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .highlight-item {
        min-width: 160px;
        padding: 1.2rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }

    .working-hours {
        font-size: 0.9rem;
    }

    .working-hours td,
    .working-hours th {
        padding: 6px 10px 6px 0;
    }

    /* Mobile fix: prevent services grid from clipping on very small screens */
    .services-section {
        margin: 0.5rem;
        padding: 0.75rem;
    }
    .services-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
        margin: 0;
    }
    .service-card {
        width: 100%;
        padding: 1.25rem 1rem;
    }
}

/* Hide sidebar and hamburger on desktop */
.menu-button,
.sidebar {
  display: none;
}

/* Show hamburger and sidebar only on mobile */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-logo {
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .desktop-nav {
    display: none; /* Hide desktop nav on mobile */
  }
  
  .menu-button {
    display: block !important;
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 9999;
    color: #0097a7;
    padding: 8px;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .menu-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 1100;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex-direction: column;
    border-radius: 18px 0 0 18px;
  }
  
  .sidebar.open {
    right: 0 !important;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .sidebar li {
    margin-bottom: 1.2rem;
  }
  
  .sidebar a {
    color: #222;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s;
    display: block;
    padding: 0.2em 0;
  }
  
  .sidebar a:hover {
    color: #0097a7;
  }
}

/* Prevent body scrolling when sidebar is open */
body.sidebar-active {
  overflow: hidden;
}

/* Desktop Footer Layout Override to ensure visibility */
@media (min-width: 1025px) {
    .footer-container {
        max-width: 100%;
        grid-template-columns: 1.6fr 1fr 1.4fr;
        padding: 0 3rem;
    }
}
