* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    padding-top: 70px; /* Account for fixed navbar */
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Navigation */
nav {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: #fff;
    padding: 0.5rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

.logo img {
    width: 250px;
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: black;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links li.active a {
    color: #ED1E79;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #662D8C;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-section .social-links a {
    color: #bdc3c7;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s;
}

.footer-section .social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-section ul li a[href^="mailto:"],
.footer-section ul li a[href^="tel:"] {
    word-break: break-all;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Mobile Menu Backdrop */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        z-index: 1000;
        max-width: 300px;
        /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
        background: white;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        display: block;
    }

    .nav-links li.active a {
        background-color: rgba(255, 255, 255, 0.2);
        padding: 1rem 1rem;
        border-radius: 5px;
        margin: 0.5rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Footer adjustments for mobile */
    footer {
        padding: 2rem 5%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-section ul {
        font-size: 0.9rem;
    }

    .footer-section .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-section .social-links a {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 55px;
    }

    nav {
        padding: 0.75rem 4%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        width: 80%;
        max-width: 280px;
        padding: 70px 1.5rem 2rem;
    }

    footer {
        padding: 1.5rem 4%;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section ul {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
}