@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #06241b;
    --primary-light: #0a3327;
    --primary-lighter: #154f3a;
    --secondary: #c59a3b;
    --secondary-light: #dcb458;
    --secondary-dark: #b47c2e;
    --accent: #10b981;
    --bg-dark: #041611;
    --bg-light: #fafbfc;
    --bg-gray: #f3f5f6;
    --text-dark: #111827;
    --text-light: #f3f4f6;
    --text-muted: #6b7280;
    --text-muted-light: #a1bcb3;
    --glass-card: rgba(255, 255, 255, 0.03);
    --glass-card-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 40px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-gold {
    background: rgba(197, 154, 59, 0.15);
    color: var(--secondary-light);
    border: 1px solid rgba(197, 154, 59, 0.25);
}

.badge-white {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Shared Sections */
.section {
    padding: 100px 8%;
    position: relative;
}

.section-title-wrap {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    font-weight: 400;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Header & Glassmorphic Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 8%;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 8%;
    background: rgba(4, 22, 17, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.logo img {
    width: 220px;
    height: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-light);
    opacity: 1;
}

/* Dropdowns in Nav */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--primary-light);
    border: 1px solid var(--glass-card-border);
    border-radius: 16px;
    min-width: 200px;
    padding: 12px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.dropdown-menu li {
    margin-bottom: 4px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-light);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    margin-bottom: 6px;
    transition: var(--transition);
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 8%;
    overflow: hidden;
}

/* Hero Carousel Slideshow */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 22, 17, 0.45) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-top: 24px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted-light);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 154, 59, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

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

.hero-stat-num {
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary-light);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Qui Sommes Nous / presentation split */
.presentation-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.presentation-text {
    color: var(--text-muted-light);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.director-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-top: 32px;
}

.director-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-light);
}

.director-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.director-info p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

.agrements-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agrement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.agrement-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 154, 59, 0.25);
    transform: translateX(5px);
}

.agrement-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    background: rgba(197, 154, 59, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agrement-details h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.agrement-details p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

/* Metiers (Services) Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass-card);
    border: 1px solid var(--glass-card-border);
    border-radius: 24px;
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 154, 59, 0.3);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 24px;
    background: rgba(197, 154, 59, 0.08);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

/* Secteurs d'activité with Filtering */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(197, 154, 59, 0.25);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sector-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 380px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sector-card.hidden {
    display: none;
}

.sector-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(4, 22, 17, 0.15) 60%, rgba(4, 22, 17, 0) 100%);
    z-index: 1;
}

.sector-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
    transition: var(--transition);
}

.sector-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.sector-desc {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
}

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

.sector-card:hover .sector-img {
    transform: scale(1.1);
}

.sector-card:hover .sector-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

/* Global Vision (Afrique + MENA) */
.vision-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vision-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.vision-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 154, 59, 0.2);
    transform: translateY(-5px);
}

.vision-icon-box {
    font-size: 2.2rem;
    color: var(--secondary-light);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.vision-stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.vision-stat-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 8px;
}

.vision-stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    line-height: 1.4;
}

/* Espace Investisseurs with Slider / Flex */
.investor-cards-wrap {
    margin-top: 40px;
}

.invest-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.invest-card:hover {
    border-color: rgba(197, 154, 59, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.invest-card-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.invest-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.invest-info p {
    color: var(--text-muted-light);
    font-size: 1rem;
    margin-bottom: 24px;
}

.invest-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    border-radius: 16px;
}

.metric-item i {
    font-size: 1.15rem;
    color: var(--secondary);
}

.metric-details small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
}

.metric-details span {
    font-size: 0.95rem;
    font-weight: 600;
}

.invest-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 40px;
}

.roi-box {
    text-align: center;
    margin-bottom: 24px;
}

.roi-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-light);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.roi-label {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* References Logo Wall */
.partner-logo-wall {
    padding: 60px 8%;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.partner-logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0.8;
}

.partner-logo-grid img {
    height: 58px;
    max-width: 170px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo-grid img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* Testimonials / Chess */
.testimonials-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 8%;
    text-align: center;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 22, 17, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.testimonial-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-light);
    margin-bottom: 30px;
    opacity: 0.4;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.8s ease forwards;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 300;
}

.testimonial-author h4 {
    font-size: 1.15rem;
    color: var(--secondary-light);
}

.testimonial-author p {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Contact form & Recaptcha */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    background: rgba(197, 154, 59, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-method-details p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

.contact-method-details a:hover {
    color: var(--secondary-light);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.04);
}

textarea.form-control {
    resize: none;
}

.captcha-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 40px;
}

/* Footer Section */
.footer {
    background-color: #020c09;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 8% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted-light);
}

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

.footer-office p {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    margin-bottom: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted-light);
}

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

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .vision-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 80px 6%; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .invest-card-grid { grid-template-columns: 1fr; }
    .invest-action {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 0;
        padding-top: 30px;
    }
    .contact-grid { grid-template-columns: 1fr; }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #020c09;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 600px) {
    .logo img { width: 170px; }
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .sectors-grid { grid-template-columns: 1fr; gap: 20px; }
    .vision-stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-title { font-size: 2.4rem; line-height: 1.2; }
    .hero-stats { flex-direction: column; gap: 15px; margin-top: 30px; }
    .section-title { font-size: 2.0rem; }
    .section { padding: 60px 5%; }
    .nav-links { width: 85%; padding: 40px 24px; }
    .partner-logo-grid { gap: 24px; }
}

