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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #d0d0d0;
    background: #1a1a1a;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #d0d0d0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Applications Section */
.applications {
    padding: 100px 0;
    background: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-header p {
    font-size: 18px;
    color: #a0a0a0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    background: #222222;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.app-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.app-card-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.app-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(34, 34, 34, 1) 0%, rgba(34, 34, 34, 0.2) 10%, transparent 100%);
}

.app-card-content {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.app-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #ffffff;
}

.app-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

.app-details {
    display: none;
    margin-top: 24px;
    padding: 24px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2f2f2f;
}

.app-details.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-details h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #3b82f6;
}

.app-details ul {
    margin-left: 20px;
    color: #a0a0a0;
}

.app-details li {
    margin-bottom: 8px;
}

/* Features Section - Different Color */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #3b82f6;
    font-weight: 700;
    position: relative;
    transition: all 0.3s;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item:hover .feature-icon {
    transform: translateY(-4px);
}

.feature-item:hover .feature-icon::before {
    opacity: 0.3;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-item p {
    color: #a0a0a0;
}

/* Technology Stack Section */
.tech-stack {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-item {
    background: #222222;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #2f2f2f;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tech-item:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.tech-logo {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2f2f2f;
}

.tech-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.tech-item h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
}

.tech-item p {
    font-size: 14px;
    color: #a0a0a0;
}


/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: #222222;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    padding: 48px;
    margin-top: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 6px;
    color: #d0d0d0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #222222;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }
}


/* Footer */
footer {
    background: #0f0f0f;
    color: #d0d0d0;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #ffffff;
}

.footer-section p,
.footer-section a {
    color: #808080;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    color: #666;
}

/* Footer */
footer {
    background: #0f0f0f;
    color: #d0d0d0;
    padding: 60px 0 30px;
    border-top: 1px solid #2a2a2a;
}

/* Project Showcase Carousel */
.bg-video {
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    /* transform: translate(-50%, -50%); */
    z-index: -1;
    /* behind content */
    object-fit: cover;
}

.project-showcase {
    padding: 100px 0;
    background: #1a1a1a;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 48px auto 0;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-image {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.3s;
}

.carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.carousel-item:hover .carousel-image::after {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.carousel-item:hover .carousel-overlay {
    opacity: 1;
}

.carousel-overlay h3 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}

.carousel-overlay p {
    font-size: 18px;
    color: #d0d0d0;
    text-align: center;
    max-width: 700px;
    line-height: 1.6;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #3b82f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-button:hover {
    transform: translateY(-50%) translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.carousel-button.prev {
    left: 24px;
}

.carousel-button.next {
    right: 24px;
}

.carousel-button svg {
    width: 24px;
    height: 24px;
    fill: #3b82f6;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: #1a1a1a;
}

/* Capabilities Deep Dive Section */
.capabilities-dive {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.capabilities-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.capability-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.capability-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.capability-background video,
.capability-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.01) 15%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.capability-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 140px;
    width: 100%;
}

.capability-content h2 {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 48px;
    line-height: 1.2;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
}

.capability-item {
    background: rgba(34, 34, 34, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 20px 24px;
    transition: all 0.3s;
}

.capability-item:hover {
    background: rgba(34, 34, 34, 0.8);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateX(8px);
}

.capability-item h4 {
    font-size: 18px;
    color: #3b82f6;
    margin-bottom: 8px;
    font-weight: 600;
}

.capability-item p {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.5;
}

/* Large screen optimizations */
@media (min-width: 1600px) {
    .capability-content h2 {
        font-size: 72px;
        margin-bottom: 64px;
    }

    .capability-grid {
        max-width: 1200px;
        gap: 32px;
    }

    .capability-item {
        padding: 28px 32px;
    }

    .capability-item h4 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .capability-item p {
        font-size: 17px;
        line-height: 1.6;
    }
}

@media (min-width: 2000px) {
    .capability-content h2 {
        font-size: 84px;
        margin-bottom: 80px;
    }

    .capability-grid {
        max-width: 1400px;
        gap: 40px;
    }

    .capability-item {
        padding: 32px 36px;
    }

    .capability-item h4 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .capability-item p {
        font-size: 18px;
        line-height: 1.7;
    }

    .capability-nav {
        width: 70px;
        height: 70px;
    }

    .capability-nav svg {
        width: 32px;
        height: 32px;
    }
}


.capability-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #3b82f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.capability-nav:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.capability-nav.prev {
    left: 32px;
}

.capability-nav.next {
    right: 32px;
}

.capability-nav svg {
    width: 28px;
    height: 28px;
    fill: #3b82f6;
}

.capability-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.capability-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(47, 47, 47, 0.8);
    border: 2px solid #3b82f6;
    cursor: pointer;
    transition: all 0.3s;
}

.capability-indicator.active {
    background: #3b82f6;
    transform: scale(1.3);
}

@media (max-width: 968px) {
    .capability-content {
        padding: 0 60px;
    }

    .capability-content h2 {
        font-size: 42px;
        margin-bottom: 32px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .capability-nav {
        width: 50px;
        height: 50px;
    }

    .capability-nav.prev {
        left: 16px;
    }

    .capability-nav.next {
        right: 16px;
    }
}

@media (max-width: 640px) {
    .capabilities-dive {
        min-height: 600px;
    }

    .capability-content {
        padding: 0 40px;
    }

    .capability-content h2 {
        font-size: 32px;
    }

    .capability-item {
        padding: 16px 20px;
    }

    .capability-item h4 {
        font-size: 16px;
    }

    .capability-item p {
        font-size: 14px;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2f2f2f;
    border: 2px solid #3b82f6;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #3b82f6;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-image {
        height: 400px;
    }

    .carousel-overlay h3 {
        font-size: 28px;
    }

    .carousel-overlay p {
        font-size: 16px;
    }

    .carousel-button {
        width: 50px;
        height: 50px;
    }

    .carousel-button.prev {
        left: 12px;
    }

    .carousel-button.next {
        right: 12px;
    }
}

/* Responsive adjustments */
@media (max-width: 968px) {

    .app-grid,
    .features-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .app-grid,
    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}