/* ================= CONTACT US PAGE STYLES ================= */

/* ATH Hospital Navigation Component - Sticky Version with Blur Effect */
/* All styles are scoped within .ath-navbar-component to prevent conflicts */

/* Body class for drawer state - scoped to prevent conflicts */
body.ath-drawer-open {
    overflow: hidden;
}

/* Scroll margin for contact form section to account for sticky navbar */
.contact-form-section {
    scroll-margin-top: 110px;
}

.ath-navbar-component {
    /* Component container - sticky positioning */
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* Component-specific CSS variables - all prefixed with ath- */
    --ath-nav-bg: #D7CBC2;
    --ath-dark-teal: #193C43;
    --ath-gold: #D2AB6A;
    --ath-text: #193C43;
    --ath-muted: #4a5a5e;
    --ath-danger: #c53030;
    
    /* Isolated font family to prevent inheritance */
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ath-text);
}

/* Top information strip */
.ath-top-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background: rgba(215, 203, 194, 0.75);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(25,60,67,0.15);
    border-radius: 24px 24px 0 0;
}

.ath-top-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ath-dark-teal);
    font-weight: 600;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ath-top-left .ath-muted {
    color: var(--ath-muted);
    font-weight: 500;
}

.ath-top-left .ath-muted a {
    color: var(--ath-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
}

.ath-top-left .ath-muted a:hover {
    color: var(--ath-dark-teal);
}

.ath-top-left a {
    color: var(--ath-dark-teal);
    text-decoration: none;
    transition: color 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
}

.ath-top-left a:hover {
    color: var(--ath-gold);
    text-decoration: underline;
}

.ath-top-left .ath-dot {
    width: 4px;
    height: 4px;
    border-radius: 9999px;
    background: var(--ath-gold);
    display: inline-block;
    margin: 0 6px;
}

/* Buttons */
.ath-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 24px;
    font-weight: 700;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ath-btn-appointment {
    background: linear-gradient(135deg, rgb(44, 90, 160) 0%, rgb(30, 58, 138) 100%);
    color: white;
}

.ath-btn-appointment:hover {
    background: linear-gradient(135deg, rgb(30, 58, 138) 0%, rgb(20, 40, 100) 100%);
    transform: translateY(-1px);
}

.ath-btn-emergency {
    background: var(--ath-danger);
    color: #fff;
}

.ath-btn-emergency:hover {
    background: #a61f1f;
    transform: translateY(-1px);
}

.ath-wide {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 24px;
}

/* Header */
.ath-header {
    background: rgba(215, 203, 194, 0.75);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(25,60,67,0.15);
    border-radius: 0 0 24px 24px;
}

.ath-brand-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

@media (max-width: 958px) {
    .ath-brand-row {
        grid-template-columns: auto 1fr auto;
        justify-items: end;
    }
    
    .ath-brand {
        justify-self: start;
    }
    
    .ath-nav-toggle {
        justify-self: end;
    }
}

.ath-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    justify-self: start;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.ath-brand:hover {
    transform: scale(1.02);
}

.ath-brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ath-dark-teal);
    color: var(--ath-gold);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    transition: transform 0.2s ease;
}

.ath-brand:hover .ath-brand-badge {
    transform: rotate(5deg);
}

.ath-brand-text {
    display: flex;
    flex-direction: column;
}

.ath-brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--ath-dark-teal);
    margin: 0;
}

