/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography Scale */
:root {
    --font-size-xs: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
    --font-size-sm: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --font-size-xl: clamp(1.25rem, 1.125rem + 0.625vw, 1.75rem);
    --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
    --font-size-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
    --font-size-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
    
    /* Color Palette */
    --color-primary: #1ba3c7;
    --color-primary-light: #1f9dbb;
    --color-primary-dark: #147a95;
    --color-dark: #003046;
    --color-dark-secondary: #1a2332;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
}

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

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

/* Header and Navigation */
header {
    position: relative;
    z-index: 1000;
}

/* Desktop Navbar */
.navbar {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    position: relative;
}

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

.navbar .logo-img {
    height: 40px;
    width: auto;
    max-width: 176px;
}

.navbar .nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-primary);
}

/* Hide hamburger menu on desktop */
.navbar .nav-toggle {
    display: none;
}

/* Sidebar Navigation - Hidden on desktop */
.sidebar-nav {
    display: none !important;
}

.sidebar-nav.active {
    right: 0;
}

/* Desktop and Tablet - Force hide sidebar, show navbar menu */
@media (min-width: 769px) {
    .sidebar-nav,
    .sidebar-nav.active {
        display: none !important;
    }
    
    .navbar .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        gap: 2.5rem !important;
    }
    
    .navbar .nav-toggle {
        display: none !important;
    }
}

/* Navigation Header */
.nav-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* NFI Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.logo-dots {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
}

