/* Modern Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --border-radius: 12px;
    --box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --accent-color: rgba(255, 255, 255, 0.9);
}

/* Modern Navigation */
.navbar-modern {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-modern.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 46, 0.98);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler .line {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link:hover {
    transform: translateY(-2px);
    color: #ed1c24 !important;
}

.btn-gradient-primary {
    background: #ed1c24;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white !important;
}

.btn-gradient-success {
    background: var(--success-gradient);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-gradient-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 233, 123, 0.3);
    color: white !important;
}

/* Modern Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ed1c24;
    color: white;
    padding: 80px 0 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

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

.hero-badge {
    margin-bottom: 20px;
}

.hero-badge .badge {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #ffcccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Modern Stats - Hidden on Mobile */
.modern-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 24px;
    color: var(--accent-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

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

/* Modern Login Card */
.modern-login-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.modern-login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 72px rgba(0,0,0,0.34);
}

.modern-login-card .card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.modern-login-card .card-header .lc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.modern-login-card .card-header h4 {
    margin: 0 0 2px;
    color: white;
    font-weight: 700;
    font-size: 17px;
}
.modern-login-card .card-header p {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 12px;
}

.modern-login-card .card-body {
    padding: 28px;
}

.lc-input-wrap {
    position: relative;
    margin-bottom: 16px;
}
.lc-input-wrap .lc-icon-field {
    position: absolute;
    left: 14px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px; pointer-events: none;
}
.lc-input-wrap input {
    width: 100%;
    background: rgba(255,255,255,0.10) !important;
    border: 1.5px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 13px 14px 13px 40px !important;
    font-size: 14px !important;
    height: auto !important;
    outline: none !important;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    box-shadow: none !important;
}
.lc-input-wrap input::placeholder { color: rgba(255,255,255,0.45) !important; }
.lc-input-wrap input:focus {
    background: rgba(255,255,255,0.16) !important;
    border-color: rgba(255,255,255,0.5) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08) !important;
}
.lc-pass-eye {
    position: absolute;
    right: 13px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.45);
    background: none; border: none; padding: 0; cursor: pointer;
    font-size: 14px; line-height: 1;
}
.lc-pass-eye:hover { color: #fff; }

.lc-row-check {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.lc-remember {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.75); font-size: 13px; cursor: pointer;
}
.lc-remember input[type=checkbox] { accent-color: #fff; width: 14px; height: 14px; }
.forgot-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    font-weight: 500;
}
.forgot-link:hover { color: #fff; text-decoration: underline; }

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e8ecff 100%);
    color: #001244;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.btn-login:active { transform: translateY(0); }

.signup-section {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
    text-align: center;
}
.signup-section p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 12px;
    font-size: 13px;
}

.btn-signup-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 26px;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}
.btn-signup-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    transform: translateY(-2px);
}

/* legacy .input-group / .form-control inside login card — keep other forms working */
.modern-login-card .input-group { display: none; }
.modern-login-card .form-group { margin-bottom: 0; }

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: translateY(5px);
}

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


/* Platforms Section */
.platforms-section {
    padding: 10px 0;
    background: #ffffff;
}

.platforms-section .section-header {
    margin-bottom: 50px;
}

.platforms-section .section-title {
    color: #1a1a2e;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-underline {
    display: flex;
    justify-content: center;
}

.underline-bar {
    width: 80px;
    height: 3px;
    background: #ed1c24;
    border-radius: 2px;
}

/* Marquee Container */
.platforms-marquee {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.marquee-track {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    will-change: transform;
    min-width: 200%;
}

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

/* Platform Items */
.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 15px;
    min-width: 140px;
    transition: all 0.3s ease;
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.platform-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

/* Brand Colors */
.platform-icon.facebook {
    background: rgba(59, 89, 152, 0.1);
    color: #3b5998;
}

.platform-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.platform-icon.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.platform-icon.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.platform-icon.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.platform-icon.snapchat {
    background: rgba(255, 252, 0, 0.1);
    color: #fffc00;
}

.platform-icon.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.platform-icon.spotify {
    background: rgba(30, 215, 96, 0.1);
    color: #1ed760;
}

.platform-icon.instagram {
    background: linear-gradient(45deg, 
        rgba(225, 48, 108, 0.1), 
        rgba(131, 58, 180, 0.1),
        rgba(253, 29, 29, 0.1),
        rgba(245, 96, 64, 0.1));
    color: #e1306c;
}

/* Hover Effects */
.platform-item:hover .platform-icon {
    background: #ed1c24;
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.2);
}

.platform-item:hover .platform-name {
    color: #ed1c24;
}

/* Mobile Grid */
.platforms-grid {
    padding: 20px 0;
}

.platforms-grid .platform-item {
    margin-bottom: 30px;
}

.platforms-grid .platform-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
}

