:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --accent-color: #ffffff;
    /* Or a subtle brand color if they have one, kept white/monochrome for now */
    --card-bg: #111111;
    --card-hover: #1a1a1a;
    --border-color: #333333;
    --font-primary: 'Poppins', sans-serif;
    --radius: 20px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 400;
    /* Regular weight */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    /* Semi-bold for headings */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-light {
    font-weight: 300;
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    /* Slightly reduced padding */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 30px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-list a:hover {
    color: var(--text-primary);
}

.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    /* Reduced from 40px */
    width: 60px;
    /* Reduced from 90px */
    overflow: hidden;
    transition: opacity var(--transition-speed);
}

.logo-btn1 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    /* Reduced from 40px */
    width: 90px;
    /* Reduced from 90px */
    overflow: hidden;
    transition: opacity var(--transition-speed);
}

.logo-btn:hover {
    opacity: 0.8;
}

.invert-white {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.logo-btn img {
    height: auto;
    width: 100%;
    transform: scale(1.5);
    /* Reduced from 1.8 */
    transform-origin: center;
}

.logo-btn1 img {
    height: auto;
    width: 100%;
    transform: scale(1.05);
    /* Reduced from 1.8 */
    transform-origin: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary {
    background-color: var(--text-primary);
    /* White */
    color: var(--bg-color);
    /* Black */
    border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white on hover */
    color: var(--bg-color);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.btn-link {
    padding: 0;
    color: var(--text-primary);
    border-bottom: 1px solid transparent;
}

.btn-link:hover {
    border-bottom-color: var(--text-primary);
}

.arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-speed) ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.btn-icon {
    height: 90px;
    width: auto;
    margin: -30px 0 -30px -15px;
    vertical-align: middle;
    object-fit: contain;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 70%);
}

.particles {
    /* Simplified particle effect with CSS background - could be improved with canvas if needed, but keeping it minimal/performant */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--border-color) 1px, transparent 1px),
        radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    animation: particleMove 60s linear infinite;
}

@keyframes particleMove {
    0% {
        background-position: 0 0, 25px 25px;
    }

    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 200px;
    /* Adjust size of main logo in hero */
    height: auto;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    display: none;
    /* Hidden since we are using image logo now, or we can keep it for SEO but visually hidden */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.section-line {
    width: 60px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 1rem auto 3rem;
}

/* About Section */
.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Companies Section */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.company-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

/* Specific white background for LUXN IT card request */
.company-card.card-white-bg {
    background-color: #ffffff;
    color: #000000;
    /* Force black text */
}

.company-card.card-white-bg .company-desc,
.company-card.card-white-bg .company-features li,
.company-card.card-white-bg .company-features .icon,
.company-card.card-white-bg .btn-link {
    color: #333333;
    /* Dark grey text for description/lists */
}

.company-card.card-white-bg .btn-link {
    color: #000000;
    border-bottom-color: transparent;
}

.company-card.card-white-bg .btn-link:hover {
    border-bottom-color: #000000;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.company-logo-wrapper {
    margin-bottom: 2rem;
    height: 60px;
    /* Increased height container */
    display: flex;
    align-items: center;
}

.company-logo {
    max-height: 100%;
    width: auto;
    transform: scale(3);
    transform-origin: left center;
    max-width: 300px;
    margin-left: -30px;
    /* Adjust left pull */
}

.company-name {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: none;
    /* Hide text title since using logo */
}

.company-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 80px;
}

.company-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.company-features .icon {
    margin-right: 0.8rem;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.company-features {
    margin-bottom: 2.5rem;
}

/* Features Section ("Why Choose") */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 4rem;
    /* Added spacing from headline */
}

.feature-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background var(--transition-speed);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    /* In a real project, use SVGs here. Emojis used for simplicity as requested placeholders */
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    background-color: #050505;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    height: auto;
    width: 150px;
    /* Reduced from 200px */
    max-width: 100%;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--text-primary);
}

.contact-address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: #555;
    font-size: 0.8rem;
}

/* Animations */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .header-cta {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-brand,
    .footer-contact {
        align-items: center;
        text-align: center;
    }
}