/* ========================================
   HEADER DESIGN
======================================== */

.main-header {
    width: 100%;
    position: relative;
    z-index: 999;
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   TOP BAR
======================================== */

.top-bar {
    background: #0b5d3f;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-contact {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-contact a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.top-contact a:hover {
    color: #d4f5e9;
}

.top-contact i,
.top-right-text i {
    margin-right: 8px;
}

.top-right-text {
    font-weight: 500;
}

/* ========================================
   NAVBAR
======================================== */

.navbar-main {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 14px 0;
    position: sticky;
    top: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   LOGO
======================================== */

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-logo {
    width: 122px;
    height: 82px;
    object-fit: contain;
}

/* ========================================
   MENU
======================================== */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
    padding: 8px 0;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #0b5d3f;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: #0b5d3f;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* ========================================
   BUTTONS
======================================== */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 11px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-login {
    border: 2px solid #0b5d3f;
    color: #0b5d3f;
    background: transparent;
}

.btn-login:hover {
    background: #0b5d3f;
    color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, #0b5d3f, #128a5c);
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 93, 63, 0.2);
}

.btn-register:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* ========================================
   MOBILE TOGGLE
======================================== */

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #0b5d3f;
}

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

.main-footer {
    background: linear-gradient(135deg, #083d2b, #0b5d3f);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 14px;
}

.footer-logo-box h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.company-desc {
    color: rgba(255,255,255,0.78);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 15px;
}

.footer-column h4 {
    font-size: 22px;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: #42d392;
    border-radius: 20px;
}

.footer-column ul li {
    margin-bottom: 16px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.82);
}

.contact-item i {
    color: #42d392;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    background: #42d392;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    background: rgba(0,0,0,0.12);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Layout Adjustments */
@media(max-width: 991px) {
    .nav-menu, .nav-buttons .btn-login, .nav-buttons .btn-register { display: none; }
    .mobile-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 768px) {
    .top-right-text { display: none; }
    .topbar-flex {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-contact {
        justify-content: center;
        gap: 15px;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; text-align: center; }
}

/* ========================================
   MOBILE DRAWER NAVIGATION
======================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.mobile-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-drawer.open .drawer-backdrop {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -320px;
    bottom: 0;
    width: 320px;
    max-width: 100%;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-drawer.open .drawer-content {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.drawer-header .site-logo {
    width: 100px;
    height: 60px;
    object-fit: contain;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #0b5d3f;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: #128a5c;
}

.drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-menu li a {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.drawer-menu li a:hover,
.drawer-menu li a.active {
    color: #0b5d3f;
    padding-left: 8px;
    border-bottom-color: #0b5d3f;
}

.drawer-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.btn-drawer-login,
.btn-drawer-register {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-drawer-login {
    border: 2px solid #0b5d3f;
    color: #0b5d3f;
    background: transparent;
}

.btn-drawer-login:hover {
    background: #0b5d3f;
    color: #fff;
}

.btn-drawer-register {
    background: linear-gradient(135deg, #0b5d3f, #128a5c);
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 93, 63, 0.2);
}

.btn-drawer-register:hover {
    transform: translateY(-2px);
    color: #fff;
}
