/*
Theme Name: Astra Child
Template: astra
Description: Child theme of Astra
Version: 1.0.0
*/

@import url("../astra/style.css");

/* Custom Forex Header CSS */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2a5298;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: #f0f0f0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.nav-menu a.cta-button {
    background: #ff6b35;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.nav-menu a.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.dropdown-content a:hover {
    background: #f8f9fa !important;
    color: #2a5298 !important;
    transform: none !important;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 12px;
    margin-left: 5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e3c72;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav a.cta-button {
    background: #ff6b35;
    text-align: center;
    margin-top: 10px;
}

.mobile-dropdown {
    margin-bottom: 10px;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-dropdown-toggle::after {
    content: ' ▼';
    float: right;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content a {
    font-size: 16px;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.site-header {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .header-container {
        height: 60px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }

    .logo-placeholder {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

