:root {
    --theme-color: #2AC0FB;
    --dark-bg: #1A1A1A;
    --light-bg: #f5f5f5;
    --card-bg: #252525;
    --dark-text: #1A1A1A;
    --light-text: #FFFFFF;
    --transition: all 0.4s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --accent-color: #2AC0FB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    transition: var(--transition);
    overflow-x: hidden;
}

body.light {
    background-color: var(--light-bg);
    color: var(--dark-text);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Navbar - Kept as is */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

body.light .navbar {
    background-color: rgba(245, 245, 245, 0.9);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    transition: var(--transition);
}

.logo-white {
    display: block;
}

.logo-black {
    display: none;
}

body.light .logo-white {
    display: none;
}

body.light .logo-black {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

body.light .nav-link {
    color: var(--dark-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--theme-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

body.light .theme-toggle {
    color: var(--dark-text);
}

.mobile-menu {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

body.light .mobile-menu {
    color: var(--dark-text);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Content Sections - Simplified for slide animations */
.content-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    opacity: 0; /* Initially hidden */
    will-change: transform, opacity; /* Performance optimization */
}

.content-section:nth-child(even) {
    background-color: var(--card-bg);
}

body.light .content-section:nth-child(even) {
    background-color: #e9e9e9;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    z-index: 1;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--theme-color);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Text Content */
.text-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.text-content p:last-child {
    margin-bottom: 0;
}

/* Image Content */
.image-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: transform 0.5s ease;
}

.image-content img:hover {
    transform: scale(1.05);
}

/* Highlight Text */
.highlight {
    position: relative;
    transition: color 0.3s ease;
}

/* Footer - Kept as is */
.footer {
    background-color: var(--dark-bg);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

body.light .footer {
    background-color: #333;
    color: var(--light-text);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--theme-color);
}

.footer-logo p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--theme-color);
    transform: translateY(-5px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--theme-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--theme-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Canvas Background */
#canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color), #64B5F6);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        transition: var(--transition);
    }
    
    body.light .nav-links {
        background-color: var(--light-bg);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 6rem 0;
    }
    
    .section-content {
        gap: 2rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
}