/*
Theme Name: TayumSanjo Government Theme
Description: A professional WordPress theme designed for government organizations, departments, and public institutions. Features government-standard design, accessibility compliance, and official branding elements.
Version: 4.0
Author: Tayum Sanjo, Government Web Standards
Author URI: https://tayumsanjo.gov
Tags: government, official, accessible, responsive, wcag-compliant, public-sector
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* WCAG 2.1 AA Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    font-weight: var(--font-weight-medium);
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Government Standard Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group .help-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Required field indicator */
.form-group label.required::after {
    content: ' *';
    color: #dc3545;
}

/* Form buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    min-width: 44px;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--accent-gray);
    color: var(--text-dark);
    border-color: var(--accent-gray);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--text-muted);
    border-color: var(--text-muted);
    color: white;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form validation styling */
.form-validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.form-success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* High Contrast Focus Indicators */
*:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Legacy DME Hero Section - Removed (now using customizable hero-section) */

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #fbbf24, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
    to { text-shadow: 2px 2px 20px rgba(251, 191, 36, 0.5); }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.action-btn.primary {
    background: #fbbf24;
    color: #1e40af;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.action-btn.tertiary {
    background: transparent;
    color: white;
    border: 2px solid #fbbf24;
}

/* NEET Section Styles */
.neet-section {
    padding: 4rem 0;
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
    position: relative;
}

.neet-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
    position: relative;
}

.neet-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #fbbf24, #1e40af);
    border-radius: 2px;
}

.neet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.neet-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.neet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #fbbf24);
}

.neet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.neet-card h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.neet-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-block;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #fbbf24;
}

.neet-process {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.neet-process h3 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.step {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: stepPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--step-index, 0) * 0.2s);
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hospitals Section Styles */
.hospitals-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
    color: white;
    position: relative;
}

.hospitals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hospital-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L15 25 M5 15 L25 15" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hospital-pattern)"/></svg>');
}

.hospitals-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hospital-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hospital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #ffffff);
}

.hospital-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hospital-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hospital-icon {
    font-size: 2.5rem;
    animation: hospitalPulse 2s ease-in-out infinite;
}

@keyframes hospitalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hospital-card h3 {
    color: #fbbf24;
    font-size: 1.4rem;
    margin: 0;
}

.hospital-info p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.hospital-info strong {
    color: #fbbf24;
}

