
/* Container */
.site-header .container {
    padding: 0 20px;
}


/* Top Bar */
.top-bar {
    background: var(--brand-gradient-primary);
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-white);
    box-shadow: 0 2px 4px var(--shadow-light);
    position: relative;
    z-index: 1000;
}
.top-bar .container {
    
    padding: 0 20px;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
/* Left Side - Contact Info */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
.contact-item:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}
.contact-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--text-white);
}
.contact-item span {
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Right Side - Social Media */
.top-bar-right {
    display: flex;
    align-items: center;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-white);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}
.social-link:hover::before {
    transform: scale(1);
}
.social-link:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-color: var(--text-white);
}
.social-link i {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Specific social media hover colors */
.social-link:nth-child(1):hover { color: #3b5998; }
.social-link:nth-child(2):hover { color: #1da1f2; }
.social-link:nth-child(3):hover { color: #e1306c; }
.social-link:nth-child(4):hover { color: #0077b5; }
.social-link:nth-child(5):hover { color: #ff0000; }

/* Loader Animation */
.top-bar-left, .top-bar-right { opacity: 0; animation: fadeInDown 0.6s ease forwards; }
.top-bar-right { animation-delay: 0.2s; }
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Header */
.site-header {
    background: var(--surface-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: relative;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.site-header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-strong);
    z-index: 9999;
    animation: slideDown 0.3s ease;
}
body.header-fixed-padding {
    padding-top: var(--header-height, 80px);
}
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0;}
    to { transform: translateY(0); opacity: 1;}
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
    transition: padding 0.3s ease;
}
.site-header.header-fixed .navbar { padding: 10px 0; }

/* Logo */
.navbar-brand { flex-shrink: 0; z-index: 1001;}
.logo-link { display: block; text-decoration: none;}
.logo-wrapper { display: flex; align-items: center; gap: 12px;}
.site-logo { height: 45px; width: auto; object-fit: contain; transition: all 0.3s ease;}
.site-header.header-fixed .site-logo { height: 35px;}
.logo-circle {
    width: 45px;
    height: 45px;
    background: var(--brand-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(45, 140, 71, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.site-header.header-fixed .logo-circle { width: 35px; height: 35px;}
.logo-text {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.site-header.header-fixed .logo-text { font-size: 12px;}
.company-name {
    color: var(--text-green-medium);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.site-header.header-fixed .company-name { font-size: 16px;}

/* Desktop Navigation */
.desktop-nav { display: flex; align-items: center; gap: 30px;}
.navbar-menu { display: flex;}
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
    margin: 0;
}
.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary-green);}
.dropdown { position: relative;}
.dropdown-arrow {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-arrow { transform: rotate(180deg);}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-white);
    min-width: 200px;
    box-shadow: 0 5px 20px var(--shadow-medium);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    border: 1px solid var(--surface-gray);
    margin-top: 5px;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0);}
.dropdown-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 400;
    transition: all 0.3s ease;
}
.dropdown-link:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

/* Companies Button */
.companies-dropdown { position: relative;}
.companies-toggle {
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.companies-toggle:hover { background: var(--primary-green-dark);}
.companies-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.companies-dropdown.active .companies-arrow { transform: rotate(180deg);}
.companies-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface-white);
    min-width: 200px;
    box-shadow: 0 5px 20px var(--shadow-medium);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    border: 1px solid var(--surface-gray);
    margin-top: 5px;
}
.companies-dropdown.active .companies-menu { opacity: 1; visibility: visible; transform: translateY(0);}
.company-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 400;
    transition: all 0.3s ease;
}
.company-link:hover {
    background: var(--green-medium);
    color: var(--text-white);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px);}
.mobile-toggle.active .hamburger-line:nth-child(2) { opacity: 0;}
.mobile-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px);}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--surface-white);
    border-top: 1px solid var(--surface-gray);
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 5px 20px var(--shadow-light);
}
.mobile-menu.active { display: block; }
.mobile-nav-links { list-style: none; margin: 0; padding: 0;}
.mobile-nav-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--surface-gray-light);
    transition: all 0.3s ease;
}
.mobile-nav-link:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

/* Mobile Dropdown */
.mobile-dropdown-toggle { position: relative;}
.mobile-dropdown-arrow {
    position: absolute;
    right: 20px;
    font-size: 10px;
    transition: transform 0.3s ease;
}
.mobile-dropdown.active .mobile-dropdown-arrow { transform: rotate(180deg);}
.mobile-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface-gray-light);
    display: none;
}
.mobile-dropdown.active .mobile-dropdown-menu { display: block;}
.mobile-dropdown-link {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    padding: 12px 40px;
    font-weight: 400;
    border-bottom: 1px solid var(--surface-gray);
    transition: all 0.3s ease;
}
.mobile-dropdown-link:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

/* Mobile Companies */
.mobile-companies {
    border-top: 2px solid var(--primary-green);
    padding: 20px;
}
.mobile-companies-toggle {
    background: var(--brand-gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.mobile-companies-toggle:hover { background: var(--primary-green-dark);}
.mobile-companies-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.mobile-companies.active .mobile-companies-arrow { transform: rotate(180deg);}
.mobile-companies-menu {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    background: var(--surface-gray-light);
    border-radius: 6px;
    overflow: hidden;
    display: none;
}
.mobile-companies.active .mobile-companies-menu { display: block;}
.mobile-company-link {
    display: block;
    color: var(--text-green-dark);
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 400;
    border-bottom: 1px solid var(--surface-gray);
    transition: all 0.3s ease;
}
.mobile-company-link:last-child { border-bottom: none;}
.mobile-company-link:hover {
    background: var(--green-medium);
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar { padding: 8px 0; }
    .top-bar .container { padding: 0 15px;}
    .top-bar-content { flex-direction: column; gap: 10px; }
    .top-bar-left { gap: 20px; justify-content: center; }
    .contact-item span { display: none; }
    .contact-item i { font-size: 16px; }
    .social-links { gap: 15px; }
}
@media (max-width: 576px) {
    .top-bar-left { gap: 15px;}
    .social-links { gap: 12px;}
    .social-link { width: 28px; height: 28px;}
    .social-link i { font-size: 12px;}
}
@media (max-width: 480px) {
    .contact-item span { display: inline; font-size: 12px; }
    .top-bar-left { flex-direction: row; gap: 15px;}
}
@media (max-width: 1024px) {
    .nav-links { gap: 20px;}
    .desktop-nav { gap: 20px;}
}
@media (max-width: 768px) {
    .container { padding: 0 15px;}
    .top-bar { font-size: 12px; padding: 6px 0;}
    .navbar { padding: 12px 0;}
    .site-header.header-fixed .navbar { padding: 8px 0;}
    .company-name { font-size: 16px;}
    .site-header.header-fixed .company-name { font-size: 14px;}
    .desktop-nav { display: none;}
    .mobile-toggle { display: flex;}
}
@media (max-width: 480px) {
    .logo-circle { width: 35px; height: 35px;}
    .site-header.header-fixed .logo-circle { width: 30px; height: 30px;}
    .logo-text { font-size: 12px;}
    .site-header.header-fixed .logo-text { font-size: 10px;}
    .company-name { font-size: 14px;}
    .site-header.header-fixed .company-name { font-size: 12px;}
    .mobile-companies { padding: 15px;}
}