/* References Page Layout & Styles */
.ref-hero {
    padding: 160px 8% 80px 8%;
    background: linear-gradient(135deg, #06241b 0%, #041611 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ref-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 2;
}

.ref-hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}

.ref-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 50px 0;
}

.ref-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.ref-filter-btn:hover,
.ref-filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(197, 154, 59, 0.4);
    transform: translateY(-2px);
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    gap: 36px;
    margin-bottom: 80px;
}

.ref-card {
    background: var(--glass-card);
    border: 1px solid var(--glass-card-border);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ref-card.hidden {
    display: none;
}

.ref-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 154, 59, 0.3);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.05);
}

.ref-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    opacity: 0;
    transition: var(--transition);
}

.ref-card:hover::before {
    opacity: 1;
}

.ref-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.ref-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid currentColor;
    white-space: nowrap;
}

.ref-card-tag.public { color: #60a5fa; }
.ref-card-tag.private { color: #f472b6; }
.ref-card-tag.env { color: #34d399; }
.ref-card-tag.assist { color: #fbbf24; }
.ref-card-tag.int { color: #a78bfa; }

.ref-card-loc {
    font-size: 0.85rem;
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ref-card-title {
    font-size: 1.45rem;
    color: white;
    margin-bottom: 14px;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ref-card-desc {
    color: var(--text-muted-light);
    font-size: 0.98rem;
    margin-bottom: 20px;
    line-height: 1.55;
    flex-grow: 1;
}

.ref-card-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    gap: 12px;
}

.ref-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted-light);
}

.ref-meta-item strong {
    color: var(--secondary-light);
}

/* Accreditations & Credentials Grid */
.accred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.accred-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.accred-card:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.accred-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.accred-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: white;
}

.accred-card p {
    font-size: 0.8rem;
    color: var(--text-muted-light);
}

/* PDF Download Section Styling */
.download-section-card {
    background: linear-gradient(135deg, rgba(6, 36, 27, 0.6) 0%, rgba(4, 22, 17, 0.8) 100%);
    border: 1px solid var(--secondary);
    border-radius: 24px;
    padding: 50px 8%;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.download-info p {
    color: var(--text-muted-light);
    max-width: 600px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-pdf {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--secondary);
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pdf:hover {
    background: transparent;
    color: var(--secondary-light);
    border-color: var(--secondary-light);
    box-shadow: 0 0 15px rgba(197, 154, 59, 0.3);
}

.btn-pdf-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pdf-outline:hover {
    border-color: var(--secondary-light);
    color: var(--secondary-light);
}

@media (max-width: 900px) {
    .download-section-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .download-buttons {
        justify-content: center;
        width: 100%;
    }
    .ref-grid {
        grid-template-columns: 1fr;
    }
}

/* Medium Desktop Viewports (Laptops & Small Monitors) */
@media (min-width: 901px) and (max-width: 1250px) {
    .header {
        padding: 15px 4%;
    }
    .header.scrolled {
        padding: 10px 4%;
    }
    .nav-links {
        gap: 12px;
    }
    .nav-links a {
        font-size: 0.78rem;
    }
}

/* AI Chatbot Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    border: 2px solid var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.chat-bubble:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(197, 154, 59, 0.3);
}

.chat-bubble i {
    font-size: 1.6rem;
    color: var(--secondary-light);
}

.chat-bubble .pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chat-container {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 150px);
    background: rgba(4, 22, 17, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9998;
}

.chat-container.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-header-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.chat-header-text span {
    font-size: 0.75rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.chat-header-text span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.chat-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.message-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.message-bubble.message-bot {
    align-self: flex-start;
    background: rgba(10, 51, 39, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--text-light);
    border-bottom-left-radius: 4px;
}

.message-bubble.message-bot a.bot-link {
    color: var(--secondary-light);
    text-decoration: underline;
    font-weight: 600;
}

.message-bubble.message-bot a.bot-link:hover {
    color: white;
}

.message-bubble.message-bot a.bot-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 6px;
    color: var(--secondary-light);
    font-weight: 500;
    font-size: 0.8rem;
}

.message-bubble.message-bot a.bot-download-btn:hover {
    background: rgba(197, 154, 59, 0.15);
    border-color: var(--secondary-light);
    color: white;
}

.message-bubble.message-user {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.quick-reply-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background: rgba(197, 154, 59, 0.12);
    border-color: rgba(197, 154, 59, 0.3);
    color: var(--secondary-light);
    transform: translateY(-1px);
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(2, 12, 9, 0.5);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    color: white;
    font-size: 0.88rem;
    font-family: inherit;
    resize: none;
    height: 42px;
    max-height: 100px;
    transition: var(--transition);
}

.chat-input-box:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.06);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.chat-send-btn:hover {
    background: var(--secondary-light);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(197, 154, 59, 0.3);
}

/* Typing Simulator Dots */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted-light);
    animation: typingBlink 1.4s infinite both;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBlink {
    0% { opacity: 0.2; transform: scale(0.8); }
    20% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.2; transform: scale(0.8); }
}

/* Mobile responsive constraints for Chatbot */
@media (max-width: 600px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    .chat-container {
        bottom: 90px;
        right: 20px;
        width: calc(100vw - 40px);
        height: 480px;
        max-height: calc(100vh - 120px);
    }
}


