/* Modern Game Development Studio Theme */
:root {
    --primary-color: #0A2647;
    --secondary-color: #6c757d;
    --accent-color: #FF6B35;
    --text-dark: #2D3748;
    --text-light: #FFFFFF;
    --primary-dark: #0a192f;
    --secondary-dark: #112240;
    --accent-blue: #64ffda;
    --text-gray: #4A5568;
    --gradient-dark: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    --font-primary: 'Roboto', sans-serif;
    --bg-light: #f8f9fc;
    --card-shadow: 0 10px 30px rgba(26, 31, 44, 0.1);
    --dark-blue: #2C3E50;
    --card-bg: #FFFFFF;
    --game-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    --pixel-border: 2px solid var(--accent-color);
}

/* Game-specific animations */
@keyframes gamePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gameFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes gameGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.6); }
}

@keyframes gameSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gameShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Game card styles */
.game-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--game-glow);
    animation: gamePulse 0.6s ease;
}

.game-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
}

.game-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    animation: gameGlow 1s ease-in-out infinite;
}

.game-card:hover .game-icon::after {
    opacity: 1;
}

.game-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.game-card:hover .game-icon i {
    animation: gameSpin 2s linear infinite;
}

/* Team section styles */
.team-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--game-glow);
}

.team-avatar {
    position: relative;
    display: inline-block;
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-avatar::after {
    opacity: 1;
}

.team-card:hover .team-avatar i {
    animation: gameFloat 2s ease-in-out infinite;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Stats section styles */
.stat-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    animation: gamePulse 0.6s ease;
}

.stat-item h3 {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Floating elements animation */
.floating-card {
    animation: gameFloat 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

/* Service icon enhancements */
.service-icon {
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .service-icon::before {
    opacity: 1;
}

.card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    animation: gameGlow 1s ease-in-out infinite;
}

/* Navigation enhancements */
.navbar-brand h1 {
    position: relative;
    overflow: hidden;
}

.navbar-brand h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transition: left 0.3s ease;
}

.navbar-brand:hover h1::after {
    left: 0;
}

/* Button enhancements */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    animation: gameShake 0.3s ease;
}

/* Badge enhancements */
.badge {
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

/* Section header enhancements */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: gamePulse 2s ease-in-out infinite;
}

/* Responsive game elements */
@media (max-width: 768px) {
    .game-card:hover {
        transform: none;
        animation: none;
    }
    
    .team-card:hover {
        transform: none;
    }
    
    .stat-item:hover {
        transform: none;
        animation: none;
    }
    
    .floating-card {
        display: none;
    }
}

/* Loading animation for game elements */
.game-loading {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game-specific hover effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--game-glow);
}

/* Enhanced form styles for contact */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.submit-btn:hover {
    animation: gamePulse 0.3s ease;
}

/* Footer enhancements */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: slideRight 3s ease-in-out infinite;
}

