/* Ultima Markets Clone - Main Stylesheet */

/* ========================================
   CSS Variables & Root Styles
   ======================================== */
:root {
    --primary-green: #C6FF00;
    --primary-green-dark: #a8d900;
    --primary-black: #000000;
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --text-light: #ffffff;
    --text-gray: #666666;
    --text-dark: #333333;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-gray: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-black);
}

.btn-dark {
    background-color: var(--primary-black);
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: var(--secondary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--primary-black);
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--primary-black);
    padding: 10px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

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

.nav-menu a:hover {
    color: var(--primary-green);
}

/* Dropdown Menu Styles */
.nav-menu .nav-item {
    position: relative;
}

.nav-menu .nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu .nav-item > a::after {
    content: '';
    border: none;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    position: static;
    transition: transform 0.3s ease;
}

.nav-menu .nav-item:hover > a::after {
    transform: rotate(180deg);
}

.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background-color: var(--primary-black);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
    z-index: 100;
}

.nav-menu .dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-black);
}

.nav-menu .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.nav-menu .dropdown li {
    list-style: none;
}

.nav-menu .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-menu .dropdown li a::after {
    display: none;
}

.nav-menu .dropdown li a:hover {
    color: var(--primary-green);
    background-color: rgba(198, 255, 0, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 13px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    cursor: pointer;
}

.language-selector img {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    background-color: #f5f5f0;
    overflow: hidden;
    /* padding-top: 70px; */
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 820px;
    padding: 213px 0 123px;
}

/* Base background - Stadium with diagonal split */
.hero-bg-base {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-base .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Hero content inner container */
.hero-content {
    position: absolute;
    display: flex;
    height: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1240px;
    padding-left: 20px;
    z-index: 2;
}

.hero-left {
    max-width: 520px;
    width: 100%;
    text-align: left;
    padding-bottom: 200px;
}

.hero-partnership-link {
    display: inline-block;
    background-color: rgba(6, 43, 196, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    color: #062BC4;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-logo-box {
    max-width: 272px;
    width: 100%;
    margin-bottom: 33px;
}

.hero-logo-box img {
    width: 100%;
    opacity: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 600;
    color: #062BC4;
    line-height: 1.31;
    margin-bottom: 0;
}

.hero-title span {
    display: block;
}

.hero-right {
    max-width: 560px;
    width: 100%;
}

.hero-right img {
    width: 100%;
}

.hero-fix-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    max-width: 596px;
    width: 100%;
    z-index: 3;
}

.hero-fix-box img {
    width: 100%;
}

/* TradingView Ticker */
.tradingview-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 10;
}

.tradingview-widget-container {
    width: 100%;
    height: 44px;
}

/* ========================================
   Trading Stats Section
   ======================================== */
.trading-stats {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.stat-icon img {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.stat-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-green);
    font-size: 13px;
}

.stat-link:hover {
    text-decoration: underline;
}

/* ========================================
   Markets Section
   ======================================== */
.markets-section {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.markets-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.markets-left {
    flex: 1;
}

.markets-tag {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--primary-black);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.markets-list {
    margin: 20px 0 30px;
}

.markets-list li {
    font-size: 20px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-gray);
    cursor: pointer;
    transition: var(--transition);
}

.markets-list li:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

.markets-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.markets-phone-mockup {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.markets-phone-mockup img {
    width: 100%;
    border-radius: 30px;
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); */
}

/* Phone Animation Styles */
.markets-phone-mockup.box_right {
    position: relative;
    width: 500px;
    height: 400px;
}

.markets-phone-mockup.box_right .mask_box {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.markets-phone-mockup.box_right .mask_img {
    width: 500px;
    height: auto;
    opacity: 0.6;
    border-radius: 0;
}

.markets-phone-mockup.box_right .fix {
    position: absolute;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.markets-phone-mockup.box_right .row01 {
    width: 300px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    border-radius: 20px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
}

.markets-phone-mockup.box_right .row02 {
    width: 280px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border-radius: 16px;
    opacity: 0;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); */
}

.markets-phone-mockup.box_right .row03 {
    width: 280px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 16px;
    opacity: 0;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); */
}

.markets-phone-mockup.box_right .row04 {
    width: 280px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 16px;
    opacity: 0;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); */
}

/* Expanded state - phones spread out */
.markets-phone-mockup.box_right.expanded .row01 {
    transform: translate(-50%, -50%) translateX(-120px);
}

.markets-phone-mockup.box_right.expanded .row02 {
    transform: translate(-50%, -50%) translateX(-40px);
    opacity: 1;
}

.markets-phone-mockup.box_right.expanded .row03 {
    transform: translate(-50%, -50%) translateX(40px);
    opacity: 1;
}

.markets-phone-mockup.box_right.expanded .row04 {
    transform: translate(-50%, -50%) translateX(120px);
    opacity: 1;
}

/* Shadow expansion */
.markets-phone-mockup.box_right.expanded .mask_img {
    opacity: 0.8;
    transform: scale(1.1);
}

/* ========================================
   Media Trust Section
   ======================================== */
.media-trust {
    background-color: var(--bg-light);
    padding: 60px 0;
    overflow: hidden;
}

