﻿/* Advanced Index Page Styles */

/* Main content spacing for fixed header */
.main {
    padding-top: 5rem; /* Match header height */
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 15, 46, 0.95) 0%, rgba(20, 30, 80, 0.9) 100%);
    padding: 4rem 0;
}

.hero-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-offer-banner {
    text-align: center;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.hero-offer-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-logo-container {
    text-align: center;
    margin: 3rem 0;
}

.hero-logo-link {
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-button-primary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

.hero-button-secondary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

/* Content Section Styles */
.content-section {
    padding: 4rem 0;
}

.content-section-1 {
    background: linear-gradient(to bottom, #0a0f2e 0%, #1a1f4e 100%);
}

.content-section-2 {
    background: linear-gradient(to bottom, #1a1f4e 0%, #0f1438 100%);
}

.content-section-3 {
    background: linear-gradient(to bottom, #0f1438 0%, #1a1f4e 100%);
}

.content-section-4 {
    background: linear-gradient(to bottom, #1a1f4e 0%, #0a0f2e 100%);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.content-text-box-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.content-text-box-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.content-text-box-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    clip-path: polygon(0 15%, 15% 0, 100% 0, 100% 100%, 0 100%);
}

.content-text-box-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(126, 34, 206, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transform: skewY(-2deg);
}

.content-text-box-purple-inner {
    transform: skewY(2deg);
}

.content-heading-blue {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-heading-green {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-heading-orange {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-heading-purple {
    font-size: 2rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-emoji {
    font-size: 2.5rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-button-blue {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.content-button-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.content-button-green {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.content-button-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.content-button-orange {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.content-button-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.content-button-purple {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
}

.content-button-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.content-image-link {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.content-image-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.content-image-left {
    transform: perspective(1000px) rotateY(-5deg);
}

.content-image-right {
    transform: perspective(1000px) rotateY(5deg);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Order utilities */
.order-1 { order: 1; }
.order-2 { order: 2; }

@media screen and (max-width: 768px) {
    .order-1, .order-2 {
        order: 0;
    }
}

/* Statistics Section Styles */
.statistics-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.statistics-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 320%22><path fill=%22%23ffffff%22 fill-opacity=%220.03%22 d=%22M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z%22></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

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

.statistics-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.stat-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.stat-card-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.stat-card-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.stat-card-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.stat-card-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(126, 34, 206, 0.1) 100%);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.stat-card-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.stat-card-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.1) 100%);
    border: 2px solid rgba(20, 184, 166, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-number-blue { color: #3b82f6; }
.stat-number-green { color: #10b981; }
.stat-number-orange { color: #f59e0b; }
.stat-number-purple { color: #a855f7; }
.stat-number-red { color: #ef4444; }
.stat-number-teal { color: #14b8a6; }

.stat-label {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 600;
}

.statistics-cta-container {
    text-align: center;
    margin-top: 4rem;
}

.statistics-cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-glow 2s infinite;
}

.statistics-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(239, 68, 68, 0.7);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 10px 60px rgba(239, 68, 68, 0.8);
    }
}

.statistics-logo-container {
    margin-top: 4rem;
    text-align: center;
}

.statistics-logo-link {
    display: inline-block;
}

.statistics-logo {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    border-radius: 20px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.statistics-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 80px rgba(0,0,0,0.7);
}

/* Responsive Design */

/* Tablet and small desktop */
@media screen and (max-width: 1024px) {
    .main {
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-offer-banner {
        padding: 1.2rem;
        margin: 1.5rem auto;
    }
    
    .hero-offer-text {
        font-size: 1.1rem;
    }
    
    .content-heading-blue,
    .content-heading-green,
    .content-heading-orange,
    .content-heading-purple {
        font-size: 1.75rem;
    }
    
    .content-text {
        font-size: 1.05rem;
    }
    
    .statistics-title {
        font-size: 2rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile landscape and smaller tablets */
@media screen and (max-width: 768px) {
    .main {
        padding-top: 5rem;
    }
    
    /* Make containers full width on mobile */
    .container,
    .hero-section .container,
    .content-container,
    .statistics-container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-offer-banner {
        margin: 1rem 0;
        padding: 1rem;
        max-width: 100%;
        border-radius: 0;
    }
    
    .hero-offer-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-logo-container {
        padding: 0 1rem;
    }
    
    .hero-logo {
        max-height: 150px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .content-container {
        padding: 0;
    }
    
    .content-grid {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .content-text-box-blue,
    .content-text-box-green,
    .content-text-box-orange,
    .content-text-box-purple {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    /* Remove clip-path on mobile for better compatibility */
    .content-text-box-green,
    .content-text-box-orange {
        clip-path: none;
    }
    
    /* Remove skew on mobile */
    .content-text-box-purple {
        transform: none;
    }
    
    .content-text-box-purple-inner {
        transform: none;
    }
    
    .content-heading-blue,
    .content-heading-green,
    .content-heading-orange,
    .content-heading-purple {
        font-size: 1.4rem;
        flex-wrap: wrap;
    }
    
    .content-emoji {
        font-size: 2rem;
    }
    
    .content-text {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }
    
    .content-button-blue,
    .content-button-green,
    .content-button-orange,
    .content-button-purple {
        width: 100%;
        text-align: center;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    /* Remove 3D transforms on mobile for better performance */
    .content-image-left,
    .content-image-right {
        transform: none;
    }
    
    /* Make images full width on mobile */
    .content-image-link {
        border-radius: 0;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }
    
    .content-image {
        border-radius: 0;
    }
    
    .statistics-section {
        padding: 3rem 0;
    }
    
    .statistics-container {
        padding: 0;
    }
    
    .statistics-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        letter-spacing: 1px;
        padding: 0 1rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .statistics-cta-container {
        margin-top: 2.5rem;
        padding: 0 1rem;
    }
    
    .statistics-cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
        width: 100%;
    }
    
    .statistics-logo-container {
        padding: 0 1rem;
    }
    
    .statistics-logo {
        max-height: 512px;
    }
}

/* Mobile portrait */
@media screen and (max-width: 480px) {
    .main {
        padding-top: 5rem;
    }
    
    .hero-section {
        padding: 1.5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
        line-height: 1.3;
        padding: 0 0.8rem;
    }
    
    .hero-offer-text {
        font-size: 0.85rem;
    }
    
    .hero-logo-container {
        padding: 0 0.8rem;
    }
    
    .hero-logo {
        max-height: 512px;
    }
    
    .hero-cta-buttons {
        padding: 0 0.8rem;
    }
    
    .hero-button-primary,
    .hero-button-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .content-section {
        padding: 1.5rem 0;
    }
    
    .content-grid {
        padding: 0 0.8rem;
        gap: 1.5rem;
    }
    
    .content-text-box-blue,
    .content-text-box-green,
    .content-text-box-orange,
    .content-text-box-purple {
        padding: 1.2rem;
    }
    
    .content-heading-blue,
    .content-heading-green,
    .content-heading-orange,
    .content-heading-purple {
        font-size: 1.2rem;
    }
    
    .content-emoji {
        font-size: 1.8rem;
    }
    
    .content-text {
        font-size: 0.9rem;
    }
    
    /* Images full width */
    .content-image-link {
        margin: 0 -0.8rem;
        width: calc(100% + 1.6rem);
    }
    
    .statistics-title {
        font-size: 1.2rem;
        padding: 0 0.8rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        padding: 0 0.8rem;
    }
    
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .statistics-cta-container {
        padding: 0 0.8rem;
    }
    
    .statistics-cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.75rem;
        width: 100%;
    }
    
    .statistics-logo-container {
        padding: 0 0.8rem;
    }
}

/* Very small screens */
@media screen and (max-width: 360px) {
    .main {
        padding-top: 5rem;
    }
    
    .hero-section {
        padding: 1.2rem 0 1.8rem;
    }
    
    .hero-title {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .hero-offer-text {
        font-size: 0.75rem;
    }
    
    .hero-logo-container,
    .hero-cta-buttons {
        padding: 0 0.5rem;
    }
    
    .content-grid {
        padding: 0 0.5rem;
    }
    
    .content-text-box-blue,
    .content-text-box-green,
    .content-text-box-orange,
    .content-text-box-purple {
        padding: 1rem;
    }
    
    .content-heading-blue,
    .content-heading-green,
    .content-heading-orange,
    .content-heading-purple {
        font-size: 1.1rem;
    }
    
    .content-text {
        font-size: 0.85rem;
    }
    
    /* Images full width */
    .content-image-link {
        margin: 0 -0.5rem;
        width: calc(100% + 1rem);
    }
    
    .statistics-title {
        padding: 0 0.5rem;
    }
    
    .statistics-grid {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .statistics-cta-container,
    .statistics-logo-container {
        padding: 0 0.5rem;
    }
}

/* Landscape orientation optimizations */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .main {
        padding-top: 4rem; /* Smaller padding in landscape for better space usage */
    }
    
    .hero-section {
        padding: 1rem 0 1.5rem;
    }
    
    .hero-logo-container {
        margin: 1rem 0;
    }
    
    .hero-logo {
        max-height: 100px;
    }
    
    .content-section {
        padding: 1.5rem 0;
    }
    
    .statistics-section {
        padding: 2rem 0;
    }
}

