/* 
========================================================================
   SESAME Solutions - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Ultra-Modern, High Standing, Refined Light-Mode
========================================================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Brand Identity Variables */
:root {
    /* Color Palette */
    --primary: #004899;          /* Deep Trust Royal Blue */
    --primary-light: #0062cc;    /* Accent Blue */
    --primary-dark: #002b66;     /* Dark Navy */
    --accent: #FF9F1C;           /* Warm Amber Gold */
    --accent-gold: #D4AF37;      /* High Standing Gold */
    --accent-gold-rgb: 212, 175, 55;
    
    /* Neutral Colors */
    --text-dark: #0f172a;        /* Deep Slate Navy for content */
    --text-muted: #475569;       /* Slate Gray */
    --text-light: #ffffff;       /* Pure White Text */
    --bg-light: #f8fafc;         /* Soft Off-White Background */
    --bg-card: #ffffff;          /* Card Background */
    --bg-glass: rgba(255, 255, 255, 0.75); /* Frosted Glass */
    --bg-dark: #050a14;          /* Luxury Deep Midnight Blue */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 43, 102, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(0, 43, 102, 0.06);
    --shadow-lg: 0 20px 40px -15px rgba(0, 43, 102, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 43, 102, 0.05);
    
    --border-glass: rgba(255, 255, 255, 0.4);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Lock scrolling while preloader runs */
body.preloader-active {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Visibility Helpers */
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: block !important;
}
header .desktop-only {
    display: inline-block !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 
========================================================================
   1. ANIMATED PRELOADER
========================================================================
*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030712;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease;
}

/* Cybernetic grid in the background */
.preloader-cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 93, 179, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 93, 179, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    opacity: 0.8;
}

/* Central glowing radial aura */
.preloader-glow-orb {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 93, 179, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    animation: orbPulse 4s ease-in-out infinite alternate;
}

.preloader-logo-container {
    width: 200px;
    height: 200px;
    margin-bottom: 32px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Concentric scanner rings */
.preloader-scanner-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-scanner-ring.outer-ring {
    width: 100%;
    height: 100%;
    border-top-color: rgba(0, 242, 254, 0.4);
    border-bottom-color: rgba(0, 242, 254, 0.4);
    border-left-color: rgba(0, 93, 179, 0.1);
    border-right-color: rgba(0, 93, 179, 0.1);
    animation: spinCounterClockwise 3s linear infinite;
}

.preloader-scanner-ring.inner-ring {
    width: 80%;
    height: 80%;
    border-top-color: rgba(212, 163, 89, 0.5); /* accent gold */
    border-right-color: rgba(212, 163, 89, 0.1);
    border-bottom-color: rgba(212, 163, 89, 0.5);
    border-left-color: rgba(212, 163, 89, 0.1);
    border-style: dashed;
    animation: spinClockwise 2.5s linear infinite;
}

.preloader-img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.5));
    opacity: 0;
    transform: scale(0.85);
    animation: fadeInLogo 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards, logoPulse 3s ease-in-out infinite 1.8s;
    transition: transform 0.5s ease;
}

.preloader-logo-container.filled .preloader-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.7));
}

/* Futuristic Brand Text Container */
.preloader-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease 1s forwards;
    text-transform: none;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.preloader-decor-line {
    width: 0px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.8), transparent);
    animation: expandLine 1s cubic-bezier(0.85, 0, 0.15, 1) 1.2s forwards;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

/* Keyframes */
@keyframes spinClockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes orbPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 93, 179, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.7)); }
}

@keyframes expandLine {
    to { width: 120px; }
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Class to fadeout & slide up preloader */
#preloader.loaded {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* 
========================================================================
   2. SCROLL REVEAL & TRANSITIONS
========================================================================
*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: var(--transition-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: var(--transition-smooth);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

/* Active status when inside viewport */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delayed reveals for grids */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* 
========================================================================
   3. FLOATING GLASS HEADER
========================================================================
*/
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1280px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    padding: 12px 32px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-fast);
}

header.scrolled {
    top: 12px;
    width: 95%;
    padding: 8px 24px;
    box-shadow: var(--shadow-md);
}

.header-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

