:root {
    --alpine-white: #f8f9fa;
    --slate-blue: #2c3e50;
    --saperavi-burgundy: #722f37;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --alpine-white: #0f172a;
    --slate-blue: #1e293b;
    --text-dark: #f8f9fa;
    --text-light: #0f172a;
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --saperavi-burgundy: #a14550;
}

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

body {
    font-family: "Inter", sans-serif;
    background-color: var(--alpine-white);
    color: var(--text-dark);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Glassmorphism Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #722f37;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background: #0f172a;
    color: #f8f9fa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.logo {
    display: flex;
    align-items: center;
    width: 200px;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

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

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

.nav-menu a {
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.88);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    width: 200px;
    /* Fixed width to balance flex */
}

.action-icon {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.action-icon:hover {
    color: rgba(255, 255, 255, 0.88);
    transform: scale(1.1);
}

/* Custom Dropdown for Language Switcher */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: inherit;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 130%;
    right: 0;
    background: var(--alpine-white);
    min-width: 120px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] .dropdown-menu {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.custom-dropdown.active .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(114, 47, 55, 0.08);
    color: var(--saperavi-burgundy);
}

.fi {
    font-size: 1.2rem;
    border-radius: 2px;
}

/* Layout utilities */
.container-fluid {
    width: 100%;
    padding: 0 5%;
}

.grid-2,
.grid-3,
.stats-row {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-padding {
    padding: 3rem 5%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    /* Dummy picture as requested */
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 100%
        ),
        url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2000&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    color: white;
    /* Always white over picture */
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--saperavi-burgundy);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(114, 47, 55, 0.4);
}

/* 2-column Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--saperavi-burgundy);
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-style: italic;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .image-placeholder {
    background-color: #334155;
    color: #94a3b8;
}

/* Statistics Row */
.stats-container {
    background-color: #722f37;
    background-image: linear-gradient(
        to bottom,
        #722f37 0%,
        #87303b 55%,
        #9a3341 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5rem 5%;
    transition: var(--transition);
}

[data-theme="dark"] .stats-container {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .stat-number {
    color: var(--saperavi-burgundy);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Target Audiences */
.target-audience-card {
    padding: 4rem 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
}

.target-audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.target-audience-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--saperavi-burgundy);
}

.target-audience-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Industries Section */
.industries-section {
    text-align: center;
    background-color: rgba(44, 62, 80, 0.02);
}

[data-theme="dark"] .industries-section {
    background-color: rgba(255, 255, 255, 0.02);
}

.industries-section h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.industry-card {
    padding: 3rem 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.industry-card i {
    color: var(--saperavi-burgundy);
    transition: var(--transition);
}

.industry-card:hover {
    background-color: var(--saperavi-burgundy);
    color: #fff;
    transform: translateY(-5px);
}

.industry-card:hover i {
    color: #fff;
}

.industry-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .grid-2 {
        gap: 3rem;
    }

    .target-audience-card {
        padding: 2.5rem;
    }

    .nav-menu {
        position: static;
        transform: none;
        display: none;
    }

    /* Revert centering on mobile */
    .logo {
        width: auto;
    }

    .nav-right {
        width: auto;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .image-placeholder {
        height: 300px;
    }

    .hero-section {
        min-height: 80vh;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}
