/* Modern Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f97316;
    --accent: #10b981;
    --dark: #0f172a;
    --light: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --header-height: 64px;
    --header-height-mobile: 56px;
}

/* Mobile-First Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Typography Mobile-First */
h1 {
    font-size: 1.7rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.4rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.3;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Navigation Styles */
:root {
    --header-height: 64px;
    --header-height-mobile: 56px;
}

body {
    padding-top: var(--header-height);
}

/* Navbar Base */
.navbar {
    background: #fff;
    height: var(--header-height);
    padding: 0 32px;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: height 0.2s, box-shadow 0.2s;
}

.navbar.scrolled {
    height: calc(var(--header-height) - 10px);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Brand Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.navbar-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.01em;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #444;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 16px;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
    margin: 0 2px;
    display: flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: #f3f6fd;
}

/* Login Button */
.nav-btn {
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    margin-left: 10px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.07);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
    text-decoration: none;
}

.nav-btn .material-icons {
    font-size: 18px;
}

.nav-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    outline: none;
    font-size: 2rem;
    color: var(--primary);
    margin-left: 16px;
    cursor: pointer;
}

@media (max-width: 991px) {
    :root {
        --header-height: 56px;
    }
    .navbar {
        height: var(--header-height);
        padding: 0 12px;
    }
    .navbar-logo {
        width: 28px;
        height: 28px;
    }
    .brand-name {
        font-size: 1rem;
    }
    .navbar-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        border-radius: 0 0 8px 8px;
        margin-top: 0;
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
    }
    .navbar-nav.open {
        display: flex;
    }
    .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 12px 16px;
        height: auto;
        margin: 0;
    }
    .nav-btn {
        width: 100%;
        justify-content: center;
        margin: 8px 0 0 0;
    }
    .navbar-toggler {
        display: block;
    }
}

/* Mobile Action Menu */
.mobile-action-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 1020;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #444;
    text-decoration: none;
    font-size: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.action-item .material-icons {
    font-size: 20px;
}

.action-item:hover,
.action-item.active {
    color: var(--primary);
    background: #f3f6fd;
}

@media (min-width: 992px) {
    .mobile-action-menu {
        display: none;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse {
        padding: 1.5rem;
    }

    .nav-link {
        padding: 1.25rem !important;
    }
}

/* Mobile Hero Section */
.hero {
    min-height: 100vh;
    padding: 2rem 1rem;
}

.hero h1 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
}

/* Mobile Buttons */
.btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    width: 100%; /* Full width on mobile */
    text-align: center;
    justify-content: center;
}

/* Mobile Grid Layouts */
.features-grid,
.plans-grid,
.team-grid,
.testimonials-grid,
.markets-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
}

/* Mobile Cards */
.feature-card,
.plan-card,
.team-card,
.testimonial-card,
.market-card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
}

/* Mobile Section Spacing */
section {
    padding: 2rem 0;
}

.section-header {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

/* Mobile Contact Form */
.contact-form {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    padding: 0.5rem;
    font-size: 0.95rem;
}

/* Mobile Footer */
footer {
    padding: 2rem 1rem;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    body {
        padding-top: 76px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        width: auto;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .lead {
        font-size: 1.25rem;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .plans-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .markets-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    section {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Mobile-First Trust Bar */
.trust-bar {
    padding: 1rem;
    background: var(--light);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
}

.trust-stat {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.05);
    min-height: 80px;
}

.trust-stat .material-icons {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,0.1);
    border-radius: 8px;
}

.trust-stat div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.2;
}

/* Tablet and up */
@media (min-width: 768px) {
    .trust-bar {
        padding: 1.5rem;
    }

    .trust-bar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 0;
    }

    .trust-stat {
        padding: 1.25rem;
        min-height: 100px;
    }

    .trust-stat .material-icons {
        font-size: 2rem;
        width: 48px;
        height: 48px;
    }

    .trust-stat strong {
        font-size: 1.25rem;
    }

    .trust-stat div {
        font-size: 1rem;
        gap: 0.5rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .trust-bar-grid {
        gap: 2rem;
    }
}

/* Mobile-First How It Works */
.how-works {
    padding: 2rem 1rem;
}

.how-works-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.how-step {
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .how-works {
        padding: 4rem 2rem;
    }

    .how-works-steps {
        flex-direction: row;
        justify-content: center;
    }
}

/* Mobile-First Markets */
.markets {
    padding: 2rem 1rem;
}

.market-card {
    aspect-ratio: 16/9;
}

.market-card img {
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .markets {
        padding: 4rem 2rem;
    }

    .market-card {
        aspect-ratio: 1;
    }
}

/* Mobile-First Features */
.feature-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-card .material-icons {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .feature-card {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .feature-card .material-icons {
        font-size: 2rem;
    }
}

/* Mobile-First Plans */
.plan-card {
    border: 1px solid var(--gray-200);
}

.plan-card.featured {
    transform: none;
    border-color: var(--primary);
}

@media (min-width: 768px) {
    .plan-card.featured {
        transform: scale(1.05);
    }
}

/* Mobile-First Team */
.team-card img {
    width: 60px;
    height: 60px;
}

@media (min-width: 768px) {
    .team-card img {
        width: 80px;
        height: 80px;
    }
}

/* Mobile-First Testimonials */
.testimonial-card {
    text-align: left;
}

.testimonial-author {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .testimonial-card {
        text-align: center;
    }
}

/* Mobile-First Contact */
.contact-info,
.contact-form {
    padding: 1rem;
    border-radius: 0.75rem;
}

@media (min-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 2rem;
        border-radius: 1rem;
    }
}

/* Fix for horizontal scroll */
.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile Navigation Improvements */
.navbar-collapse {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--light);
    padding: 1rem;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

/* Mobile Action Menu */
.mobile-action-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--light);
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.75rem;
}

.action-item .material-icons {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .mobile-action-menu {
        display: none;
    }
}

/* Prevent content from being hidden under fixed elements */
body {
    padding-bottom: 60px; /* Height of mobile action menu */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* --- HEADER & NAVIGATION (CLEANED & MODERN) --- */
:root {
    --header-height: 64px;
    --header-height-mobile: 56px;
}

.navbar {
    background: #fff;
    height: var(--header-height);
    padding: 0 32px;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: height 0.2s, box-shadow 0.2s;
}

.navbar.scrolled {
    height: calc(var(--header-height) - 10px);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.navbar-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.01em;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #444;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 16px;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
    margin: 0 2px;
    display: flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: #f3f6fd;
}

.nav-btn {
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    margin-left: 10px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.07);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
    text-decoration: none;
}

.nav-btn .material-icons {
    font-size: 18px;
}

.nav-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    outline: none;
    font-size: 2rem;
    color: var(--primary);
    margin-left: 16px;
    cursor: pointer;
}

@media (max-width: 991px) {
    :root {
        --header-height: 56px;
    }
    .navbar {
        height: var(--header-height);
        padding: 0 12px;
    }
    .navbar-logo {
        width: 28px;
        height: 28px;
    }
    .brand-name {
        font-size: 1rem;
    }
    .navbar-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        border-radius: 0 0 8px 8px;
        margin-top: 0;
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
    }
    .navbar-nav.open {
        display: flex;
    }
    .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 12px 16px;
        height: auto;
        margin: 0;
    }
    .nav-btn {
        width: 100%;
        justify-content: center;
        margin: 8px 0 0 0;
    }
    .navbar-toggler {
        display: block;
    }
}

/* Mobile Action Menu */
.mobile-action-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 1020;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #444;
    text-decoration: none;
    font-size: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.action-item .material-icons {
    font-size: 20px;
}

