/* CSS Reset and Variables */
:root {
    --primary-red: #d2232a;
    --dark-blue: #212529;
    --text-color: #333333;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.text-white {
    color: var(--white);
}

.center-text {
    text-align: center;
}

.text-left {
    text-align: left;
}

.dark-bg {
    background-color: var(--dark-blue);
    color: var(--white);
}

.red-bg {
    background-color: var(--primary-red);
    color: var(--white);
}

.black-bg {
    background-color: #000000;
    color: var(--white);
}

.p-0 {
    padding: 0 !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.m-0 {
    margin: 0 !important;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.black-row {
    background-color: #000;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b01a1f;
}

.btn-secondary {
    background-color: #0056b3;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #004494;
}

/* Top Bar White */
.top-bar-white {
    background-color: var(--white);
    color: var(--dark-blue);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-address {
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-icon {
    font-size: 1rem;
}

.btn-contact-top {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: none;
}

.btn-contact-top:hover {
    background-color: #343a40;
}

/* Header */
#header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-left,
.nav-right {
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.logo {
    flex-shrink: 0;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #0d121c;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(13, 18, 28, 0.2), rgba(13, 18, 28, 0.2)), url('images/11.jpg');
    background-size: 150%;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-welcome {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: #a0a0a0;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    /* This uses a CSS pattern to simulate the "World Map" dots roughly */
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Services */
.services-section {
    text-align: center;
    background-color: #1a202e;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon-hex {
    width: 80px;
    height: 90px;
    background-color: var(--primary-red);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.service-box h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Other Services - Redesigned */
.other-services-section {
    padding: 0;
}

.ostale-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ostale-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ostale-box {
    padding: 15%;
    color: var(--white);
}

.ostale-box.red-box {
    background-color: var(--primary-red);
}

.ostale-box.grey-box {
    background-color: #8a8a7a;
}

.ostale-box.dark-box {
    background-color: #2a2a2a;
}

.ostale-box.dark-red-box {
    background-color: #a12227;
}

.ostale-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ostale-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.ostale-box h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.4;
}

.ostale-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.9rem;
}

.ostale-list li {
    margin-bottom: 5px;
}

.ostale-box p {
    font-size: 0.9rem;
    line-height: 1.6;
}


.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.icon-circle.white-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

/* Info Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact Section */
.contact-section {
    background-color: #333;
    background-image: url('images/15.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 80px;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Lower opacity as requested */
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
    background: transparent;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 2px;
    font-family: var(--font-body);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.full-width {
    width: 100%;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    font-size: 0.9rem;
    padding-top: 5%;
}

.footer-col h4 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-col p {
    margin: 5px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive */
/* Mobile Nav Base Styles */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(13, 18, 28, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    margin: 15px 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {

    .about-grid,
    .clients-grid,
    .features-grid,
    .split-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Navigation Layout */
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
        order: 2;
    }

    .main-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}