/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1e3888;
    --secondary-color: #2c5aa0;
    --accent-color: #f59e0b;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: inline-block;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(30, 56, 136, 0.4);
    transform: translateY(-2px);
    border: 2px solid var(--accent-color);
    font-weight: 600;
}

/* Button Styles */
.nav-link.login-btn, 
.nav-link.register-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: 2px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link.login-btn:hover, 
.nav-link.register-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 20px 0 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Registration Steps */
.registration-steps {
    padding: 50px 0;
    background-color: var(--gray-light);
}

.registration-steps h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* FAQ Preview */
.faq-preview {
    padding: 100px 0;
    background-color: #f8f9fa;
    font-size: 1.1rem;
    position: relative;
}

.faq-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.faq-preview h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.faq-preview > p {
    text-align: center;
    margin-bottom: 5rem;
    color: var(--gray-700);
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    display: block;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.faq-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-header {
    background-color: var(--primary-color);
    padding: 1.2rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

.faq-header h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.faq-link {
    color: var(--white);
 
    transition: var(--transition);
}

.faq-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.faq-content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.faq-content p {
    color: var(--gray-800);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    text-align: left;
}

.faq-preview .btn {
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(30, 56, 136, 0.2);
}

.faq-preview .btn:hover {
    background-color: #1a2f6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 56, 136, 0.3);
}

.faq-preview .btn::before {
    content: "Have more questions about Indore Games?";
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2c5aa0);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--white);
    padding-top: 2rem;
    text-align: center;
    color: var(--white);
}

/* Page Content */
.page-content {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-section p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-section li {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* 404 Page */
.error-page {
    text-align: center;
    padding: 120px 0 80px;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-page h2 {
    font-size: 2rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 999;
        /* padding: 2rem 0; */
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
    }
    
    .login-btn, .register-btn {
        margin: var(--spacing-xs) auto;
        display: inline-block;
        min-width: 120px;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .registration-steps h2,
    .features h2,
    .faq-preview h2,
    .cta h2 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {

    .features-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .error-page h1 {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .registration-steps,
    .features,
    .faq-preview,
    .cta {
        padding: 60px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step,
    .feature {
        padding: 1.5rem;
    }

    .faq-preview h2 {
        font-size: 2.2rem;
    }

    .faq-preview > p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .faq-header {
        padding: 1rem 1.2rem;
    }

    .faq-header h3 {
        font-size: 1rem;
    }

    .faq-content {
        padding: 1.5rem 1.2rem;
    }

    .faq-content p {
        font-size: 0.95rem;
    }

    .faq-preview .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* AOS (Animate On Scroll) Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animation Classes - Initial hidden state */
.aos-fade-up,
.aos-fade-right,
.aos-fade-left {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.aos-fade-right {
    transform: translateX(30px);
}

.aos-fade-left {
    transform: translateX(-30px);
}

/* Animation delays for staggered effects */
.aos-delay-100 {
    transition-delay: 0.1s;
}

.aos-delay-200 {
    transition-delay: 0.2s;
}

.aos-delay-300 {
    transition-delay: 0.3s;
}

.aos-delay-400 {
    transition-delay: 0.4s;
}

.aos-delay-500 {
    transition-delay: 0.5s;
}

/* Intersection Observer triggered animations */
.aos-animate {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

/* Fallback for browsers without Intersection Observer support */
.no-js .aos-fade-up,
.no-js .aos-fade-right,
.no-js .aos-fade-left {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .aos-fade-up,
    .aos-fade-right,
    .aos-fade-left {
        opacity: 1 !important;
        transform: translateY(0) translateX(0) !important;
        transition: none !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --black: #000000;
        --white: #ffffff;
    }
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-method p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-method ul {
    margin-left: 1.5rem;
}

.contact-method li {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

/* Error Page Styles */
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.error-suggestions {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.error-suggestions h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.error-suggestions ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.error-suggestions li {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--shadow);
}

.error-suggestions a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.error-suggestions a:hover {
    color: var(--gray-dark);
}

.error-help {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.error-help h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-help ul {
    margin-left: 1.5rem;
}

.error-help li {
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

/* Form Select Styling */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Print styles */
@media print {
    .header,
    .hamburger,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-content {
        padding: 0;
    }
}