/* Close Button */
.nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-close:hover {
    color: #00d4ff;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 1.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

/* Hamburger Menu Toggle */
.nav-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Video Carousel */
.video-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.video-overlay h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.video-overlay p {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.5;
}

/* Clickable Overlay */
.clickable-overlay {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-overlay:hover {
    transform: scale(1.02);
    background: rgba(0, 0, 0, 0.7);
}

.clickable-overlay:hover h2,
.clickable-overlay:hover p {
    color: var(--color-primary);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 3;
    border-radius: 5px;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 0;
    background-color: #f8f9fa;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.about-graphic-side {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.about-text-side {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.about-text-content {
    max-width: 500px;
}

.section-label {
    font-size: var(--font-size-sm);
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-text-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 2rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

.about-text-content p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
}

.learn-more-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 0;
    background-color: transparent;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    font-size: var(--font-size-base);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.learn-more-btn:hover {
    color: var(--color-primary-dark);
}

.about-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

/* DFNS-X Section */
.dfns-x {
    padding: 0;
    background-color: white;
}

.dfns-x-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.dfns-x-text-side {
    background-image: url('../images/bg-plane-tiny.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    position: relative;
}

.dfns-x-text-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.dfns-x-text-content {
    position: relative;
    z-index: 2;
}

.dfns-x-pricing-side {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.dfns-x-text-content {
    max-width: 500px;
}

.dfns-x-text-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 2rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

.dfns-x-text-content p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.price-label {
    font-size: var(--font-size-sm);
    color: #666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-dark);
}

.features-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-sales-btn {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-sales-btn:hover {
    background-color: var(--color-primary-dark);
}

.enterprise-link {
    display: block;
    text-align: center;
    padding: 0.5rem;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.enterprise-link:hover {
    color: var(--color-primary-dark);
}

/* DragonMINDS Section */
.dragonminds {
    padding: 0;
    background-color: #f8f9fa;
}

.dragonminds-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.dragonminds-text-side {
    background-image: url('../images/mineral3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    position: relative;
}

.dragonminds-text-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.dragonminds-text-content {
    position: relative;
    z-index: 2;
}

.dragonminds-info-side {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.dragonminds-text-content {
    max-width: 500px;
}

.dragonminds-text-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 2rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

.dragonminds-text-content p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.info-card h3 {
    font-size: var(--font-size-xl);
    color: var(--color-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.info-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* About Page Styles */
.about-with-overlay {
    background-image: url('../images/pentagon.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-with-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 70, 0.7);
    z-index: 1;
}

.about-overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.about-overlay-content h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.about-overlay-content .subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin: 0;
}

/* Services Carousel */
.services-carousel {
    padding: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    color: white;
}

.carousel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.carousel-tabs-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.carousel-tabs-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 70, 0.8);
    z-index: 1;
}

.carousel-tabs-side > * {
    position: relative;
    z-index: 2;
}

.for-label {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: left;
    text-transform: uppercase;
}

.carousel-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.carousel-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.5rem 2rem;
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.carousel-tab:hover,
.carousel-tab.active {
    background: white;
    color: var(--color-dark);
    transform: translateX(10px);
}

.carousel-content-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background-color: #f8f9fa;
}

.carousel-content {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

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

.content-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    color: var(--color-dark);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon {
    margin-bottom: 1rem;
}

.card-icon img {
    width: 48px;
    height: 48px;
}

.content-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

.content-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-card li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
}

.content-card li:last-child {
    border-bottom: none;
}

.content-card li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5rem;
}

/* At the Helm Section */
.at-the-helm {
    padding: 0;
    background-color: white;
}

.helm-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.helm-text-side {
    background-image: url('../images/congress1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
    position: relative;
}

.helm-text-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.9);
    z-index: 1;
}

.helm-text-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.helm-photo-side {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.helm-photo-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    width: 100%;
}

.helm-photo-top-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.helm-text-content {
    max-width: 500px;
}

.helm-text-content h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 2rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

.helm-text-content p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.helm-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.helm-bio-text-first {
    flex: 1;
}

.helm-bio-text-first p,
.helm-bio-text-second p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}

.helm-bio-text-second {
    width: 100%;
}

/* Mobile responsive for At the Helm */
@media (max-width: 768px) {
    .helm-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .helm-text-side,
    .helm-photo-side {
        padding: 3rem 2rem;
    }
    
    .helm-text-content {
        text-align: center;
    }
    
    .helm-photo-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .helm-img {
        width: 250px;
    }
}

/* Our Solutions Carousel */
.solutions-carousel {
    padding: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    color: white;
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.solutions-content-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background-color: #f8f9fa;
}

.solutions-tabs-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.solutions-tabs-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 70, 0.8);
    z-index: 1;
}

.solutions-tabs-side > * {
    position: relative;
    z-index: 2;
}

.solutions-label {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: left;
    text-transform: uppercase;
}

.solutions-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.solutions-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1.5rem 2rem;
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.solutions-tab:hover,
.solutions-tab.active {
    background: white;
    color: var(--color-dark);
    transform: translateX(10px);
}

.solutions-content {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

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

.solutions-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    color: var(--color-dark);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solutions-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

.solutions-card p {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.solutions-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solutions-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
}

.solutions-card li:last-child {
    border-bottom: none;
}

.solutions-card li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5rem;
}

/* Mobile responsive for Solutions */
@media (max-width: 768px) {
    .solutions-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .solutions-content-side,
    .solutions-tabs-side {
        padding: 3rem 2rem;
    }
    
    .solutions-content {
        min-height: 300px;
    }
}

.about-hero-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.about-hero-graphic {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.about-graphic {
    max-width: 400px;
    width: 100%;
}

.company-overview {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.lead-text {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expertise-item h3 {
    font-size: var(--font-size-xl);
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.mission-values {
    padding: 5rem 0;
    background-color: white;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
    text-align: center;
}

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

.service-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    text-align: center;
}

.contact p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.contact-form button {
    padding: 1rem 2rem;
    background-color: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #00d4ff;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */

/* Mobile Only */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .about-hero {
        padding: 1rem 0 2rem;
    }
    
    .about-hero-title {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
    
    .about-hero-title h1 {
        font-size: var(--font-size-2xl);
    }
    
    .about-hero-split {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-hero-left,
    .about-hero-right {
        width: 100%;
        flex: none;
    }
    
    .pentagon-image {
        max-height: 300px;
    }
    
    .company-info {
        padding: 1.5rem;
    }
    
    /* Hide desktop navbar menu on mobile */
    .navbar .nav-menu {
        display: none;
    }
    
    /* Show hamburger menu on mobile */
    .navbar .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        padding: 0.75rem;
        cursor: pointer;
    }
    
    .navbar .nav-toggle span {
        width: 20px;
        height: 2px;
        background: var(--color-text-primary);
        transition: all 0.3s ease;
    }
    
    /* Show sidebar navigation on mobile */
    .sidebar-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(180deg, #0f1419 0%, #1a2332 100%);
        transition: right 0.3s ease;
        z-index: 1001;
        flex-direction: column;
    }
    
    /* Video carousel mobile optimization */
    .video-carousel {
        height: 100vh;
        min-height: 500px;
    }
    
    .video-overlay {
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .video-overlay h2 {
        font-size: var(--font-size-2xl);
        margin-bottom: 1rem;
    }
    
    .video-overlay p {
        font-size: var(--font-size-base);
    }
    
    /* Hide carousel controls on very small screens */
    .carousel-control {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        gap: 0.75rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Content sections */
    .about, .services, .contact {
        padding: 3rem 0;
    }
    
    .about h2, .services h2, .contact h2 {
        font-size: var(--font-size-2xl);
        margin-bottom: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 0 1rem;
    }
}

/* Mobile - Medium devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .video-overlay {
        padding: 2rem;
    }
    
    .carousel-control {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablet - Large devices (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-overlay {
        padding: 2.5rem;
    }
}

/* Desktop - Extra large devices (1025px and up) */
@media (min-width: 1025px) {
    .container {
        max-width: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .logo-dots {
        grid-template-columns: repeat(3, 6px);
        gap: 3px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .video-carousel {
        height: 100vh;
    }
    
    .video-overlay h2 {
        font-size: var(--font-size-xl);
        margin-bottom: 0.5rem;
    }
    
    .video-overlay p {
        font-size: var(--font-size-sm);
    }
    
    .nav-toggle {
        top: 1rem;
        right: 1rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .sidebar-nav,
    .carousel-slide,
    .carousel-control,
    .nav-toggle span,
    .indicator {
        transition: none;
    }
    
    .video-overlay {
        backdrop-filter: none;
    }
}