.ath-brand-tag {
    font-size: clamp(10px, 1.2vw, 14px);
    color: var(--ath-muted);
    margin-top: 2px;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Primary menu (desktop) */
.ath-primary {
    padding: 0;
}

.ath-menu {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ath-menu li {
    list-style: none;
}

.ath-menu a {
    color: var(--ath-dark-teal);
    padding: 8px 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: clamp(14px, 1.3vw, 16px);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.ath-menu a:hover {
    color: var(--ath-dark-teal);
    background: rgba(210,171,106,0.15);
    transform: translateY(-1px);
}

.ath-menu a.ath-btn {
    color: var(--ath-dark-teal) !important;
}

.ath-menu a.ath-btn-appointment {
    color: white !important;
}

.ath-menu a.ath-btn-emergency {
    color: white !important;
}

/* Hamburger */
.ath-nav-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ath-nav-toggle:hover {
    transform: scale(1.1);
}

.ath-nav-toggle .ath-bar {
    width: 22px;
    height: 2px;
    background: var(--ath-dark-teal);
    display: block;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Drawer */
.ath-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: 88%;
    max-width: 420px;
    background: rgba(215, 203, 194, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    box-shadow: -12px 0 24px rgba(25,60,67,.15);
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 1001;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 20px 0 0 20px;
}

.ath-drawer.open {
    transform: translateX(0);
}

.ath-drawer-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(25,60,67,0.15);
}

.ath-drawer-close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 24px;
    padding: 8px;
    color: var(--ath-dark-teal);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ath-drawer-close:hover {
    transform: scale(1.2);
}

.ath-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px 16px 16px;
}

.ath-drawer-nav a {
    padding: 8px 12px;
    border-radius: 24px;
    color: var(--ath-dark-teal);
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
}

.ath-drawer-nav a:hover {
    background: rgba(210,171,106,0.15);
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 403px) {
    .ath-top-strip {
        padding: 2px 4px;
        gap: 2px;
    }
    
    .ath-top-left {
        gap: 4px;
        font-size: 10px;
    }
    
    .ath-top-left .ath-muted {
        font-size: 9px;
    }
    
    .ath-brand-row {
        padding: 4px 6px;
        gap: 4px;
    }
    
    .ath-brand-name {
        font-size: clamp(10px, 4vw, 14px);
    }
    
    .ath-brand-tag {
        font-size: clamp(7px, 2.5vw, 9px);
    }
    
    .ath-brand-badge {
        width: clamp(20px, 5vw, 24px);
        height: clamp(20px, 5vw, 24px);
    }
}

@media (max-width: 552px) and (min-width: 403px) {
    .ath-top-strip {
        padding: 4px 8px;
        gap: 4px;
    }
    
    .ath-top-left {
        gap: 6px;
        font-size: 12px;
    }
    
    .ath-top-left .ath-muted {
        font-size: 11px;
    }
    
    .ath-brand-row {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .ath-brand-name {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .ath-brand-tag {
        font-size: clamp(8px, 2vw, 10px);
    }
    
    .ath-brand-badge {
        width: clamp(24px, 4vw, 28px);
        height: clamp(24px, 4vw, 28px);
    }
}

@media (max-width: 1032px) and (min-width: 959px) {
    .ath-menu {
        gap: 6px;
    }
    
    .ath-menu a {
        padding: 5px 8px;
        font-size: clamp(12px, 1.1vw, 14px);
    }
    
    .ath-brand-name {
        font-size: clamp(14px, 1.8vw, 18px);
    }
    
    .ath-brand-tag {
        font-size: clamp(9px, 0.9vw, 11px);
    }
    
    .ath-brand-badge {
        width: clamp(28px, 2.5vw, 32px);
        height: clamp(28px, 2.5vw, 32px);
    }
    
    .ath-btn {
        padding: 5px 8px;
        font-size: clamp(11px, 1vw, 13px);
    }
}

@media (max-width: 1264px) and (min-width: 1033px) {
    .ath-menu {
        gap: 8px;
    }
    
    .ath-menu a {
        padding: 6px 10px;
        font-size: clamp(13px, 1.2vw, 16px);
    }
    
    .ath-brand-name {
        font-size: clamp(16px, 2vw, 20px);
    }
    
    .ath-brand-tag {
        font-size: clamp(10px, 1vw, 12px);
    }
    
    .ath-brand-badge {
        width: clamp(32px, 3vw, 38px);
        height: clamp(32px, 3vw, 38px);
    }
    
    .ath-btn {
        padding: 6px 10px;
        font-size: clamp(12px, 1.1vw, 14px);
    }
}

@media (max-width: 768px) {
    .ath-top-strip {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .ath-brand-row {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .ath-menu {
        gap: 8px;
    }
    
    .ath-menu a {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .ath-brand-name {
        font-size: 18px;
    }
    
    .ath-brand-tag {
        font-size: 11px;
    }
    
    .ath-brand-badge {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .ath-top-strip {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .ath-brand-row {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .ath-menu {
        gap: 6px;
    }
    
    .ath-menu a {
        padding: 4px 6px;
        font-size: 13px;
    }
    
    .ath-brand-name {
        font-size: 16px;
    }
    
    .ath-brand-tag {
        font-size: 10px;
    }
    
    .ath-brand-badge {
        width: 28px;
        height: 28px;
    }
    
    .ath-drawer {
        width: 95%;
    }
}

/* Responsive visibility */
@media (min-width: 959px) {
    .ath-nav-toggle {
        display: none;
    }
}

@media (max-width: 959px) {
    .ath-primary {
        display: none;
    }
}

/* ================= END NAVIGATION STYLES ================= */

/* Contact Hero Section - Matching Home Page Banner */
.contact-hero {
  background: #E6D9CC;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #2c3e50;
  margin-top: var(--header-height, 72px);
}

.contact-hero .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.contact-hero .hero-content {
  z-index: 2;
}

.contact-hero .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #2c5aa0;
}

.contact-hero .hero-title .highlight {
  position: relative;
}

.contact-hero .hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #34495e;
  opacity: 0.9;
}

.contact-hero .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-hero .hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

/* Contact Hero Section - Matching Home Page Banner */
.contact-hero .banner-image-container {
  /* Match home banner container styling */
  border-radius: 20px;
  overflow: visible;
  padding: 0; /* remove extra padding to match home */
  background: 
    radial-gradient(circle at 20% 80%, rgba(44, 90, 160, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
}
.contact-hero .banner-image {
  /* Match home banner image styling */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}
.contact-hero .banner-image-container::before {
  /* Match home banner decorative shape (top-left) */
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  z-index: 1;
}
.contact-hero .banner-image-container::after {
  /* Match home banner decorative shape (bottom-right, organic shape) */
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}
.contact-hero .banner-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}
.contact-hero .hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}
.contact-hero .hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}
.contact-hero .hero-wave .shape-fill {
  fill: #FFFFFF;
}

/* Emergency Banner */
.emergency-banner {
  background: #e74c3c;
  color: white;
  padding: 20px 0;
}

.emergency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.emergency-icon i {
  font-size: 2.5rem;
}

.emergency-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.emergency-text p {
  margin: 0;
  opacity: 0.9;
}

.emergency-number a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  border: 2px solid white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.emergency-number a:hover {
  background: white;
  color: #e74c3c;
}

/* Main Contact Section */
.main-contact {
  padding: 80px 0;
  background: #E6D9CC;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2,
.contact-form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.method-icon {
  background: #2c5aa0;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon i {
  font-size: 1.2rem;
}

.method-details h4 {
  color: #2c5aa0;
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.method-details p {
  margin: 0.25rem 0;
  color: #666;
}

.method-details a {
  color: #193C43;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.method-details a:hover {
  color: #D2AB6A;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-section {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group.full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  font-weight: 500;
  color: #193C43;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  min-height: 56px; /* consistent field height */
  box-sizing: border-box; /* include padding/border in height */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2c5aa0;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .submit-btn {
  background: #2c5aa0;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.contact-form .submit-btn:hover {
  background: #1e3a8a;
}

/* FAQ Section */
.faq-section .section-title {
  font-size: 2.5rem;
  color: #2c5aa0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.faq-section {
  padding: 80px 0;
  background: #E6D9CC;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.5rem 2rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  flex: 1;
}

.faq-question i {
  color: #2c5aa0;
  font-size: 1rem;
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Location Section */
.location-section .section-title {
  font-size: 2.5rem;
  color: #2c5aa0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.location-section {
  padding: 80px 0;
  background: #E6D9CC;
  color: white;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.location-info h3 {
  color: #193C43;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.location-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.location-details {
  display: grid;
  gap: 1.5rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-item i {
  color: #2c5aa0;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  width: 20px;
}

.location-info h3 {
  color: #2c5aa0;
}

.location-info p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #34495e;
  opacity: 0.9;
}

.location-item h4 {
  color: #2c5aa0;
  margin: 0 0 0.5rem 0;
}

.location-item p {
  margin: 0;
  color: #666;
}

.location-item a {
  color: #193C43 !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.location-item a:hover {
  color: #D2AB6A !important;
  text-decoration: underline !important;
}

/* Map Placeholder */
.map-placeholder {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content i {
  font-size: 4rem;
  color: #027E92;
  margin-bottom: 1rem;
}

.map-content h4 {
  color: #193C43;
  margin-bottom: 0.5rem;
}

.map-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #027E92;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.map-link:hover {
  background: #193C43;
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
  .contact-grid,
  .location-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .department-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 280px;
  }
  
  .carousel-nav.prev-btn {
    left: -20px;
  }
  
  .carousel-nav.next-btn {
    right: -20px;
  }
  
  .emergency-content {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 60px;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .contact-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .emergency-banner {
    padding: 1.5rem 0;
  }
  
  .emergency-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .emergency-number a {
    font-size: 1.3rem;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
  }
  
  .main-contact,
  .department-contacts,
  .location-section {
    padding: 60px 0;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-info,
  .contact-form-section {
    flex: 1;
    max-width: 100%;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form-section {
    padding: 2rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .contact-method {
    padding: 1.25rem;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  .method-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
  }
  
  .method-details h4 {
    font-size: 1.15rem;
  }
  
  .method-details p {
    font-size: 0.95rem;
  }
  
  .department-card {
    flex: 0 0 70%;
    min-width: 300px;
    margin: 0 1rem;
  }
  
  /* Enhanced Controls Responsive */
  .page-scroll-buttons {
    top: -45px;
    gap: 10px;
  }
  
  .page-scroll-btn {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .page-scroll-btn span {
    font-size: 8px;
  }
  
  .scroll-speed-controls {
    bottom: -45px;
    padding: 6px 12px;
    gap: 8px;
  }
  
  .speed-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  .quick-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0 3px;
  }
  
  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .carousel-nav.prev-btn {
    left: -20px;
  }
  
  .carousel-nav.next-btn {
    right: -20px;
  }
  
  .carousel-indicators {
    margin-top: 2rem;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
  
  .map-placeholder {
    padding: 3rem 2rem;
    margin: 2rem 0;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 80px 0 40px;
  }
  
  .contact-hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .contact-hero-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .emergency-banner {
    padding: 1rem 0;
  }
  
  .emergency-content {
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .emergency-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .emergency-number a {
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    min-width: 150px;
    text-align: center;
  }
  
  .main-contact,
  .department-contacts,
  .location-section {
    padding: 30px 0;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  
  .contact-info h2,
  .contact-form-section h2 {
    font-size: 1.7rem;
  }
  
  .contact-form-section {
    padding: 1.25rem;
  }
  
  .contact-method {
    padding: 1rem;
    margin-bottom: 0.9rem;
  }
  
  .method-icon {
    width: 42px;
    height: 42px;
  }
  
  .method-details h4 {
    font-size: 1.05rem;
  }
  
  .method-details p {
    font-size: 0.92rem;
  }
  
  .contact-method i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-method p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .contact-form textarea {
    min-height: 120px;
  }
  
  .contact-form .submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 25px;
    margin-top: 1rem;
  }
  
  .department-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
    min-width: 280px;
    text-align: center;
  }
  
  .department-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .department-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .carousel-nav.prev-btn {
    left: -10px;
  }
  
  .carousel-nav.next-btn {
    right: -10px;
  }
  
  .carousel-indicators {
    margin-top: 1.5rem;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  .map-placeholder {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .map-placeholder h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .map-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Improved touch targets for mobile */
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  /* Better spacing for mobile */
  .container {
    padding: 0 1rem;
  }
  
  /* Improved readability */
  body {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Contact Hero Responsive Styles */
  .contact-hero {
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
  }
  
  .contact-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }

  .contact-hero .hero-content {
    order: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent !important;
    border-radius: 20px;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .contact-hero .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    min-height: 260px;
  }

  .contact-hero .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
  }

  .contact-hero .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    color: #34495e;
  }

  .contact-hero .hero-buttons {
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .contact-hero .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-width: 140px;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
   .contact-hero {
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
  }
   
   .contact-hero .hero-container {
    padding: 0.5rem;
    gap: 0.8rem;
    min-height: auto;
  }

  .contact-hero .hero-content {
    padding: 0 0.3rem;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .contact-hero .hero-title {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .contact-hero .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding: 0;
  }

  .contact-hero .hero-buttons {
    gap: 0.8rem;
    flex-direction: column;
    align-items: center;
  }

  .contact-hero .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    min-width: 160px;
    width: 100%;
    max-width: 200px;
  }

  .contact-hero .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    min-height: 220px;
  }
}
.map-embed {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
@media (max-width: 992px) {
  .contact-grid,
  .location-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .department-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 280px;
  }
  
  .carousel-nav.prev-btn {
    left: -20px;
  }
  
  .carousel-nav.next-btn {
    right: -20px;
  }
  
  .emergency-content {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 60px;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  
  .contact-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .emergency-banner {
    padding: 1.5rem 0;
  }
  
  .emergency-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .emergency-number a {
    font-size: 1.3rem;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
  }
  
  .main-contact,
  .department-contacts,
  .location-section {
    padding: 60px 0;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-info,
  .contact-form-section {
    flex: 1;
    max-width: 100%;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form-section {
    padding: 2rem;
  }
  
  .contact-methods {
    gap: 1.5rem;
  }
  
  .contact-method {
    padding: 1.5rem;
    text-align: center;
  }
  
  .department-card {
    flex: 0 0 70%;
    min-width: 300px;
    margin: 0 1rem;
  }
  
  /* Enhanced Controls Responsive */
  .page-scroll-buttons {
    top: -45px;
    gap: 10px;
  }
  
  .page-scroll-btn {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .page-scroll-btn span {
    font-size: 8px;
  }
  
  .scroll-speed-controls {
    bottom: -45px;
    padding: 6px 12px;
    gap: 8px;
  }
  
  .speed-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  .quick-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0 3px;
  }
  
  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .carousel-nav.prev-btn {
    left: -20px;
  }
  
  .carousel-nav.next-btn {
    right: -20px;
  }
  
  .carousel-indicators {
    margin-top: 2rem;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
  
  .map-placeholder {
    padding: 3rem 2rem;
    margin: 2rem 0;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 11px 0 40px;
  }
  
  .contact-hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .contact-hero-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .emergency-banner {
    padding: 1rem 0;
  }
  
  .emergency-content {
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .emergency-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .emergency-number a {
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    min-width: 150px;
    text-align: center;
  }
  
  .main-contact,
  .department-contacts,
  .location-section {
    padding: 30px 0;
  }
  
  .contact-info h2,
  .contact-form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .contact-form-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .contact-method {
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .contact-method i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-method p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .contact-form .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .contact-form textarea {
    min-height: 120px;
  }
  
  .contact-form .submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 25px;
    margin-top: 1rem;
  }
  
  .department-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
    min-width: 280px;
    text-align: center;
  }
  
  .department-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .department-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .carousel-nav.prev-btn {
    left: -10px;
  }
  
  .carousel-nav.next-btn {
    right: -10px;
  }
  
  .carousel-indicators {
    margin-top: 1.5rem;
  }
  
  .carousel-indicator {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  .map-placeholder {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  .map-placeholder h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .map-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Improved touch targets for mobile */
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  /* Better spacing for mobile */
  .container {
    padding: 0 1rem;
  }
  
  /* Improved readability */
  body {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Contact Hero Responsive Styles */
  .contact-hero {
    background: none !important;
    background-image: none !important;
    background-size: auto !important;
    background-position: initial !important;
    background-repeat: no-repeat !important;
  }
  
  .contact-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }

  .contact-hero .hero-content {
    order: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent !important;
    border-radius: 20px;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .contact-hero .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    min-height: 260px;
  }

  .contact-hero .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
  }

  .contact-hero .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    color: #34495e;
  }

  .contact-hero .hero-buttons {
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .contact-hero .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-width: 140px;
    width: 100%;
    max-width: 280px;
  }
}