@font-face {
    font-family: 'Neo Sans Similar';
    src: url('font/neo-sans-similar/TitilliumMaps29L-1wt/Titillium/TitilliumMaps29L-400wt.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Similar';
    src: url('font/neo-sans-similar/TitilliumMaps29L-1wt/Titillium/TitilliumMaps29L-800wt.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Similar';
    src: url('font/neo-sans-similar/TitilliumMaps29L-1wt/Titillium/TitilliumMaps29L-1wt.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Similar';
    src: url('font/neo-sans-similar/TitilliumMaps29L-1wt/Titillium/TitilliumMaps29L-999wt.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* =========================================
   1. Base Variables & Reset
   ========================================= */
:root {
    /* Brand Colors */
    --color-primary: #f15931;
    /* Main Orange */
    --color-primary-dark: #d64923;
    /* Slightly darker orange for hover */
    --color-primary-light: #fff2ee;
    --color-accent: #0d89c4;
    /* Light Blue */
    --color-accent-dark: #035488;
    /* Dark Blue */

    /* Neutrals */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fc;
    /* Very light blue-gray for sections */
    --color-text: #2d3748;
    /* Dark gray for better readability than pure black */
    --color-text-light: #718096;
    /* Medium gray for secondary text */
    --color-border: #e2e8f0;

    /* Typography */
    --font-heading: 'Neo Sans Similar', 'Inter', 'Segoe UI', sans-serif;
    --font-body: 'Neo Sans Similar', 'Inter', 'Segoe UI', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    /* Improved readability */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #1a202c;
    /* Darker heading color */
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.center {
    text-align: center;
}

/* =========================================
   2. Components & Utilities
   ========================================= */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white !important;
    /* Force white text */
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(249, 93, 52, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 93, 52, 0.6);
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

.mt-large {
    margin-top: 80px;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

/* Headers */
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.25rem 0.5rem;
    background: rgba(34, 144, 199, 0.1);
    border-radius: 4px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* =========================================
   3. Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    /* Slight transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    /* Increased from 60px */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Dropdown */
.dropdown-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1002;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
}

.dropdown-menu a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text);
}

/* =========================================
   4. Hero Section
   ========================================= */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    /* Reduced from 220px/160px */
    /* Gradient overlay + image */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('assets/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    min-height: 70vh;
    /* Reduced from 90vh */
    /* Full viewport almost */
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.45rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

/* =========================================
   5. About Section
   ========================================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    /* Floating effect */
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/about-visual.jpg') center/cover;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

/* Fluid Container override */
.fluid-container {
    width: 96% !important;
    max-width: 100% !important;
    padding: 0 2rem;
}

.about-text-secondary {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* =========================================
   6. Team Section
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.team-img {
    height: 400px;
    /* Taller, professional portrait format */
    width: 100%;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-info {
    padding: 1.5rem;
    border-bottom: 3px solid var(--color-primary);
    /* Accent line */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--color-text-light);
    /* Removed line clamping to show full text */
    text-align: justify;
    flex-grow: 1;
}

/* =========================================
   7. Services (Features)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    /* Center SVG Icon */
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 100%;
    height: auto;
}

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

.feature-list li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: var(--color-primary);
}

/* =========================================
   8. Thematic Areas
   ========================================= */
.thematic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.thematic-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: row;
    /* Horizontal layout looks more pro */
    align-items: center;
    transition: var(--transition);
}

/* Vertical stacking for visual part */
.thematic-card-img {
    width: 40%;
    height: 100%;
    min-height: 300px;
    /* Ensure height */
    position: relative;
}

.thematic-card-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thematic-content {
    width: 60%;
    padding: 2rem;
}

.thematic-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thematic-icon img {
    width: 100%;
    height: auto;
}

.thematic-list li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    list-style: disc inside;
    /* Simple bullets */
}

/* =========================================
   9. Approach Structure
   ========================================= */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.approach-item {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--color-primary);
}

.approach-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* =========================================
   10. Partners Slider
   ========================================= */
.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    background: transparent;
}

.slider-track {
    display: flex;
    width: calc(264px * 18);
    /* 18 slides total */
    animation: scroll 40s linear infinite;
}

.slide {
    width: 264px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 220px;
    max-height: 100px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.slide:hover img {
    filter: grayscale(0);
    opacity: 1;
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-264px * 9));
    }
}

/* =========================================
   11. CTA & Contact
   ========================================= */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('assets/cta-bg.jpg') center/cover fixed;
    /* Parallax effect */
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-desc {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.cta-link {
    font-size: 1.25rem;
    color: white;
    border-bottom: 2px solid var(--color-primary);
}

/* Contact Form */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(241, 89, 49, 0.1);
}

.full-width {
    width: 100%;
}

/* =========================================
   12. Footer
   ========================================= */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer .logo img {
    height: 100px;
    width: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
}

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

.footer-contact a {
    color: #cbd5e0;
    font-weight: 500;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.copyright p {
    margin-bottom: 0.5rem;
}

/* =========================================
   13. Responsive Media Queries
   ========================================= */
@media (max-width: 1024px) {
    .thematic-card {
        flex-direction: column;
    }

    .thematic-card-img {
        width: 100%;
        height: 250px;
    }

    .thematic-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .features-grid,
    .approach-grid,
    .thematic-grid,
    /* Added missing grid for mobile */
    .footer-content {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 300px;
    }

    .dropdown-menu {
        /* Mobile specific reset */
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        display: none;
        /* Hidden by default, toggled by JS */
        background: #f8f9fc;
        padding-left: 2rem;
    }
}

/* =========================================
   14. Animations
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays handled in JS via inline styles for grid items */
/* Or explicit delays for hero */
.hero-text h1 {
    transition-delay: 0.1s;
}

.hero-text p {
    transition-delay: 0.3s;
}

.hero-buttons {
    transition-delay: 0.5s;
}