/* ==========================================================================
   BASE STYLES - Shared across all CitimaLegal pages
   ========================================================================== */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    /*padding-top: 80px;*/
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Menu Toggle (Hamburger) */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
}

.menu-toggle {
    display: none;
}

/* Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar img.navlogo {
    height: 50px;
    width: auto;
    margin-right: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 20px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Dropdown styling */
.dropdown {
    position: relative;
}

.dropdown>a::after {
    content: ' ▼';
    font-size: 10px;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
}

.dropdown-menu li a {
    color: #000000;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    border: none;
}

.dropdown-menu li a:hover {
    background-color: #000000;
    color: #ffffff;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

/* Main content */
main {
    margin-top: 80px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: #4a3f35;
    color: #ffffff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.footer-office,
.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

footer h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

footer p {
    margin: 8px 0;
    line-height: 1.5;
    font-size: 13px;
}

.footer-icon {
    margin-right: 8px;
    font-style: normal;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #4a3f35;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Contact Button */
.contact-button {
    display: inline-block;
    background-color: #ffffff;
    color: #4a3f35;
    padding: 0.75rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #f0f0f0;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .menu-toggle:checked+.menu-icon+.nav-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 10px 0;
        z-index: 100;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #ddd;
        display: none;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: #f5f5f5;
    }

    .dropdown>a::after {
        content: ' ▼';
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .dropdown>a:focus::after {
        content: ' ▲';
    }

    .dropdown>a:focus+.dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 12px 15px;
        text-align: center;
    }

    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }

    /* Footer responsive adjustments */
    .footer-content {
        flex-direction: column;
    }

    .footer-office,
    .footer-contact {
        text-align: center;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-links li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}