header.scrolled .nav-logo-img {
    height: 48px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

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

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

.nav-cta {
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
}

/* Mobile Toggle Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 6px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* 
========================================================================
   4. HERO SECTION
========================================================================
*/
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%), 
                url('assets/hero-bg.png') no-repeat center center / cover;
    overflow: hidden;
}

.hero-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 72, 153, 0.06);
    border: 1px solid rgba(0, 72, 153, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-tag span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-dark);
    font-weight: 800;
}

.hero-title em {
    font-style: normal;
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 40px;
    box-shadow: 0 10px 20px -8px rgba(0, 72, 153, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(0, 72, 153, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 40px;
    border: 2px solid rgba(0, 43, 102, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 72, 153, 0.03);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating Logo Emblem */
.hero-emblem {
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-emblem-img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 43, 102, 0.1));
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Background floating shapes */
.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 72, 153, 0.05) 0%, rgba(0, 72, 153, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

/* 
========================================================================
   5. SECTION LAYOUTS & CONTAINERS
========================================================================
*/
section {
    padding: 100px 0;
    position: relative;
    overflow-x: hidden;
}

.section-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-weight: 800;
}

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

/* 
========================================================================
   6. ABOUT & PARTNERSHIP SECTION
========================================================================
*/
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-visual-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 520px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 32px;
    left: 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 320px;
}

.about-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-badge-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.about-badge-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.partnership-highlight {
    background: rgba(0, 72, 153, 0.03);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
}

.partnership-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.partnership-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* 
========================================================================
   7. SERVICES / SOLUTIONS SECTION
========================================================================
*/
.services-section {
    background: var(--bg-light);
}

.services-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.tabs-wrapper {
    background: rgba(148, 163, 184, 0.1);
    padding: 6px;
    border-radius: 40px;
    display: inline-flex;
    position: relative;
}

.tab-btn {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 32px;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-fast);
    z-index: 2;
}

.tab-btn.active {
    color: var(--text-light);
    background: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Services Grid & Cards */
.services-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.services-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 72, 153, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 72, 153, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 28px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-details {
    list-style: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-bottom: 24px;
}

.service-details li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.service-details li i {
    color: #10b981; /* Success Green check */
    font-size: 0.9rem;
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.service-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.service-price span {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 800;
}

.service-learn-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-learn-more i {
    transition: var(--transition-fast);
}

.service-card:hover .service-learn-more i {
    transform: translateX(4px);
}

.service-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition-fast) ease;
}

.service-card:hover .share-buttons {
    opacity: 0.7;
}

.share-buttons:hover {
    opacity: 1 !important;
}

.share-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.share-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    background: rgba(226, 232, 240, 0.5);
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.1);
}

.share-email:hover {
    background: rgba(0, 72, 153, 0.1);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 72, 153, 0.1);
}

.share-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

@media (max-width: 1024px) {
    .share-buttons {
        opacity: 0.7;
    }
}

/* 
========================================================================
   8. VALUE PROPOSITION SECTION
========================================================================
*/
.value-section {
    background: var(--primary-dark);
    color: var(--text-light);
    overflow: hidden;
}

.value-section .section-title {
    color: var(--text-light);
}

.value-section .section-subtitle {
    color: var(--accent);
}

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

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 
========================================================================
   9. CONTACT & MAP SECTION
========================================================================
*/
.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info-container {
    max-width: 500px;
}

