:root {
    --primary-color: #0F2C59;
    /* Deep Royal Blue */
    --accent-color: #DAC0A3;
    /* Champagne Gold */
    --light-bg: #F8F9FA;
    /* Ceramic White */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Footer */
.footer-section {
    background-color: #0c234a;
    /* Darker Royal Blue for Footer */
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 4px solid var(--accent-color);
    /* Gold Top Border */
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff !important;
    /* Force White */
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

    .footer-links a:hover {
        color: var(--accent-color) !important;
        padding-left: 5px;
    }

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    /* Force White Icons */
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-icons a:hover {
        background: var(--accent-color);
        color: #0c234a;
        transform: translateY(-3px);
    }

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    padding-bottom: 0;
    /* Override default */
    margin: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

    a:hover {
        color: var(--accent-color);
    }

/* Utilities */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
    color: white;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

/* Navigation Bar */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
    /* Reverting to White/Light Background */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color) !important;
    letter-spacing: 1px;
}

    .navbar-brand img {
        height: 65px;
        width: 120px;
        /* Increased size for visibility */
        transition: transform 0.3s ease;
    }

    .navbar-brand:hover img {
        transform: scale(1.05);
    }

.nav-link {
    color: var(--text-dark) !important;
    /* Reverting to dark text */
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    margin: 0 5px;
    position: relative;
    transition: color 0.3s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
        /* Reverting to Primary Blue hover */
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--primary-color);
        /* Primary Blue underline */
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

    .btn-primary-custom:hover {
        background-color: transparent;
        color: var(--primary-color);
    }

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

    .btn-outline-custom:hover {
        background-color: var(--primary-color);
        color: white;
    }

/* --- Reveal Animations (Advanced) --- */
.reveal {
    opacity: 0;
    /* Ultra-smooth cubic-bezier transition */
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

    .reveal.active {
        opacity: 1;
        transform: translate(0, 0) scale(1) !important;
    }

/* Animation Variants */
.fade-up {
    transform: translateY(50px) scale(0.96);
}

.fade-in {
    opacity: 0;
}

.zoom-in {
    transform: scale(0.9);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.zoom-out {
    transform: scale(1.1);
}

/* Hero Specific Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-delay-1 {
    animation-delay: 0.3s;
}

.hero-delay-2 {
    animation-delay: 0.6s;
}

.hero-delay-3 {
    animation-delay: 0.9s;
}

/* Staggered Delay Helpers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

    footer a {
        color: #ccc;
    }

        footer a:hover {
            color: var(--accent-color);
        }

/* Old Footer styles removed */

/* Cards */
.card-custom {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
    border-radius: 15px;
    overflow: hidden;
    background: white;
}

    .card-custom:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

/* Hero Section Generic (Deprecated in favor of specific components) */
.hero-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Page Header Section (Inner Pages) */
.page-header-section {
    background: url('https://www.transparenttextures.com/patterns/diagonal-striped-brick.png'), #E0E0E0;
    /* Fallback + pattern */
    /* Use a high quality texture or image here if available, for now mimic the reference lightness */
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #d1d1d1;
}

    .page-header-section h1 {
        font-family: 'Playfair Display', serif;
        /* Elegant serif font */
        font-size: 3.5rem;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 0;
        font-weight: 500;
    }

/* Ensure Google Font is loaded (Added via layout or here) - we will assume standard system serif fallback or add import later */

/* Hero Slider (Home Page) */
.hero-carousel-item {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .hero-carousel-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        /* Overlay for text readability */
    }

.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

    .hero-caption h1 {
        font-size: 4rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-caption p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

/* Image Collage Styles */
.image-collage-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.collage-image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.4s ease;
}

    .collage-image:hover {
        transform: scale(1.02);
        z-index: 10 !important;
    }

/* Collage Variation 1 (Home Page) */
.collage-1-main {
    width: 65%;
    height: 85%;
    top: 0;
    left: 0;
    z-index: 1;
}

.collage-1-secondary {
    width: 55%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid white;
}

/* Collage Variation 2 (About Page) - Mirror or variation */
.collage-2-main {
    width: 70%;
    height: 90%;
    top: 5%;
    right: 0;
    z-index: 1;
}

.collage-2-secondary {
    width: 50%;
    height: 50%;
    bottom: 0;
    left: 10%;
    z-index: 2;
    border: 8px solid white;
}

/* Premium Enhancements */
.bg-premium-dark {
    background-color: var(--primary-color);
    color: white;
    background-image: linear-gradient(135deg, #0F2C59 0%, #1a3b6e 100%);
}

    .bg-premium-dark .text-muted {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .bg-premium-dark .collage-1-secondary {
        border-color: #0F2C59;
        /* Match background to look seamless */
    }

.section-label {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin-bottom: 2rem;
}

/* Ensure headings in premium dark section are white */
.bg-premium-dark h2,
.bg-premium-dark h3 {
    color: white;
}

.premium-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Global Presence Section - Clean Map Theme */
.global-presence-section {
    position: relative;
    padding: 100px 0;
    color: white;
    /* Clean Dark Background with Map Graphic */
    background-color: #0F2C59;
    /* Deep Royal Blue Base */
    /* Using a clean Dotted/Vector Map image (High contrast, transparent-like feel) */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/World_map_blank_without_borders.svg/2000px-World_map_blank_without_borders.svg.png');
    /* Using a reliable Wikimedia SVG-to-PNG render for the "SVG" look */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    /* Fixed often breaks SVG-like scaling */
}

    .global-presence-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* Subtle overlay to blend the map with the brand color */
        background: rgba(15, 44, 89, 0.85);
    }

    .global-presence-section .container {
        position: relative;
        z-index: 2;
    }

    /* Force specific text colors */
    .global-presence-section h2,
    .global-presence-section .premium-heading {
        color: white !important;
    }

    .global-presence-section p.lead {
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 400;
    }

    .global-presence-section h3 {
        font-size: 3.5rem;
        color: var(--accent-color);
        font-weight: 800;
        margin-bottom: 0.5rem;
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        border-bottom: none;
        /* Removed line for cleaner look */
        display: block;
        padding-bottom: 0;
    }

    .global-presence-section p {
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 2px;
        opacity: 0.9;
        text-transform: uppercase;
        color: white !important;
        margin-top: 5px;
    }

/* Pins (Retained but adjusted for new map if needed, or hidden if "SVG only" implies static) */
.map-pin-container {
    display: none;
    /* Hiding pins as "SVG only" request implies cleaner static look */
}

.map-pin {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(15, 44, 89, 0.5);
}

    .map-pin::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background-color: inherit;
        border-radius: 50%;
        animation: pinPulse 2s infinite;
        opacity: 0.5;
    }

.pin-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

/* North America */
.pin-2 {
    top: 40%;
    left: 50%;
    animation-delay: 0.5s;
}

/* Europe/Africa */
.pin-3 {
    top: 35%;
    left: 75%;
    animation-delay: 1s;
}

/* Asia */
.pin-4 {
    top: 60%;
    left: 25%;
    animation-delay: 1.5s;
}

/* South America */
.pin-5 {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

/* Australia */

@keyframes pinPulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    100% {
        width: 400%;
        height: 400%;
        opacity: 0;
    }
}