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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #f9fafb;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
/* Enhanced Header */
/* === NAVIGATION BAR STYLES === */
/* Root variables for navy theme */
:root {
    --primary-900: #0a0f1c;        /* Deep navy background */
    --primary-800: #1a2332;        /* Main background - navy blue */
    --primary-300: #cbd5e1;        /* Primary text */
    --primary-100: #f8fafc;        /* Brightest text */
    --accent-primary: #4f7df3;      /* Bright blue for buttons */
    --accent-primary-light: #6b8bf5; /* Lighter blue for highlights */
    --accent-primary-dark: #1d4ed8; /* Darker blue for depth */
    --accent-secondary: #7c3aed;    /* Purple accent */
    --accent-tertiary: #0ea5e9;     /* Sky blue */
    --surface-overlay: rgba(26, 35, 50, 0.98);
    --border-subtle: rgba(79, 125, 243, 0.1);
    --border-default: rgba(79, 125, 243, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.35);
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--primary-900);
    color: var(--primary-300);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: var(--surface-overlay);
    border-bottom-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo-icon {
    width: 170px;
    height: 50px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(79, 125, 243, 0.4);
    transition: box-shadow 0.3s ease;
}

.logo-icon:hover {
    box-shadow: 0 0 40px rgba(79, 125, 243, 0.6);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-primary));
    border-radius: 18px;
    z-index: -1;
    animation: logoGlow 4s linear infinite;
    background-size: 300% 300%;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(1.1) contrast(1.05);
}

@keyframes logoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-300);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--primary-100);
    transform: translateY(-1px);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-overlay);
    backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 1rem 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--primary-400);
    border-radius: 0;
    background: none;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(79, 125, 243, 0.08);
    color: var(--accent-primary-light);
    transform: translateX(4px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary-300);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(79, 125, 243, 0.1);
    color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-overlay);
        backdrop-filter: blur(20px) saturate(1.5);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-default);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(79, 125, 243, 0.1);
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-contrast: high) {
    :root {
        --primary-300: #ffffff;
        --border-subtle: rgba(79, 125, 243, 0.3);
        --border-default: rgba(79, 125, 243, 0.5);
    }
}



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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background: #000000;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Enhanced Header */

/* Logo */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 170px;
    height: 50px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #3b82f6, #06b6d4, #8b5cf6, #3b82f6);
    border-radius: 17px;
    z-index: -1;
    animation: logoGlow 3s linear infinite;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    filter: brightness(1.1);
}

@keyframes logoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */

/* Hero Section */
.portfolio-hero {
    background: linear-gradient(135deg, #000000 0%, #1f2937 50%, #374151 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; right: 10%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.floating-icon:nth-child(4) { top: 40%; right: 30%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.portfolio-hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.portfolio-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-highlight {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #9ca3af;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    color: #9ca3af;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: #000000;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(75, 85, 99, 0.3);
    color: #d1d5db;
    border: 1px solid rgba(75, 85, 99, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #3b82f6;
}

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

.portfolio-item {
    background: rgba(75, 85, 99, 0.1);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.filtered {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(30, 64, 175, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.portfolio-info {
    text-align: center;
    color: white;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.view-details {
    background: white;
    color: #3b82f6;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.portfolio-content h3 {
    color: #f9fafb;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-content p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Partners Section */
.partners-detailed {
    padding: 6rem 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.partner-category {
    margin-bottom: 4rem;
}

.partner-category h3 {
    color: #f9fafb;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.partner-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.partner-logo {
    width: 100%;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.partner-info h4 {
    color: #f9fafb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.partner-info p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.partner-benefits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-benefits span {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: #000000;
}

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

.testimonial-card {
    background: rgba(75, 85, 99, 0.1);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.quote-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #d1d5db;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info h4 {
    color: #f9fafb;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s ease;
    margin: 1rem;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #f9fafb;
}

/* CTA Section */
.portfolio-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    text-align: center;
}

.portfolio-cta h2 {
    color: #f9fafb;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio-cta p {
    color: #9ca3af;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #111827;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

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

.footer-brand h3 {
    color: #f9fafb;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links h4 {
    color: #f9fafb;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {


    .mobile-menu {
        display: block;
    }

    .portfolio-hero h1 {
        font-size: 2.5rem;
    }

    .portfolio-grid,
    .partners-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
    }

    .modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Performance optimizations */
.portfolio-item {
    will-change: transform;
}

.partner-card {
    will-change: transform;
}

.testimonial-card {
    will-change: transform;
}