.contact-details-list {
    margin: 40px 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 72, 153, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.contact-detail-content p, 
.contact-detail-content a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-detail-content a:hover {
    color: var(--primary);
}

.contact-map-preview {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 220px;
    background: #e2e8f0;
    position: relative;
    border: 1px solid #cbd5e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Stylized Vector Map Visual */
.vector-map {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.map-sea {
    position: absolute;
    width: 40%;
    height: 100%;
    background: #e0f2fe;
    left: 0;
    top: 0;
    border-right: 2px dashed #bae6fd;
}

.map-route {
    position: absolute;
    width: 8px;
    height: 120%;
    background: #cbd5e1;
    left: 60%;
    top: -10%;
    transform: rotate(-30deg);
}

.map-airport-route {
    position: absolute;
    width: 6px;
    height: 120%;
    background: #f1f5f9;
    border: 1.5px dashed #94a3b8;
    left: 60%;
    top: -10%;
    transform: rotate(-30deg);
}

.map-cross-route {
    position: absolute;
    width: 6px;
    height: 120%;
    background: #cbd5e1;
    left: 40%;
    top: -10%;
    transform: rotate(45deg);
}

.map-airport {
    position: absolute;
    top: 20%;
    right: 15%;
    background: rgba(148, 163, 184, 0.15);
    border: 1px dashed #64748b;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.map-marker {
    position: absolute;
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-pin {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 72, 153, 0.4);
    animation: bounce 2s infinite;
}

.marker-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 7px;
}

.marker-pulse {
    width: 32px;
    height: 8px;
    background: rgba(0, 72, 153, 0.2);
    border-radius: 50%;
    position: absolute;
    bottom: -6px;
    left: -4px;
    animation: pulseMap 2s infinite;
}

.map-label {
    background: var(--primary-dark);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    margin-top: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@keyframes bounce {
    0%, 100% { transform: translate(0, 0) rotate(-45deg); }
    50% { transform: translate(0, -6px) rotate(-45deg); }
}

@keyframes pulseMap {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.4); opacity: 0.9; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #f8fafc;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 72, 153, 0.08);
}

.form-label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    background: transparent;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: #ffffff;
    padding: 0 6px;
}

textarea.form-input {
    height: 120px;
    resize: none;
}

textarea.form-input ~ .form-label {
    top: 24px;
}

textarea.form-input:focus ~ .form-label,
textarea.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
}

/* Form feedback notifications */
.form-status {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* 
========================================================================
   10. PREMIUM FOOTER
========================================================================
*/
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-about-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 30px 0 0 30px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 700;
}

