/* SeuqalFX Custom Styles */
:root {
    --primary-color: #012e6e;
    --secondary-color: #f3f3f4;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --gold-color: #D4AF37;
    --danger-color: #dc3545;
    --light-color: #f3f3f4;
    --dark-color: #1C1C1C;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #012e6e 0%, #004494 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --font_brand_font-family: Plus Jakarta Sans, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font_brand_font-family);
    /* font-family: 'Roboto', sans-serif; */
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.navbar-toggler {
    border: 2px solid var(--light-blue);
    /* Outline */
    border-radius: 6px;
    /* optional rounded edges */
    padding: 6px;
}


.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='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 1.5em 1.5em;
}

/* Header Styles */
.header-section {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: var(--light-color) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn {
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

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

.logo-original {
    width: 120px;
    height: 40px;
    display: block;
}

.logo-fill {
    display: none;
}

.btn-primary:hover {

    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-secondary {
    color: var(--dark-color);

}

.btn-outline-secondary:hover {
    color: var(--light-color) !important;

}

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

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

/* Main Content */
.main-content {
    padding-top: 40px;
    /* Account for fixed navbar */
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23f8f9fa"><polygon points="0,20 50,40 100,20 150,40 200,20 250,40 300,20 350,40 400,20 450,40 500,20 550,40 600,20 650,40 700,20 750,40 800,20 850,40 900,20 950,40 1000,20 1000,100 0,100"/></svg>') repeat-x bottom;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: normal;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-image {
    border-radius: 15px;
    /* box-shadow: var(--shadow-lg); */
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

/* Features Section - Dark Style */
.features-section {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) -111%, #0a0f1c 65%, #0d111f 100%);
    color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 5rem 0 8rem 0; /* Increased bottom padding for footer space */
    margin-bottom: 0;
    box-shadow: 0 -5px 20px rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 2;
    overflow: visible; /* Allow footer to extend outside */
}

/* Features Section Titles */
.features-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.features-section .section-subtitle {
    color: #a8b3c7;
    margin-bottom: 3rem;
}

/* Highlight Numbers */
.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.highlight-text {
    color: #a8b3c7;
    font-size: 1rem;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Feature Icon */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

/* Feature Titles & Text */
.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
}

.feature-description {
    color: #a8b3c7;
    font-size: 0.95rem;
    line-height: 1.6;
}



/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.about-image {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #0d1117, #1c1f26);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Floating Stat Card */
.stat-card {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #0dcaf0, #007bff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(13, 202, 240, 0.6);
    position: relative;
    transform: rotate(-8deg);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: spin 12s linear infinite;
}

.stat-card i {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffe066;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
    z-index: 1;
}

/* Hover Effects */
.hover-glow:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(13, 202, 240, 0.8);
    transform: scale(1.08) rotate(-8deg);
}

/* Animations */
@keyframes float {
    0% {
        transform: rotate(-8deg) translateY(0px);
    }

    50% {
        transform: rotate(-8deg) translateY(-12px);
    }

    100% {
        transform: rotate(-8deg) translateY(0px);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .stat-card {
        width: 150px;
        height: 150px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-card i {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 50px;
        /* Account for fixed navbar */
    }

    .stat-card {
        width: 170px;
        height: 170px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-card i {
        font-size: 1.2rem;
    }
}


/* CTA Section */
.cta-section {
    background: linear-gradient(160deg, #012e6e 0%, #043250 100%);
    color: #f3f3f4;
    border-radius: 0 0 20px 20px;
    /* Rounded bottom corners only */
    padding: 3rem 0 5rem 0;
    /* Reduced top padding */
    margin-top: 0;
    /* No gap between sections */
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
    /* Gold shadow on bottom */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* CTA Titles */
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

/* CTA Buttons */
.cta-section .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-primary {
    background: #D4AF37;
    border: none;
    color: #1C1C1C;
}

.cta-section .btn-primary:hover {
    background: #c19b2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    /* Gold shadow on hover */
}

.cta-section .btn-outline-light {
    border: 2px solid #f3f3f4;
    color: #f3f3f4;
}

.cta-section .btn-outline-light:hover {
    background: #f3f3f4;
    color: #012e6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    /* Gold shadow on hover */
}

/* Decorative shapes in CTA */
.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    z-index: 0;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: -40px;
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Animation for fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Ensure smooth transitions between sections */
.features-section,
.features-footer,
.cta-section {
    position: relative;
}

/* Add subtle inner glow to the unified box */
.features-section::after,
.features-footer::after,
.cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg,
            rgba(212, 175, 55, 0.03) 0%,
            rgba(212, 175, 55, 0.01) 50%,
            rgba(212, 175, 55, 0.03) 100%);
    pointer-events: none;
    z-index: -1;
}


/* Help Section */
.help-section {
  background: linear-gradient(135deg, #f3f3f4, #e2e2e5);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Glowing Background Animation */
.help-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  animation: rotateGlow 20s linear infinite;
  z-index: 0;
}
@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.help-section .container {
  position: relative;
  z-index: 1;
}

/* Icon with floating animation */
.help-icon {
  font-size: 3rem;
  color: #012e6e;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.help-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 0.5rem;
}

.help-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.help-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #012e6e;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.help-btn:hover {
  background: #D4AF37;
  color: #1C1C1C;
  transform: translateY(-3px);
}

/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-video {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.loading-logo {
    width: 140px;
    height: 140px;
    z-index: 2;
    position: relative;
    animation: pulse 1.5s infinite ease-in-out;
}

.flipping-square {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: flip 3s infinite ease-in-out;
}

.flipping-square .face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #012e6e;
    box-sizing: border-box;
    backface-visibility: hidden;
}

.flipping-square .front {
    background: rgba(1, 46, 110, 0.1);
    transform: translateZ(25px);
    border-color: #012e6e;
    box-shadow: 0 0 15px rgba(1, 46, 110, 0.3);
}

.flipping-square .back {
    background: rgba(46, 124, 255, 0.1);
    transform: rotateY(180deg) translateZ(25px);
    border-color: #2e7cff;
    box-shadow: 0 0 15px rgba(46, 124, 255, 0.3);
}

.flipping-square .right {
    transform: rotateY(90deg) translateZ(25px);
    border-color: #012e6e;
    width: 50px;
    right: 0;
}

.flipping-square .left {
    transform: rotateY(-90deg) translateZ(25px);
    border-color: #012e6e;
    width: 50px;
    left: 0;
}

.flipping-square .top {
    transform: rotateX(90deg) translateZ(25px);
    border-color: #012e6e;
    height: 50px;
    top: 0;
}

.flipping-square .bottom {
    transform: rotateX(-90deg) translateZ(25px);
    border-color: #012e6e;
    height: 50px;
    bottom: 0;
}

.loading-logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 25px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #012e6e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

body.rtl .loading-text {
    font-family: 'Noto Sans Arabic', sans-serif;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    25% {
        transform: rotateY(90deg) rotateX(0deg);
    }

    50% {
        transform: rotateY(180deg) rotateX(90deg);
    }

    75% {
        transform: rotateY(270deg) rotateX(180deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Initially hide content to prevent flash before loading screen */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* Show content after loading */
body.loaded .main-content {
    opacity: 1;
}

/* Page Sections */
.page-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.markets-section {
    padding: 4rem 0;
    background: #ffffff;
}

.market-row {
    margin-bottom: 6rem !important;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.market-row:last-child {
    margin-bottom: 2rem !important;
}

/* Market Content Styling */
.market-content {
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.market-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.market-icon {
    width: 48px;
    height: 48px;
    background: #012e6e;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.market-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.market-stats {
    margin-bottom: 2rem;
}

.market-stat {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #4a5568;
}

.market-stat-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: #012e6e;
}

.market-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Remove old feature list styling */
.market-features {
    display: none;
}

/* CTA Button */
.market-cta {
    background: #012e6e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.market-cta:hover {
    background: #012e6e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: white;
    text-decoration: none;
}

/* Image Container */
.market-image-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-image-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    border-radius: 50%;
    opacity: 0.8;
    z-index: 1;
}

.market-image {
    width: 280px;
    height: 280px;
    object-fit: fill;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

/* Alternative: Abstract illustration style */
.market-illustration {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.market-illustration::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    top: 20%;
    left: 20%;
}

.market-illustration::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    bottom: 20%;
    right: 20%;
}

/* Responsive Design */
@media (max-width: 991px) {
    .market-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .market-content {
        text-align: center;
        padding: 1rem;
    }

    .market-image-container {
        margin-bottom: 2rem;
        height: 300px;
    }

    .market-image-bg {
        width: 280px;
        height: 280px;
    }

    .market-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 767px) {
    .market-row {
        flex-direction: column;
        text-align: center;
        margin-bottom: 3rem !important;
        min-height: auto;
    }

    .market-title {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .market-content {
        order: 2;
        /* Ensure content comes after image */
        padding: 1rem 0.5rem;
    }

    .market-image-container {
        order: 1;
        /* Ensure image comes first */
        margin-bottom: 1.5rem;
        height: 250px;
    }

    .market-image-bg {
        width: 220px;
        height: 220px;
    }

    .market-image {
        width: 180px;
        height: 180px;
    }

    .market-stat {
        justify-content: center;
    }

    /* Adjust animation for mobile */
    .market-row {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
    }
}


/* Header Section */
.partner-header {
    background: linear-gradient(135deg, rgba(1, 46, 110, 0.85) 0%, rgba(4, 50, 80, 0.85) 100%),
        url('../../uploads/partner.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.partner-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    opacity: 0.3;
}

.partner-header .container {
    position: relative;
    z-index: 2;
}

.partner-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.partner-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 100%;
}

.partner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

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

.highlight-number1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Program Cards Section */
.programs-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.program-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold));
}

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

.program-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.program-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.program-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.program-highlight {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.program-features li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Application Form Section */
.application-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 46, 110, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

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

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 46, 110, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-hero-title {
        font-size: 2.5rem;
    }

    .partner-hero-subtitle {
        font-size: 1.25rem;
    }

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

    .program-card {
        padding: 2rem;
    }

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

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .partner-header {
        padding: 4rem 0 3rem;
    }

    .partner-hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .program-highlight {
        font-size: 2rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* Loading States */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* Market-specific icons and colors */
.market-gold .market-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.market-oil .market-icon {
    background: linear-gradient(135deg, #1f2937, #374151);
}

.market-stocks .market-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.market-crypto .market-icon {
    background: linear-gradient(135deg, #012e6e, #043250);
}

/* Animation for scroll reveal */
.market-row {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.market-row:nth-child(2) {
    animation-delay: 0.2s;
}

.market-row:nth-child(3) {
    animation-delay: 0.4s;
}

.market-row:nth-child(4) {
    animation-delay: 0.6s;
}

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

.footer-legal {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-legal h6 {
    font-weight: 600;
}


/* Platform Cards */
.platform-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

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

.platform-image {
    width: 100%;
    height: 200px;
    object-fit: scale-down;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* Education Card Modern Style */
.education-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.education-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    opacity: 0.3;
}

.education-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: normal;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Forms */
.form-section {
    background: var(--light-color);
    padding: 3rem 0;
}

.form-container {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer-section {
    background: linear-gradient(45deg, #012e6e, #043250) !important;
    color: var(--white);
}

.footer-section h5 {
    color: var(--white) !important;
    font-weight: 600;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--white);
    color: var(--primary-color) !important;
}



/* Animations */
@keyframes float {
    0% {
        transform: rotate(-10deg) translateY(0px);
    }

    50% {
        transform: rotate(-10deg) translateY(-12px);
    }

    100% {
        transform: rotate(-10deg) translateY(0px);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


/* Section styling */
.traders-favourites {
    background: #fff;
}

/* Shared card design */
.favourite-card {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

/* App Card */
.app-box {
    background: linear-gradient(135deg, #012e6e, #1C1C1C);
    /* Deep navy to black */
    min-height: 300px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    transition: all 0.4s ease;
}

.app-box::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
    border-radius: 50%;
}

/* Hover Effect */
.app-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

/* Glassy Overlay */
.app-box::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Store Badges */
.store-badge img {
    height: 42px;
    margin-right: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 2;
    position: relative;
}

.store-badge img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(0, 200, 255, 0.4));
}

/* Screenshot Positioned in Corner */
.screenshot-wrapper {
    position: absolute;
    bottom: -10px;
    right: -40px;
    width: 260px;
    z-index: 1;
}

.screenshot {
    max-width: 100%;
    border-radius: 20px;
    transform: rotate(-6deg);
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0.95;
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.35); */
}

/* Hover interaction with screenshot */
.app-box:hover .screenshot {
    transform: rotate(-3deg) scale(1.08);
    opacity: 1;
}

/* Title & Subtitle */
.app-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.app-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 70%;
    position: relative;
    z-index: 2;
}


.education-card-home {
    background: linear-gradient(135deg, #012e6e, #203a43, #f3f3f4);
    /* Deep navy → teal grey → light */
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem;
    backdrop-filter: blur(6px);
}

/* Hover effect */
.education-card-home:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* Title */
.education-card-home h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Paragraph */
.education-card-home p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Button with arrow */
.education-card-home .bonus-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #012e6e, #043250);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.4);
}

.education-card-home .bonus-btn:hover {
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.6);
    transform: translateY(-3px);
}

.education-card-home .bonus-btn .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.education-card-home:hover .bonus-btn .arrow {
    transform: translateX(6px) rotate(45deg);
}

/* Screenshot image */
.education-screenshot-wrapper {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 170px;
    height: auto;
}

.education-screenshot-home {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    transform: rotate(-4deg);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.education-card-home:hover .education-screenshot-home {
    transform: rotate(-6deg) scale(1.2);
    opacity: 1;
}



/* Responsive */
@media (max-width: 768px) {
    .screenshot-wrapper {

        position: absolute !important;
        /* top: 10px; */
        /* width: 10px; */
        right: -80px;
        /* height: 250px; */

    }

    .sfxApp-card {

        min-height: 300px;
    }

    .sfxApp-screenshot {
        max-width: 75% !important;
        margin-left: 75px;
        margin-top: 20px;
    }

    .screenshot {
        transform: none;
        top: 150px;
        right: -30px;
        max-width: 190px;
    }
}

/* CTA Link */
.cta-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #ff4d4d;
}


/* Bonus Card */
.bonus-card {
    background: linear-gradient(135deg, #D4AF37, #1C1C1C);
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.bonus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Gift Image */
.gift-wrapper {
    float: right;
    shape-outside: circle(45%);
    width: 250px;
    /* same as image width */
    height: 250px;
}

.bonus-gift {
    position: absolute;
    top: -30px;
    right: -150px;
    max-width: 1200px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.bonus-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Hover effect */
.bonus-btn:hover {
    background: #fff;
    color: #194185;
}

.bonus-card:hover .bonus-btn .arrow {
    transform: translateX(5px) rotate(45deg);
}

.education-card-home:hover .bonus-btn .arrow {
    transform: translateX(5px) rotate(45deg);
}

.education-card-home:hover .education-screenshot-home {
    transform: rotate(-5deg) scale(1.4);
}

.bonus-card:hover .bonus-gift {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .bonus-card {
        padding-right: 0;
        /* text takes full width on mobile */
        padding-bottom: 120px;
        /* reserve space below text */
    }

    .store-badge img {
        height: 25px;
    }


    .bonus-gift {
        position: absolute;
        bottom: 5px;
        right: -100px;
        left: auto;
        top: 60px;
        max-width: 300px;
    }
}

/* Education Card */
.education-card {
    background: linear-gradient(135deg, #004e92, #000428);
    color: #fff;
}

/* Default (LTR) */
.screenshot-wrapper,
.sfxApp-screenshot-wrapper,
.gift-wrapper {
    right: 20px;
    left: auto;
}
:dir(rtl) .features-footer .row {
    text-align: right !important;
    justify-content: right !important;
}
:dir(rtl) .features-footer {
    left: 28%;
}

:dir(rtl) .features-footer .col-lg-8 {
    text-align: right !important;
    margin-bottom: 1.5rem;
}
/* RTL Override */
:dir(rtl) .screenshot-wrapper,
:dir(rtl) .education-screenshot-wrapper,
:dir(rtl) .sfxApp-screenshot-wrapper,
:dir(rtl) .gift-wrapper {
    left: 20px;
    right: auto;
}

:dir(rtl) .screenshot-wrapper {
    bottom: -30px
}

:dir(rtl) .bonus-gift {
    transform: scaleX(-1);
    /* left: -150px !important;  */
    right: 100px !important;
}
:dir(rtl) .bonus-card:hover .bonus-gift {
    transform: scaleX(-1) scale(1.1);
}

@media (max-width: 576px) {
    :dir(rtl) .features-footer {
        left: 45%;
        height: auto;
    }

    :dir(rtl).app-box p {
        max-width: 100%;
    }

    :dir(rtl) .screenshot-wrapper {
        left: -100px;

    }

    :dir(rtl) .bonus-gift {

        /* left: -150px !important; */
        right: 150px !important;
    }

    :dir(rtl) .sfxApp-screenshot-wrapper,
    :dir(rtl) .education-screenshot-wrapper {
        left: -30px;
    }

    :dir(rtl) .sfxApp-card p {
        max-width: 75%;
       
    }
}

/* SequalFX App Card */
.sfxApp-card {
    background: #f3f3f4;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem;
    min-height: 220px;
    border-left: 5px solid #D4AF37;
    /* Gold accent */
}


.sfxApp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Title + description */
.sfxApp-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
}

.sfxApp-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* CTA button */
.sfxApp-card .btn {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    transition: background 0.3s;
}

.sfxApp-card .btn:hover {
    background: #0041a8;
}

/* Image wrapper */
.sfxApp-screenshot-wrapper {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 180px;
    height: auto;
}

.sfxApp-screenshot {

    max-width: 100%;
    height: auto;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.sfxApp-card:hover .sfxApp-screenshot {
    transform: rotate(-3deg) scale(1.1);
}


@media (max-width: 768px) {
    .gift-wrapper {

        /* same as image width */
        height: 5px;
    }
}



/* App Screenshot Image */
.app-image-wrapper {
    top: 20px;
    right: 20px;
    width: 150px;
    height: auto;
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.app-card:hover .app-screenshot {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .app-image-wrapper {
        position: static !important;
        width: 100px;
        margin-top: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bonus-card {
        padding-right: 0;
        /* text takes full width on mobile */
        padding-bottom: 120px;
        /* reserve space below text */
    }

    .bonus-gift {
        position: absolute;
        bottom: 5px;
        right: -100px;
        left: auto;
        top: 55px;
        max-width: 300px;
    }
}



@media (max-width: 768px) {
    .gift-wrapper {

        /* same as image width */
        height: 5px;
    }

    /* .bonus-card {
        width: 120px;
        height: 120px;
        margin: 20px auto;
    }

    .bonus-number {
        font-size: 1.8rem;
    }

    .bonus-card i {
        font-size: 1.2rem;
    } */

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .market-card,
    .platform-card,
    .education-card {
        margin-bottom: 1.5rem;
    }

    .stats-section .stat-number {
        font-size: 2rem;
    }
}

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

    .section-title {
        font-size: 1.75rem;
    }

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

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

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

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

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.rounded-custom {
    border-radius: 15px !important;
}