/* Google Fonts */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary-color: #0f3435;
    --secondary-color: #1a4f51;
    --accent-color: #e0e1dd;
    --gold-color: #d4af37;
    --gold-hover: #ecc94b;
    --text-muted: #778da9;
    --white: #ffffff;
    --dark-overlay: rgba(15, 52, 53, 0.85);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--secondary-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', serif;
    color: var(--primary-color);
}

.text-gold {
    color: var(--gold-color) !important;
}

.bg-primary-dark {
    background-color: var(--primary-color);
}

.bg-secondary-dark {
    background-color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 52, 53, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'DM Sans', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white) !important;
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--gold-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero.jpg') no-repeat center center/cover;
    z-index: -1;
    transform-origin: center center;
    animation: cinematic-pan-zoom 30s infinite alternate ease-in-out;
    will-change: transform;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

@keyframes cinematic-pan-zoom {
    0% {
        transform: scale(1) translateZ(0) rotate(0deg);
    }

    25% {
        transform: scale(1.1) translateZ(0) rotate(0.5deg);
    }

    50% {
        transform: scale(1.15) translateZ(0) translate(-10px, -5px) rotate(-0.5deg);
    }

    75% {
        transform: scale(1.1) translateZ(0) translate(5px, 5px) rotate(0.5deg);
    }

    100% {
        transform: scale(1) translateZ(0) rotate(0deg);
    }

}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 53, 0.85) 0%, rgba(26, 79, 81, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    /* padding: 20px; */
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--gold-color);
    min-height: 2.5rem;
    /* Reserve space for typewriter */
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Sections General */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold-color);
    margin: 15px auto 0;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--gold-color);
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 52, 53, 0.1);
    border-top-color: var(--gold-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Core Streams - Dark Section */
.bg-dark-section {
    background-color: var(--primary-color);
    color: white;
}

.bg-dark-section h2,
.bg-dark-section h3 {
    color: white;
}

.bg-dark-section p {
    color: rgba(255, 255, 255, 0.7);
}

.stream-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

/* Practice Areas */
.practice-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.practice-badge {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    user-select: none;
}

.practice-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: white;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.practice-badge i {
    margin-right: 12px;
    color: var(--gold-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.practice-badge:hover i {
    color: white;
}

/* About Section */
.about-img {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Philosophy Cascade */
.philosophy-section {
    position: relative;
}

.philosophy-cascade {
    padding-left: 10px;
    border-left: 2px dashed rgba(212, 175, 55, 0.3);
    margin-left: 10px;
}

.cascade-item {
    position: relative;
    padding: 10px 0 10px 20px;
    margin-bottom: 5px;
}

.cascade-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--gold-color);
    border-radius: 50%;
    border: 2px solid white;
}

.cascade-text {
    font-size: 1.05rem;
    color: var(--secondary-color);
}

.cascade-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.philosophy-conclusion {
    background: rgba(15, 52, 53, 0.03);
    padding: 20px;
    border-left: 4px solid var(--gold-color);
    border-radius: 0 8px 8px 0;
}

.philosophy-conclusion p {
    margin: 0;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-style: italic;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.approach-card {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateX(5px);
    border-color: var(--gold-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.approach-card i {
    color: var(--gold-color);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.approach-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Capability Building */
.capability-section {
    background-color: #f4f4f4;
}

.deliver-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.deliver-list li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-color);
}

/* Insights */
.insights-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.insight-topic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-topic-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.topic-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.insight-topic-card:hover .topic-icon {
    background: var(--gold-color);
    color: white;
    transform: scale(1.1);
}

.insight-topic-card h4 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

/* Work Topics */
.work-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.work-topic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.work-topic-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--gold-color);
}

.work-topic-card .topic-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.work-topic-card:hover .topic-icon {
    background: var(--gold-color);
    color: white;
    transform: scale(1.1);
}

.work-topic-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.work-topic-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.insights-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* Careers */
.careers-cta {
    background: linear-gradient(rgba(15, 52, 53, 0.9), rgba(15, 52, 53, 0.9)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

.btn-gold {
    background-color: var(--gold-color);
    color: white;
    padding: 12px 35px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Contact Section */
.contact-form-wrapper,
.contact-info-wrapper {
    height: 100%;
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e0e1dd;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-wrapper p {
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gold-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.3rem;
}

.contact-details h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-muted);
}

.contact-details a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #08111a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-logo {
    font-family: 'DM Sans', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-color);
}

.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Map Section */
.map-container-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #0f3435;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

#world-map {
    height: 600px;
    width: 100%;
    z-index: 1;
}

.map-overlay-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    background: rgba(15, 52, 53, 0.9);
    padding: 20px 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--gold-color);
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* Custom Leaflet Marker Styling */
.gold-marker {
    background: var(--gold-color);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    position: relative;
}

.gold-marker::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--gold-color);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
    opacity: 0;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 4px !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 12px 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

.leaflet-popup-tip {
    background: var(--primary-color) !important;
}

.leaflet-container {
    background: #0b2425 !important;
}

/* Responsive Map */
@media (max-width: 992px) {
    #world-map {
        height: 450px;
    }
}

@media (max-width: 768px) {
    #world-map {
        height: 350px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .navbar-collapse {
        background: var(--primary-color);
        padding: 1rem;
    }

    .navbar-logo {
        height: 40px;
    }
}

/* Legal Pages Styles */
.legal-header {
    background-color: var(--primary-color);
    padding: 160px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 52, 53, 0.95) 0%, rgba(26, 79, 81, 0.85) 100%);
    z-index: 1;
}

.legal-header .container {
    position: relative;
    z-index: 2;
}

.legal-header h1 {
    color: var(--gold-color);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.legal-subtitle {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-content-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.legal-card {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-card h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card p {
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.legal-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.legal-card ul li::before {
    content: '•';
    color: var(--gold-color);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1.5rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 3rem;
    display: block;
}

@media (max-width: 768px) {
    .legal-header {
        padding: 120px 0 60px;
    }

    .legal-header h1 {
        font-size: 2.5rem;
    }

    .legal-card {
        padding: 30px;
    }
}