






:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-red: #ff3333;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-red: linear-gradient(135deg, #ff3333 0%, #ff6b35 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6b35;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}




/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

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

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}




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

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

.hero-video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 50px rgba(255, 51, 51, 0.5);
    transition: text-shadow 0.1s ease-in-out;
}

.hero-subtitle {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(-45deg);
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #111;
      color: white;
    }

    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(10, 10, 10, 0.95);
      border-bottom: 1px solid rgba(255, 51, 51, 0.2);
      z-index: 1000;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
    }

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

    .logo-img {
      height: 40px;
      margin-right: 10px;
    }

    .logo-text {
      font-size: 20px;
      font-weight: bold;
      color: #ff3333;
    }

    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: rgba(10, 10, 10, 0.98);
      border-top: 1px solid rgba(255, 51, 51, 0.1);
      padding: 20px 0;
      text-align: center;
      z-index: 2000; /* ensures it's clickable */
    }

    .nav-menu.active {
      display: flex;
    }

    .nav-link {
      color: white;
      text-decoration: none;
      padding: 10px 0;
      font-size: 18px;
    }

    .nav-link:hover {
      color: #ff3333;
    }

    .nav-toggle {
      display: flex;
      flex-direction: column;
      cursor: pointer;
    }

    .bar {
      height: 3px;
      width: 25px;
      background: white;
      margin: 4px 0;
    }

    /* Desktop view */
    @media(min-width: 768px) {
      .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
        width: auto;
        padding: 0;
      }

      .nav-link {
        padding: 0 15px;
      }

      .nav-toggle {
        display: none;
      }
    }

    /* Fake content so you can scroll */
    section {
      height: 100vh;
      padding-top: 80px;
    }



/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        border-top: 1px solid rgba(255, 51, 51, 0.1);
        padding: 20px 0;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        margin: 10px 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 24px;
    }
}




/* General Section Styling */
section {
    padding: 80px 0;
    position: relative;
    z-index: 3;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
}




/* Projects Section */
.projects-section {
    background-color: var(--secondary-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.project-card {
    background-color: var(--primary-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 51, 51, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.1) 0%, rgba(26, 26, 26, 1) 100%);
}

.project-icon {
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
    border: 3px solid var(--accent-red);
    padding: 5px;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
}

.project-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-card p {
    font-size: 16px;
    color: var(--text-secondary);
}



/* Enhanced Dark Theme Styling */
body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    background-attachment: fixed;
}

/* Professional Glow Effects */
.glow-effect {
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}

/* Enhanced Navigation */
.navbar {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 51, 51, 0.1);
}

.nav-logo:hover .logo-text {
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
    transition: text-shadow 0.3s ease;
}

/* Professional Button Styling */
.btn-primary {
    background: var(--gradient-red);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.5);
}

/* Enhanced Hero Section */
.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #ff3333 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 51, 51, 0.5));
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

/* Professional Card Styling */
.card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 51, 51, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 51, 51, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Subtle Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Scroll Indicator */
.scroll-indicator:hover {
    color: var(--accent-red);
    transition: color 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--accent-red);
    animation: bounce-fast 1s infinite;
}

@keyframes bounce-fast {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-15px) rotate(-45deg); }
    60% { transform: translateY(-8px) rotate(-45deg); }
}


/* Professional Spacing and Layout */
.section-padding {
    padding: 100px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Enhanced Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-icon {
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.7);
}

/* Professional Text Styling */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Professional Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Enhanced Hover Effects */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
}

/* Professional Shadows */
.shadow-soft {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.shadow-medium {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.shadow-strong {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Accent Border */
.accent-border {
    border: 1px solid rgba(255, 51, 51, 0.2);
}

.accent-border:hover {
    border-color: rgba(255, 51, 51, 0.5);
}


/* Professional Typography System */
.typography-h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.typography-h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.typography-h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.typography-body-large {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
}

.typography-body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.typography-caption {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Professional Layout Grid */
.layout-grid {
    display: grid;
    gap: 2rem;
}

.layout-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.layout-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.layout-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Professional Spacing System */
.spacing-xs { margin: 0.5rem; }
.spacing-sm { margin: 1rem; }
.spacing-md { margin: 1.5rem; }
.spacing-lg { margin: 2rem; }
.spacing-xl { margin: 3rem; }
.spacing-2xl { margin: 4rem; }

.spacing-y-xs { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.spacing-y-sm { margin-top: 1rem; margin-bottom: 1rem; }
.spacing-y-md { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.spacing-y-lg { margin-top: 2rem; margin-bottom: 2rem; }
.spacing-y-xl { margin-top: 3rem; margin-bottom: 3rem; }
.spacing-y-2xl { margin-top: 4rem; margin-bottom: 4rem; }

/* Enhanced Professional Layout */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-title {
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Professional Content Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Enhanced Visual Hierarchy */
.visual-hierarchy-primary {
    color: var(--text-primary);
    font-weight: 700;
}

.visual-hierarchy-secondary {
    color: var(--text-secondary);
    font-weight: 500;
}

.visual-hierarchy-accent {
    color: var(--accent-red);
    font-weight: 600;
}

/* Professional Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

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

/* Enhanced Project Grid Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    height: 100%;
}

.project-card h3 {
    margin: 1.5rem 0 1rem 0;
    font-size: 1.5rem;
}

.project-card p {
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