.hospital-link {
    display: inline-block;
    margin-top: 1rem;
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hospital-link:hover {
    color: white;
    transform: translateX(5px);
}

/* Government Responsive Design Standards */
/* Mobile First Approach - Base styles for mobile devices */
@media screen and (max-width: 767px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .neet-grid,
    .hospitals-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    

    
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-horizontal {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Typography adjustments for mobile */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Tablet styles */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    

    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Desktop styles */
@media screen and (min-width: 1024px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .main-content {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    

}

/* Large desktop styles */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo-icon,
    .service-icon,
    .contact-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles for government documents */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .site-header,
    .site-footer,
    .menu-toggle,
    .slider-nav,
    .slider-dots,
    .btn {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .section-title {
        border-bottom: 2px solid black;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        page-break-inside: avoid;
    }
}

/* Government accessibility enhancements */
@media screen and (max-width: 767px) {
    /* Ensure touch targets are at least 44px */
    .btn,
    .menu-toggle,
    .slider-nav,
    .slider-dot,
    input,
    textarea,
    select {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve text readability on small screens */
    body {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Ensure adequate spacing for government forms */
    .form-group {
        margin-bottom: 2rem;
    }
}

body {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
    font-weight: 400;
    scroll-behavior: smooth;
}

/* Ensure minimum touch target size (44px) */
button,
a,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    min-height: 44px;
    min-width: 44px;
}

/* Improve text readability */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
    max-width: 70ch;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Government Standard Color Palette */
:root {
    /* Primary Government Colors */
    --primary-blue: #1f4e79;
    --primary-dark: #0f2a44;
    --secondary-blue: #2e5f8a;
    --accent-blue: #4a90c2;
    
    /* Government Accent Colors */
    --accent-green: #2d5016;
    --accent-red: #b91c1c;
    --accent-gold: #b45309;
    --accent-gray: #4b5563;
    
    /* Text Colors - WCAG AA Compliant */
    --text-dark: #1f2937;
    --text-medium: #374151;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    
    /* Background Colors */
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-gray: #f3f4f6;
    --bg-dark: #111827;
    
    /* Border and Shadow Colors */
    --border-light: #d1d5db;
    --border-medium: #9ca3af;
    --border-dark: #6b7280;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Government Typography Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* Logo Text Sizes - Government Standard */
    --logo-title-size: clamp(1.875rem, 4vw, 3rem);
    --logo-org-name-size: clamp(1rem, 2.5vw, 1.25rem);
    --logo-tagline-size: clamp(0.875rem, 2vw, 1rem);
    --logo-image-only-size: 500px;
    --logo-height: 200px;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    color: #1e40af;
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 2px solid #fbbf24;
    position: relative;
    z-index: 1000;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Menu Placement Options */
.menu-top {
    border-bottom: 3px solid var(--primary-blue);
}

.menu-center {
    border-bottom: 2px solid var(--border-light);
}

.menu-bottom {
    border-bottom: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.government-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.government-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.site-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-subtitle {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbbf24;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-style: italic;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 800px;
    width: 100%;
}

.logo-icon {
    width: 500px;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.default-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-logo svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.custom-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.logo-text h1 {
    font-size: var(--logo-title-size);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    word-wrap: break-word;
}

.logo-text .org-name {
    font-size: var(--logo-org-name-size);
    color: var(--accent-green);
    font-weight: 600;
    line-height: 1.3;
}

.logo-text .tagline {
    font-size: var(--logo-tagline-size);
    color: var(--text-light);
    margin-top: 5px;
    line-height: 1.4;
}

/* Government Bar Styles */
.government-bar {
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 2px solid #fbbf24;
}

.gov-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gov-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gov-emblem {
    font-size: 1.2rem;
}

.gov-text {
    font-weight: 600;
    color: #fbbf24;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Header Main Styles */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1.5rem;
}

/* Keep officials section within frame in logo-only mode */
.brand-section.logo-only + .officials-section {
    flex-shrink: 0;
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-height: 80px;
}

/* Logo only mode - Large logo fitting within available space */
.brand-section.logo-only .brand-text {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.brand-section.logo-only .dme-logo {
    height: 150px !important;
    max-width: 600px !important;
    width: 600px !important;
    min-width: 600px !important;
}

.brand-section.logo-only .header-logo {
    height: 150px !important;
    max-width: 600px !important;
    width: 600px !important;
    min-width: 600px !important;
    object-fit: contain !important;
}

.brand-section.logo-only .logo-container {
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
    max-width: 600px !important;
    display: flex !important;
}

.brand-section.logo-only {
    justify-content: flex-start !important;
    align-items: center !important;
    min-height: 170px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: row !important;
}



/* Text only mode - No logo, just text */
.brand-section.text-only .logo-container {
    display: none;
}

.brand-section.text-only .brand-text {
    gap: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-section.text-only .title-main {
    font-size: 2.2rem !important;
    margin-bottom: 0.5rem;
}

.brand-section.text-only .title-sub {
    font-size: 1.6rem !important;
    margin-top: 0.3rem;
}

/* Both logo and text mode (default) */
.brand-section.logo-text .dme-logo {
    height: 70px;
    max-width: 70px;
}

.brand-section.logo-text .brand-text {
    min-height: 70px;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dme-logo {
    height: 70px;
    width: auto;
    max-width: 70px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.dme-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(30, 64, 175, 0.3));
}

.brand-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

.brand-text .site-title {
    margin: 0;
    line-height: 1.2;
}

.title-main {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.title-sub {
    display: block !important;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937 !important;
    margin-top: 0.3rem;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.site-tagline {
    font-size: 1rem;
    color: #4b5563;
    margin: 0.4rem 0;
    font-weight: 600;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #1e40af;
    font-size: 1rem;
    font-weight: 600;
    margin: 0.4rem 0;
    padding: 0.2rem 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 0.25rem;
}

/* Bilingual Text Styles */
.brand-english {
    margin-bottom: 1.2rem;
    text-align: left;
}

.brand-hindi {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 2px solid rgba(30, 64, 175, 0.2);
    text-align: left;
}

.site-title-hi {
    font-size: 1em;
    margin: 0;
    line-height: 1.3;
}

.site-title-hi .title-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.3;
}

.site-title-hi .title-sub {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b82f6;
    margin-top: 0.2rem;
}

.site-tagline-hi {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0.4rem 0;
    font-weight: 500;
}

/* Responsive Design for Header */
@media (max-width: 768px) {
    .brand-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        min-height: auto;
    }
    
    .brand-text {
        text-align: center !important;
        min-height: auto;
    }
    
    .brand-english, .brand-hindi {
        text-align: center;
    }
    
    .title-main {
        font-size: 1.5rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .site-title-hi .title-main {
        font-size: 1.3rem;
    }
    
    .site-title-hi .title-sub {
        font-size: 1rem;
    }
    
    .dme-logo {
        height: 60px !important;
        max-width: 60px !important;
    }
}

@media (max-width: 480px) {
    .brand-section {
        gap: 0.8rem;
    }
    
    .title-main {
        font-size: 1.3rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .site-title-hi .title-main {
        font-size: 1.1rem;
    }
    
    .site-title-hi .title-sub {
        font-size: 0.9rem;
    }
    
    .dme-logo {
        height: 50px !important;
        max-width: 50px !important;
    }
}

.site-tagline-hi {
    font-size: 0.85em;
    color: #6b7280;
    font-style: italic;
    margin: 0.25rem 0 0 0;
}

.title-hi, .subtitle-hi, .tagline-hi, .name-hi, .designation-hi {
    display: block;
    font-size: inherit;
    color: inherit;
    font-style: inherit;
    margin: 0;
}

.header-logo {
    border-radius: 8px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.header-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(30, 64, 175, 0.3));
}

/* Officials Section */
.officials-section {
    margin-left: auto;
    flex-shrink: 0;
}

.officials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    max-width: 400px;
}

.official-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.official-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.official-photo {
    margin-bottom: 0.5rem;
}

.official-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.official-image:hover {
    transform: scale(1.1);
    border-color: #1e40af;
}

.official-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid #9ca3af;
    transition: all 0.3s ease;
}

.official-placeholder:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-color: #1e40af;
}

.placeholder-icon {
    font-size: 1.5rem;
    color: #6b7280;
}

.official-placeholder:hover .placeholder-icon {
    color: white;
}

.official-info {
    text-align: center;
}

.official-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.official-designation {
    font-size: 0.65rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.2;
}

.name-en, .designation-en {
    display: block;
}

.name-hi, .designation-hi {
    font-size: 0.6rem;
    font-style: italic;
    margin-top: 0.1rem;
}

/* Quick Actions Section */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-btn-1 {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.action-btn-2 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.action-btn-3 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Emergency Contact */
.emergency-contact {
    margin-top: 0.3rem;
}

.emergency-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
    animation: pulse 2s infinite;
}

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

.emergency-icon {
    font-size: 1.2rem;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}



.emergency-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.emergency-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.emergency-number {
    font-size: 1.1rem;
    font-weight: 800;
}



/* Enhanced Navigation Menu Styles */
.main-navigation {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-bottom: 3px solid #fbbf24;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.3rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu Container */
.nav-menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #fbbf24;
    transform: translateY(-2px);
}

/* Navigation Extras */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.language-toggle .lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-toggle .lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Search Form */
.search-form-container {
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit {
    background: #fbbf24;
    border: none;
    color: #1e40af;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #f59e0b;
    transform: scale(1.05);
}



/* Breadcrumb Styles */
.breadcrumb-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #3b82f6;
}

.breadcrumb-separator {
    color: #64748b;
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: #64748b;
    font-weight: 600;
}

.page-actions {
    display: flex;
    gap: 0.5rem;
}

.page-action-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.page-action-btn:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}

/* Mobile Responsive Styles for Header */
@media (max-width: 768px) {
    /* Government Bar Mobile */
    .government-bar {
        padding: 0.5rem 0;
    }
    
    .gov-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .gov-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Header Main Mobile */
    .header-main {
        padding: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Brand Section Mobile */
    .brand-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-text h1 {
        font-size: 1.5rem;
    }
    
    .brand-text .subtitle {
        font-size: 0.9rem;
    }
    
    /* Quick Actions Mobile */
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Emergency Contact Mobile */
    .emergency-contact {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e40af, #3b82f6);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu-container.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }
    
    .nav-extras {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    

    
    /* Medical Services Mobile */
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .medical-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .medical-btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
    
    /* Modern Contact Mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-column {
        gap: 24px;
    }
    
    .contact-info-header h3 {
        font-size: 2rem;
    }
    
    .contact-info-header p {
        font-size: 1rem;
    }
    
    .contact-info-list {
        gap: 16px;
    }
    
    .contact-item.modern-contact-card {
        padding: 20px;
        margin-bottom: 16px;
        gap: 16px;
    }
    
    .contact-icon.modern-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .map-container {
        padding: 16px;
        margin-top: 20px;
    }
    
    .map-container iframe {
        height: 300px;
        border-radius: 12px;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .page-actions {
        width: 100%;
        justify-content: center;
    }
    
    .page-action-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Government Menu Orientation - Horizontal */
.menu-horizontal {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.menu-horizontal li {
    position: relative;
}

.menu-horizontal a {
    display: block;
    padding: 16px 24px;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-horizontal a:hover,
.menu-horizontal .current-menu-item > a {
    background: var(--primary-dark);
    border-bottom-color: var(--accent-gold);
    color: var(--bg-white);
}

.menu-horizontal a:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: -2px;
}

/* Government Dropdown Menus */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.menu-horizontal li:hover > .sub-menu,
.menu-horizontal li:focus-within > .sub-menu {
    display: block;
}

.sub-menu a {
    padding: 12px 20px;
    border: none;
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: normal;
    font-weight: var(--font-weight-normal);
}

.sub-menu a:hover,
.sub-menu a:focus {
    background: var(--bg-gray);
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
}

/* Government Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-dark);
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    font-size: 18px;
    color: var(--bg-white);
    cursor: pointer;
    padding: 12px 16px;
    font-weight: var(--font-weight-medium);
    transition: all 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: var(--accent-gold);
    color: var(--primary-dark);
    outline: 2px solid var(--bg-white);
    outline-offset: 2px;
}

.menu-toggle[aria-expanded="true"] {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-icon {
        width: 400px !important;
        height: 200px !important;
    }
    

    
    .menu-horizontal {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Notice and News Section Responsive */
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .notice-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .notice-board,
    .latest-posts {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .notice-header,
    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .post-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-image,
    .post-image-placeholder {
        width: 100%;
        height: 200px;
    }
    
    /* Gallery and Contact Tablet */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .instructions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-item {
        padding: 22px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }
    
    /* Gallery Grid Tablet */
    .gallery-grid-4,
    .gallery-grid-5,
    .gallery-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid-masonry {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 300px !important;
        height: 200px !important;
    }
    

    
    /* Notice and News Section Mobile */
    .notice-news-section {
        padding: 40px 0;
    }
    
    .notice-board,
    .latest-posts {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .post-image,
     .post-image-placeholder {
         height: 150px;
     }
     
     /* Slider Section Mobile */
     .slider-wrapper {
         height: 250px;
     }
     
     .slider-content {
         padding: 20px;
     }
     
     .slider-title {
         font-size: 1.5rem;
     }
     
     .slider-description {
         font-size: 1rem;
     }
     
     .slider-nav {
         width: 40px;
         height: 40px;
         font-size: 1.2rem;
     }
     
     .slider-prev {
         left: 10px;
     }
     
     .slider-next {
         right: 10px;
     }
     
     /* Services and Team Mobile */
     .services-grid,
     .team-grid {
         grid-template-columns: 1fr;
         gap: 20px;
     }
     
     .service-card,
     .team-member {
         padding: 25px 20px;
     }
     
     /* Gallery and Contact Mobile */
     .contact-grid {
         grid-template-columns: 1fr;
         gap: 40px;
     }
     
     .contact-form {
         padding: 30px 20px;
     }
     
     .instructions-grid {
         grid-template-columns: 1fr;
         gap: 20px;
     }
     
     .instruction-card {
         padding: 25px 20px;
     }
     
     .contact-item {
         padding: 20px;
         flex-direction: column;
         text-align: center;
         gap: 15px;
     }
     
     .contact-icon {
         width: 50px;
         height: 50px;
         font-size: 1.5rem;
         margin: 0 auto;
     }
     
     .social-links {
         justify-content: center;
     }
     
     .map-placeholder {
         height: 300px;
     }
     
     .map-placeholder span {
         font-size: 36px;
     }
     
     /* Gallery Grid Mobile */
     .gallery-grid-2,
     .gallery-grid-3,
     .gallery-grid-4,
     .gallery-grid-5,
     .gallery-grid-6 {
         grid-template-columns: 1fr;
         gap: 15px;
     }
     
     .gallery-grid-masonry {
         column-count: 1;
     }
     
     .gallery-item {
         margin-bottom: 15px;
     }
     
     .gallery-item-content {
         padding: 15px;
     }
     
     .gallery-item-title {
         font-size: 1rem;
     }
     
     .gallery-item-excerpt {
         font-size: 0.85rem;
     }
 }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
}

.btn-primary:hover {
    background: #2f855a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Main Content Styles */
.main-content {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

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

/* Notice and News Section Styles */
.notice-news-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.notice-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-board,
.latest-posts {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.section-title {
    font-size: 1.4rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 3px solid #fbbf24;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Notice and Post Items */
.notice-item,
.post-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.notice-item:last-child,
.post-item:last-child {
    border-bottom: none;
}

.notice-item:hover,
.post-item:hover {
    background: #f8fafc;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
}

/* Simple Notice Layout */
.notice-item.simple-layout,
.post-item.simple-layout {
    padding: 0.75rem 0;
}

.notice-simple-row,
.post-simple-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.notice-simple-row .notice-date,
.post-simple-row .post-date {
    flex-shrink: 0;
    min-width: 90px;
}

.notice-simple-row .notice-title,
.post-simple-row .post-title {
    flex: 1;
    margin: 0;
    text-align: right;
    font-size: 0.95rem;
}

.notice-simple-row .notice-title a,
.post-simple-row .post-title a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice-simple-row .notice-title a:hover,
.post-simple-row .post-title a:hover {
    color: #1f2937;
}

.notice-header,
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notice-priority,
.post-category {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.notice-priority.urgent {
    background: #fee2e2;
    color: #dc2626;
}

.notice-priority.important {
    background: #fef3c7;
    color: #d97706;
}

.notice-priority {
    background: #e0f2fe;
    color: #0369a1;
}

.post-category {
    background: #f0f9ff;
    color: #0284c7;
}

.notice-date,
.post-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.notice-date::before,
.post-date::before {
    content: '📅';
    font-size: 0.8rem;
    margin-right: 0.2rem;
}

.notice-date::after,
.post-date::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.notice-item:hover .notice-date::after,
.post-item:hover .post-date::after {
    left: 100%;
}

/* Fresh/Recent date styling */
.notice-date.fresh,
.post-date.fresh {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: pulse-fresh 2s infinite;
}

.notice-date.fresh::before,
.post-date.fresh::before {
    content: '🆕';
}

@keyframes pulse-fresh {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Today's date styling */
.notice-date.today,
.post-date.today {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: blink 2s ease-in-out infinite;
}

.notice-date.today::before,
.post-date.today::before {
    content: '⭐';
}

@keyframes glow-today {
    from { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3); }
    to { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.6); }
}

.notice-title,
.post-title {
    margin: 0.8rem 0 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    position: relative;
}

.notice-title a,
.post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.notice-title a::after,
.post-title a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transition: width 0.3s ease;
}

.notice-title a:hover,
.post-title a:hover {
    color: #1e40af;
    transform: translateY(-1px);
}

.notice-title a:hover::after,
.post-title a:hover::after {
    width: 100%;
}

/* Fresh post title styling */
.notice-item:has(.notice-date.fresh) .notice-title a,
.post-item:has(.post-date.fresh) .post-title a {
    color: #059669;
}

.notice-item:has(.notice-date.fresh) .notice-title a::after,
.post-item:has(.post-date.fresh) .post-title a::after {
    background: linear-gradient(90deg, #059669, #10b981);
}

/* Today's post title styling */
.notice-item:has(.notice-date.today) .notice-title a,
.post-item:has(.post-date.today) .post-title a {
    color: #d97706;
    font-weight: 800;
}

.notice-item:has(.notice-date.today) .notice-title a::after,
.post-item:has(.post-date.today) .post-title a::after {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.notice-excerpt,
.post-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.section-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: #f0f9ff;
    transition: all 0.2s ease;
}

.view-all-btn:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-1px);
}

.no-notices,
.no-posts {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

.notice-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-content h3 a:hover {
    color: var(--primary-blue);
}

.notice-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Single Notice Page Styles */
.single-notice .notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.single-notice .notice-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.single-notice .notice-date {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.single-notice .notice-author {
    background: #f8fafc;
    color: #64748b;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

/* Post Item Styles */
.post-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.post-item:last-child {
    border-bottom: none;
}

.post-image,
.post-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.post-image-placeholder {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--border-light);
}

.post-content {
    flex: 1;
}

.post-content h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--primary-blue);
}

.post-excerpt {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.post-date {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0;
}

/* View All Links */
.view-all-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.no-content {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* Single Post Layout */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content-area {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.single-post .post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.single-post .post-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

/* Responsive title sizing based on content length */
.single-post .post-title[data-length="short"] {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.single-post .post-title[data-length="medium"] {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
}

.single-post .post-title[data-length="long"] {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
}

/* Notice title styling */
.single-notice .notice-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.single-notice .notice-title[data-length="short"] {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.single-notice .notice-title[data-length="medium"] {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
}

.single-notice .notice-title[data-length="long"] {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
}

.single-post .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.single-post .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.single-post .post-date {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.single-post .post-author {
    background: #f8fafc;
    color: #64748b;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.single-post .post-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
}

.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.single-post .post-content p {
    margin-bottom: 1.2rem;
}

.sidebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 1px 8px rgba(0,0,0,0.1);
    height: fit-content;
    overflow: hidden;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.sidebar .widget {
    margin: 0;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.sidebar .widget:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

.sidebar .widget:last-child {
    border-bottom: none;
}

.sidebar .widget-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.sidebar .widget-title::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateY(-50%) scale(1.1); }
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.sidebar .widget li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sidebar .widget li:hover::before {
    color: #fbbf24;
    transform: translateY(-50%) translateX(3px);
}

.sidebar .widget li:last-child {
    border-bottom: none;
}

.sidebar .widget li:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 2rem;
    border-radius: 8px;
}

.sidebar .widget a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
}

.sidebar .widget a:hover {
    color: #fbbf24;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transform: translateX(3px);
}

.sidebar .widget small {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    font-style: italic;
}

/* Search Form Styling */
.sidebar .widget .search-form {
    position: relative;
}

.sidebar .widget .search-form input[type="search"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar .widget .search-form input[type="search"]:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.sidebar .widget .search-form input[type="search"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.sidebar .widget .search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #fbbf24;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .widget .search-form button:hover {
    background: #f59e0b;
    transform: translateY(-50%) scale(1.1);
}

.sidebar .widget .search-form button::before {
    content: '🔍';
    font-size: 0.9rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .main-content-area {
        padding: 1rem;
    }
    
    .sidebar {
        margin-top: 2rem;
        border-radius: 15px;
    }
    
    .sidebar .widget {
        padding: 1.2rem;
    }
    
    .sidebar .widget:hover {
        transform: translateY(-2px) scale(1.02);
    }
    
    .sidebar .widget-title {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }
    
    .sidebar .widget li:hover {
        transform: translateX(3px);
        padding-left: 1.8rem;
    }
    
    /* Hero Section Tablet Styles */
    .hero-section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 18px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 28px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        gap: 18px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .single-post .post-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .single-post .post-title[data-length="short"] {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .single-post .post-title[data-length="medium"] {
        font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    }
    
    .single-post .post-title[data-length="long"] {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    
    .single-notice .notice-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    
    .single-notice .notice-title[data-length="short"] {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .single-notice .notice-title[data-length="medium"] {
        font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    }
    
    .single-notice .notice-title[data-length="long"] {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    
    /* Header Tablet Styles */
    .header-main {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .brand-section {
        justify-content: center;
        text-align: center;
    }
    
    .officials-section {
        margin-left: 0;
        width: 100%;
    }
    
    .officials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
        margin: 0 auto;
        gap: 1rem;
    }
    
    .title-main {
        font-size: 1.4rem;
    }
    
    .title-sub {
        font-size: 1rem;
    }
    
    .site-tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .sidebar .widget-title {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .sidebar .widget {
        padding: 1rem;
    }
    
    .sidebar .widget .search-form input[type="search"] {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    
    /* Header Mobile Styles */
    .header-main {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .brand-section {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .dme-logo {
        width: 60px;
        height: 60px;
    }
    
    .title-main {
        font-size: 1.2rem;
    }
    
    .title-sub {
        font-size: 0.9rem;
    }
    
    .site-tagline {
        font-size: 0.75rem;
    }
    
    .officials-section {
        margin-left: 0;
        width: 100%;
    }
    
    .officials-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 250px;
        margin: 0 auto;
        gap: 0.6rem;
    }
    
    .official-card {
        padding: 0.6rem 0.4rem;
    }
    
    .official-image, .official-placeholder {
        width: 45px;
        height: 45px;
    }
    
    .official-name {
        font-size: 0.65rem;
    }
    
    .official-designation {
        font-size: 0.55rem;
    }
    
    .name-hi, .designation-hi {
        font-size: 0.5rem;
    }
    
    .government-bar {
        padding: 0.3rem 0;
        font-size: 0.8rem;
    }
    
    .gov-bar-content {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .contact-info {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Hero Section Mobile Styles */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 200px;
        text-align: center;
    }
}

/* Additional Animations */
.sidebar .widget {
    animation: slideInRight 0.6s ease-out;
}

.sidebar .widget:nth-child(1) { animation-delay: 0.1s; }
.sidebar .widget:nth-child(2) { animation-delay: 0.2s; }
.sidebar .widget:nth-child(3) { animation-delay: 0.3s; }
.sidebar .widget:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover effects for better interactivity */
.sidebar .widget li {
    cursor: pointer;
}

.sidebar .widget li:hover {
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}

/* Category links special styling */
.sidebar .widget .cat-item a {
    position: relative;
    overflow: hidden;
}

.sidebar .widget .cat-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.sidebar .widget .cat-item a:hover::after {
    width: 100%;
}

.no-content a {
    color: var(--primary-blue);
    text-decoration: none;
}

.no-content a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(255,255,255,0.05)"/><path d="M12.5 7.5 L12.5 17.5 M7.5 12.5 L17.5 12.5" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: footerFadeIn 1s ease-out;
    animation-delay: calc(var(--section-index, 0) * 0.2s);
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section h3 {
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, transparent);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-section .contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links li:hover::before {
    transform: translateX(3px);
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: #fbbf24;
    padding-left: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fbbf24;
}

/* Bond Agreement Section */
.bond-agreement-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.bond-agreement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #ffffff, #fbbf24);
    border-radius: 20px 20px 0 0;
}

.bond-info h3 {
    text-align: center;
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 2rem;
    position: relative;
}

.bond-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #ffffff);
    border-radius: 2px;
}

.bond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bond-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bond-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #3b82f6);
}

.bond-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.bond-item h4 {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bond-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bond-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .bond-agreement-section {
        padding: 1.5rem;
    }
    
    .bond-info h3 {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.p-20 {
    padding: 20px;
}

/* Custom Logo Image Styling */
.custom-logo-img {
    width: 500px !important;
    height: 200px !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

/* Logo section when only image is present */
.logo-section.image-only {
    justify-content: center;
}

.logo-section.image-only .logo-icon {
    width: var(--logo-image-only-size);
    height: var(--logo-image-only-size);
    background: var(--bg-white);
    border: 3px solid var(--primary-blue);
}

.logo-section.image-only .logo-icon img,
.logo-section.image-only .custom-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: var(--bg-light);
}

/* Ensure all logo images maintain aspect ratio */
.logo-icon img,
.custom-logo img,
.logo-section .logo-icon img,
.logo-section .custom-logo img {
    object-fit: contain !important;
    object-position: center;
}

/* Large logo option */
.logo-section.large-logo .logo-icon {
    width: 400px;
    height: 200px;
    border-radius: 12px;
}

.logo-section.large-logo.image-only .logo-icon {
    width: 500px;
    height: 200px;
    border-radius: 12px;
}

/* Extra large logo for image-only mode */
.logo-section.extra-large-logo.image-only .logo-icon {
    width: 700px;
    height: 200px;
    border-radius: 12px;
}

/* Image Slider Section */
.image-slider-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

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

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 40px;
    text-align: center;
}

.slider-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.slider-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.slider-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 3rem;
}

.slider-placeholder p {
    font-size: 1.2rem;
    margin-top: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.slider-dot.active,
.slider-dot:hover {
    background: white;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-grid)"/></svg>');
    opacity: 0.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Medical Service Specific Styling */
.medical-service {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.medical-service:hover {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    position: relative;
}

.medical-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.medical-service:hover .medical-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.medical-service:hover .medical-icon span {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.medical-service:hover h3 {
    color: #1e40af;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.medical-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.medical-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-blue);
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-blue);
    font-size: 2.5rem;
}

.team-member h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.team-member .position {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Gallery Page Styles */
.gallery-page-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.gallery-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-grid-masonry {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: var(--bg-white);
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-content {
    padding: 20px;
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.gallery-item-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery-item-placeholder {
    width: 100%;
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    border-radius: 8px;
}

.gallery-instructions {
    padding: 60px 0;
    background: var(--bg-light);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instruction-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instruction-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.instruction-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.instruction-card ul {
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 20px;
}

.instruction-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.instruction-card code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

/* Modern Contact Section Styles */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.4;
    z-index: 0;
}

.modern-contact {
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-header h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-header p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item.modern-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item.modern-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item.modern-contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.contact-item.modern-contact-card:hover::before {
    left: 100%;
}

.contact-icon.modern-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 16px;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.contact-item.modern-contact-card:hover .contact-icon.modern-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Map Column Styles */
.contact-map-column {
    display: flex;
    flex-direction: column;
}

.map-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #06b6d4, var(--primary-blue));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.map-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.map-container:hover iframe {
    border-radius: 20px;
}

/* Modern Contact Form Styles */
.contact-form.modern-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-form.modern-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #06b6d4, var(--primary-blue));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.contact-form.modern-form h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group.modern-input-group {
    margin-bottom: 32px;
    position: relative;
}

.form-group.modern-input-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.modern-input,
.modern-textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.modern-input::placeholder,
.modern-textarea::placeholder {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.modern-input:focus,
.modern-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.modern-input:focus::placeholder,
.modern-textarea:focus::placeholder {
    transform: translateY(-2px);
    opacity: 0.7;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), #06b6d4);
    transition: width 0.4s ease;
    z-index: 2;
}

.modern-input:focus + .input-focus-border,
.modern-textarea:focus + .input-focus-border {
    width: 100%;
}

.modern-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.modern-submit-btn {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border: none;
    padding: 18px 36px;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 600;
}

.map-placeholder {
    background: var(--border-light);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.map-placeholder span {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

/* Page Content Section */
.page-content {
    padding: 60px 0;
    background: var(--bg-white);
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--primary-blue);
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}