.newsletter-btn:hover {
    background: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* 
========================================================================
   11. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
========================================================================
*/

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
    header {
        padding: 10px 24px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual-container {
        height: 400px;
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Breakpoint (768px) */
@media (max-width: 768px) {
    header {
        width: 95%;
        top: 16px;
        padding: 8px 16px;
        border-radius: 24px;
    }
    
    header .btn-dashboard {
        padding: 0 !important;
        width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        margin-top: 0 !important;
        flex: none !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .btn-dashboard .cta-text {
        display: none;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    .about-badge {
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
        max-width: none !important;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--border-glass);
        box-shadow: var(--shadow-lg);
        border-radius: 20px;
        padding: 32px;
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-fast);
        z-index: 999;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    /* Hamburger toggle animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-emblem {
        width: 220px;
        height: 220px;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .mobile-only {
        display: block !important;
    }
    .mobile-only.nav-cta {
        display: inline-block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* 
========================================================================
   12. CLIENT DASHBOARD PORTAL (DASHBOARD)
========================================================================
*/
#dashboard-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#dashboard-portal.active {
    display: flex;
    opacity: 1;
}

.dashboard-container {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
    position: relative;
}

#dashboard-portal.active .dashboard-container {
    transform: scale(1);
}

/* Sidebar Styling */
.dashboard-sidebar {
    background: var(--primary-dark);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    color: var(--text-light);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.sidebar-brand img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-brand span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.sidebar-menu-item a:hover,
.sidebar-menu-item.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-menu-item.active a {
    background: var(--primary);
    box-shadow: 0 10px 20px -8px rgba(0, 72, 153, 0.4);
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

/* Main Panel Area */
.dashboard-main {
    padding: 40px 48px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/* Overview Panels */
.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 72, 153, 0.05);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-card-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.stat-card-info p {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Tables styling */
.contracts-table-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.contracts-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.contracts-table th,
.contracts-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.contracts-table th {
    background: #f1f5f9;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.contracts-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.pending i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.btn-download {
    background: var(--primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-download:hover {
    background: var(--primary-light);
}

.btn-download:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

/* Auth Cards styling */
.auth-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.auth-container {
    width: 90%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 32px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.auth-tab-btn.active {
    color: var(--primary);
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.auth-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    z-index: 10;
}

.auth-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

/* Form OTP style */
.otp-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.otp-box {
    background: rgba(0, 72, 153, 0.04);
    border: 1px dashed var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
}

/* Responsive dashboard styles */
@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 80px 1fr;
        height: 100vh;
        width: 100vw;
        border-radius: 0;
    }
    
    .sidebar-brand span,
    .sidebar-menu-item span,
    .sidebar-footer span {
        display: none;
    }
    
    .sidebar-menu-item a {
        justify-content: center;
        padding: 14px;
    }
    
    .sidebar-brand {
        justify-content: center;
        margin-bottom: 32px;
    }
    
    .dashboard-main {
        padding: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/*
========================================================================
   13. EXPERTISE MODAL STYLING (GLASSMORPHISM & PREMIUM TIMELINE)
========================================================================
*/
.expertise-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.expertise-container {
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.95);
    position: relative;
}

.expertise-modal-overlay.active .expertise-container {
    transform: scale(1);
}

.expertise-sidebar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #081b33 100%);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.expertise-avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.expertise-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expertise-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.expertise-subtitle {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 24px;
}

.expertise-key-metrics {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.metric-item-small {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.metric-item-small i {
    color: var(--accent);
    font-size: 1rem;
}

.metric-item-small div h5 {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.metric-item-small div p {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px 0 0 0;
    color: #ffffff;
}

.expertise-main {
    padding: 35px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.expertise-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.expertise-close-btn:hover {
    color: var(--primary);
}

.expertise-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1px;
    margin-bottom: 25px;
}

.expertise-tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.expertise-tab-btn:hover {
    color: var(--primary);
}

.expertise-tab-btn.active {
    color: var(--primary);
}

.expertise-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.expertise-panel {
    display: none;
}

.expertise-panel.active {
    display: block;
    animation: fadeInModal 0.4s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline {
    position: relative;
    padding-left: 20px;
    margin-top: 12px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 2px;
    height: calc(100% - 16px);
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 72, 153, 0.1);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 2px;
}

.timeline-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.timeline-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.timeline-bullets {
    margin-top: 4px;
    padding-left: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-bullets li {
    margin-bottom: 3px;
}

/* Responsive adjustment for expertise modal */
@media (max-width: 768px) {
    .expertise-container {
        grid-template-columns: 1fr;
        height: 90vh;
        width: 92%;
    }
    .expertise-sidebar {
        padding: 25px 20px;
    }
    .expertise-avatar-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }
    .expertise-key-metrics {
        display: none;
    }
    .expertise-main {
        padding: 20px;
    }
}

/* 
========================================================================
   14. CV SUBMISSION MODAL STYLING
========================================================================
*/
.cv-modal-container {
    width: 100%;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    margin: 40px auto;
}

.cv-modal-header {
    margin-bottom: 28px;
}

.cv-modal-header h2 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.cv-modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-cv {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label-cv {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input-cv {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #ffffff;
    transition: var(--transition-fast);
}

.form-input-cv:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 72, 153, 0.1);
    outline: none;
}

.form-textarea-cv {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #ffffff;
    resize: vertical;
    transition: var(--transition-fast);
}

.form-textarea-cv:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 72, 153, 0.1);
    outline: none;
}

.cv-file-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cv-file-dropzone:hover {
    border-color: var(--primary);
    background: rgba(0, 72, 153, 0.02);
}

.cv-upload-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.cv-dropzone-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
}

.btn-select-file {
    padding: 8px 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-select-file:hover {
    background: var(--primary-light);
}

.cv-file-info {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    font-size: 0.88rem;
}

.cv-remove-file {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    margin-left: auto;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
    display: flex;
}

.cv-remove-file:hover {
    color: #ef4444;
}

.cv-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 28px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.btn-cv-secondary {
    padding: 12px 24px;
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cv-secondary:hover {
    background: #cbd5e1;
}

.btn-cv-primary {
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-cv-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cv-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cv-status-box {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cv-status-box.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #34d399;
}

.cv-status-box.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #f87171;
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .cv-modal-container {
        padding: 24px;
    }
}

/* Page de Recrutement Dédiée */
.rejoindre-hero {
    padding: 160px 0 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rejoindre-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.rejoindre-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.rejoindre-title {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.rejoindre-title span {
    color: var(--accent);
}

.rejoindre-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.rejoindre-section {
    padding: 40px 0 100px 0;
    background: #ffffff;
    position: relative;
}

.rejoindre-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .rejoindre-hero {
        padding: 120px 0 60px 0;
    }
    .rejoindre-title {
        font-size: 2.2rem;
    }
    .rejoindre-desc {
        font-size: 0.98rem;
    }
}

