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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Video Section */
.section-video {
    height: 50vh;
    position: relative;
    margin-top: 80px;
}

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

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;  /* Change the 30% value */
}

.video-overlay {
    display: none;
}

/* Hero Text Section */
.section-hero {
    padding: 30px 20px;
    text-align: center;
    background: #000000;
}

.section-hero h1 {
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease;
}

.section-hero p {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0px;
    margin-bottom: 20px;
    opacity: 0.8;
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0px;
    opacity: 0.5;
    color: #ffffff;
    animation: fadeInUp 1.2s ease;
}

/* Sections */
.section {
    min-height: auto;
    padding: 100px 40px;
    background: #000000;
    scroll-margin-top: 80px;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
    opacity: 0.7;
}

/* What We Do Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #ffffff;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-width: 5px;
    transform: translateX(5px) scale(1.02);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-item p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.8;
    opacity: 0.7;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 30px 30px 15px;
}

.project-card p {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.8;
    opacity: 0.7;
    margin: 0 30px 30px;
}

/* Research Section */
.research-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.research-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid #ffffff;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-width: 4px;
    transform: translateX(5px);
}

.research-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.research-item p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 20px;
}

.research-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0px;
}

.status-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.status-badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.status-badge.ongoing {
    background: rgba(255, 255, 255, 0.15);
}

.paper-link {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.paper-link:hover {
    opacity: 1;
    transform: translateX(5px);
    display: inline-block;
}

/* About Us Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 2;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px 30px;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:last-child {
    text-align: right;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.footer-logo {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo img {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0px;
    opacity: 0.4;
}

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

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .section-hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .research-item h3 {
        font-size: 1.2rem;
    }
    
    .nav-container {
        padding: 20px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        order: -1;
        margin-bottom: 10px;
    }
    
    .footer-logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .section-hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-item, .research-item {
        padding: 30px 20px;
    }
}