/* Header Component Styles */
/* ==================== Header Top Bar ==================== */

.header-top {
    background: linear-gradient(135deg, var(--black-color2) 0%, var(--gray-color) 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    color: var(--gray-color4);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;

    a {
        color: var(--gray-color4);
        text-decoration: none;
    }

    a,
    span {
        white-space: nowrap;
    }
}

.contact-item svg {
    color: var(--theme-color);
}

.contact-item:hover a {
    color: var(--theme-color);
}


/**
 * Theme Toggle Styles
 * Professional, accessible toggle button with smooth animations
 */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border: 2px solid var(--th-border-color2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.2rem;
    z-index: 10;
}

.theme-toggle:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.theme-toggle .theme-icon {
    transition: var(--transition);
    transform-origin: center;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Dark mode theme toggle styles */
[data-theme="dark"] .theme-toggle {
    background: var(--smoke-color2);
    border-color: var(--gray-color2);
    color: var(--title-color);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white-color);
}

/**
 * Google Translator Styles
 * Clean, professional integration with the design system
 */
.translator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* background-color: red; */
}

/* Hide Google branding and unnecessary elements */
#google_translate_element .skiptranslate,
[id=":1.container"],
[class="skiptranslate"],
[class="VIpgJd-ZVi9od-aZ2wEe-wOHMyf"],
[class="VIpgJd-ZVi9od-aZ2wEe-OiiCO"],
[class="VIpgJd-ZVi9od-aZ2wEe"],
[class="VIpgJd-ZVi9od-aZ2wEe-OiiCO VIpgJd-ZVi9od-aZ2wEe-OiiCO-ti6hGc"],
.goog-logo-link,
.goog-te-banner-frame,
.goog-te-balloon-frame {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==================== Main Header ==================== */
.header-main {
    background: var(--white-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(20px);
    transition: all .3s ease;
}

.header-main.scrolled {
    position: fixed;
    left: 0;
    top: 0;
    transition: all .3s ease;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
}

/* ==================== Logo Section ==================== */
.navbar-brand {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    /* height: 50px; */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ==================== Navigation Menu ==================== */
.navbar-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    max-width: 70%;
    gap: 50px;
}

@media (max-width: 1100px) {
    .navbar-menu {
        max-width: 75%;
    }
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    /* margin-right: ; */
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: var(--title-color);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link:focus,
.nav-item.active .nav-link {
    color: var(--theme-color);
    text-decoration: none;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 100%;
}

/* ==================== Mobile Menu Toggle ==================== */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--title-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--theme-color);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--theme-color);
}

/* ==================== Mobile Menu Overlay ==================== */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-overlay.active {
    opacity: 1;
}


/* ==================== Mobile Responsive ==================== */
@media (max-width: 1199px) {
    .header-top {
        padding: 10px 0;
    }

    .header-top-wrapper {
        gap: 15px;
        text-align: center;
        align-items: center;
    }

    .header-contact-info {
        flex-wrap: wrap;
        gap: 20px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo {
        height: 45px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateX(1000px);
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        padding: 100px 30px 30px;
        align-items: flex-start;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--smoke-color2);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 20px 0;
        font-size: 18px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;

        &:focus {
            color: unset;
            text-decoration: none;
        }
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-item.active .nav-link {
        background: var(--smoke-color3);
        color: var(--theme-color);
        padding-left: 15px;
    }

    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        position: absolute;
        top: 15px;
    }
}

@media (max-width: 767px) {
    .header-contact-info {
        gap: 15px;
    }

    .contact-item {
        font-size: 10px;
    }

    .logo {
        height: 40px;
    }

    .navbar-menu {
        width: 90%;
        padding: 70px 20px 20px;
    }

    .nav-link {
        font-size: 16px;
        padding: 18px 0;
    }
}

@media (max-width: 480px) {
    .header-top-wrapper {
        .contact-item:nth-child(3),
        .contact-item:nth-child(2) a,
        .contact-item:nth-child(1) a {
            display: none;
        }
    }
}



/* FOOTER STYLES */
.footer {
    background: linear-gradient(135deg, #fbfafadb 0%, #dfdede 100%),
    url("../storage/footer-bg.webp") no-repeat center center/cover;
    color: var(--gray-color4);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] footer {
    background: linear-gradient(135deg, #000000e1 0%, #171717 100%),
    url("../storage/footer-bg.webp") no-repeat center center/cover;
}

.footer-main {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
}

.footer-section-first,
.footer-section-second {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.footer-section-second {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 500px) {
    .footer-section-first {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-brand-text {
    font-family: var(--title-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--body-color);
    margin-bottom: 32px;
    max-width: 400px;
    text-align: left;
}

.footer-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
}

.footer-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--theme-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    transform: translateX(30px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--body-color);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--theme-color);
    transform: translateX(8px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--theme-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 10px;
    background: color-mix(in srgb, var(--black-color3) 5%, transparent 95%);
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--black-color3) 10%, transparent 90%);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

.contact-icon {
    color: var(--theme-color);
    font-size: 18px;
    margin-right: 16px;
    margin-top: 2px;
    min-width: 20px;
}

.contact-content h4 {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 4px;
}

.contact-content p {
    font-size: 14px;
    ;
    line-height: 1.5;
    margin-bottom: 0;

    a {
        color: var(--body-color)
    }

    a:hover {
        color: var(--theme-color)
    }
}

.footer-bottom {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid color-mix(in srgb, var(--black-color3) 10%, transparent 90%);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-bottom p {
    color: var(--body-color);
    font-size: 14px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--body-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--theme-color);
}

/* Mobile First Responsive Design */
@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
    }

    .footer-tagline {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .footer-main {
        padding: 80px 0;
    }
}

@media (min-width: 1200px) {
    .footer-brand-text {
        font-size: 36px;
    }

    .footer-section-title {
        font-size: 22px;
    }
}