/* Header CSS Styles */
:root {
    --border-radius: 8px;
    --primary-color: #7C3AED;
    --accent: #7C3AED;
    --text-button: #fff;
    --dark-secondary: rgba(60, 60, 60, 0.6);
    --text-primary: #fff;
    --dark-light: rgba(60, 60, 60, 0.4);
}

header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #6B46C1;
    text-decoration: none;
    z-index: 1001;
}

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

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

.nav-links a:hover {
    color: #7C3AED;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Space between phone numbers */
    padding: 16px;
    max-width: 300px; /* Constrain width for consistency */
    margin: 0 auto; /* Center the container */
}

.phone-number {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.phone-number:hover {
    color: #7C3AED;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7C3AED;
    color: white;
    transform: translateY(-2px);
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: var(--border-radius, 8px);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--primary-color, #7C3AED);
    color: var(--text-button, #fff);
    border: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    background: #6B46C1;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #7C3AED;
    border: 2px solid #7C3AED;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-secondary:hover {
    background: #8247e9;
    color: white;
    transform: translateY(-3px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

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


.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #7C3AED;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #7C3AED;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 50px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-links {
    list-style: none;
    padding: 20px 20px 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 20px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(124, 58, 237,6px 15px rgba(124,58,237,0.1));
}

.mobile-nav-links a svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    background: #7C3AED;
    color: white;
    transform: translateX(10px);
}

.mobile-nav-links a:hover svg,
.mobile-nav-links a:active svg {
    stroke: white;
    fill: white;
}

.mobile-contact-info {
    padding: 0px 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    margin-top: 10px;
}

.mobile-phone {
    display: block;
    color: #7C3AED;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-phone:hover {
    background: #7C3AED;
    color: white;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.mobile-social-link:hover {
    background: #7C3AED;
    color: white;
    transform: translateY(-3px);
}

.mobile-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    display: none;
}

.mobile-menu.active .mobile-close-button {
    display: block;
}

.mobile-close-button svg {
    width: 24px;
    height: 24px;
    stroke: #7C3AED;
    transition: stroke 0.3s ease;
}

.mobile-close-button:hover svg {
    stroke: #fff;
}

.btn-primary-mobile {
    padding: 16px 2px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    background: var(--primary-color);
    color: var(--text-button);
    border: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 810px) {
    .logo {
        font-size: 24px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links,
    .header-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 130px;
    }
}

@media (max-width: 810px) {
    .logo {
        font-size: 18px;
    }

    .mobile-nav-links a {
        font-size: 16px;
        padding: 12px 15px;
    }

    .mobile-phone {
        font-size: 18px;
    }

    .mobile-social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .mobile-close-button {
        top: 15px;
        right: 15px;
    }

    .phone-number {
        margin-top: 2px;
    }
}