/* CSS Custom Properties */
:root {
    --primary-pink: #e63c75;
    --secondary-white: #ffffff;
    --secondary-offwhite: #f8f9fa;
    --accent-navy: #172846;
    --secondary-pink: #ffcfe7;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: var(--accent-navy);
    background-color: var(--secondary-offwhite);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--accent-navy) 0%, #16213e 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-icon {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

/* Hero Section */
.hero {
    background: white;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-navy);
    line-height: 1.2;
    padding: 0 20px;
}

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent-navy);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    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: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--secondary-pink);
}

.btn-secondary {
    background: var(--primary-pink);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--secondary-pink);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--secondary-pink);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-navy);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--accent-navy);
    line-height: 1.5;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-navy);
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.feature p {
    color: var(--accent-navy);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-navy);
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-navy);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--accent-navy);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-navy);
}

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

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-navy);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-navy);
}

.contact-item a {
    color: var(--primary-pink);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--accent-navy);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Confirmation Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-body {
    padding: 3rem 2rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.modal-body h2 {
    color: var(--accent-navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-body p {
    color: var(--accent-navy);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-pink);
}

#closeModalBtn {
    margin-top: 1.5rem;
}

/* Emergency Section in Modal */
.emergency-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #fff5f8;
    border: 2px solid var(--primary-pink);
    border-radius: 10px;
}

.emergency-alert h3 {
    color: var(--primary-pink);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.emergency-alert p {
    color: var(--accent-navy);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.btn-emergency {
    background-color: var(--primary-pink);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 60, 117, 0.3);
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background-color: #d91e63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 60, 117, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(230, 60, 117, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(230, 60, 117, 0.6);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 20px;
    }
    
    .logo h1 {
        display: none;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .hero-logo {
        max-width: 400px;
        padding: 15px;
    }
    
    .logo-icon {
        height: 35px;
    }
    
    .services h2,
    .why-choose-us h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .services,
    .why-choose-us,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .hero-logo {
        max-width: 330px;
        padding: 10px;
    }
    
    .logo-icon {
        height: 30px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 90%;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
    
    .emergency-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .emergency-alert h3 {
        font-size: 1.1rem;
    }
    
    .btn-emergency {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
}