@keyframes slideRight {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Modern App Studio Theme */
:root {
    --primary-color: #0A2647;
    --secondary-color: #6c757d;
    --accent-color: #FF6B35;
    --text-dark: #2D3748;
    --text-light: #FFFFFF;
    --primary-dark: #0a192f;
    --secondary-dark: #112240;
    --accent-blue: #64ffda;
    --text-gray: #4A5568;
    --gradient-dark: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    --font-primary: 'Roboto', sans-serif;
    --bg-light: #f8f9fc;
    --card-shadow: 0 10px 30px rgba(26, 31, 44, 0.1);
    --dark-blue: #2C3E50;
    --card-bg: #FFFFFF;
}
.navbar-toggler{
    background-color:#fff!important;
}
/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    background: var(--primary-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background: white;
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .hamburger {
    display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
        color: white;
        padding: 1rem 2rem;
    }

    /* Hamburger Animation */
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3B63 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Text Styles */
.hero-text {
    color: var(--text-light);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #e6e6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.cta-button.primary:hover {
    background: #ff7d4d;
    color: var(--text-light);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* Hero Image Styles */
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.floating-card i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.floating-card span {
    color: var(--primary-color);
    font-weight: 500;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation: float 5s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Sections */
section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    font-weight: 700;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* About Section Styles */
.about {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 20px auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text-wrapper {
    position: relative;
}

.experience-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    color: var(--accent-color);
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.achievement-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.achievement-details {
    display: flex;
    flex-direction: column;
}

.achievement-details .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.achievement-details .label {
    font-size: 0.9rem;
    color: #666;
}

.about-image-wrapper {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-stack {
    bottom: -20px;
    right: -20px;
    padding: 20px;
}

.tech-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.tech-icons i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.experience-card {
    position: absolute;
    top: 20px;
    left: -20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    color: var(--primary-color);
}

.card-text span {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .floating-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .experience-card {
        left: 20px;
    }
}

@media (max-width: 767.98px) {
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 60px 0;
    }

    .experience-card {
        display: none;
    }
}

/* Services Section Styles */
.services-section {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.header-content {
    max-width: 600px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Services Container */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Service Box */
.service-box {
    background: white;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(10,38,71,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box.featured {
    background: var(--primary-color);
    color: white;
}

.service-box.featured h3,
.service-box.featured p {
    color: white;
}

/* Service Icon */
.service-icon-wrap {
    margin-bottom: 25px;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
}

.service-box:hover .service-icon {
    transform: rotate(-10deg);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.service-box.featured .service-icon {
    background: rgba(255,255,255,0.1);
}

.service-box.featured .service-icon i {
    color: white;
}

/* Service Content */
.service-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.service-features span {
    padding: 6px 12px;
    background: rgba(10,38,71,0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.service-box.featured .service-features span {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-box.featured .service-link {
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-content {
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-box {
        padding: 30px;
    }
}

/* App Features Section */
.game-features {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.game-features h2 {
    color: var(--text-dark);
}

.features-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--card-shadow);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    font-weight: 300;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.feature i {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.feature i {
    animation: float 3s ease-in-out infinite;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 400;
}

footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-text {
    animation: fadeIn 1s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Contact Hero Section */
.contact-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3B63 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-info-card h3 {
    color: white;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.availability {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-side {
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Info Side */
.info-side {
    background: var(--primary-color);
    padding: 60px 40px;
    color: white;
}

.contact-card h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.benefits-list i {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.success-content i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .form-side {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 100px 0 40px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background-color: var(--text-dark);
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
    background: var(--white);
        flex-direction: column;
    justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1001;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        animation: slideIn 0.3s ease forwards;
    }

    .nav-links.active li {
        opacity: 1;
    }

    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links li:nth-child(5) { animation-delay: 0.5s; }
    .nav-links li:nth-child(6) { animation-delay: 0.6s; }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        color: var(--text-dark);
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Hero section adjustment for mobile */
    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Services grid adjustment */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Features grid adjustment */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Features slider adjustment */
    .features-slider {
        grid-template-columns: 1fr;
    gap: 1.5rem;
    }
}

@keyframes slideIn {
    from {
    opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .service-card,
    .feature-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Base navigation styles update */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
        gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Ensure hamburger is hidden on desktop */
.hamburger {
    display: none;
}

/* Hamburger Menu Styles */
.menu-btn {
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
}

.menu-btn__burger {
    width: 30px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Animation for open state */
.menu-btn.open .menu-btn__burger {
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: var(--white);
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    /* Hide original hamburger */
    .hamburger {
        display: none;
    }
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Add these new styles */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
    top: 0;
    left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
    justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        color: #fff;
        font-size: 1.2rem;
    }

    /* Hamburger animation */
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hide original hamburger if it exists */
    .hamburger {
        display: none;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        position: relative;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger .line {
        width: 25px;
        height: 2px;
        background: white;
        margin: 6px 0;
        transition: 0.3s;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: white;
    }

    /* Hero Section */
    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        max-width: 100%;
    }

    /* Features Section */
    .features-slider,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    /* General */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
    font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero Section */
    .hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* About Section */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Services & Features */
    .service-card,
    .feature-card {
        padding: 1.5rem;
    }

    .service-features li {
    font-size: 0.9rem;
    }

    /* Why Choose Us */
    .feature {
        padding: 1.5rem;
    }

    .feature i {
        font-size: 2rem;
    }

    /* Footer */
    .footer-bottom {
        text-align: center;
        padding: 1rem 15px;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/* Image Responsiveness */
@media (max-width: 768px) {
    .image-container img {
        width: 100%;
        height: auto;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-links {
        padding: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero {
        min-height: 100vh;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .service-card:hover,
    .feature-card:hover {
        transform: none;
    }

    .nav-links a:hover {
        background: none;
    }

    .cta-button:hover {
        transform: none;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content {
        max-width: 800px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Animation Adjustments for Mobile */
@media (max-width: 768px) {
    .reveal-text {
        opacity: 1;
        transform: none;
    }

    .service-card,
    .feature-card,
    .feature {
        animation: none;
        opacity: 1;
    }
}

/* Loading Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Styles */
.navbar {
        position: fixed;
        top: 0;
    left: 0;
        width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 38, 71, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    color: var(--text-light);
        font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.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='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Optional: Add hover effect */
.navbar-toggler:hover {
    border-color: var(--accent-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

/* Hero Section Responsive */
@media (max-width: 991.98px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .floating-card {
        display: none;
    }

    .about-text-wrapper {
        text-align: center;
        margin-bottom: 2rem;
    }

    .experience-badge {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .service-box {
        margin-bottom: 1.5rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .features-slider {
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
    }
}

/* Why Choose Us Section Styles */
.why-choose-us {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

    .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
        position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

.feature-card::before {
    content: '';
    position: absolute;
        top: 0;
    left: 0;
        width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon Styles */
.feature-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
        justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
        font-size: 1.8rem;
    color: var(--accent-color);
    position: relative;
    z-index: 2;
}

.icon-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    filter: blur(20px);
    opacity: 0.2;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-blur {
    opacity: 0.4;
    transform: scale(1.2);
}

/* Feature Content Styles */
.feature-card h3 {
    color: var(--primary-color);
        font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Feature Details Styles */
.feature-details {
    display: flex;
    justify-content: space-between;
        align-items: center;
    margin-top: 20px;
}

.feature-details ul {
    list-style: none;
    padding: 0;
}

.feature-details li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #555;
        font-size: 0.9rem;
}

.feature-details li i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Progress Circle Styles */
.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) var(--progress), #eee 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
        position: relative;
    }

.progress-circle::before {
    content: '';
    position: absolute;
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 50%;
}

.progress-text {
    position: relative;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Hover Content Styles */
.hover-content {
    position: absolute;
        top: 0;
    left: 0;
        width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: flex;
        flex-direction: column;
        justify-content: center;
}

.feature-card:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}

.learn-more {
    display: inline-flex;
        align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        transform: none !important;
    }
}

/* Privacy Hero Section */
.privacy-hero {
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3B63 100%);
    padding: 120px 0 60px;
    position: relative;
    color: var(--text-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 30px;
        font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.privacy-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.policy-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon i {
        font-size: 1.5rem;
    color: var(--accent-color);
}

.policy-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-card p, .policy-card ul {
    color: #666;
    line-height: 1.6;
}

.policy-card ul {
    list-style: none;
    padding: 0;
}

.policy-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.policy-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.privacy-contact {
    margin-top: 60px;
}

.contact-card {
    background: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: 20px;
        text-align: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .privacy-hero {
        min-height: 40vh;
        padding: 100px 0 40px;
    }

    .policy-card {
        padding: 30px;
    }

    .contact-card {
        padding: 40px 20px;
    }
}

/* Terms Page Specific Styles */
.terms-hero {
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3B63 100%);
    padding: 120px 0 60px;
    position: relative;
    color: var(--text-light);
}

.terms-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.terms-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.terms-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
        width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.terms-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.terms-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.terms-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.terms-card p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.terms-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-card ul li {
    color: #555555;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.terms-card ul li strong {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 5px;
}

/* Terms Action Section */
.terms-action {
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-close-terms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-close-terms:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-close-terms i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .terms-action {
        padding: 1.5rem 0;
    }
    
    .btn-close-terms {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Animation for cards */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Game Elements Container */
.game-elements-container {
    height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Game Controller Styles */
.game-controller {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    z-index: 10;
}

.controller-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 50px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    animation: controllerFloat 4s ease-in-out infinite;
}

.controller-grip {
    position: absolute;
    width: 60px;
    height: 120px;
    background: linear-gradient(145deg, #34495e, #2c3e50);
    border-radius: 30px;
    top: 40px;
}

.left-grip {
    left: -30px;
    animation: leftGripPulse 2s ease-in-out infinite;
}

.right-grip {
    right: -30px;
    animation: rightGripPulse 2s ease-in-out infinite 1s;
}

.controller-face {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 120px;
}

/* D-Pad */
.d-pad {
    position: absolute;
    left: 20px;
    top: 40px;
    width: 40px;
    height: 40px;
}

.d-pad-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ecf0f1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dPadGlow 1.5s ease-in-out infinite;
}

.d-pad-up, .d-pad-down, .d-pad-left, .d-pad-right {
    position: absolute;
    background: #95a5a6;
    border-radius: 4px;
}

.d-pad-up, .d-pad-down {
    width: 12px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.d-pad-left, .d-pad-right {
    width: 20px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.d-pad-up { top: 0; }
.d-pad-down { bottom: 0; }
.d-pad-left { left: 0; }
.d-pad-right { right: 0; }

/* Action Buttons */
.action-buttons {
    position: absolute;
    right: 20px;
    top: 30px;
    width: 60px;
    height: 60px;
}

.btn-a, .btn-b, .btn-x, .btn-y {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-a {
    background: #e74c3c;
    right: 0;
    top: 20px;
    animation-delay: 0s;
}

.btn-b {
    background: #3498db;
    right: 25px;
    top: 0;
    animation-delay: 0.5s;
}

.btn-x {
    background: #f39c12;
    right: 25px;
    bottom: 0;
    animation-delay: 1s;
}

.btn-y {
    background: #27ae60;
    right: 50px;
    top: 20px;
    animation-delay: 1.5s;
}

/* Shoulder Buttons */
.shoulder-buttons {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
}

.btn-lb, .btn-rb {
    position: absolute;
    width: 50px;
    height: 15px;
    background: #7f8c8d;
    border-radius: 8px;
    animation: shoulderPulse 1.5s ease-in-out infinite;
}

.btn-lb {
    left: 0;
    animation-delay: 0s;
}

.btn-rb {
    right: 0;
    animation-delay: 0.75s;
}

/* Analog Sticks */
.analog-sticks {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
}

.stick {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #34495e;
    border-radius: 50%;
    border: 3px solid #2c3e50;
    animation: stickMove 3s ease-in-out infinite;
}

.left-stick {
    left: 0;
    animation-delay: 0s;
}

.right-stick {
    right: 0;
    animation-delay: 1.5s;
}

/* Floating Game Icons */
.floating-game-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 4s ease-in-out infinite;
    z-index: 5;
}

.floating-game-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: iconSpin 3s linear infinite;
}

.icon-label {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    text-align: center;
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

/* Game Particles */
.game-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.particle-3 {
    bottom: 40%;
    left: 40%;
    animation-delay: 2s;
}

.particle-4 {
    top: 40%;
    right: 20%;
    animation-delay: 3s;
}

.particle-5 {
    bottom: 20%;
    right: 40%;
    animation-delay: 4s;
}

.particle-6 {
    top: 80%;
    left: 60%;
    animation-delay: 5s;
}

/* Animations */
@keyframes controllerFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@keyframes leftGripPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rightGripPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes dPadGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(236, 240, 241, 0.5); }
    50% { box-shadow: 0 0 15px rgba(236, 240, 241, 0.8); }
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 5px currentColor; }
    50% { transform: scale(1.1); box-shadow: 0 0 15px currentColor; }
}

@keyframes shoulderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes stickMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5px, -5px); }
    50% { transform: translate(-3px, 3px); }
    75% { transform: translate(3px, 2px); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% { 
        transform: translateY(-40px) translateX(-5px);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-20px) translateX(-15px);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .game-elements-container {
        height: 400px;
        margin-top: 2rem;
    }
    
    .game-controller {
        width: 250px;
        height: 160px;
    }
    
    .controller-face {
        width: 160px;
        height: 100px;
    }
    
    .floating-game-icon {
        padding: 10px;
    }
    
    .floating-game-icon i {
        font-size: 1.2rem;
    }
    
    .icon-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .game-elements-container {
        height: 300px;
    }
    
    .game-controller {
        width: 200px;
        height: 120px;
    }
    
    .controller-face {
        width: 120px;
        height: 80px;
    }
    
    .floating-game-icon {
        display: none;
    }
    
    .particle {
        display: none;
    }
}

/* Enhanced floating cards for mobile */
@media (max-width: 768px) {
    .floating-card {
        display: block !important;
        position: relative !important;
        margin: 10px 0;
        transform: none !important;
    }
}