/* Version 1.6.1 | Last Updated: 2025-07-13T09:45:00+03:00 */

/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #042f47;
    --accent-red: #cf2532;
    --accent-yellow: #ffc60d;
    --accent-blue-green: #6bb9a2;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --font-heading: 'Noto Sans', sans-serif;
    --font-body: 'Noto Sans', sans-serif;
    --base-font-size: 1rem; /* 16px default */
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --header-height: 70px; /* Approximate height of header */
}

/* --- Base & Typography --- */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, li { margin-bottom: 1rem; }
a { color: var(--accent-red); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--primary-blue); }
ul { padding-left: 20px; }

/* --- Layout & Containers --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding { padding: 4rem 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section-title { margin-bottom: 1rem; }
.section-intro { max-width: 800px; margin: 0 auto 3rem auto; font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--accent-yellow);
}

.btn-primary:hover {
    background-color: #a51e28;
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-blue);
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img { height: 50px; width: auto; }

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 1010; /* Above the nav list */
}

/* Navigation List - Mobile First (Full-screen overlay) */
#nav-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    list-style: none;
    margin: 0;
    padding: 0;
    transition: left var(--transition-speed) ease-in-out;
}

#nav-list.show {
    left: 0; /* Slide in */
}

.main-nav li { width: 100%; text-align: center; }
.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
}
.nav-link:hover, .nav-link.active { color: var(--accent-red); }

/* Dropdowns - Mobile */
.dropdown-menu {
    display: none;
    background-color: var(--bg-light);
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown.open > .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.dropdown-icon {
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform var(--transition-speed) ease;
}

.dropdown.open > a .dropdown-icon {
    transform: rotate(180deg);
}

.language-switcher { margin-top: 2rem; }
.language-switcher a { color: var(--accent-red); }

/* --- Hero Section --- */
.hero {
    position: relative;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 4rem 1rem;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-blue);
    opacity: 0.65;
}

.hero-content { position: relative; z-index: 2; }
.hero-title { color: var(--text-light); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; max-width: 700px; margin: 0 auto 2rem auto; opacity: 0.9; }
.hero-buttons .btn { margin: 0.5rem; }

/* --- Page Hero & Breadcrumbs --- */
.page-hero {
    position: relative;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
}
.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-blue);
    opacity: 0.75
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title { color: var(--text-light); }

.breadcrumb-nav {
    background-color: var(--bg-light);
    padding: 0.8rem 0;
    border-bottom: 1px solid #e5e5e5;
}
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap; /* FIX: Allows breadcrumbs to wrap on small screens */
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { color: var(--accent-red); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .separator { margin: 0 0.5rem; color: #6c757d; }
.breadcrumbs .current { color: #6c757d; font-weight: bold; }


/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

/* --- Why Us Section --- */
.why-us-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.why-us-image img { max-width: 100%; height: auto; }
.why-us-content ul { list-style: none; padding: 0; }
.why-us-content li { display: flex; align-items: flex-start; margin-bottom: 1.5rem; }
.why-us-content .fa-check-circle {
    color: var(--accent-blue-green);
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-left: 5px solid var(--accent-red);
    border-radius: var(--border-radius);
}
.testimonial-text { font-style: italic; }
.testimonial-author { font-weight: bold; color: var(--primary-blue); }

/* --- CTA Section --- */
.cta {
    position: relative;
    color: var(--text-light);
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-blue-green), var(--primary-blue));
    z-index: 1;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta .section-title, .cta p {
    color: var(--text-light);
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer h3 { color: var(--text-light); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: inline-block;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-yellow);
}
.footer-contact p { margin-bottom: 0.5rem; }
.social-links { margin-top: 1.5rem; }
.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 1rem;
    border: 1px solid var(--text-light);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
}
.social-links a:hover {
    transform: translateY(-3px);
    color: var(--text-light);
}

.social-links a[aria-label="Facebook"]:hover { background-color: #0866ff; border-color: #0866ff; }
.social-links a[aria-label="LinkedIn"]:hover { background-color: #2867b2; border-color: #2867b2; }
.social-links a[aria-label="WhatsApp"]:hover { background-color: #25D366; border-color: #25D366; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 1rem;
    text-align: center;
}
.footer-bottom p { margin: 0.2rem 0; font-size: 0.9rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.8); }
.footer-bottom a:hover { color: var(--accent-yellow); }


/* --- Medium devices (tablets, 768px and up) --- */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .container { padding: 0 1.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

/* --- Large devices (desktops, 992px and up) --- */
@media (min-width: 992px) {
    h1 { font-size: 3.5rem; }
    .hero { min-height: 80vh; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .why-us-container { grid-template-columns: 1fr 1fr; gap: 3rem; }

    .mobile-menu-button { display: none; }

    /* --- Desktop Navigation --- */
    #nav-list {
        display: flex;
        flex-direction: row;
        position: static;
        height: auto;
        width: auto;
        background-color: transparent;
        left: auto; /* Reset mobile property */
    }

    .main-nav li { width: auto; }
    .nav-link { padding: 1.5rem 1rem; font-size: 1rem; }
    .language-switcher { margin-top: 0; }

    /* Desktop Dropdowns */
    .dropdown {
        position: relative; /* Anchor for the dropdown menu */
    }

    .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 50%; /* Center relative to parent */
        transform: translateX(-50%) translateY(10px); /* Adjust centering and add space */
        background-color: var(--bg-white);
        box-shadow: var(--shadow);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        min-width: 250px;
        z-index: 1001;
        padding: 0.5rem 0;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        pointer-events: none;
    }

    .dropdown.open > .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .dropdown-menu li { display: block; width: 100%; }
    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    .dropdown-menu a:hover {
        background-color: var(--bg-light);
    }
}