.action-item:hover,
.action-item.active {
    color: var(--primary);
    background: #f3f6fd;
}

@media (min-width: 992px) {
    .mobile-action-menu {
        display: none;
    }
}

/* Remove all other header/navbar/nav-link/nav-btn/mobile-action-menu styles below this line to avoid conflicts */

/* Remove unnecessary margins and padding */
section, .container, .row {
    margin: 0 !important;
    padding: 1rem !important;
}

@media (min-width: 768px) {
    section, .container, .row {
        padding: 2rem !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 600;
    line-height: 1.2;
}

.subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light);
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border: none;
}

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

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

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

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-features .material-icons {
    color: var(--primary);
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    font-size: 2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.section-header .subtitle {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
        gap: 0.3rem;
    }
    .section-header h2 {
        font-size: 1.2rem !important;
    }
    .section-header p {
        font-size: 0.95rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
    background: var(--primary);
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .service-icon .material-icons {
    color: #fff !important;
    font-size: 2rem;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

/* Override any other color settings */
.service-card .material-icons {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    padding-right: 4rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat .label {
    color: var(--gray-600);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.floating-image {
    position: absolute;
    width: 60%;
    bottom: -2rem;
    right: -2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Coverage Section */
.coverage {
    padding: 80px 0;
    background: var(--primary);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.coverage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.coverage .section-header {
    margin-bottom: 3rem;
}

.coverage .section-header .subtitle {
    color: var(--light);
}

.coverage .section-header h2 {
    color: var(--light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.coverage .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.city-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.city-card .material-icons {
    color: var(--primary);
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.city-card h4 {
    color: var(--light);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.city-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section Improvements */
.contact {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-info {
    padding: 2.5rem;
    background: var(--primary);
    color: var(--light);
    border-radius: 1rem;
    height: 100%;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    color: var(--light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item .material-icons {
    color: #ffffff !important;
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.contact-item div h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item div p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: none;
    border-bottom: 2px solid var(--gray-200);
    border-radius: 0;
    padding: 0.75rem 0;
    font-size: 1rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--gray-400);
}

label {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Mobile Contact Section Improvements */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact .container {
        padding: 0 15px;
    }

    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .contact-item .material-icons {
        font-size: 1.25rem;
        padding: 0.4rem;
    }

    .contact-item div h4 {
        font-size: 0.9rem;
    }

    .contact-item div p {
        font-size: 0.85rem;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    label {
        font-size: 0.85rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.75rem;
    }
}

/* Tablet Adjustments */
@media (max-width: 991px) {
    .contact .row {
        flex-direction: column-reverse;
    }

    .contact-info {
        margin-top: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
    }
}

/* Contact Form Button */
.contact .btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--light);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    color: var(--light);
    margin: 1rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-services li {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact .material-icons {
    color: var(--primary) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

.footer-contact .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-contact .social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    transition: all 0.3s ease;
}

.footer-contact .social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 2rem;
        border-top: 1px solid var(--gray-800);
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 4rem;
    }

    .floating-image {
        display: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--primary) !important;
        padding: 1.5rem 1rem 2rem 1rem;
        box-shadow: 0 4px 16px 0 rgba(0,0,0,0.15);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        z-index: 1000;
        border-radius: 0 0 16px 16px;
        opacity: 1 !important;
        backdrop-filter: none !important;
    }
    .navbar-nav {
        padding: 0;
    }
    .nav-link {
        color: #fff !important;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: none !important;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: background 0.2s, color 0.2s;
    }
    .nav-link:hover, .nav-item.active .nav-link {
        background: var(--secondary);
        color: #fff !important;
    }
    .track-btn {
        background: var(--secondary) !important;
        color: #fff !important;
        width: 100%;
        justify-content: center;
        margin: 1rem 0 0 0;
        padding: 0.75rem !important;
    }
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        outline: none !important;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.7rem !important;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.25rem !important;
        line-height: 1.25;
    }
    h3 {
        font-size: 1.05rem !important;
        line-height: 1.3;
    }
    .section-header h2 {
        font-size: 1.25rem !important;
    }
    .about-content h2,
    .contact-info h2 {
        font-size: 1.15rem !important;
    }
    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-brand h3 {
        justify-content: center;
    }
    
    .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }

    body {
        padding-left: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }
    .container, .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    section, .services, .about, .coverage, .contact {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links,
    .footer-services {
        margin-bottom: 2rem;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
}

/* Adjust other sections for better spacing */
.services,
.about,
.contact {
    padding: 80px 0;
}

/* Improve section spacing on mobile */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .services,
    .about,
    .coverage,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* Fix for horizontal scroll on mobile */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* About People Gallery */
.about-people-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.about-people-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    background: var(--gray-100);
    transition: transform 0.2s;
}
.about-people-img:hover {
    transform: scale(1.08) rotate(-2deg);
    border-color: var(--secondary);
}

/* Service Card Images */
.service-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 1.25rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 1rem 1rem 0 0;
}
.service-card:hover .service-img {
    transform: scale(1.05);
}

/* Responsive for galleries */
@media (max-width: 768px) {
    .about-people-gallery {
        gap: 0.5rem;
    }
    .about-people-img {
        width: 44px;
        height: 44px;
    }
    .service-img-wrap {
        height: 120px;
    }
}

/* For special pop, use accent color in hero and footer if desired */
.hero-features .material-icons.pop,
.footer-contact .material-icons.pop {
    color: var(--accent) !important;
}

/* Solid color for all material icons */
.hero-features .material-icons,
.service-icon .material-icons,
.city-card .material-icons,
.contact-item .material-icons,
.footer-contact .material-icons {
    color: var(--primary) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

/* White icons for footer and coverage on dark backgrounds */
.footer-contact .material-icons,
.coverage .city-card .material-icons {
    color: #fff !important;
}

/* Override any other color settings for contact section icons */
.contact-info .material-icons,
.contact .material-icons {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 768px) {
    .contact-item .material-icons {
        color: #ffffff !important;
        font-size: 1.25rem;
        padding: 0.4rem;
    }
}

/* Tracking Form Styles */
.tracking-form {
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tracking-input-group {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tracking-input-group:focus-within {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tracking-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

.tracking-input::placeholder {
    color: var(--gray-400);
}

.tracking-input:focus {
    outline: none;
}

.tracking-form .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    background: var(--primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.tracking-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.tracking-form .btn-primary .material-icons {
    font-size: 1.5rem;
    color: white !important;
}

/* Tracking Form Animation */
.tracking-form {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Tracking Form */
@media (max-width: 768px) {
    .tracking-form {
        padding: 1.5rem;
        margin: 0 1rem 3rem;
    }

    .tracking-input-group {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        border-radius: 1rem;
    }

    .tracking-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .tracking-form .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1rem;
    }
}

/* Investment Plans Section */
.plans {
    padding: 80px 0;
    background: var(--gray-50);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: linear-gradient(to bottom, var(--light), var(--gray-50));
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.plan-header h3 {
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    justify-content: center;
}

.plan-features .material-icons {
    color: var(--accent) !important;
    font-size: 1.25rem;
}

.plan-card .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Remove the plan-image related styles since we're not using them anymore */
.plan-image,
.plan-image img {
    display: none;
}

/* Why Choose Us Section */
.why-us {
    padding: 80px 0;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card .material-icons {
    font-size: 2.5rem;
    color: var(--primary) !important;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-content p {
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.1);
    border-color: var(--secondary);
}

.testimonial-author h4 {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Adjustments for Testimonials */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    .testimonial-author p {
        font-size: 0.85rem;
    }

    .testimonial-content p {
        font-size: 0.95rem;
    }
}

/* Contact Form Improvements */
.contact-form select.form-control {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    border-radius: 0;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.contact-form select.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.contact-form select.form-control option {
    color: var(--gray-900);
    background-color: var(--light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Logo */
.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 8px;
}

/* Why Choose Us Section with Images */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.why-us-image {
    position: relative;
    padding: 2rem;
}

.why-us-image .main-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.why-us-image .floating-image {
    position: absolute;
    width: 60%;
    bottom: 0;
    right: 0;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translate(20%, 20%);
}

/* Contact Section Image */
.contact-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-image {
        padding: 1rem;
    }

    .why-us-image .floating-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .plan-image {
        height: 160px;
    }

    .contact-image {
        height: 160px;
        margin: -2rem -2rem 1.5rem -2rem;
    }
}

/* Image Gallery Section */
.image-gallery {
    padding: 80px 0;
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Enhanced Why Choose Us Images */
.why-us-image {
    position: relative;
    padding: 2rem;
}

.why-us-image .main-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.why-us-image .floating-image {
    position: absolute;
    width: 60%;
    bottom: 0;
    right: 0;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translate(20%, 20%);
    transition: transform 0.3s ease;
}

.why-us-image:hover .main-image {
    transform: scale(1.02);
}

.why-us-image:hover .floating-image {
    transform: translate(15%, 15%) scale(1.05);
}

/* Enhanced Contact Image */
.contact-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-image {
        padding: 1rem;
    }

    .why-us-image .floating-image {
        display: none;
    }

    .contact-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }

    .contact-image {
        height: 180px;
        margin: -2rem -2rem 1.5rem -2rem;
    }
}

/* Creative Investment Section */
.creative-investment {
    padding: 100px 0;
    background: linear-gradient(90deg, #f8fafc 60%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.creative-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.creative-text {
    flex: 1 1 0;
    min-width: 280px;
}

.creative-image-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
}

.creative-image-right img {
    width: 100%;
    max-width: 420px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
    object-fit: cover;
}

.creative-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.creative-text .lead {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.creative-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.creative-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.creative-features .feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.creative-features .material-icons {
    color: var(--primary);
    font-size: 1.5rem;
}

.creative-images {
    position: relative;
    height: 600px;
}

.main-creative-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.main-creative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-creative-image:hover img {
    transform: scale(1.05);
}

.floating-creative-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.floating-creative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floating-creative-image:hover img {
    transform: scale(1.05);
}

.small-creative-image {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 40%;
    height: 40%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.small-creative-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.small-creative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .creative-content {
        gap: 3rem;
    }

    .creative-text h2 {
        font-size: 2.2rem;
    }

    .creative-images {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .creative-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .creative-image-right {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
    }
    .creative-image-right img {
        max-width: 90vw;
        width: 100%;
    }
    .creative-side-cards {
        flex-direction: row;
        margin-top: 0;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }
    .creative-fill-extras {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        margin-top: 0.7rem;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .creative-investment {
        padding: 60px 0;
    }

    .creative-text h2 {
        font-size: 1.8rem;
    }

    .creative-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .creative-images {
        height: 350px;
    }

    .main-creative-image {
        width: 90%;
    }

    .floating-creative-image {
        width: 80%;
    }

    .small-creative-image {
        width: 60%;
    }
}

/* Trust Indicators */
.trust-indicators {
    margin: 2rem 0;
    display: grid;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-item .material-icons {
    color: var(--primary);
    font-size: 2rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
}

.trust-item h4 {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.trust-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Investment Highlights */
.investment-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    background: var(--light);
    box-shadow: var(--shadow);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight p {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive Adjustments for New Elements */
@media (max-width: 991px) {
    .trust-indicators {
        margin: 1.5rem 0;
    }

    .trust-item {
        padding: 1rem;
    }

    .investment-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .highlight {
        padding: 1rem;
    }

    .highlight-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .trust-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .trust-item .material-icons {
        margin-bottom: 0.5rem;
    }

    .investment-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        text-align: left;
    }

    .highlight-number {
        margin-bottom: 0;
        font-size: 1.5rem;
    }
}

/* Workers Section */
.workers-section {
    padding: 80px 0;
    background: var(--light);
}

.workers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.worker-card {
    background: var(--gray-50);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.worker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.worker-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.worker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.worker-card:hover .worker-image img {
    transform: scale(1.1);
}

.worker-info {
    padding: 1.5rem;
    text-align: center;
}

.worker-info h3 {
    color: var(--gray-900);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.worker-info p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Adjustments for Workers Section */
@media (max-width: 1200px) {
    .workers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .workers-section {
        padding: 60px 0;
    }

    .workers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .worker-image {
        height: 250px;
    }

    .worker-info {
        padding: 1.25rem;
    }

    .worker-info h3 {
        font-size: 1.1rem;
    }

    .worker-info p {
        font-size: 0.9rem;
    }
}

/* Authentication Pages Styles */
.auth-section {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: var(--light-background);
}

.auth-container {
    display: flex;
    background: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
}

.auth-content {
    flex: 1;
    padding: 40px;
    max-width: 500px;
}

.auth-image {
    flex: 1;
    position: relative;
    min-height: 600px;
    display: none;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-features {
    color: white;
    text-align: center;
}

.auth-features .feature {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-features .feature:last-child {
    margin-bottom: 0;
}

.auth-features .material-icons {
    font-size: 32px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.auth-header p {
    color: var(--light-text);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group .material-icons {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--light-text);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles for Auth Pages */
@media (min-width: 992px) {
    .auth-image {
        display: block;
    }
}

@media (max-width: 991px) {
    .auth-content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 100px 0 40px;
    }
    
    .auth-content {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Dashboard Styles */
.dashboard-body {
    background: var(--gray-50);
    padding-top: 76px;
}

.dashboard-nav {
    background: var(--light);
    box-shadow: var(--shadow);
}

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 76px);
    max-width: 1920px;
    margin: 0 auto;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 280px;
    background: var(--light);
    border-right: 1px solid var(--gray-200);
    padding: 2rem 0;
    position: fixed;
    height: calc(100vh - 76px);
    overflow-y: auto;
}

.user-profile {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.user-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.sidebar-nav a.active {
    background: var(--primary);
    color: var(--light);
}

.sidebar-nav .material-icons {
    font-size: 1.25rem;
}

/* Main Content Styles */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto 0 280px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin: 0;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light);
    border-radius: 0.5rem;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
}

.stat-card {
    background: var(--light);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    max-width: 1400px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .material-icons {
    color: var(--light);
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--error-color);
}

/* Dashboard Sections */
.dashboard-section {
    background: var(--light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    max-width: 1400px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

.section-header .subtitle {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
        gap: 0.3rem;
    }
    .section-header h2 {
        font-size: 1.2rem !important;
    }
    .section-header p {
        font-size: 0.95rem;
    }
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1400px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    background: var(--gray-100);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon.profit {
    background: rgba(16, 185, 129, 0.1);
}

.activity-icon.deposit {
    background: rgba(37, 99, 235, 0.1);
}

.activity-icon.withdrawal {
    background: rgba(239, 68, 68, 0.1);
}

.activity-icon .material-icons {
    font-size: 1.25rem;
}

.activity-icon.profit .material-icons {
    color: var(--success-color);
}

.activity-icon.deposit .material-icons {
    color: var(--primary);
}

.activity-icon.withdrawal .material-icons {
    color: var(--error-color);
}

.activity-details {
    flex: 1;
}

.activity-details h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.activity-details p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.activity-amount {
    font-weight: 600;
    color: var(--gray-900);
}

.activity-amount.positive {
    color: var(--success-color);
}

.activity-amount.negative {
    color: var(--error-color);
}

.activity-time {
    font-size: 0.85rem;
    color: var(--gray-600);
    min-width: 100px;
    text-align: right;
}

/* Investment Cards */
.investments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
}

.investment-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    max-width: 1400px;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.investment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.investment-header h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin: 0;
}

.investment-status {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

.investment-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.investment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.detail-item strong {
    font-size: 1rem;
    color: var(--gray-900);
}

.detail-item strong.positive {
    color: var(--success-color);
}

.investment-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.investment-progress span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .activity-item {
        flex-wrap: wrap;
    }

    .activity-time {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
    }

    .investments-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Action Menu */
.mobile-action-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-user-greeting {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.mobile-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.mobile-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-user-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.mobile-user-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

@media (max-width: 768px) {
    .mobile-action-menu {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .mobile-user-greeting {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
    }

    .action-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #666;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .action-item:hover,
    .action-item.active {
        color: var(--primary-color);
        background: rgba(0, 123, 255, 0.1);
    }

    .action-item .material-icons {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .action-item span:not(.material-icons) {
        font-size: 0.75rem;
    }
}

/* Dashboard Greeting */
.dashboard-greeting {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--light);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.greeting-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.greeting-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.greeting-info h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.greeting-info p {
    color: var(--gray-600);
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .dashboard-greeting {
        padding: 1rem;
        gap: 1rem;
    }

    .greeting-avatar {
        width: 48px;
        height: 48px;
    }

    .greeting-info h2 {
        font-size: 1.25rem;
    }

    .greeting-info p {
        font-size: 0.9rem;
    }
}

/* Mobile Action Menu */
.mobile-action-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-action-menu {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .action-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #666;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .action-item:hover,
    .action-item.active {
        color: var(--primary-color);
        background: rgba(0, 123, 255, 0.1);
    }

    .action-item .material-icons {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .action-item span:not(.material-icons) {
        font-size: 0.75rem;
    }
} 

.stat-card.image-card {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.stat-card.image-card .stat-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

.stat-card.image-card .stat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light);
}

.stat-card.image-card .stat-info h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.stat-card.image-card .stat-value {
    color: var(--light);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-card.image-card .stat-change {
    color: var(--light);
    opacity: 0.9;
}

.stat-card.image-card .stat-change .material-icons {
    color: var(--light) !important;
}

@media (max-width: 768px) {
    .stat-card.image-card .stat-image {
        height: 160px;
    }

    .stat-card.image-card .stat-info {
        padding: 1rem;
    }

    .stat-card.image-card .stat-value {
        font-size: 1.1rem;
    }
} 

/* Live Trading Section */
.trading-controls {
    display: flex;
    gap: 1rem;
}

.trading-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
}

/* Trading Pairs */
.trading-pairs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trading-pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trading-pair:hover {
    background: var(--gray-100);
}

.trading-pair.active {
    background: var(--primary);
    color: var(--light);
}

.trading-pair.active .pair-value,
.trading-pair.active .pair-change {
    color: var(--light);
}

.pair-info h4 {
    margin: 0;
    font-size: 1rem;
}

.pair-value {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.pair-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.pair-change.positive {
    color: var(--success-color);
}

.pair-change.negative {
    color: var(--error-color);
}

/* Trading Chart */
.trading-chart {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chart-timeframes {
    display: flex;
    gap: 0.5rem;
}

.chart-timeframes button {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--light);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-timeframes button.active {
    background: var(--primary);
    color: var(--light);
}

.chart-container {
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.chart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Trading Form */
.trading-form {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.trading-form h3 {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}

.trading-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-success {
    background: var(--success-color);
    color: var(--light);
}

.btn-danger {
    background: var(--error-color);
    color: var(--light);
}

/* Recent Trades */
.recent-trades {
    margin-top: 2rem;
}

.recent-trades h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.trades-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
}

.trade-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trade-pair {
    font-weight: 500;
}

.trade-type {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
}

.trade-type.buy {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.trade-type.sell {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.trade-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.trade-amount {
    font-weight: 500;
}

.trade-profit {
    font-size: 0.9rem;
}

.trade-profit.positive {
    color: var(--success-color);
}

.trade-profit.negative {
    color: var(--error-color);
}

.trade-time {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .trading-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trading-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .trading-grid {
        grid-template-columns: 1fr;
    }

    .trading-controls {
        flex-direction: column;
    }

    .chart-container {
        height: 200px;
    }

    .trade-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trade-details {
        align-items: flex-start;
    }

    .trade-time {
        margin-top: 0.5rem;
    }
} 

/* Trading Analytics Section */
.trading-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
}

/* Trading Stats */
.trading-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    max-width: 1400px;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: var(--gray-100);
}

.stat-item h4 {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0 0 0.5rem;
}

.stat-item .stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stat-item .stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.stat-item .stat-change.positive {
    color: var(--success-color);
}

.stat-item .stat-change.negative {
    color: var(--error-color);
}

/* Trading Chart */
.trading-chart {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.chart-header {
    margin-bottom: 1rem;
}

.chart-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.chart-container {
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.chart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trading-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 200px;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-item .stat-value {
        font-size: 1.5rem;
    }
} 

/* Deposit Details Styles */
.deposit-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.deposit-details h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.country-accounts,
.crypto-wallets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.country-section,
.wallet-section {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.country-section:hover,
.wallet-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.country-section h4,
.wallet-section h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.account-details p,
.wallet-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.account-details strong,
.wallet-details strong {
    color: var(--gray-900);
    font-weight: 600;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .country-accounts,
    .crypto-wallets {
        grid-template-columns: 1fr;
    }

    .country-section,
    .wallet-section {
        padding: 1.25rem;
    }

    .deposit-details h3 {
        font-size: 1.1rem;
    }

    .country-section h4,
    .wallet-section h4 {
        font-size: 1rem;
    }
}

/* Withdrawal Form Styles */
.withdrawal-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.withdrawal-form h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.withdrawal-form .form-group {
    margin-bottom: 1.5rem;
}

.withdrawal-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.withdrawal-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.withdrawal-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.withdrawal-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.withdrawal-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.withdrawal-form .btn-primary .material-icons {
    font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .withdrawal-form {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .withdrawal-form h3 {
        font-size: 1.1rem;
    }

    .withdrawal-form .form-group {
        margin-bottom: 1.25rem;
    }

    .withdrawal-form .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }

    .withdrawal-form .btn-primary {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* Responsive Adjustments */
@media (min-width: 1921px) {
    .dashboard-container {
        max-width: 1800px;
    }
    
    .dashboard-main,
    .stats-grid,
    .dashboard-section,
    .trading-grid,
    .investments-grid,
    .activity-list {
        max-width: 1600px;
    }
}

@media (max-width: 1400px) {
    .dashboard-main,
    .stats-grid,
    .dashboard-section,
    .trading-grid,
    .investments-grid,
    .activity-list {
        max-width: 100%;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-logo {
        width: 30px;
        height: 30px;
    }

    .navbar-collapse {
        background: var(--light);
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: var(--shadow);
        margin-top: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .nav-link .material-icons {
        font-size: 1.2rem;
    }

    /* Mobile Content Adjustments */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dashboard-main {
        padding: 1rem;
        margin-left: 0;
    }

    .dashboard-sidebar {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-info h3 {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    /* Mobile Forms */
    .withdrawal-form,
    .deposit-details {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 0.625rem 0.875rem;
    }

    /* Mobile Action Menu */
    .mobile-action-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--light);
        padding: 0.5rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .action-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
        color: var(--gray-600);
        text-decoration: none;
        font-size: 0.8rem;
    }

    .action-item.active {
        color: var(--primary);
    }

    .action-item .material-icons {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    /* Mobile Auth Pages */
    .auth-container {
        padding: 1rem;
    }

    .auth-content {
        padding: 1.5rem 1rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-form .input-group {
        margin-bottom: 1rem;
    }

    /* Mobile Dashboard Sections */
    .dashboard-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .activity-item {
        padding: 0.75rem;
    }

    .activity-details h4 {
        font-size: 0.9rem;
    }

    .activity-amount {
        font-size: 0.9rem;
    }

    /* Mobile Trading Section */
    .trading-grid {
        grid-template-columns: 1fr;
    }

    .trading-stats {
        margin-bottom: 1rem;
    }

    .chart-container {
        height: 200px;
    }
}

/* Fix for overlapping content */
@media (max-width: 576px) {
    body {
        padding-bottom: 70px; /* Height of mobile action menu */
    }

    .dashboard-main {
        margin-top: 60px; /* Height of navbar */
    }

    .auth-section {
        padding-top: 60px;
    }
}

/* Margin Utility Classes - reduced for tighter layout */
.mt-4 {
    margin-top: 0.7rem !important;
}
.mb-4 {
    margin-bottom: 0.7rem !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 90px !important;
    }
}

/* --- IMPROVED MOBILE STYLES FOR KEY SECTIONS --- */
@media (max-width: 768px) {
    /* Workers/Team Section */
    .workers-section .section-header {
        text-align: center;
        padding: 0 0.5rem;
    }
    .workers-section h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem;
    }
    .workers-section .section-header p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    .workers-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .worker-card {
        padding: 1rem;
        text-align: center;
    }
    .worker-info h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    .worker-info p {
        font-size: 0.9rem;
    }
    /* Investment Plans Section */
    .plans .section-header {
        text-align: center;
        padding: 0 0.5rem;
    }
    .plans .section-header h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem;
    }
    .plans .section-header p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .plan-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    .plan-header h3 {
        font-size: 1.05rem;
    }
    .plan-price {
        font-size: 1.1rem;
    }
    .plan-features .feature {
        font-size: 0.95rem;
    }
    .plan-card .btn-primary {
        margin-top: 1rem;
        font-size: 1rem;
    }
    /* Why Choose Us Section */
    .why-us .section-header {
        text-align: center;
        padding: 0 0.5rem;
    }
    .why-us .section-header h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem;
    }
    .why-us .section-header p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .feature-card {
        padding: 1.2rem;
        text-align: center;
    }
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .why-us-image {
        padding: 0.5rem;
        margin-bottom: 1.2rem;
    }
}

/* Section max-width and centering for desktop */
.container, .workers-section .container, .plans .container, .why-us .container, .testimonials .container, .image-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Grid layouts for desktop */
.workers-grid, .plans-grid, .features-grid, .testimonials-grid, .gallery-grid {
    display: grid;
    gap: 2rem;
    justify-content: center;
}
.workers-grid { grid-template-columns: repeat(4, 1fr); }
.plans-grid { grid-template-columns: repeat(4, 1fr); }
.features-grid { grid-template-columns: repeat(4, 1fr); }
.testimonials-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }

/* Responsive stacking for mobile */
@media (max-width: 991px) {
    .workers-grid, .plans-grid, .features-grid, .testimonials-grid, .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .container, .workers-section .container, .plans .container, .why-us .container, .testimonials .container, .image-gallery .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .workers-grid, .plans-grid, .features-grid, .testimonials-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .worker-card, .plan-card, .feature-card, .testimonial-card, .gallery-item {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

/* Card padding and centering */
.worker-card, .plan-card, .feature-card, .testimonial-card, .gallery-item {
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    background: var(--light);
    text-align: center;
}

@media (max-width: 768px) {
    .worker-card, .plan-card, .feature-card, .testimonial-card, .gallery-item {
        padding: 1rem;
    }
}

/* Features Group Wrapper for Why Choose Us */
.features-group {
    background: #f8fafc;
    border-radius: 2rem;
    box-shadow: 0 4px 24px 0 rgba(37, 99, 235, 0.06);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.features-grid {
    display: flex;
    gap: 0;
    width: 100%;
    justify-content: center;
}
.feature-card {
    background: none;
    border: none;
    box-shadow: none;
    margin: 0;
    min-width: 0;
    padding: 1.5rem 1.2rem;
    flex: 1 1 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Divider between cards */
.feature-divider {
    width: 1px;
    background: #e5e7eb;
    margin: 0 0.5rem;
    align-self: stretch;
}
@media (max-width: 991px) {
  .features-group {
    padding: 1.5rem 0.5rem;
    border-radius: 1.25rem;
    max-width: 98vw;
  }
  .feature-card {
    padding: 1.2rem 0.7rem;
  }
}
@media (max-width: 768px) {
  .features-group {
    padding: 1rem 0.2rem;
    border-radius: 1rem;
    max-width: 100vw;
  }
  .features-grid {
    flex-direction: column;
    gap: 0.7rem;
  }
  .feature-card {
    border-radius: 0.75rem;
    padding: 1rem 0.5rem;
    margin: 0 auto;
    width: 95%;
    max-width: 350px;
    border-bottom: 1px solid #e5e7eb;
  }
  .feature-card:last-child {
    border-bottom: none;
  }
  .feature-divider {
    display: none;
  }
}

/* Overlay container for Why Choose Us */
.why-us-overlay-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 420px;
}
.why-us-overlay {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.14);
    width: 80%;
    max-width: 950px;
}
.why-us-image {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}
.why-us-image .main-image {
    width: 100%;
    max-width: 950px;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}
.why-us-image .floating-image {
    position: absolute;
    width: 60%;
    bottom: 0;
    right: 0;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translate(20%, 20%);
}
@media (max-width: 991px) {
  .why-us-overlay {
    width: 95%;
    top: 10px;
    padding: 0.5rem;
  }
  .why-us-image .main-image {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .why-us-overlay-container {
    flex-direction: column;
    min-height: unset;
  }
  .why-us-overlay {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.10);
  }
  .why-us-image {
    position: static;
    width: 100%;
    justify-content: center;
  }
  .why-us-image .main-image {
    max-width: 100vw;
    border-radius: 1rem;
  }
}

/* Why Choose Us vertical stack layout */
.why-us-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.why-us-image-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.why-us-image-stack .main-image,
.why-us-image-stack .floating-image {
    width: 320px;
    max-width: 90vw;
    border-radius: 1.2rem;
    box-shadow: 0 6px 24px rgba(37,99,235,0.10);
    background: #fff;
    border: 4px solid #fff;
    display: block;
}
@media (max-width: 800px) {
  .why-us-image-stack {
    flex-direction: column;
    gap: 1rem;
  }
  .why-us-image-stack .main-image,
  .why-us-image-stack .floating-image {
    width: 90vw;
    max-width: 95vw;
    min-width: 120px;
  }
}

/* Remove excessive vertical space between sections and containers */
section, .container, .row {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove top margin from first child and bottom margin from last child in each section */
section > *:first-child {
    margin-top: 0 !important;
}
section > *:last-child {
    margin-bottom: 0 !important;
}

/* Small, consistent gap between sections */
section + section, .container + section, section + .container {
    margin-top: 1rem !important;
}

/* Further reduce .mt-4 and .mb-4 if needed */
.mt-4 {
    margin-top: 0.7rem !important;
}
.mb-4 {
    margin-bottom: 0.7rem !important;
}

/* HERO ALT SECTION */
.hero-alt-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem 0 1.5rem 0;
}
.hero-alt-text {
  flex: 1 1 0;
  max-width: 520px;
}
.hero-alt-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.hero-alt-text .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}
.hero-alt-text .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
}
.hero-alt-image {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-alt-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}
@media (max-width: 900px) {
  .hero-alt-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem 0 0.7rem 0;
  }
  .hero-alt-text h1 {
    font-size: 2rem;
  }
  .hero-alt-image img {
    max-width: 90vw;
  }
}
@media (max-width: 600px) {
  .hero-alt-content {
    padding: 0.7rem 0 0.3rem 0;
  }
  .hero-alt-text h1 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
  }
  .hero-alt-text .lead {
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }
  .hero-alt-text .btn {
    font-size: 0.98rem;
    padding: 0.7rem 1.2rem;
  }
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.stat-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.stat-icon .material-icons {
  font-size: 2.2rem;
  color: var(--primary);
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-card h3 {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin: 0;
}
@media (max-width: 600px) {
  .stats-grid {
    gap: 0.7rem;
  }
  .stat-card {
    padding: 0.7rem 0.5rem;
  }
  .stat-value {
    font-size: 1.1rem;
  }
  .stat-card h3 {
    font-size: 0.95rem;
  }
}

/* HOW IT WORKS */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.how-step-card {
  background: #f8fafc;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.05);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.how-step-card .material-icons {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.how-step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.how-step-card p {
  font-size: 0.98rem;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .how-steps-grid {
    gap: 0.7rem;
  }
  .how-step-card {
    padding: 0.7rem 0.5rem;
  }
  .how-step-card h4 {
    font-size: 0.98rem;
  }
  .how-step-card p {
    font-size: 0.92rem;
  }
}

/* FEATURED MARKETS */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.market-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 1rem;
}
@media (max-width: 600px) {
  .markets-grid {
    gap: 0.7rem;
  }
  .market-card img {
    height: 80px;
  }
}

/* SECURITY BADGES */
.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin: 1.2rem 0;
}
.badge-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 90px;
}
.badge-card .material-icons {
  font-size: 2rem;
  color: var(--primary);
}
.badge-card span {
  font-size: 0.98rem;
  color: var(--gray-700);
}
@media (max-width: 600px) {
  .badges-grid {
    gap: 0.7rem;
  }
  .badge-card {
    padding: 0.7rem 0.5rem;
    min-width: 70px;
  }
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.team-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.team-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.10);
}
.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.team-card p {
  font-size: 0.98rem;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .team-grid {
    gap: 0.7rem;
  }
  .team-card {
    padding: 0.7rem 0.5rem;
  }
  .team-card img {
    width: 60px;
    height: 60px;
  }
  .team-card h4 {
    font-size: 0.98rem;
  }
  .team-card p {
    font-size: 0.92rem;
  }
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.news-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.news-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.7rem;
}
.news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.news-card p {
  font-size: 0.98rem;
  color: var(--gray-600);
}
.news-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  margin-top: 0.2rem;
  font-size: 0.98rem;
}
.news-link:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .news-grid {
    gap: 0.7rem;
  }
  .news-card {
    padding: 0.7rem 0.5rem;
  }
  .news-card img {
    height: 80px;
  }
  .news-card h4 {
    font-size: 0.98rem;
  }
  .news-card p,
  .news-link {
    font-size: 0.92rem;
  }
}

/* Fill right side of creative-investment with extra cards/images */
.creative-side-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.2rem;
}
.side-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 160px;
}
.side-card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 0.7rem;
    box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
}
.side-card span {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}
@media (max-width: 900px) {
    .creative-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .creative-image-right {
        flex-direction: row;
        gap: 1.2rem;
    }
    .creative-side-cards {
        flex-direction: row;
        margin-top: 0;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .creative-side-cards {
        flex-direction: column;
        gap: 0.7rem;
    }
    .side-card {
        min-width: 120px;
        padding: 0.5rem 0.7rem;
    }
    .side-card img {
        width: 28px;
        height: 28px;
    }
    .side-card span {
        font-size: 0.92rem;
    }
}

/* Fill extras for creative-investment section */
.creative-fill-extras {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.creative-fill-extras svg {
    display: block;
}
.testimonial-quote {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
    padding: 1rem 1.2rem;
    text-align: center;
    max-width: 260px;
    font-size: 1rem;
    color: var(--gray-700);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.testimonial-quote .material-icons {
    color: var(--primary);
    font-size: 2rem;
}
.cta-card {
    background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
    border-radius: 1rem;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.10);
    padding: 1.2rem 1.5rem;
    text-align: center;
    color: #fff;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.cta-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.cta-card .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}
.cta-card .btn:hover {
    background: var(--primary);
    color: #fff;
}
@media (max-width: 900px) {
    .creative-fill-extras {
        flex-direction: row;
        gap: 1.2rem;
        margin-top: 1.2rem;
    }
    .testimonial-quote, .cta-card {
        max-width: 180px;
        padding: 0.7rem 0.7rem;
        font-size: 0.95rem;
    }
}
@media (max-width: 600px) {
    .creative-fill-extras {
        flex-direction: column;
        gap: 0.7rem;
        margin-top: 0.7rem;
    }
    .testimonial-quote, .cta-card {
        max-width: 100vw;
        padding: 0.7rem 0.5rem;
        font-size: 0.92rem;
    }
}

/* --- CREATIVE IMAGE RIGHT: DESKTOP & MOBILE LAYOUT --- */
.creative-image-right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
  justify-content: center;
}

.creative-image-right > img {
  width: 340px;
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  object-fit: cover;
  flex-shrink: 0;
}

.creative-image-right .creative-side-cards,
.creative-image-right .creative-fill-extras {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  width: 220px;
  max-width: 90vw;
}

.creative-image-right .creative-side-cards {
  margin-bottom: 1.2rem;
}

@media (max-width: 991px) {
  .creative-image-right {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .creative-image-right > img {
    width: 100%;
    max-width: 420px;
    margin-bottom: 0.7rem;
  }
  .creative-image-right .creative-side-cards,
  .creative-image-right .creative-fill-extras {
    width: 100%;
    max-width: 100vw;
    align-items: center;
    gap: 0.7rem;
  }
  .creative-image-right .creative-side-cards {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 600px) {
  .creative-image-right {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
  }
  .creative-image-right > img {
    width: 100%;
    max-width: 100vw;
    border-radius: 1rem;
  }
  .creative-image-right .creative-side-cards,
  .creative-image-right .creative-fill-extras {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.7rem;
  }
}

/* --- HOMEPAGE BROKER/INVESTMENT REDESIGN --- */

.hero-broker {
  background: linear-gradient(90deg, #f8fafc 60%, #e0e7ff 100%);
  padding: 60px 0 40px 0;
}
.hero-broker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-broker-text {
  flex: 1 1 320px;
  max-width: 520px;
}
.hero-broker-text h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.hero-broker-text .lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}
.hero-broker-text .btn {
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
}
.hero-broker-image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-broker-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}
@media (max-width: 900px) {
  .hero-broker-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .hero-broker-image img {
    max-width: 90vw;
  }
  .hero-broker-text h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .hero-broker {
    padding: 30px 0 20px 0;
  }
  .hero-broker-text h1 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
  }
  .hero-broker-text .lead {
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
  }
  .hero-broker-text .btn {
    font-size: 0.98rem;
    padding: 0.7rem 1.2rem;
  }
}

.trust-bar {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 0;
}
.trust-bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  color: var(--gray-700);
  background: #f8fafc;
  border-radius: 1rem;
  padding: 0.7rem 1.2rem;
  min-width: 120px;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.05);
}
.trust-stat .material-icons {
  color: var(--primary);
  font-size: 2rem;
}
@media (max-width: 900px) {
  .trust-bar-grid {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
}

.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

.how-works {
  background: #f8fafc;
  padding: 60px 0 40px 0;
}
.how-works-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.how-step {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.05);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-width: 160px;
  max-width: 220px;
}
.how-step .material-icons {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.how-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.how-step p {
  font-size: 0.98rem;
  color: var(--gray-600);
}
@media (max-width: 900px) {
  .how-works-steps {
    gap: 1rem;
  }
  .how-step {
    min-width: 120px;
    max-width: 100vw;
    padding: 1rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .how-works {
    padding: 30px 0 20px 0;
  }
  .how-works-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }
}

.markets {
  background: #fff;
  padding: 60px 0 40px 0;
}
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.market-card {
  background: #f8fafc;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.market-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
}
.market-card span {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 600px) {
  .markets {
    padding: 30px 0 20px 0;
  }
  .markets-grid {
    gap: 0.7rem;
  }
  .market-card img {
    height: 60px;
  }
  .market-card span {
    font-size: 0.92rem;
  }
}

.why-broker {
  background: #f8fafc;
  padding: 60px 0 40px 0;
}
.why-broker-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.feature-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.feature-card .material-icons {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.feature-card p {
  font-size: 0.98rem;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .why-broker {
    padding: 30px 0 20px 0;
  }
  .why-broker-features {
    gap: 0.7rem;
  }
}

.plans {
  background: #fff;
  padding: 60px 0 40px 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.plan-card {
  background: #f8fafc;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  border: 2px solid transparent;
  transition: border 0.2s;
}
.plan-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(to bottom, #fff, #e0e7ff);
}
.plan-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.plan-price {
  font-size: 1.1rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.plan-card ul li {
  font-size: 0.98rem;
  color: var(--gray-600);
  margin-bottom: 0.3rem;
}
.plan-card .btn {
  margin-top: auto;
  width: 100%;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .plans {
    padding: 30px 0 20px 0;
  }
  .plans-grid {
    gap: 0.7rem;
  }
  .plan-card {
    padding: 0.7rem 0.5rem;
  }
  .plan-card h3 {
    font-size: 1rem;
  }
  .plan-price {
    font-size: 0.98rem;
  }
  .plan-card ul li {
    font-size: 0.92rem;
  }
}

.testimonials {
  background: #f8fafc;
  padding: 60px 0 40px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.testimonial-card p {
  font-size: 0.98rem;
  color: var(--gray-700);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
}
.testimonial-author span {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 600px) {
  .testimonials {
    padding: 30px 0 20px 0;
  }
  .testimonials-grid {
    gap: 0.7rem;
  }
  .testimonial-card {
    padding: 0.7rem 0.5rem;
  }
  .testimonial-author img {
    width: 28px;
    height: 28px;
  }
  .testimonial-author span {
    font-size: 0.92rem;
  }
}

.cta-section {
  background: linear-gradient(90deg, #2563eb 60%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 40px 0 30px 0;
}
.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.cta-content .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.cta-content .btn:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 600px) {
  .cta-section {
    padding: 20px 0 15px 0;
  }
  .cta-content h2 {
    font-size: 1.2rem;
  }
  .cta-content .btn {
    font-size: 0.98rem;
    padding: 0.7rem 1.2rem;
  }
}

/* Feature Cards with Images */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.feature-card {
    position: relative;
    background: var(--light);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--light);
    z-index: 2;
}

.feature-icon .material-icons {
    color: var(--light) !important;
    font-size: 1.75rem;
}

.feature-card h4 {
    margin-top: 3rem;
    padding: 0 1.5rem;
    text-align: center;
    color: var(--gray-900);
    font-size: 1.25rem;
}

.feature-card p {
    padding: 0.75rem 1.5rem 1.5rem;
    text-align: center;
    color: var(--gray-600);
}

/* Market Cards */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.market-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.market-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.market-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light);
    font-weight: 500;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.market-card:hover img {
    transform: scale(1.1);
}

.market-card:hover span {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-image {
        height: 160px;
    }

    .feature-icon {
        top: 140px;
        width: 50px;
        height: 50px;
    }

    .feature-icon .material-icons {
        font-size: 1.5rem;
    }

    .feature-card h4 {
        margin-top: 2.5rem;
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .feature-card p {
        padding: 0.5rem 1rem 1rem;
        font-size: 0.95rem;
    }

    .market-card {
        aspect-ratio: 16/9;
    }

    .market-card span {
        transform: translateY(0);
        font-size: 1rem;
        padding: 0.75rem;
    }

    .markets-grid,
    .features-grid {
        gap: 1rem;
        padding: 0.5rem;
    }
}

/* Market Updates Section */
.market-updates {
    padding: 4rem 0;
    background: var(--gray-50);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.update-card {
    background: var(--light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.update-image {
    height: 200px;
    overflow: hidden;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.update-card:hover .update-image img {
    transform: scale(1.1);
}

.update-content {
    padding: 1.5rem;
}

.update-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--primary);
    color: var(--light);
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.update-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.update-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Get Started CTA */
.get-started-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-image {
    flex: 1;
    max-width: 500px;
}

.cta-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .app-buttons {
        justify-content: center;
    }

    .cta-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .market-updates {
        padding: 3rem 0;
    }

    .updates-grid {
        gap: 1.5rem;
    }

    .update-image {
        height: 180px;
    }

    .update-content {
        padding: 1.25rem;
    }

    .update-content h3 {
        font-size: 1.1rem;
    }

    .cta-text h2 {
        font-size: 1.75rem;
    }

    .app-buttons {
        flex-direction: column;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* Footer Logo */
.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Enhanced Plan Cards */
.plan-card {
    position: relative;
    background: var(--light);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.plan-card.featured {
    background: linear-gradient(to bottom, var(--light), var(--gray-50));
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-card.featured .plan-badge {
    background: var(--secondary);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.plan-header h3 {
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.plan-price .amount {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.plan-price .duration {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.plan-range {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.plan-features .feature:last-child {
    margin-bottom: 0;
}

.plan-features .material-icons {
    color: var(--success-color) !important;
    font-size: 1.25rem;
}

.plan-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 1rem;
}

.plan-stats .stat {
    text-align: center;
}

.plan-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.plan-stats .stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.plan-card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .plan-card {
        padding: 1.5rem;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }

    .plan-header h3 {
        font-size: 1.25rem;
    }

    .plan-price .amount {
        font-size: 2rem;
    }

    .plan-features .feature {
        font-size: 0.95rem;
    }

    .plan-stats {
        padding: 0.75rem;
    }

    .plan-stats .stat-value {
        font-size: 1.25rem;
    }

    .plan-card .btn {
        padding: 0.875rem;
        font-size: 1rem;
  }
}

/* --- HEADER REDESIGN --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 2px 16px 0 rgba(37,99,235,0.08);
    transition: box-shadow 0.2s, background 0.2s;
}
.main-header.scrolled {
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.16);
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
}
.redesigned-navbar {
    background: transparent !important;
    height: var(--header-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.redesigned-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}
.redesigned-navbar .navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.redesigned-navbar .brand-name {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.15rem;
}
.redesigned-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    background: none;
    box-shadow: none;
    position: static;
    flex-direction: row;
    padding: 0;
}
.redesigned-navbar .nav-item {
    display: flex;
    align-items: center;
}
.redesigned-navbar .nav-link {
    color: #e0e7ff;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    margin: 0 2px;
    display: flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
}
.redesigned-navbar .nav-link:hover,
.redesigned-navbar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.10);
}
.redesigned-navbar .nav-btn {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.07);
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
}
.redesigned-navbar .nav-btn:hover {
    background: var(--secondary);
    color: #fff;
}
.redesigned-navbar .cta-btn {
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.5rem 1.7rem;
    margin-left: 10px;
    box-shadow: 0 2px 12px rgba(249,115,22,0.10);
    transition: background 0.15s, color 0.15s, transform 0.15s;
    text-decoration: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.redesigned-navbar .cta-btn:hover {
    background: #fff;
    color: var(--secondary);
    transform: translateY(-2px) scale(1.04);
}
/* Mobile Nav */
@media (max-width: 991px) {
    .redesigned-navbar {
        padding: 0 1rem;
    }
    .redesigned-navbar .navbar-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        border-radius: 0 0 12px 12px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        z-index: 1001;
    }
    .redesigned-navbar .navbar-nav.open {
        display: flex;
    }
    .redesigned-navbar .nav-link {
        width: 100%;
        font-size: 1.1rem;
        padding: 14px 24px;
        height: auto;
        margin: 0;
        color: #fff;
    }
    .redesigned-navbar .nav-btn,
    .redesigned-navbar .cta-btn {
        width: 100%;
        justify-content: center;
        margin: 8px 0 0 0;
    }
    .navbar-toggler {
        display: block;
        background: none;
        border: none;
        outline: none;
        font-size: 2rem;
        color: #fff;
        margin-left: 16px;
        cursor: pointer;
    }
    .d-none.d-lg-block {
        display: none !important;
    }
}

/* CTA Action for Mobile Action Menu */
.cta-action {
    background: var(--secondary);
    color: #fff !important;
    border-radius: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(249,115,22,0.10);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cta-action:hover {
    background: #fff;
    color: var(--secondary) !important;
    transform: translateY(-2px) scale(1.04);
}

/* Mobile Action Menu - unify with header */
.mobile-action-menu {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 -2px 10px rgba(37,99,235,0.10);
}
.mobile-action-menu .action-item {
    color: #e0e7ff;
    font-weight: 500;
    border-radius: 1rem;
    transition: background 0.2s, color 0.2s;
}
.mobile-action-menu .action-item:hover,
.mobile-action-menu .action-item.active {
    color: #fff;
    background: rgba(255,255,255,0.10);
}
.mobile-action-menu .cta-action {
    background: var(--secondary);
    color: #fff !important;
    font-weight: 700;
    border-radius: 1.5rem;
    box-shadow: 0 2px 8px rgba(249,115,22,0.10);
}
.mobile-action-menu .cta-action:hover {
    background: #fff;
    color: var(--secondary) !important;
}

/* Remove old conflicting navbar styles if needed */
.navbar,
.navbar.scrolled {
    background: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* --- IMPROVED LOGIN BUTTON ALIGNMENT FOR MOBILE ACTION MENU --- */
.mobile-action-menu .cta-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    min-width: 90px;
    min-height: 44px;
}
.mobile-action-menu .cta-action .material-icons {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.mobile-action-menu .cta-action span:not(.material-icons) {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
@media (max-width: 600px) {
    .mobile-action-menu .cta-action {
        font-size: 0.95rem;
        padding: 0.6rem 0.7rem;
        min-width: 70px;
    }
    .mobile-action-menu .cta-action .material-icons {
        font-size: 1.2rem;
    }
    .mobile-action-menu .cta-action span:not(.material-icons) {
        font-size: 0.95rem;
    }
}

/* --- IMPROVED INVESTMENT PLANS SECTION --- */
.plans-section {
    background: #f8fafc;
    padding: 3rem 0 2rem 0;
}
.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (min-width: 600px) {
    .plans-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .plans-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
.plan-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    transition: border 0.2s, box-shadow 0.2s;
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}
.plan-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, #fff, #e0e7ff);
}
.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}
.plan-card.featured .plan-badge {
    background: var(--secondary);
}
.plan-card-inner {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.plan-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}
.plan-header h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

/* --- HERO BROKER BACKGROUND & OVERLAY --- */
.hero-broker-bg {
    position: relative;
    background: url('assets/img/image_fx.jpg') center center/cover no-repeat;
    min-height: 420px;
    z-index: 1;
}
.hero-broker-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.7) 60%, rgba(30,64,175,0.5) 100%);
    z-index: 2;
}
.hero-broker-content {
    position: relative;
    z-index: 3;
}
.hero-broker-text {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-broker-text h1 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-broker-text .lead {
    color: #e0e7ff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}
.hero-broker-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
    align-items: center;
}
.trust-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.07);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    margin-bottom: 0.5rem;
}
.trust-badge .material-icons {
    color: #fff;
    font-size: 1.3rem;
}
@media (max-width: 900px) {
    .hero-broker-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-broker-trust {
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .hero-broker-bg {
        min-height: 320px;
    }
    .hero-broker-trust {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        align-items: center;
    }
    .trust-badge {
        font-size: 0.92rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        justify-content: center;
    }
}

/* --- PV GALLERY SECTION --- */
.pv-gallery {
    background: #f8fafc;
    padding: 2.5rem 0 2rem 0;
}
.pv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
.pv-gallery-img-wrap {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.10);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pv-gallery-img-wrap:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px 0 rgba(37,99,235,0.16);
}
.pv-gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
@media (max-width: 900px) {
    .pv-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .pv-gallery-img {
        height: 180px;
    }
}

/* --- LOGIN PAGE STYLES --- */
.login-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 3rem 0 2rem 0;
}
.login-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(37,99,235,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}
.login-card .form-group {
    width: 100%;
    margin-bottom: 1.2rem;
}
.login-card label {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
    display: block;
}
.login-card .form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 0.7rem;
    font-size: 1rem;
    background: #f8fafc;
    margin-bottom: 0.2rem;
    transition: border 0.2s;
}
.login-card .form-control:focus {
    border-color: var(--primary);
    outline: none;
    background: #fff;
}
.login-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    margin-top: 0.5rem;
}
.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.98rem;
    color: var(--gray-600);
}
.login-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.3rem;
    transition: color 0.2s;
}
.login-footer a:hover {
    color: var(--secondary);
}
@media (max-width: 600px) {
    .login-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        max-width: 98vw;
    }
    .login-title {
        font-size: 1.1rem;
    }
    .login-btn {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

/* --- SIGNUP PAGE STYLES --- */
.signup-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 3rem 0 2rem 0;
}
.signup-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(16,185,129,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.signup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}
.signup-card .form-group {
    width: 100%;
    margin-bottom: 1.2rem;
}
.signup-card label {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
    display: block;
}
.signup-card .form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--gray-300);
    border-radius: 0.7rem;
    font-size: 1rem;
    background: #f1f5f9;
    margin-bottom: 0.2rem;
    transition: border 0.2s;
}
.signup-card .form-control:focus {
    border-color: var(--primary);
    outline: none;
    background: #fff;
}
.signup-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2rem;
    margin-top: 0.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    transition: background 0.2s;
}
.signup-btn:hover {
    background: var(--secondary);
    color: #fff;
}
.signup-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.98rem;
    color: var(--gray-600);
}
.signup-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.3rem;
    transition: color 0.2s;
}
.signup-footer a:hover {
    color: var(--secondary);
}
@media (max-width: 600px) {
    .signup-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        max-width: 98vw;
    }
    .signup-title {
        font-size: 1.1rem;
    }
    .signup-btn {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

.login-card, .signup-card {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0.7rem 1rem 0.7rem;
    box-sizing: border-box;
}
.login-title, .signup-title {
    font-size: 1.1rem;
}
.login-btn, .signup-btn {
    font-size: 1rem;
    padding: 0.7rem;
}