.platforms-grid .platform-name {
    font-size: 13px;
}

/* Mobile Marquee for small screens */
@media (max-width: 768px) {
    .platforms-grid {
        overflow: hidden;
    }

    .platforms-grid .row {
        flex-wrap: nowrap;
        width: 200%;
        animation: mobileMarquee 30s linear infinite;
    }

    .platforms-grid .col-6 {
        flex: 0 0 auto;
        width: 140px;
    }

    .platforms-grid::-webkit-scrollbar {
        display: none;
    }
}

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

/* Pause animation on hover */
.platforms-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .platforms-section {
        padding: 30px 0;
    }
    
    .platforms-section .section-title {
        font-size: 1.8rem;
    }
    
    .platform-item {
        min-width: 120px;
        padding: 12px 15px;
    }
    
    .platform-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .platforms-section {
        padding: 20px 0;
    }
    
    .platforms-section .section-title {
        font-size: 1.5rem;
    }
    
    .underline-bar {
        width: 60px;
    }
}


/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    display: inline-block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

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

.section-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Features Section */
.modern-features-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.modern-features-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.modern-features-section .section-subtitle {
    display: block;
    color: #ed1c24;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modern-features-section .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

.special-text {
    color: #ed1c24;
    position: relative;
}

.special-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ed1c24;
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #ed1c24;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ed1c24;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon-container {
    margin-bottom: 25px;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(237, 28, 36, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-icon-wrapper i {
    font-size: 34px;
    color: #ed1c24;
    transition: all 0.3s ease;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-desc {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    flex-grow: 1;
}

/* Hover Effects */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-card:hover .feature-icon-wrapper {
    background: #ed1c24;
    transform: scale(1.1);
}

.feature-card:hover .feature-icon-wrapper i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .modern-features-section {
        padding: 80px 0;
    }
    
    .modern-features-section .section-title {
        font-size: 2.3rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-features-section {
        padding: 60px 0;
    }
    
    .modern-features-section .section-header {
        margin-bottom: 50px;
    }
    
    .modern-features-section .section-title {
        font-size: 2rem;
    }
    
    .modern-features-section .section-subtitle {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-wrapper i {
        font-size: 30px;
    }
    
    .feature-title {
        font-size: 1.4rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .modern-features-section .section-title {
        font-size: 1.7rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-desc {
        font-size: 0.95rem;
    }
}

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

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }


/* Modern Process Section */
.modern-process-section {
    padding: 100px 0;
    background: #ed1c24;
    position: relative;
    overflow: hidden;
}

.modern-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(237, 28, 36, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

.modern-process-section .section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.modern-process-section .section-subtitle {
    display: block;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modern-process-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
}

.modern-process-section .accent-text {
    color: #ed1c24;
    position: relative;
}

.modern-process-section .accent-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(237, 28, 36, 0.3);
    border-radius: 4px;
    z-index: -1;
}

/* Process Cards Grid */
.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

/* Process Card */
.process-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: cardFloat 5s ease-in-out infinite, fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Animation delays for process cards */
.process-card:nth-child(1) { animation-delay: 0s, 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.6s, 0.2s; }
.process-card:nth-child(3) { animation-delay: 1.2s, 0.3s; }
.process-card:nth-child(4) { animation-delay: 1.8s, 0.4s; }

/* Step Badge */
.step-badge {
    width: 70px;
    height: 70px;
    background: #ed1c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.4);
    transition: all 0.3s ease;
}

.step-badge::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(237, 28, 36, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.step-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Process Content */
.process-content {
    margin-bottom: 20px;
}

.process-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.process-desc {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Process Decoration */
.process-decoration {
    margin-top: 20px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.process-decoration i {
    font-size: 24px;
    color: #ed1c24;
}

/* Progress Line */
.progress-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 200px);
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    display: none;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, #ed1c24, transparent);
    animation: progressFlow 3s linear infinite;
}

/* Hover Effects */
.process-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(237, 28, 36, 0.2);
    border-color: rgba(237, 28, 36, 0.15);
    animation: none;
}

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

.process-card:hover .step-badge {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(237, 28, 36, 0.6);
}

.process-card:hover .process-decoration {
    opacity: 0.8;
}

/* Card border glow effect on hover */
.process-card:hover::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(237, 28, 36, 0.3), transparent);
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

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

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.08;
    }
    50% {
        opacity: 0.12;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .process-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .progress-line {
        display: none;
    }
    
    .modern-process-section {
        padding: 80px 0;
    }
    
    .modern-process-section .section-title {
        font-size: 2.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .process-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .modern-process-section {
        padding: 60px 0;
    }
    
    .modern-process-section .section-header {
        margin-bottom: 50px;
    }
    
    .modern-process-section .section-title {
        font-size: 2.2rem;
    }
    
    .progress-line {
        display: none;
    }
    
    .process-card {
        padding: 35px 20px;
    }
    
    .step-badge {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .step-number {
        font-size: 24px;
    }
    
    .process-title {
        font-size: 1.3rem;
    }
    
    /* Remove border glow on mobile for performance */
    .process-card:hover::after {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .modern-process-section .section-title {
        font-size: 1.8rem;
    }
    
    .modern-process-section .section-subtitle {
        font-size: 13px;
    }
    
    .process-card {
        padding: 30px 15px;
    }
    
    .process-title {
        font-size: 1.2rem;
    }
    
    .process-desc {
        font-size: 0.9rem;
    }
}

/* Desktop Progress Line */
@media (min-width: 1025px) {
    .progress-line {
        display: block;
    }
    
    .process-card {
        position: relative;
        z-index: 2;
    }
    
    .process-card::after {
        content: '';
        position: absolute;
        top: 35px;
        right: -13px;
        width: 25px;
        height: 2px;
        background: rgba(237, 28, 36, 0.4);
        z-index: 1;
    }
    
    .process-card:last-child::after {
        display: none;
    }
}


/* Global Reach Section */
.global-reach-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.global-reach-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.global-reach-section .section-subtitle {
    display: block;
    color: #666666;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.global-reach-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.highlight-text {
    color: #ed1c24;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ed1c24;
    border-radius: 2px;
    opacity: 0.5;
}

.global-reach-section .section-desc {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Country Card */
.country-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid rgba(237, 28, 36, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

/* Animation delays for country cards */
.country-card:nth-child(1) { animation-delay: 0.1s; }
.country-card:nth-child(2) { animation-delay: 0.2s; }
.country-card:nth-child(3) { animation-delay: 0.3s; }
.country-card:nth-child(4) { animation-delay: 0.4s; }
.country-card:nth-child(5) { animation-delay: 0.5s; }
.country-card:nth-child(6) { animation-delay: 0.6s; }
.country-card:nth-child(7) { animation-delay: 0.7s; }
.country-card:nth-child(8) { animation-delay: 0.8s; }

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #ed1c24;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Updated Flag Container */
.country-flag {
    width: 90px;
    height: 60px; /* Rectangular ratio */
    border-radius: 10px;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Preserve aspect ratio */
    transition: transform 0.3s ease;
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(237, 28, 36, 0.05);
    transition: background 0.3s ease;
    pointer-events: none;
}

.country-card:hover .flag-overlay {
    background: rgba(237, 28, 36, 0.1);
}

/* Card Content */
.country-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.3;
}

.country-desc {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 0 15px 0;
}

/* Card Divider */
.card-divider {
    height: 1px;
    background: rgba(237, 28, 36, 0.1);
    margin: 15px 0 0 0;
    transition: background 0.3s ease;
}

/* Hover Effects */
.country-card:hover {
    transform: translateY(-10px);
    border-color: rgba(237, 28, 36, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.country-card:hover .flag-img {
    transform: scale(1.05);
}

.country-card:hover .flag-overlay {
    background: rgba(237, 28, 36, 0.1);
}

.country-card:hover .country-title {
    color: #ed1c24;
}

.country-card:hover .card-divider {
    background: rgba(237, 28, 36, 0.3);
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .global-reach-section {
        padding: 80px 0;
    }
    
    .global-reach-section .section-title {
        font-size: 2.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .global-reach-section {
        padding: 60px 0;
    }
    
    .global-reach-section .section-header {
        margin-bottom: 50px;
    }
    
    .global-reach-section .section-title {
        font-size: 2.2rem;
    }
    
    .global-reach-section .section-desc {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .country-card {
        padding: 25px 20px;
    }
    
    .country-flag {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .country-title {
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .global-reach-section .section-title {
        font-size: 1.8rem;
    }
    
    .global-reach-section .section-subtitle {
        font-size: 13px;
    }
    
    .country-card {
        padding: 20px 15px;
    }
    
    .country-title {
        font-size: 1.1rem;
    }
    
    .country-desc {
        font-size: 0.9rem;
    }
}



/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #ed1c24;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-block;
    padding: 15px 35px;
    background: white;
    color: #ed1c24 !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: #ed1c24 !important;
}

.btn-cta-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: white !important;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: white;
    color: #ed1c24 !important;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border: none;
    padding: 25px 30px;
}

.modal-header-content {
    display: flex;
    align-items: center;
}

.modal-icon {
    font-size: 24px;
    margin-right: 15px;
}

.modal-title {
    margin: 0;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    color: #666;
    line-height: 1.8;
}

.btn-modal-close {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number, .step-icon {
        margin: 0 0 20px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

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

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

/* Flag placeholder styles */
.flag-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.country-abbr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.flag-generic {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ed1c24 0%, #ff6b6b 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}