/* 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: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #4A90E2;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #4A90E2;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    min-width: 280px;
    padding: 20px;
    z-index: 100;
    border: 2px solid #4A90E2;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s ease;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #4A90E2;
}

.dropdown-content h4 {
    color: #4A90E2;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 10px;
}

.dropdown-content .partner-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: #4A90E2;
    color: white;
    transform: translateX(5px);
    border-color: #4A90E2;
}

.dropdown-content a::before {
    content: '🔗';
    margin-right: 10px;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4A90E2;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 150px 0 100px 0;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #4A90E2;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: white;
    color: #4A90E2;
    transform: translateY(-2px);
}

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

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4A90E2;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Vision Mission Section */
.vision-mission {
    background: white;
}

.vm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.vision, .mission {
    text-align: center;
}

.vision h3, .mission h3 {
    font-size: 1.8rem;
    color: #4A90E2;
    margin-bottom: 20px;
}

.mission ol {
    text-align: left;
    padding-left: 20px;
}

.mission li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

/* Quality Policy Section */
.quality-policy {
    background: #f8f9fa;
}

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

.quality-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.quality-card h4 {
    font-size: 1.3rem;
    color: #4A90E2;
    margin-bottom: 15px;
}

.quality-card p {
    color: #666;
}

/* Services Section */
.services {
    background: white;
}

.schedule-note {
    background: #e3f2fd;
    border: 1px solid #4A90E2;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.schedule-note p {
    margin: 0;
    color: #1976d2;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #4A90E2;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.15);
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-info {
    margin-bottom: 20px;
}

.service-info p {
    margin: 8px 0;
    color: #555;
    font-size: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: #4A90E2;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-tag.emergency {
    background: #e74c3c;
}

.schedule-table {
    overflow-x: auto;
    margin-top: 40px;
}

.schedule-table h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

th {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

td {
    font-size: 0.95rem;
}

td strong {
    color: #2c3e50;
    font-weight: 600;
}

td small {
    color: #7f8c8d;
    font-style: italic;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

tr:hover {
    background: #e3f2fd;
}

/* Health Tips Section */
.health-tips {
    background: #f8f9fa;
}

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

.tip-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.tip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tip-card h4 {
    font-size: 1.2rem;
    color: #4A90E2;
    margin-bottom: 15px;
}

.tip-card p {
    color: #666;
    font-size: 0.95rem;
}

/* First Aid Section */
.first-aid {
    background: white;
}

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

.aid-card {
    background: #fff;
    border: 2px solid #e74c3c;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.aid-card:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-5px);
}

.aid-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

.aid-card:hover h4 {
    color: white;
}

.emergency-note {
    background: #ffebee;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.emergency-note p {
    margin: 0;
    color: #c62828;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.contact-item h4 {
    font-size: 1.3rem;
    color: #4A90E2;
    margin-bottom: 10px;
}

.contact-item p {
    color: #555;
    font-size: 1.1rem;
}

.contact-item a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.wa-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.wa-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

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

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
}

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

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}

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

.footer-nav a:hover {
    color: #4A90E2;
}

.footer-copyright p {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header */
    .nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero {
        padding: 120px 0 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    /* Vision Mission */
    .vm-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer */
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Tables */
    .schedule-table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .tips-grid,
    .aid-grid,
    .quality-cards {
        grid-template-columns: 1fr;
    }
    
    th, td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
}
