/* CSS Custom Properties */
:root {
    --body: #fff;
    --black: #000;
    --white: #fff;
    --theme: #63AB45;
    --theme-2: #113D48;
    --header: #0A1F24;
    --text: #687179;
    --border: #E1E4E5;
    --border-2: #BDBDBD;
    --bg: #F7F7F7;
    --box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.13);
}

/* Modern Header Styles */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: var(--white);
    box-shadow: var(--box-shadow);
}

/* Top Bar */
.header-topbar {
    background: var(--header);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--theme);
    font-size: 12px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--theme);
}

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

.follow-text {
    font-size: 13px;
    margin-right: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: var(--theme);
    transform: translateY(-2px);
    color: var(--white);
}

/* Main Navigation */
.header-main {
    padding: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 80px;
}

.navbar-brand .logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--header);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--theme);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--theme);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 50%;
    color: var(--header);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--theme);
    border-color: var(--theme);
    color: var(--white);
    transform: scale(1.1);
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--theme);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.cta-btn:hover {
    background: var(--theme-2);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: var(--white);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--header);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--white);
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-logo {
    height: 40px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--header);
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

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

.mobile-nav-menu a {
    color: var(--header);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--theme);
}

.mobile-contact {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-contact-item i {
    color: var(--theme);
    width: 20px;
}

.mobile-contact-item a {
    color: var(--header);
    text-decoration: none;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.search-input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    outline: none;
    font-size: 18px;
}

.search-submit {
    background: var(--theme);
    border: none;
    color: var(--white);
    padding: 20px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: var(--theme-2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .header-topbar {
        display: none;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .follow-text {
        display: none;
    }
    
    .mobile-menu-content {
        width: 100%;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
        min-height: 70px;
    }
    
    .navbar-brand .logo-img {
        height: 50px;
    }
    
    .cta-btn span {
        display: none;
    }
    
    .cta-btn {
        padding: 12px;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        justify-content: center;
    }
}

/* Smooth Animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add space for fixed header */
body {
    padding-top: 140px;
}

@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
}

