/* Global Styles */
:root {
    --primary-color: #003366;
    /* Deep Corporate Blue */
    --secondary-color: #c41e3a;
    /* Accent Red (from logo hint/flag) */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--primary-color);
    /* Dark Blue to match logo BG */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 8px 0;
    font-size: 0.9em;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info span {
    margin-right: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 0;
    /* Reset margin */
}

.nav-links {
    display: flex;
    gap: 30px;
    /* Uniform spacing */
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1em;
    color: var(--white);
    /* White links for dark header */
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    /* Ensure one line */
}

.nav-links a i {
    font-size: 0.9em;
    /* Slightly smaller icon */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    /* Red accent */
}

/* Hero Section */
.hero {
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('../images/hero-home.png');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #a01830;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Services Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Modern Card Styling */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    /* For image zoom effect */
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Vision & Strategy */
.vision-strategy {
    background-color: var(--white);
}

.content-block {
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #ccc;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .nav-links {
        display: none;
        /* simple mobile hide for now, would need JS for toggle */
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }
}

/* Job Cards */
.job-card {
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateX(10px);
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Insight Cards */
.insight-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .insight-card img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonial-card {
    min-width: 300px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Global Presence Map Container */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}