* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
}

body {
    min-height: 100vh;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Header Styles */
.header-main {
    height: 121px;
}

.header-content {
    height: 100%;
    padding-left: 7vw;
    padding-right: 10.4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.after-logo-container {
    display: flex;
    align-items: baseline;
    margin-left: 1.8vw;
    gap: 5px;
}

.logo-text-first {
    color: #575757;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 21px;
}

.logo-text-second {
    color: #575757;
    font-size: 21px;
    letter-spacing: 0.2px;
    line-height: 21px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-link {
    color: #575757;
    font-size: 21px;
    letter-spacing: 0.3px;
    line-height: 21px;
}

.phone-link {
    color: #575757;
    font-size: 21px;
    font-weight: bold;
    line-height: 21px;
}

.nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.profile-icon {
    display: flex;
    align-items: center;
}

.profile-circle {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    background-color: #e0e0e0;
    overflow: hidden;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-item-form {
    padding: 0;
    margin: 0;
}

.dropdown-item-form button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.25rem 1rem;
    color: #212529;
    font-size: 16px;
}

.dropdown-item-form button:hover {
    background-color: #f8f9fa;
}

.nav-item.dropdown .dropdown-toggle::after {
    vertical-align: middle;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #575757;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(87, 87, 87, 0.1);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    background-color: white;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1050;
}

/* Collapse container for mobile menu */
.collapse {
    position: relative;
    z-index: 1050;
}

/* Mobile overlay for better UX */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    display: none;
}

.mobile-menu-overlay.show {
    display: block;
}

/* Mobile menu styles for max-width: 768px */
@media (max-width: 768px) {
    .mobile-nav-menu {
        margin: -20px 10px 20px;
        border-radius: 0 0 20px 20px;
        border-top: none;
        background-color: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1050;
    }
    
    .mobile-nav-item {
        padding: 0 20px;
    }
    
    /* Make sure collapse container has proper z-index */
    #mobileNavbar {
        position: relative;
        z-index: 1050;
    }
}

.mobile-nav-item {
    padding: 0 4vw;
    margin-bottom: 15px;
}

.mobile-nav-item:last-child {
    margin-bottom: 0;
}

.mobile-nav-link {
    display: block;
    color: #575757;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.mobile-nav-link.phone-link {
    font-weight: bold;
    color: #007bff;
}

.mobile-logout-form {
    margin: 0;
    padding: 0;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-main {
        height: 80px;
        background: white;
        border-radius: 20px;
        margin: 20px 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1060;
    }
    
    .header-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .logo-text-first {
        font-size: 16px;
        line-height: 18px;
    }
    
    .logo-text-second {
        font-size: 18px;
        line-height: 18px;
    }
    
    .after-logo-container {
        margin-left: 1vw;
        gap: 3px;
    }
    
    .nav-container {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .profile-circle {
        width: 50px;
        height: 50px;
    }
    
    .mobile-nav-menu {
        padding: 15px 0;
    }
    
    .mobile-nav-link {
        font-size: 18px;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .header-main {
        height: 90px;
        margin: 15px 10px;
        border-radius: 18px;
    }
    
    .header-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo-text-first {
        font-size: 14px;
        line-height: 16px;
    }
    
    .logo-text-second {
        font-size: 16px;
        line-height: 16px;
    }
    
    .profile-circle {
        width: 45px;
        height: 45px;
    }
    
    .mobile-nav-menu {
        margin: -15px 10px 15px;
        border-radius: 0 0 18px 18px;
    }
    
    .mobile-nav-item {
        padding: 0 15px;
        margin-bottom: 12px;
    }
    
    .mobile-nav-link {
        font-size: 17px;
        padding: 8px 0;
    }
}

/* Footer Styles */
.footer-main {
    margin-top: 40px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    padding-left: 7vw;
    padding-right: 10.4vw;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 25px;
}

.footer-logo-section .logo-text-container {
    display: flex;
    align-items: center;
}

.footer-logo-section .after-logo-container {
    display: flex;
    align-items: baseline;
    margin-left: 1.8vw;
    gap: 5px;
}

.footer-logo-section .logo-text-first {
    color: #575757;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 21px;
}

.footer-logo-section .logo-text-second {
    color: #575757;
    font-size: 21px;
    letter-spacing: 0.2px;
    line-height: 21px;
}

.footer-right-section {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding-left: 40px;
}
@media (max-width: 768px) {
    .footer-right-section {
        flex-direction: column;
        gap: 20px;
        padding-left: 0;
    }
}

.footer-section-title {
    color: #575757;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.footer-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 10px;
}

.footer-nav-link {
    color: #575757;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.footer-nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.footer-contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
}

.footer-contact-link {
    color: #575757;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.footer-contact-link:hover {
    color: #007bff;
    text-decoration: none;
}

.footer-contact-link i {
    width: 20px;
    text-align: center;
    color: #007bff;
}

.footer-address {
    color: #575757;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.footer-address i {
    width: 20px;
    text-align: center;
    color: #007bff;
}

.footer-copyright {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer-main {
        background: white;
        border-radius: 20px;
        margin: 20px 10px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .footer-content {
        padding-left: 20px;
        padding-right: 20px;
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 30px;
        padding-bottom: 20px;
        align-items: start;
        text-align: center;
    }
    
    .footer-right-section {
        gap: 30px;
        padding-left: 0;
    }
    
    .footer-nav-links {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-contact-info {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-logo-section .after-logo-container {
        margin-left: 1vw;
        gap: 3px;
    }
    
    .footer-logo-section .logo-text-first {
        font-size: 16px;
        line-height: 18px;
    }
    
    .footer-logo-section .logo-text-second {
        font-size: 18px;
        line-height: 18px;
    }
    
    .footer-section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-nav-link {
        font-size: 16px;
    }
    
    .footer-contact-link,
    .footer-address {
        font-size: 16px;
    }
    
    .footer-copyright {
        margin: 0 10px;
        border-radius: 0 0 20px 20px;
        background-color: white;
        border-top: 1px solid #e9ecef;
    }
    
    .footer-copyright p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        margin: 15px 10px 0;
        border-radius: 18px;
    }
    
    .footer-content {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 25px;
        gap: 25px;
        text-align: center;
    }
    
    .footer-right-section {
        gap: 25px;
        padding-left: 0;
    }
    
    .footer-nav-links {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-contact-info {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-logo-section .logo-text-first {
        font-size: 14px;
        line-height: 16px;
    }
    
    .footer-logo-section .logo-text-second {
        font-size: 16px;
        line-height: 16px;
    }
    
    .footer-section-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .footer-nav-link {
        font-size: 15px;
    }
    
    .footer-contact-link,
    .footer-address {
        font-size: 15px;
    }
    
    .footer-copyright {
        margin: 0 10px;
        border-radius: 0 0 18px 18px;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
}
