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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8fafc;
}

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

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-cross {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 4px;
    position: relative;
}

.cross-vertical {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 16px;
    background: #3b82f6;
}

.cross-horizontal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 4px;
    background: #3b82f6;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: bold;
    color: #3b82f6;
    line-height: 1;
}

.logo-text p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1;
}

/* Navigation Styles */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link.active {
    color: #3b82f6;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #2c3e50;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: #3b82f6;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 250px;
    display: none;
    z-index: 100;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background: #eff6ff;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-content {
    padding: 16px 0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: #3b82f6;
}

.mobile-partner-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 16px;
}

.mobile-partner-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.mobile-partner-link {
    display: block;
    padding: 8px 0 8px 16px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.mobile-partner-link:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    text-align: center;
}

.hero-title {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: bold;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 32px;
    color: rgba(255,255,255,0.9);
}

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

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

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

.btn-primary {
    background: white;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f8fafc;
}

.btn-emergency {
    background: #dc2626;
    color: white;
}

.btn-emergency:hover {
    background: #b91c1c;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-gray {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: #eff6ff;
    padding: 24px;
    border-radius: 12px;
}

.info-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emergency-text {
    color: #dc2626;
    font-weight: 600;
}

/* Vision Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.vm-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vm-title {
    font-size: 24px;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vm-title-green {
    color: #059669;
}

.vision-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-list li {
    display: flex;
    gap: 12px;
    color: #6b7280;
}

.vision-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.mission-content {
    background: #f0fdf4;
    padding: 24px;
    border-radius: 8px;
}

.mission-content p {
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.7;
}

/* Quality Grid */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.quality-item {
    text-align: center;
}

.quality-icon {
    width: 64px;
    height: 64px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
}

.quality-icon-green {
    background: #059669;
}

.quality-icon-purple {
    background: #7c3aed;
}

.quality-icon-orange {
    background: #ea580c;
}

.quality-item h3 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.quality-item p {
    color: #6b7280;
    font-size: 14px;
}

/* Clinic Grid */
.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.clinic-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.clinic-card-full {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.clinic-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-list p {
    color: #6b7280;
    margin-bottom: 4px;
}

.schedule {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.schedule-note {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.facility-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.facility-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.facility-icon-blue { background: #3b82f6; }
.facility-icon-green { background: #059669; }
.facility-icon-red { background: #dc2626; }
.facility-icon-purple { background: #7c3aed; }
.facility-icon-cyan { background: #0891b2; }
.facility-icon-orange { background: #ea580c; }
.facility-icon-teal { background: #0d9488; }
.facility-icon-indigo { background: #4f46e5; }

.facility-item h3 {
    font-weight: 600;
    color: #2c3e50;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tip-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    color: white;
}

.tip-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tip-icon-green { background: linear-gradient(135deg, #059669, #047857); }
.tip-icon-orange { background: linear-gradient(135deg, #ea580c, #dc2626); }
.tip-icon-purple { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.tip-icon-cyan { background: linear-gradient(135deg, #0891b2, #0284c7); }

.tip-card h3 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.tip-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* First Aid Grid */
.firstaid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.firstaid-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.firstaid-red { border-left-color: #dc2626; background: linear-gradient(135deg, #fef2f2, #ffffff); }
.firstaid-blue { border-left-color: #3b82f6; background: linear-gradient(135deg, #eff6ff, #ffffff); }
.firstaid-orange { border-left-color: #ea580c; background: linear-gradient(135deg, #fff7ed, #ffffff); }
.firstaid-purple { border-left-color: #7c3aed; background: linear-gradient(135deg, #f3f4f6, #ffffff); }

.firstaid-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.firstaid-card h3 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.firstaid-card p {
    color: #6b7280;
    line-height: 1.6;
}

.emergency-notice {
    text-align: center;
    background: #fef2f2;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #fecaca;
}

.emergency-notice a {
    color: #dc2626;
    text-decoration: none;
    font-weight: bold;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-card h3 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-card a {
    text-decoration: none;
    font-weight: 500;
}

.emergency-link {
    color: #dc2626;
    font-size: 18px;
}

.whatsapp-link {
    color: #059669;
    background: #f0fdf4;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    transition: background-color 0.3s;
}

.whatsapp-link:hover {
    background: #dcfce7;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-copyright {
    border-top: 1px solid #374151;
    padding-top: 24px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .vision-mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .quality-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .clinic-grid,
    .facilities-grid,
    .tips-grid,
    .firstaid-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .header-content {
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 12px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .vm-card,
    .info-card,
    .contact-card,
    .clinic-card,
    .facility-item,
    .tip-card,
    .firstaid-card {
        padding: 20px;
    }
}