/* CORPORATE COLORS */
:root {
    --primary-green: rgb(70, 169, 71);
    --primary-blue: rgb(61, 186, 214);
    --deep-navy: #1e3a8a;
}

/* --- AMAZING SOCIAL MEDIA SIDEBAR STYLES --- */
.social-sidebar {
    position: fixed;
    top: 25%;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.social-link {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #1e5a8e; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-link:hover {
    transform: scale(1.2) rotate(360deg);
    color: #fff;
}

.social-link.fb:hover { background: #1877F2; }
.social-link.tw:hover { background: #000000; }
.social-link.ln:hover { background: #0077B5; }
.social-link.tg:hover { background: #0088cc; }

.social-close {
    width: 28px;
    height: 28px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    position: absolute;
    top: -10px;
    right: -5px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.social-close:hover {
    background: #ff6b81;
    transform: scale(1.1);
}

.social-sidebar.hidden {
    transform: translateX(120px);
    opacity: 0;
    pointer-events: none;
}

/* --- UPDATED SERVICE SECTION STYLES --- */
.services-section {
    padding: 100px 0;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* The colored top accent */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-blue);
}

.service-card:hover::before {
    height: 8px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #f0fdf4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-green);
    font-size: 26px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-green);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.45rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Work Sans', sans-serif;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1.05rem;
}

.service-link {
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 0;
    position: relative;
    transition: 0.3s;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-blue);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- STATS SECTION LAYOUT (MINIMIZED FOR DESKTOP) --- */
.stats-section {
    padding: 35px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.stat-number {
    font-size: 3rem; /* Increased font size */
    font-weight: 800;
}
.stat-label {
    font-size: 1.2rem; /* Increased font size */
    font-weight: 600;
}

/* --- EXISTING STYLES --- */
.hero {
    position: relative;
    height: 80vh; 
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #000; 
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.video-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.video-control-btn:hover {
    background: white;
    color: black;
}

.forex-section {
    background: #f8fafb;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}
.forex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.forex-info h4 {
    color: #0a7f5c; 
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}
.forex-info p {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
}
.forex-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.currency-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 3px solid #1e5a8e; 
}
.currency-name {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}
.currency-rate {
    font-weight: 700;
    color: #0a7f5c;
    font-size: 1rem;
}

/* Success Video Section Styles */
.video-gallery-section {
    padding: 80px 0;
    background: #fdfdfd;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.success-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.success-card:hover {
    transform: translateY(-10px);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.card-body {
    padding: 25px;
}
.card-body h4 {
    margin: 0 0 5px 0;
    color: #1e5a8e;
    font-size: 1.3rem;
    font-weight: 700;
}
.card-stars {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.card-quote {
    font-style: italic;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}
.card-footer-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.verified-badge {
    color: #2ecc71;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.member-since-text {
    color: #a0aec0;
    font-size: 0.85rem;
}

/* --- PREMIUM PARTNERS SECTION --- */
.premium-partners {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    overflow: hidden;
}
.partners-outer-box {
    position: relative;
    padding: 40px 0;
}
/* Mask for fade effect */
.partners-outer-box::before, .partners-outer-box::after {
    content: "";
    position: absolute;
    top: 0; width: 200px; height: 100%;
    z-index: 5; pointer-events: none;
}
.partners-outer-box::before { left: 0; background: linear-gradient(to right, #ffffff, transparent); }
.partners-outer-box::after { right: 0; background: linear-gradient(to left, #ffffff, transparent); }

.slider-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: slide-partners 40s linear infinite;
}
.slider-track:hover {
    animation-play-state: paused;
}
.partner-card {
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    min-width: 240px;
    transition: 0.4s;
    border: 1px solid #f0f0f0;
}
.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #1e5a8e;
}
.partner-card img {
    max-height: 90px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}
@keyframes slide-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero { height: 60vh; }
    .social-sidebar { right: 10px; transform: scale(0.8); }
    .video-grid { grid-template-columns: 1fr; }
    .partner-card { height: 100px; min-width: 180px; padding: 20px; }
    .partner-card img { max-height: 60px; }
    .partners-outer-box::before, .partners-outer-box::after { width: 80px; }
    .services-section { padding: 60px 0; }
    .service-card { padding: 30px 20px; }

    /* --- MOBILE STATS FIX (SMALL & HORIZONTAL) --- */
    .stats-section {
        padding: 20px 0;
    }
    .stats-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 5px;
    }
    .stat-card {
        flex: 1;
        padding: 5px;
    }
    .stat-icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    .stat-number {
        font-size: 1.3rem; /* Increased for mobile visibility */
        margin-bottom: 2px;
    }
    .stat-label {
        font-size: 0.75rem; /* Increased for mobile visibility */
        line-height: 1.1;
    }
}