/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 18px;
}
.lang-btn {
    background: var(--gray-light);
    border: 1px solid var(--gray-medium);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 4px;
    padding: 2px 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 0.95rem;
}
.lang-btn.active, .lang-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
/* ===========================
   VARIABLES & GLOBAL STYLES
   =========================== */

:root {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #424242;
    --text-dark: #212121;
    --text-light: #757575;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

html,
body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===========================
   NAVIGATION BAR
   =========================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(211, 47, 47, 0.2);
    box-shadow: 0 10px 22px rgba(211, 47, 47, 0.28);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.95rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1.2px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--primary-dark);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.hero-logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.08);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    padding: 5rem 20px;
    background-color: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-expertise h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.expertise-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.15);
}

.expertise-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 5rem 20px;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(211, 47, 47, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   ACHIEVEMENTS SECTION
   =========================== */

.achievements {
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.achievement-item h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.achievement-item ul {
    list-style: none;
}

.achievement-item li {
    padding: 0.7rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--gray-medium);
    position: relative;
    padding-left: 1.5rem;
}

.achievement-item li:last-child {
    border-bottom: none;
}

.achievement-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   TEAM SECTION
   =========================== */

.team {
    padding: 5rem 20px;
    background-color: var(--gray-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(211, 47, 47, 0.2);
}

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--white);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-note {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.team-note p {
    color: var(--text-dark);
    font-size: 1rem;
}

.team-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* ===========================
   CLIENTS SECTION
   =========================== */

.clients {
    padding: 5rem 20px;
    background-color: var(--white);
}

.clients-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
}

.client-category h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.client-category i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.client-row-wrapper {
    overflow: hidden;
    padding: 0.2rem 0 0.6rem;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.client-row {
    display: flex;
    gap: 0;
    width: max-content;
    animation: client-marquee var(--marquee-duration, 40s) linear infinite;
    will-change: transform;
}

.client-row-wrapper:hover .client-row {
    animation-play-state: paused;
}

@keyframes client-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--marquee-offset, -50%)); }
}

.client-item {
    flex-shrink: 0;
    width: 280px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid #F1D8D8;
    background: linear-gradient(135deg, #FFF9F9 0%, #FFFFFF 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    cursor: default;
}

.client-item p {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    font-size: 0.9rem;
}

.client-logo {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.client-logo:is(div) {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--white);
}

.client-logo:is(img) {
    object-fit: cover;
}

.client-logo-enterprise {
    background: #FFFFFF;
    object-fit: contain !important;
    padding: 8px;
}

.client-item:hover .client-logo {
    transform: scale(1.08);
    transition: transform 0.25s ease;
}

.logo-gov {
    background: linear-gradient(135deg, #C62828 0%, #8E0000 100%);
}

.logo-police {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-light);
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(211, 47, 47, 0.2);
}

.contact-form .btn {
    width: 100%;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .services-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .client-item {
        min-width: 0;
    }

    .client-row {
        animation-duration: var(--marquee-duration, 50s);
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .nav-menu {
        gap: 0;
    }

    .hero {
        padding: 4rem 20px;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .about,
    .services,
    .achievements,
    .team,
    .clients,
    .contact {
        padding: 3rem 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .client-logo {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .client-logo:is(div) {
        font-size: 0.9rem;
    }
}