:root {
    --primary-red: #32b2f2;
    --dark-red: #1b3d99;
    --primary-black: #111827;
    --light-black: #374151;
    --primary-silver: #9ca3af;
    --light-silver: #d1d5db;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    
    --primary-gradient: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    --black-gradient: linear-gradient(135deg, var(--primary-black) 0%, var(--light-black) 100%);
    --silver-gradient: linear-gradient(135deg, var(--primary-silver) 0%, var(--light-silver) 100%);
    
    --glass-bg: rgba(220, 38, 38, 0.1);
    --glass-border: rgba(220, 38, 38, 0.2);
    --shadow-light: 0 8px 32px rgba(17, 24, 39, 0.1);
    --shadow-medium: 0 15px 45px rgba(17, 24, 39, 0.15);
    --shadow-heavy: 0 25px 70px rgba(17, 24, 39, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    /* overflow-y-x: hidden; */
    /* scroll-behavior: smooth; */
    background: var(--off-white);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loading-icon {
    font-size: 3rem;
    color: var(--primary-red);
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    /* overflow-y: hidden; */
    margin: 2rem auto 0;
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--pure-white);
    border-radius: 2px;
    animation: progressFill 2s ease-out forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 3px solid var(--light-silver); */
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.logo-circle img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

.modern-nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-link:hover,
.modern-nav-link.active {
    background: var(--primary-gradient);
    color: var(--pure-white) !important;
    transform: translateY(-2px);
}

/* Page Content */
.page-content {
    display: none;
    min-height: 100vh;
}

.page-content.active {
    display: block;
}

/* Hero Section */

.hero-slide {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(45deg, #ff7b00, #ff00d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #fff;
    max-width: 700px;
}

.stats-section {
    background: #111;
    color: #1b3d99;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffdd57;
}

.stat-label {
    font-size: 1rem;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-slide {
        height: 80vh;
    }
}


/* Common Styles */
.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-black);
    text-align: center;
}

.section-subtitle-modern {
    font-size: 1.1rem;
    color: var(--light-black);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Cards */
.service-card-modern {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    /* border: 1px solid var(--light-silver); */
    transition: all 0.3s ease;
    position: relative;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

/* Consistent icon colors */
.service-icon-modern,
.badge-item i,
.social-links a i,
.back-to-top,
.swiper-button-next,
.swiper-button-prev,
.feature-card-modern i,
.contact-form i,
.founder-card i {
    color: var(--primary-red) !important;
}

.icon-consulting { 
    background: var(--glass-bg);
    /* border: 2px solid var(--glass-border); */
}
.icon-project { 
    background: rgba(17, 24, 39, 0.1);
    /* border: 2px solid rgba(17, 24, 39, 0.2); */
}
.icon-managed { 
    background: rgba(156, 163, 175, 0.1);
    /* border: 2px solid rgba(156, 163, 175, 0.2); */
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: var(--glass-bg);
    color: var(--primary-red);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    /* border: 1px solid var(--glass-border); */
}

.hero-banner {
    background: var(--primary-gradient);
    color: var(--pure-white);
    padding: 4rem 0;
    position: relative;
    /* overflow-y: hidden; */
}

.hero-banner::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 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.about-slider-section {
    background: var(--off-white);
    padding: 1rem 0;
}

.swiper {
    border-radius: 20px;
    /* overflow-y: hidden; */
    box-shadow: var(--shadow-heavy);
    background: var(--pure-white);
}

.about-slide {
    background: var(--pure-white);
    padding: 3rem;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.about-slide h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.about-slide p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--light-black);
}

.slide-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.slide-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.swiper-button-next,
.swiper-button-prev {
    background: var(--pure-white);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    /* border: 2px solid var(--primary-red); */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--primary-red);
    font-size: 18px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: var(--primary-red) !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
}


/* Founder Section */
.founder-photo {
    width: 320px;
    height: 350px;
    border-radius: 15px;
    object-fit: cover;
    /* border: 4px solid var(--light-silver); */
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.founder-photo:hover {
    transform: scale(1.02);
    border-color: var(--primary-red);
}

.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.badge-item {
    background: var(--pure-white);
    /* border: 2px solid var(--light-silver); */
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    min-width: 150px;
}

.badge-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-medium);
}

.badge-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.badge-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
}

/* Feature Cards */
.feature-card-modern {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    /* border: 1px solid var(--light-silver); */
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

/* Gaming Grid */
.gaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gaming-card {
    background: var(--pure-white);
    border-radius: 20px;
    /* overflow-y: hidden; */
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    /* border: 1px solid var(--light-silver); */
}

.gaming-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.gaming-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gaming-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gaming-content {
    padding: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    /* border: 1px solid var(--light-silver); */
}

.contact-form .form-control {
    /* border: 2px solid var(--light-silver); */
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: var(--off-white);
}

.contact-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px var(--glass-bg);
    background: var(--pure-white);
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: var(--pure-white);
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--pure-white);
}

/* Footer */
.footer {
    background: var(--black-gradient);
    color: var(--pure-white);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: var(--pure-white);
    font-weight: 600;
}

.footer a {
    color: var(--light-silver);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-red);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

.service-card-modern {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card-modern.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon-modern {
    font-size: 2.5rem;
    color: #1b3d99; /* dark blue */
    margin-bottom: 15px;
}

.icon-vision {
    color: #32b2f2; /* primary blue */
}

.icon-mission {
    color: #e63946; /* red accent */
}

.service-features {
    margin-top: 15px;
}

.feature-tag {
    display: inline-block;
    background: rgba(50, 178, 242, 0.1);
    color: #1b3d99;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 5px 5px 0 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .about-slide {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .founder-photo {
        width: 300px;
        height: 320px;
    }
    
    .gaming-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
    }

    .logo-circle img {
        width: 35px;
        height: 35px;
    }
}

/* Additional Professional Touches */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.timeline-item {
    border-left: 3px solid var(--primary-red);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-item h5 {
    color: var(--primary-red);
    font-weight: 600;
}

/* Enhanced spacing and typography */
.services-preview {
    padding: 4rem 0;
    background: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-black);
}

p {
    color: var(--light-black);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 calc(33.33% - 20px); /* 3 per row */
    min-width: 100px;
    min-height: 120px; /* Equal height */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Stack boxes vertically on small devices */
@media (max-width: 767px) {
    .stat-item {
        flex: 1 1 100%;
    }
}


.video-bg-section {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage */
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Dark overlay for text readability */
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1; /* Keep content above video */
    color: #fff; /* Ensure text is readable */
}

#premium-gaming {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures it fills the area without distortion */
    z-index: -1; /* keeps it behind content */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay for better text readability */
    z-index: 0;
}

