:root {
    --primary-color: #00d4ff;
    --secondary-color: #7d44ff;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #00d4ff 0%, #7d44ff 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Page Specifics */
.home-body {
    /* Allow scrolling on home page now that there is content below the hero */
}

.page-body {
    background-color: var(--bg-dark);
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background 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-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay for readability */
    z-index: 1;
}

/* Fullscreen Hero */
.hero-fullscreen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Section Page Layout (About, Services, Contact) */
.section-page {
    padding-top: 150px;
    /* Offset for fixed header */
    min-height: 100vh;
}

/* Active Nav State */
.nav-links li a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.sector-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.3s ease;
}

.sector-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.sector-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sector-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: var(--glass-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: var(--glass-border);
    background: var(--bg-card);
    /* Placeholder background */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills container without distortion */
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Nav Adjustments */
@media (max-width: 768px) {
    .home-body {
        overflow: auto;
    }

    .video-background {
        position: absolute;
        /* Allow scroll on mobile if needed */
    }
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.arrow-down {
    width: 15px;
    height: 15px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Core Advantages Section */
.core-advantages {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, #050505);
    z-index: 10;
}

.advantages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.advantages-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.advantages-header p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.advantage-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Mobility Section */
.mobility-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-dark);
    z-index: 10;
}

.mobility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobility-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.mobility-subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.mobility-features {
    list-style: none;
    margin-bottom: 2rem;
}

.mobility-features li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.mobility-features strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.mobility-video {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #1a1a1a;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(0, 212, 255, 0.2);
    background: #000;
}

.phone-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Phone notch */
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

@media (max-width: 768px) {
    .mobility-grid {
        grid-template-columns: 1fr;
    }
    .phone-frame {
        width: 260px;
        height: 520px;
    }
}

/* Grant Section */
.grant-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(125, 68, 255, 0.05) 100%);
    border-top: var(--glass-border);
    z-index: 10;
}

.grant-content {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.grant-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.grant-subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.grant-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.grant-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.grant-feature .icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grant-feature h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.grant-feature p {
    color: var(--text-muted);
}

.grant-cta {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 16px;
    border: var(--glass-border);
    text-align: center;
}

.grant-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.grant-cta p {
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.grant-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: none;
}

@media (max-width: 768px) {
    .grant-content {
        padding: 2rem;
    }
    
    .grant-feature {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #050505;
    text-align: center;
    border-top: var(--glass-border);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.3s ease;
    cursor: default;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to top, #050505, transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.detail-item .icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05), rgba(125, 68, 255, 0.08));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(125, 68, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
    appearance: none;
    /* Remove default arrow for custom look if desired, keeping simple for now */
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group select:focus~label {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chatbot-header {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
}

.chatbot-header button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-header button:hover {
    color: white;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message.bot {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 12px 15px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    font-size: 0.9rem;
    align-self: flex-start;
    max-width: 85%;
}

.chatbot-input {
    padding: 15px;
    border-top: var(--glass-border);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 480px) {
    .chatbot-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        z-index: 1001;
    }
}