/* ==========================================================================
   ADVANCED DIAGNOSTIC CENTRE (ADC) - MASTER DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap');

/* --- Root Design Tokens --- */
:root {
  --primary-red: #ed3237;
  --primary-red-hover: #d2282d;
  --accent-blue: #398ffc;
  --accent-blue-dark: #1b6cd1;
  --top-bar-green: #008b47;
  --text-dark: #3b3d42;
  --text-muted: #6c757d;
  --text-light: #a1a2a4;
  --bg-light: #f7f8f9;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition-fast: all 0.25s ease;
  --transition-normal: all 0.35s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: 38px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

@media (min-width: 1200px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
}

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

/* --- Top Header Green Bar --- */
.top-header-bar {
  background-color: #008b47;
  height: 5px;
  width: 100%;
}

/* --- Header & Navigation --- */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.adc-header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-graphic-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adc-logo-svg {
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title-top {
  color: #ed3237;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-subtitle-bottom {
  color: #2b2b2b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

/* Main Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ed3237;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link.active,
.nav-link-green {
  color: #008b47 !important;
  font-weight: 600;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link .arrow-icon {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-item:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border-top: 3px solid #ed3237;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 400;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: #ed3237;
  padding-left: 24px;
}

.btn-online-report {
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #2b2b2b;
  color: #2b2b2b;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-online-report:hover {
  background-color: #ed3237;
  color: #ffffff;
  border-color: #ed3237;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* --- Hero Banner Section (100% Exact Match from adc.net.pk) --- */
.hero-banner-section {
  position: relative;
  width: 100%;
  background-color: #e2dbcd;
  overflow: hidden;
}

.hero-banner-image-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e2dbcd;
}

.adc-exact-banner-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- 4 Red Quick Action Cards Bar --- */
.quick-action-cards-section {
  position: relative;
  z-index: 20;
  margin-top: -55px;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-card {
  background-color: #ed3237;
  color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(237, 50, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(237, 50, 55, 0.4);
}

.card-icon-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-icon-box {
  font-size: 26px;
  color: #ffffff;
}

.action-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.action-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

/* --- Welcome & Diagnostic Departments Section (100% Exact Match) --- */
.intro-departments-section {
  padding: 60px 0 70px 0;
  background-color: #ffffff;
  text-align: center;
}

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

.exact-main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  line-height: 1.15;
}

.exact-main-title .title-line1 {
  color: #ed3237;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.5px;
}

.exact-main-title .title-line2 {
  color: #ed3237;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: 1px;
}

.exact-subtext {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #666666;
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.65;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.dept-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.dept-item:hover {
  transform: translateY(-6px);
}

.dept-img-box {
  width: 135px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.dept-img-box img {
  width: 135px;
  height: 135px;
  object-fit: contain;
}

.dept-name {
  color: #ed3237;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

/* --- General Health Packages Section (100% Exact Match) --- */
.packages-section {
  padding: 70px 0 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.packages-header {
  margin-bottom: 50px;
}

.packages-main-title {
  color: #ed3237;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
  max-width: 920px;
  margin: 0 auto;
  align-items: center;
}

.package-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.package-item:hover {
  transform: translateY(-5px);
}

.package-img-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.package-img-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.package-name {
  color: #3b3d42;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Our Happy Clients Slider Section (100% Exact Match from adc.net.pk) --- */
.clients-section {
  padding: 45px 0 65px 0;
  background-color: #ffffff;
}

.clients-main-title {
  color: #ed3237;
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: -0.2px;
}

.clients-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 35px;
  box-sizing: border-box;
}

.slider-arrow-btn {
  background: transparent;
  border: none;
  color: #ed3237;
  font-size: 22px;
  cursor: pointer;
  padding: 8px 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  outline: none;
}

.slider-arrow-btn:hover {
  opacity: 0.75;
  transform: translateY(-50%) scale(1.2);
}

.slider-arrow-btn.prev-btn {
  left: -5px;
}

.slider-arrow-btn.next-btn {
  right: -5px;
}

.clients-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.clients-track::-webkit-scrollbar {
  display: none;
}

.client-logo-item {
  flex: 0 0 auto;
  width: 145px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  transition: transform 0.25s ease;
}

.client-logo-item:hover {
  transform: scale(1.06);
}

.client-logo-item img {
  max-width: 135px;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

/* --- CTA Appointment Banner (100% Exact Match) --- */
.appointment-cta-section {
  position: relative;
  background-color: #f7f8fa;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  padding: 70px 0 65px 0;
  text-align: center;
  border-top: 1px solid #edf2f7;
}

.cta-title {
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #4a4d52;
  max-width: 840px;
  margin: 0 auto 30px auto;
  line-height: 1.45;
}

.btn-appointment-exact {
  background-color: #ffffff;
  color: #ed3237;
  border: 1px solid #ed3237;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-appointment-exact:hover {
  background-color: #ed3237;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(237, 50, 55, 0.25);
}

.btn-appointment-exact .plus-symbol {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* --- Site Footer (100% Exact Match) --- */
.site-footer {
  background-color: #f4f5f7;
  padding: 70px 0 40px 0;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

/* Column 1: Brand Quote */
.footer-col-brand {
  display: flex;
  align-items: flex-start;
}

.footer-brand-quote {
  color: #398ffc;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand-quote i {
  font-size: 26px;
  margin-top: 4px;
  color: #398ffc;
}

/* Column 2: Get In Touch */
.footer-col-touch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title-red {
  color: #ed3237;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.touch-location-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.touch-pin-icon {
  color: #ed3237;
  font-size: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.location-heading-red {
  color: #ed3237;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.location-body-text {
  color: #777777;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
}

/* Column 3: Contact Info */
.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-lines p {
  color: #777777;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
}

/* Disclaimer & Copyright Box */
.footer-disclaimer-wrapper {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
  margin-top: 20px;
}

.disclaimer-paragraph {
  color: #888888;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 300;
  text-align: left;
}

.disclaimer-paragraph strong {
  color: #666666;
  font-weight: 700;
}

.copyright-blue-link {
  color: #398ffc;
  text-decoration: none;
  font-weight: 400;
}

.copyright-blue-link:hover {
  text-decoration: underline;
}

/* --- Inner Page Layout & Sidebar --- */
.page-banner {
  background: linear-gradient(rgba(13, 43, 69, 0.8), rgba(13, 43, 69, 0.8)),
              url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1200&q=80') center/cover;
  padding: 40px 0;
  color: #fff;
}

.page-title-text {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.inner-page-wrapper {
  padding: 50px 0;
}

.inner-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.sidebar-menu-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-menu-item {
  display: block;
  padding: 12px 16px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition-fast);
  background-color: #fff;
  border: 1px solid #e2e8f0;
}

.sidebar-menu-item:hover,
.sidebar-menu-item.active {
  background-color: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.btn-profile-download {
  background-color: var(--primary-red);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 14px 20px;
  text-align: center;
  border-radius: 4px;
  margin-top: 15px;
  display: block;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(237, 50, 55, 0.25);
  transition: var(--transition-fast);
}

.btn-profile-download:hover {
  background-color: var(--primary-red-hover);
  color: #fff;
}

.inner-main-content {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.8;
}

.inner-main-content p {
  margin-bottom: 20px;
}

.accreditation-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.accreditation-badge {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  height: 110px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.accreditation-badge img {
  max-height: 80px;
  max-width: 110px;
  object-fit: contain;
}

/* --- Contact Us Form Section --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-label span.req {
  color: var(--primary-red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(237, 50, 55, 0.15);
}

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

.char-counter {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.btn-send-message {
  background-color: var(--primary-red);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

.btn-send-message:hover {
  background-color: var(--primary-red-hover);
  box-shadow: 0 4px 12px rgba(237, 50, 55, 0.3);
}

/* --- Modals (Online Report & Appointment) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  background-color: var(--primary-red);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

/* --- Scroll To Top Button --- */
#toTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--primary-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 999;
}

#toTop.show {
  opacity: 1;
  visibility: visible;
}

#toTop:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-4px);
}

/* --- Toast Notification --- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #10b981;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-weight: 500;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content-left {
    padding-right: 0;
  }
  
  .dots-grid {
    justify-content: center;
  }
  
  .quick-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .inner-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 15px;
    display: none;
  }
  
  .nav-item.active-mobile .dropdown-menu {
    display: block;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .quick-action-grid {
    grid-template-columns: 1fr;
  }
  
  .departments-grid {
    grid-template-columns: 1fr;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
}