.media-trust h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.media-logos img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.media-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Media Logos Carousel - Infinite Scroll */
.media-logos-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.media-logos-track {
    display: flex;
    align-items: center;
    animation: mediaScroll 25s linear infinite;
    width: fit-content;
}

.media-logos-track span {
    flex: 0 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-logos-track span img {
    width: 200px;
    height: 86px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.media-logos-track span img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes mediaScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   Diversified Trading Section
   ======================================== */
.diversified-section {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.diversified-header {
    text-align: center;
    margin-bottom: 50px;
}

.diversified-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.diversified-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.diversified-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.brand-carousel {
    overflow: hidden;
    margin: 40px 0;
}

.brand-carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.brand-item {
    flex: 0 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   Feature Sections (Innovation, Trust, Simple)
   ======================================== */
.feature-section {
    padding: 100px 0;
}

.feature-section.bg-light {
    background-color: var(--bg-light);
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-content.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-black);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-tag img {
    width: 20px;
    height: 20px;
}

.feature-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.feature-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-actions {
    display: flex;
    gap: 15px;
}

.feature-image {
    flex: 1;
    position: relative;
}

.feature-image img {
    max-width: 100%;
    border-radius: 20px;
}

.feature-image .animation-gif {
    border-radius: 12px;
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); */
}

/* ========================================
   Awards Section
   ======================================== */
.awards-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
}

.awards-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.awards-header p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.awards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.award-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    max-width: 200px;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.award-item img {
    max-height: 180px;
    margin: 0 auto;
}

/* ========================================
   Learning Section
   ======================================== */
.learning-section {
    background-color: #f3f4ef;
    background-image: url(/public/images/home_row4_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    padding: 315px 0 412px;
    margin-top: -70px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.learning-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.learning-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    line-height: 1.3;
}

.learning-content p {
    font-size: 16px;
    color: var(--primary-black);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.learning-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ========================================
   Articles Section
   ======================================== */
.articles-section {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.articles-header {
    text-align: center;
    margin-bottom: 50px;
}

.articles-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-desc {
    font-size: 14px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.article-link {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-link:hover {
    gap: 10px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background-color: var(--primary-black);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat-item {
    text-align: center;
}

.cta-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.cta-stat-label {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.7;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background-color: var(--primary-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.footer-badges img {
    height: 48px;
    width: auto;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-green);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    flex: 1;
}

.footer-legal p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-apps {
    display: flex;
    gap: 15px;
}

.footer-apps img {
    height: 40px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Live Chat Widget
   ======================================== */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(198, 255, 0, 0.4);
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle img {
    width: 30px;
    height: 30px;
}

/* ========================================
   Responsive Styles
   ======================================== */
/* 1366px breakpoint */
@media (max-width: 1366px) {
    .hero-banner {
        min-height: 616px;
    }
    
    .hero-left {
        padding-bottom: 124px;
    }
    
    .hero-right {
        max-width: 473px;
    }
    
    .hero-content {
        max-width: 1212px;
        padding-left: 32px;
    }
}

/* 1280px breakpoint */
@media (max-width: 1280px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-right {
        max-width: 420px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* 1080px breakpoint */
@media (max-width: 1080px) {
    .hero-content {
        padding-left: 40px;
    }
}

/* 980px breakpoint */
@media (max-width: 980px) {
    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-content {
        flex-direction: column !important;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 900px breakpoint */
@media (max-width: 900px) {
    .hero-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 20px;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding-top: 40px;
    }
    
    .hero-left {
        max-width: 100%;
        text-align: center;
        padding-bottom: 40px;
    }
    
    .hero-logo-box {
        margin: 0 auto 20px;
    }
    
    .hero-right {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 28px;
        display: none; /* Hide on mobile for better visual */
    }
    
    .hero-banner {
        min-height: auto;
        padding: 100px 0 80px;
    }
    
    .feature-text h2 {
        font-size: 32px;
    }
    
    .learning-content h2 {
        font-size: 32px;
    }
    
    .learning-section {
        padding: 150px 0 200px;
        background-size: 80%;
        margin-top: -30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .markets-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        gap: 15px;
    }
    
    .award-item {
        max-width: 150px;
        padding: 20px;
    }
    
    .hero-fix-box {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-actions .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .diversified-actions,
    .feature-actions,
    .learning-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
    }
    
    .learning-section {
        padding: 100px 0 150px;
        background-size: 100%;
        margin-top: 0;
    }
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-black);
    z-index: 1001;
    transform: translateX(-100%);
    transition: var(--transition);
    padding: 80px 30px 30px;
    overflow-y: auto;
}

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

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-light);
    cursor: pointer;
}

.mobile-menu ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li a {
    font-size: 18px;
    color: var(--text-light);
}

/* Mobile Menu Dropdown */
.mobile-menu .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    border-radius: 8px;
}

.mobile-menu .mobile-submenu.active {
    max-height: 300px;
}

.mobile-menu .mobile-submenu li {
    padding: 10px 15px;
    border-bottom: none;
}

.mobile-menu .mobile-submenu li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-menu .mobile-submenu li a:hover {
    color: var(--primary-green);
}

.mobile-menu .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .has-submenu > a::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.mobile-menu .has-submenu.active > a::after {
    content: '-';
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
