@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --nct-charcoal: #1C2526;
    --nct-green: #8BC34A;
    --nct-light-gray: #f8f9fa;
    --font-primary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    margin: 0;
    background-color: #FFFFFF;
    color: var(--nct-charcoal);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.sticky-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

#logo {
    position: absolute !important;
    top: 10px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 50px;
    z-index: 1100;
    transition: all 0.3s ease;
}

#logo:hover {
    transform: translateX(-50%) scale(1.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: var(--nct-charcoal);
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--nct-green);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: flex-end; /* Changed from center */
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--nct-light-gray);
    padding-bottom: 50px; /* Added padding */
}

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

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    z-index: -1;
}

.hero-content {
    transform: translateY(-20px);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    border: none;
    font-weight: bold;
    padding: 15px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: var(--nct-green);
    color: var(--nct-charcoal);
}

.btn-primary:hover {
    background-color: #7CB342;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.content-section {
    padding: 80px 0;
    text-align: center;
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--nct-charcoal);
}

.intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--nct-charcoal);
    color: var(--nct-light-gray);
    margin-top: 60px;
}

.video-section iframe {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-grid-section {
    padding-top: 40px;
}

.image-grid {
    display: flex;
    gap: 20px;
}

.grid-col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.grid-col-right {
    flex: 1;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.grid-video {
    grid-column: 1 / -1; /* Span all columns */
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.contact-details, .documentation-list {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.contact-details h3, .documentation-list h3 {
    font-size: 1.5rem;
    margin-top: 0;
    color: var(--nct-charcoal);
    border-bottom: 2px solid var(--nct-green);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-details ul, .documentation-list ul {
    list-style: none;
    padding: 0;
}

.contact-details ul li, .documentation-list ul li {
    margin-bottom: 15px;
}

.contact-details a, .documentation-list a {
    color: var(--nct-green);
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover, .documentation-list a:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    #logo {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        height: 40px;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 60px; /* Add margin to push down the nav links */
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }

    .content-section h2 {
        font-size: 2.5rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }
}
