/* style.css - Complete BlackCodeLabs Stylesheet */

:root {
    --primary: #ffffff;
    --secondary: #000000;
    --accent: #888888;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #aaaaaa;
    --space-blue: #0a1128;
    --nebula-purple: #6e3bce;
    --star-yellow: #ffd700;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--light);
    background-color: var(--darker);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--light);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover:after {
    width: 100%;
}

.cta-button {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--darker);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    animation: fadeInUp 1.2s ease-out;
}

.hero .cta-button {
    animation: fadeInUp 1.4s ease-out;
}

/* Space Navigation System */
.space-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot.active {
    background: var(--light);
    box-shadow: 0 0 10px var(--light);
    transform: scale(1.3);
}

.nav-dot:hover::after {
    content: attr(data-section);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* Space Container */
#space-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(to right, var(--space-blue), var(--darker));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--light);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(200, 200, 200, 0.02));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Statistics Section */
.statistics {
    padding: 80px 0;
    background: linear-gradient(to right, var(--space-blue), var(--darker));
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23ffffff' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    min-height: 400px;
    background: linear-gradient(45deg, #3a1c71, #d76d77, #ffaf7b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.about-image-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.about-image-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--darker);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: rgba(20, 20, 20, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--light);
}

.team-member p {
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(110, 59, 206, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.testimonials-container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -15px;
    padding: 30px 15px;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px;
    background: rgba(20, 20, 20, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
    color: var(--gray);
    font-style: italic;
    line-height: 1.6;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.author-info h4 {
    color: var(--light);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Demo Section */
.demos {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--darker), var(--space-blue));
    position: relative;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.demo-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-card:hover {
    transform: translateY(-10px);
}

.demo-image {
    height: 200px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.demo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.demo-content {
    padding: 25px;
}

.demo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.demo-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.demo-button {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.demo-button:hover {
    background: var(--light);
    color: var(--dark);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(110, 59, 206, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light);
}

.newsletter p {
    color: var(--gray);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 350px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--light);
}

.newsletter-button {
    padding: 15px 30px;
    background: var(--light);
    color: var(--dark);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    background: var(--accent);
    color: var(--light);
}

/* style dropdown field */
 select {
    background-color: #1a1a2e;
    color: #ffffff;
    border: 1px solid #4cc9f0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234cc9f0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #f72585;
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.2);
}

select:hover {
    border-color: #f72585;
}

/* Style the options */
select option {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 12px;
    font-size: 16px;
}

/* For Firefox */
select option:checked {
    background-color: #4cc9f0;
    color: #0d0d1a;
}

/* For Webkit browsers (Chrome, Safari, Edge) */
select option:checked,
select option:hover {
    background-color: #4cc9f0 !important;
    color: #0d0d1a !important;
}

/* For when dropdown is open */
select:focus option {
    background-color: #1a1a2e;
    color: #ffffff;
}

select:focus option:checked {
    background-color: #4cc9f0;
    color: #0d0d1a;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    select {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* Fallback for older browsers */
.form-group select {
    position: relative;
}

.form-group::after {
    content: "▼";
    color: #4cc9f0;
    position: absolute;
    right: 20px;
    top: 70%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(50, 50, 50, 0.9));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta .cta-button {
    background: var(--dark);
    color: var(--light);
    font-size: 1.1rem;
    padding: 15px 35px;
    border: 1px solid white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cta .cta-button:hover {
    background: var(--light);
    color: var(--dark);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background-color: var(--dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(200, 200, 200, 0.02));
    z-index: -1;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.tech-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light);
}

.tech-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background-color: var(--dark);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(200, 200, 200, 0.02));
    z-index: -1;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.solution-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light);
}

.solution-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.solution-features {
    margin-top: 20px;
}

.solution-features li {
    color: var(--gray);
    margin-bottom: 8px;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.solution-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Careers Section */
.careers {
    padding: 100px 0;
    background-color: var(--dark);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.job-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.job-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light);
}

.job-details {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.job-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.apply-button {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.apply-button:hover {
    background: var(--light);
    color: var(--dark);
}

.benefits {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--light);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.benefit-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--light);
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.blog-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.read-more:hover {
    background: var(--light);
    color: var(--dark);
}

.categories {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.categories h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.category-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.category-item i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--accent);
}

.category-item span {
    color: var(--light);
    font-weight: 500;
}

/* Blog Modal Styles */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.blog-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blog-modal-content {
    background-color: var(--dark);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.blog-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.blog-modal-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.3;
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.blog-modal-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.blog-modal-meta i {
    margin-right: 5px;
}

.blog-modal-category {
    display: inline-block;
    background: rgba(110, 59, 206, 0.2);
    color: var(--nebula-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-modal-image {
    height: 350px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.blog-modal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.blog-modal-body {
    padding: 30px;
}

.blog-modal-intro {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
    border-left: 3px solid var(--nebula-purple);
    padding-left: 15px;
}

.blog-modal-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.blog-modal-text h4 {
    color: var(--light);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.blog-modal-text p {
    margin-bottom: 15px;
}

.blog-modal-text ul, .blog-modal-text ol {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-modal-text li {
    margin-bottom: 8px;
}

/* Interactive Elements */
.interactive-elements {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.reactions {
    display: flex;
    gap: 15px;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.reaction-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.reaction-btn.active {
    background: var(--nebula-purple);
    border-color: var(--nebula-purple);
}

.reaction-count {
    font-size: 0.9rem;
    color: var(--light);
}

.save-share {
    display: flex;
    gap: 15px;
}

.save-btn, .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.save-btn:hover, .share-btn:hover {
    background-color: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

.save-btn.active {
    background-color: var(--star-yellow);
    color: var(--dark);
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.comments-title {
    font-size: 1.5rem;
    color: var(--light);
}

.comments-count {
    background: var(--nebula-purple);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.comment-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.comment-form h4 {
    color: var(--light);
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--light);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--nebula-purple);
    box-shadow: 0 0 0 2px rgba(110, 59, 206, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--nebula-purple);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--space-blue);
    transform: translateY(-2px);
}

.comments-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 3px solid var(--nebula-purple);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h5 {
    color: var(--light);
    margin-bottom: 3px;
}

.comment-date {
    color: var(--gray);
    font-size: 0.8rem;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.comment-action {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-action:hover {
    color: var(--light);
}

.comment-text {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-reply {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-form {
    display: none;
    margin-top: 15px;
}

.reply-form.active {
    display: block;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 120px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.related-content {
    padding: 15px;
}

.related-content h4 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-meta {
    color: var(--gray);
    font-size: 0.8rem;
}

.blog-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-modal-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.blog-modal-share {
    display: flex;
    gap: 10px;
}

.blog-modal-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-modal-share a:hover {
    background-color: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--darker);
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--light);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background-color: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: var(--error);
}

.toast.warning {
    background: var(--warning);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 5px solid var(--light);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        text-align: center;
    }

    .tech-card {
        text-align: center;
    }

    .solution-card {
        text-align: center;
    }
    
    .feature-card, .team-member {
        text-align: center;
    }
    
    .job-card {
        text-align: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .blog-card {
        text-align: center;
    }
    
    .blog-meta {
        justify-content: center;
    }
    
    #space-container {
        display: none;
    }
    
    .space-nav {
        display: none;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 30px);
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        max-width: 100%;
    }
    
    /* Blog Modal Responsive */
    .blog-modal-content {
        margin: 20px auto;
    }
    
    .blog-modal-header {
        padding: 20px 20px 15px;
    }
    
    .blog-modal-title {
        font-size: 1.8rem;
        margin-right: 40px;
    }
    
    .blog-modal-image {
        height: 200px;
    }
    
    .blog-modal-body {
        padding: 20px;
    }
    
    .interactive-elements {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .blog-modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .blog-modal-share {
        align-self: flex-end;
    }

    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ADD HAMBURGER MENU STYLES HERE - AT THE END OF YOUR EXISTING CSS */

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    z-index: 1001;
    position: relative;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Responsive Styles - Added to existing ones */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.8rem);
    }
    
    .hero p {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
    }
    
    .section-title h2 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    
    .section-title p {
        font-size: clamp(1rem, 2vw, 1.1rem);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .features, .statistics, .about, .team, .testimonials, .demos, .newsletter, .cta,
    .technology, .solutions, .careers, .blog {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .stat-number {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .stat-label {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
}

@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        z-index: 1000;
        transition: right 0.3s ease;
        display: flex !important; /* Override existing display: none */
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 20px 30px;
        width: 100%;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:after {
        display: none;
    }
    
    /* Hide CTA button in mobile menu */
    nav .cta-button {
        display: none !important;
    }
    
    /* Hero adjustments */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    
    /* Hide space navigation on mobile */
    .space-nav {
        display: none;
    }
    
    /* Hide space container on mobile for performance */
    #space-container {
        display: none;
    }
    
    /* Adjust feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        text-align: center;
        padding: 25px;
    }
    
    .feature-icon {
        margin: 0 auto 20px;
    }
    
    /* Adjust statistics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    /* Adjust about section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        min-height: 250px;
    }
    
    /* Adjust team section */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .team-member-image {
        width: 120px;
        height: 120px;
    }
    
    /* Adjust testimonials */
    .testimonial {
        flex: 0 0 calc(100% - 30px) !important;
        min-width: 280px;
    }
    
    .testimonial-slider {
        gap: 20px;
        padding: 20px 15px;
    }
    
    /* Adjust demo cards */
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Adjust newsletter form */
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input, .newsletter-button {
        max-width: 100%;
        width: 100%;
    }
    
    /* Adjust CTA */
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    /* Adjust technology section */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-card {
        text-align: center;
        padding: 25px;
    }
    
    .tech-icon {
        margin: 0 auto 20px;
    }
    
    /* Adjust solutions section */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-card {
        text-align: center;
        padding: 25px;
    }
    
    .solution-icon {
        margin: 0 auto 20px;
    }
    
    /* Adjust careers section */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-card {
        text-align: center;
        padding: 25px;
    }
    
    .job-icon {
        margin: 0 auto 15px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Adjust blog section */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        text-align: center;
    }
    
    .blog-meta {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Adjust statistics */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Adjust team section */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust testimonials */
    .testimonial-slider {
        padding: 20px 10px;
        margin: 0 -10px;
    }
    
    .testimonial {
        min-width: calc(100% - 20px) !important;
    }
    
    /* Adjust newsletter form */
    .newsletter-form {
        width: 100%;
    }
    
    /* Adjust footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Adjust section padding */
    .features, .statistics, .about, .team, .testimonials, .demos, .newsletter, .cta,
    .technology, .solutions, .careers, .blog {
        padding: 50px 0;
    }
    
    /* Adjust mobile menu width */
    .nav-links {
        width: 100%;
    }
    
    /* Adjust blog modal */
    .blog-modal-content {
        margin: 20px auto;
    }
    
    .blog-modal-header {
        padding: 20px 20px 15px;
    }
    
    .blog-modal-title {
        font-size: 1.8rem;
        margin-right: 40px;
    }
    
    .blog-modal-image {
        height: 200px;
    }
    
    .blog-modal-body {
        padding: 20px;
    }
    
    .interactive-elements {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .blog-modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .blog-modal-share {
        align-self: flex-end;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .team-member, .demo-card, .testimonial,
    .tech-card, .solution-card, .job-card, .blog-card {
        padding: 20px;
    }
    
    .feature-icon, .tech-icon, .solution-icon, .team-member-image {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .team-member-image {
        font-size: 40px;
    }
    
    .job-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .cta-button, .apply-button, .read-more, .demo-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .newsletter-input, .newsletter-button {
        padding: 12px 20px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .nav-links {
        padding-top: 80px;
    }
    
    .nav-links a {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* High-resolution screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 3.5rem;
    }
}

/* Print styles */
@media print {
    .space-nav, #space-container, .hamburger, .cta-button, .loading,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .feature-card, .team-member, .demo-card, .testimonial,
    .tech-card, .solution-card, .job-card, .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Certificate Styles */
.certificate-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #1a237e, #0a0a0a);
    position: relative;
    overflow: hidden;
}

.certificate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(25, 118, 210, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245, 124, 0, 0.2) 0%, transparent 40%);
    z-index: 0;
}

.certificate-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.certificate-hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.certificate-container {
    padding: 80px 0;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.certificate-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Certificate Design */
.certificate {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px;
    position: relative;
    border: 20px solid transparent;
    border-image: linear-gradient(45deg, #1a237e, #0d47a1, #1565c0);
    border-image-slice: 1;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Certificate Border Decoration */
.certificate-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.border-corner {
    position: absolute;
    width: 80px;
    height: 80px;
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-top: 3px solid #1a237e;
    border-left: 3px solid #1a237e;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-top: 3px solid #1a237e;
    border-right: 3px solid #1a237e;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 3px solid #1a237e;
    border-left: 3px solid #1a237e;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 3px solid #1a237e;
    border-right: 3px solid #1a237e;
}

/* Certificate Header */
.certificate-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.certificate-logo {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 20px;
}

.certificate-title {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.certificate-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

/* Certificate Body */
.certificate-body {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.certificate-awarded {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300;
}

.recipient-name {
    font-size: 4rem;
    color: #1a237e;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px 0;
    border-top: 2px solid #1a237e;
    border-bottom: 2px solid #1a237e;
    display: inline-block;
    min-width: 70%;
    letter-spacing: 2px;
}

.certificate-text {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.course-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.8rem;
    color: #1a237e;
    font-weight: 600;
}

/* Certificate Footer */
.certificate-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
    position: relative;
    z-index: 2;
}

.signature-block {
    text-align: center;
    flex: 1;
}

.signature-line {
    width: 200px;
    height: 1px;
    background: #333;
    margin: 20px auto;
}

.signature-name {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-top: 10px;
}

.signature-title {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Certificate Seal */
.certificate-seal {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.seal-inner {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.seal-icon {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 5px;
}

.seal-text {
    font-size: 0.8rem;
    color: #1a237e;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Certificate Actions */
.certificate-actions {
    background: rgba(20, 20, 20, 0.9);
    padding: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-button {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    border: none;
}

.download-btn {
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    color: white;
}

.download-btn:hover {
    background: linear-gradient(45deg, #0d47a1, #1a237e);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.3);
}

.print-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.print-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

.share-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.share-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

.verify-btn {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
}

.verify-btn:hover {
    background: linear-gradient(45deg, #2E7D32, #4CAF50);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

/* Certificate Verification */
.verification-section {
    padding: 80px 0;
    background-color: var(--dark);
}

.verification-container {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.verification-title {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 20px;
    text-align: center;
}

.verification-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
}

.verify-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.verify-button:hover {
    background: linear-gradient(45deg, #2E7D32, #4CAF50);
    transform: translateY(-2px);
}

.verification-result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    display: none;
}

.verification-result.valid {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.verification-result.invalid {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

.result-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-title.valid {
    color: #4CAF50;
}

.result-title.invalid {
    color: #f44336;
}

.result-details {
    color: var(--gray);
    line-height: 1.6;
}

/* Certificate Gallery */
.certificate-gallery {
    padding: 80px 0;
    background-color: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 200px;
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.gallery-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Modal for Certificate Preview */
.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.certificate-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.5s ease;
}

.modal-certificate {
    padding: 40px;
    min-height: 600px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .certificate {
        padding: 40px;
        min-height: 700px;
    }
    
    .recipient-name {
        font-size: 3rem;
    }
    
    .certificate-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .certificate-hero h1 {
        font-size: 2.5rem;
    }
    
    .certificate {
        padding: 30px;
        min-height: auto;
    }
    
    .certificate-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .recipient-name {
        font-size: 2.5rem;
        min-width: 90%;
    }
    
    .certificate-text {
        font-size: 1.2rem;
    }
    
    .certificate-footer {
        flex-direction: column;
        gap: 30px;
    }
    
    .certificate-seal {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 30px auto 0;
    }
    
    .course-details {
        gap: 20px;
    }
    
    .detail-value {
        font-size: 1.5rem;
    }
    
    .certificate-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media print {
    .certificate-actions,
    .verification-section,
    .certificate-gallery,
    header,
    footer {
        display: none !important;
    }
    
    .certificate {
        border: none;
        box-shadow: none;
        min-height: auto;
    }
    
    .certificate-container {
        padding: 0;
        background: white;
    }
    
    .certificate-card {
        box-shadow: none;
        border-radius: 0;
    }
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

/* Add responsive design for mobile */
@media (max-width: 480px) {
    .certificate-hero h1 {
        font-size: 2rem;
    }
    
    .certificate {
        padding: 20px;
    }
    
    .certificate-title {
        font-size: 1.8rem;
    }
    
    .recipient-name {
        font-size: 2rem;
        padding: 15px 10px;
    }
    
    .certificate-text {
        font-size: 1rem;
    }
    
    .course-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .detail-value {
        font-size: 1.2rem;
    }
    
    .verification-container {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .toast-notification {
        min-width: 250px;
        max-width: 300px;
        padding: 12px 15px;
    }
}

/* Add dark mode support */
@media (prefers-color-scheme: dark) {
    .certificate {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #e0e0e0;
    }
    
    .certificate-text {
        color: #b0b0b0;
    }
    
    .detail-value {
        color: #4fc3f7;
    }
}

/* Contact Page Specific Styles */
.contact {
    padding: 100px 0;
    background-color: var(--dark);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
}

.info-card p {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form-container {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light);
}

.contact-form-header p {
    color: var(--gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--light);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    background: var(--light);
    color: var(--dark);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--accent);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--darker);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.office-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.office-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.office-card p {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.office-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.office-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-placeholder {
    height: 300px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(110, 59, 206, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.map-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.map-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light);
}

.map-content p {
    color: var(--gray);
    max-width: 400px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--light);
    margin: 0;
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Active link styling in navigation */
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active:after {
    width: 100%;
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .map-section, .faq {
        padding: 60px 0;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .map-content i {
        font-size: 3rem;
    }
    
    .map-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .info-card, .office-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .map-placeholder {
        height: 150px;
    }
    
    .map-content i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .map-content h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
}

/* Additional styles for courses page */
.courses-hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--space-blue), var(--darker));
    position: relative;
    overflow: hidden;
}

.courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(110, 59, 206, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.courses-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.courses-hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 5px;
    background: linear-gradient(45deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.courses-section {
    padding: 80px 0;
    background-color: var(--darker);
}

.courses-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--light);
    color: var(--dark);
    border-color: var(--light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.course-badge.popular {
    background: linear-gradient(45deg, var(--star-yellow), #ff9800);
    color: var(--dark);
}

.course-badge.new {
    background: linear-gradient(45deg, var(--success), #4CAF50);
    color: white;
}

.course-badge.advanced {
    background: linear-gradient(45deg, var(--error), #f44336);
    color: white;
}

.course-badge.kids {
    background: linear-gradient(45deg, #FF8C42, #FFB347);
    color: var(--dark);
}

.course-image {
    height: 200px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-category {
    display: inline-block;
    background: rgba(110, 59, 206, 0.2);
    color: var(--nebula-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.4;
}

.course-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.course-meta-item i {
    color: var(--accent);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

.course-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 5px;
}

.course-button {
    padding: 10px 25px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.course-button:hover {
    background: var(--light);
    color: var(--dark);
}

.learning-platform {
    padding: 80px 0;
    background-color: var(--dark);
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.platform-feature {
    text-align: center;
    padding: 30px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-feature:hover {
    transform: translateY(-5px);
}

.platform-feature i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.platform-feature p {
    color: var(--gray);
    line-height: 1.6;
}

/* Course Modal Styles */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.course-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.course-modal-content {
    background-color: var(--dark);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.5s ease;
}

.course-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.course-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.course-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.course-modal-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--light);
    line-height: 1.3;
}

.course-modal-meta {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.course-modal-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-modal-image {
    height: 300px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.course-modal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.course-modal-body {
    padding: 30px;
}

.course-modal-intro {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
    border-left: 3px solid var(--nebula-purple);
    padding-left: 15px;
}

.course-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.detail-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-value {
    color: var(--light);
    font-size: 1.2rem;
    font-weight: 600;
}

.curriculum-section {
    margin: 40px 0;
}

.curriculum-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
}

.curriculum-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.curriculum-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.curriculum-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.curriculum-header h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin: 0;
}

.curriculum-icon {
    color: var(--accent);
    transition: transform 0.3s;
}

.curriculum-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.curriculum-item.active .curriculum-content {
    max-height: 500px;
    padding: 20px;
}

.curriculum-item.active .curriculum-icon {
    transform: rotate(180deg);
}

.curriculum-lessons {
    list-style: none;
}

.curriculum-lessons li {
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.curriculum-lessons li:last-child {
    border-bottom: none;
}

.curriculum-lessons li i {
    margin-right: 10px;
    color: var(--accent);
}

.instructor-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
}

.instructor-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    flex-shrink: 0;
}

.instructor-details h4 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.instructor-details p {
    color: var(--gray);
    line-height: 1.6;
}

.enrollment-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.enrollment-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 10px;
}

.enrollment-price span {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 5px;
}

.enrollment-details {
    color: var(--gray);
    margin-bottom: 25px;
}

.enrollment-button {
    padding: 15px 40px;
    background: var(--nebula-purple);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.enrollment-button:hover {
    background: var(--space-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 59, 206, 0.3);
}

/* Registration Modal Styles */
.registration-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.registration-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.registration-modal-content {
    background-color: var(--dark);
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: modalFadeIn 0.5s ease;
}

.registration-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.registration-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
}

.registration-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.registration-modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--light);
    line-height: 1.3;
}

.registration-modal-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 5px;
}

.registration-modal-body {
    padding: 30px;
}

.registration-form .form-group {
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: var(--nebula-purple);
    box-shadow: 0 0 0 2px rgba(110, 59, 206, 0.2);
}

.registration-form textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.payment-summary h4 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray);
}

.payment-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-weight: 600;
    font-size: 1.2rem;
}

.submit-registration {
    width: 100%;
    padding: 15px;
    background: var(--nebula-purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-registration:hover {
    background: var(--space-blue);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .courses-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-modal-content,
    .registration-modal-content {
        margin: 20px auto;
    }
    
    .course-modal-header,
    .registration-modal-header {
        padding: 20px 20px 15px;
    }
    
    .course-modal-title,
    .registration-modal-title {
        font-size: 1.8rem;
    }
    
    .course-modal-image {
        height: 200px;
    }
    
    .course-modal-body,
    .registration-modal-body {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .instructor-info {
        flex-direction: column;
        text-align: center;
    }
    
    .courses-filter {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .courses-hero h1 {
        font-size: 2rem;
    }
    
    .courses-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.8rem;
    }
    
    .course-card {
        margin-bottom: 20px;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
    
    .course-price {
        font-size: 1.5rem;
    }
    
    .course-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .courses-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

/* Games Page Specific Styles */
.coming-soon {
    opacity: 0.8;
    position: relative;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--nebula-purple);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
    animation: pulse 2s infinite;
}

.blog-meta span i {
    margin-right: 5px;
}

.blog-meta span:first-child {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.blog-meta span:nth-child(2) {
    background: rgba(255, 215, 0, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.blog-card.coming-soon .read-more {
    display: none;
}

.read-more {
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    border: none;
    color: white;
}

.read-more:hover {
    background: linear-gradient(45deg, var(--space-blue), var(--nebula-purple));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 59, 206, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive styles for games page */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .blog-card {
        text-align: center;
    }
    
    .blog-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .blog-meta span {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        max-width: 100%;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .read-more {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Additional styles for enhanced solutions page */
.solutions-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--space-blue), var(--darker));
    position: relative;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(110, 59, 206, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.solutions-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.solutions-hero p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.solution-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(110, 59, 206, 0.3);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 59, 206, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    color: var(--nebula-purple);
}

.solution-features {
    margin-top: 20px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-features {
    transform: translateY(-5px);
}

.solution-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.solution-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nebula-purple);
    font-weight: bold;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-features li:before {
    color: var(--star-yellow);
    transform: scale(1.2);
}

.solution-features li:hover {
    transform: translateX(5px);
    color: var(--light);
}

.solution-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: transparent;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
}

.solution-card:hover .solution-cta {
    opacity: 1;
    transform: translateY(0);
}

.solution-cta:hover {
    background: var(--light);
    color: var(--dark);
}

.industry-stats {
    padding: 100px 0;
    background: var(--darker);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(110, 59, 206, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--star-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
}

.case-studies {
    padding: 100px 0;
    background: var(--dark);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-study-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(110, 59, 206, 0.3);
}

.case-study-image {
    height: 200px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.case-study-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.case-study-content {
    padding: 25px;
}

.case-study-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.case-study-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-industry {
    background: rgba(110, 59, 206, 0.2);
    color: var(--nebula-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-results {
    color: var(--star-yellow);
    font-weight: 600;
}

.solution-process {
    padding: 100px 0;
    background: var(--darker);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--nebula-purple), transparent);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--nebula-purple), var(--space-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(110, 59, 206, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(110, 59, 206, 0.5);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
}

.step-description {
    color: var(--gray);
    line-height: 1.6;
}

.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--space-blue), var(--darker));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(110, 59, 206, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--light);
}

.cta-content p {
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.demo-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--nebula-purple);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(110, 59, 206, 0.3);
}

.demo-button:hover {
    background: var(--star-yellow);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

/* Mobile Space Container Optimization */
@media (max-width: 768px) {
    #space-container {
        display: block !important; /* Override the display: none */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.3; /* Reduce opacity for better readability */
        pointer-events: none; /* Don't interfere with touch events */
    }
    
    /* Make hero content more visible over space background */
    .hero-content {
        background: rgba(10, 10, 10, 0.7);
        padding: 20px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    
    /* Reduce star count for mobile performance */
    .mobile-space {
        display: block;
    }
    
    /* Ensure text is readable */
    .hero h1 {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .hero p {
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .solutions-hero h1 {
        font-size: 2.5rem;
    }
    
    .solutions-hero p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

/* Demo Button in Header */
.header-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--nebula-purple), var(--space-blue));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(110, 59, 206, 0.3);
}

.header-demo-btn::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;
}

.header-demo-btn:hover::before {
    left: 100%;
}

.header-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 59, 206, 0.4);
    background: linear-gradient(45deg, var(--space-blue), var(--nebula-purple));
}

.header-demo-btn i {
    font-size: 1rem;
}

/* Hide demo button in mobile menu */
.nav-links .header-demo-btn {
    display: none;
}

/* Enhanced Responsive Header */
@media (max-width: 1200px) {
    .header-demo-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-left: 15px;
    }
}

@media (max-width: 992px) {
    .header-demo-btn {
        padding: 9px 18px;
        font-size: 0.85rem;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    /* Hide demo button in navigation on mobile */
    .header-demo-btn.desktop-only {
        display: none !important;
    }
    
    /* Show demo button in mobile menu */
    .nav-links .header-demo-btn {
        display: flex;
        margin: 20px auto 0;
        width: 80%;
        justify-content: center;
        order: 999;
    }
    
    /* Adjust mobile menu for demo button */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .header-demo-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .nav-links .header-demo-btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .header-demo-btn:hover {
        transform: none;
    }
    
    .header-demo-btn:active {
        transform: scale(0.98);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .header-demo-btn {
        transition: none;
    }
    
    .header-demo-btn::before {
        display: none;
    }
    
    .header-demo-btn:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .header-demo-btn {
        border: 2px solid white;
    }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .header-demo-btn {
        background: linear-gradient(45deg, #7d4fe0, #0f2258);
    }
    
    .header-demo-btn:hover {
        background: linear-gradient(45deg, #0f2258, #7d4fe0);
    }
}

/* Debug info panel - Basic 
.debug-info {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #191c1f 100%);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #493b34;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
    display: flex; align-items: center; justify-content: center;
} */
