/* ========================================
   Digital Munk - Beautiful Homepage Design
   Red & Blue Color Scheme
   ======================================== */

:root {
    --primary-red: #e74c3c;
    --primary-blue: #3498db;
    --dark-red: #c0392b;
    --dark-blue: #2980b9;
    --light-red: #ff6b6b;
    --light-blue: #5dade2;
    --gradient-red-blue: linear-gradient(135deg, #e74c3c 0%, #3498db 100%);
    --gradient-blue-red: linear-gradient(135deg, #3498db 0%, #e74c3c 100%);
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

/* ========================================
   HERO SECTION - Modern & Beautiful
   ======================================== */

.main-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0 80px;
}

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

.main-banner::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

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

.hero-badge {
    display: inline-block;
    background: var(--gradient-red-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: slideInDown 0.8s ease;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
    animation: slideInLeft 0.8s ease;
}

.hero-title .gradient-text {
    background: var(--gradient-red-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    animation: slideInLeft 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease 0.4s backwards;
}

/* .btn-primary-red {
    background: var(--gradient-red-blue);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    height: 30px !important;
} */

.btn-primary-red::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-red:hover::before {
    left: 100%;
}

.btn-primary-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.5);
}

.btn-outline-blue {
    background: transparent;
    color: var(--white);
    padding: 16px 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
}

.btn-outline-blue:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
    animation: floatImage 6s infinite ease-in-out;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    animation: slideInUp 0.8s ease 0.6s backwards;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-red-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   FEATURES SECTION - Cards with Hover
   ======================================== */

.features-section {
    padding: 50px 0;
    background: var(--white);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(52, 152, 219, 0.1));
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-red-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon i {
    font-size: 36px;
    color: var(--white);
    line-height: 1;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   SERVICES SECTION - Modern Grid
   ======================================== */

.services-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-image {
    height: 200px;
    background: var(--gradient-red-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-image i {
    font-size: 64px;
    color: var(--white);
    line-height: 1;
    z-index: 1;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.service-card:hover .service-image::after {
    left: 100%;
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    color: var(--dark-red);
}

/* ========================================
   STATS SECTION - Animated Counters
   ======================================== */

.stats-section {
    padding: 50px 0;
    background: var(--gradient-red-blue);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

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

.stat-box {
    text-align: center;
    padding: 30px;
    transition: all 0.4s ease;
}

.stat-box:hover {
    transform: scale(1.1);
}

.stat-box .number {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
}

.stat-box .label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 50px 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary-red);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-left-color: var(--primary-blue);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-red-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   CTA SECTION - Call to Action
   ======================================== */

.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
    top: -250px;
    left: -250px;
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title h2 {
        font-size: 38px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary-red,
    .btn-outline-blue {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
}
