/* ===========================================
   FINAM CONSULTING - Global Styles
   =========================================== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #eab308;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
}

/* Dark Mode Variables */
body.dark-mode {
    --text-dark: #f1f5f9;
    --text-light: #94a3b8;
    --bg-white: #1e293b;
    --bg-light: #0f172a;
    --border-color: #334155;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===========================================
   PAGE LOADER
   =========================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.page-loader p {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* ===========================================
   COOKIE BAR
   =========================================== */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: #fff;
    padding: 15px 20px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ===========================================
   TOAST NOTIFICATIONS
   =========================================== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.4s ease, fadeOut 0.4s ease 3.6s forwards;
    font-size: 0.9rem;
}

.toast.success { border-left-color: #22c55e; }
.toast.error   { border-left-color: #ef4444; }
.toast.warning { border-left-color: var(--secondary-color); }

.toast i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.toast.success i { color: #22c55e; }
.toast.error i   { color: #ef4444; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}

/* ===========================================
   BACK TO TOP
   =========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===========================================
   DARK MODE TOGGLE
   =========================================== */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 85px;
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.dark-mode-toggle:hover {
    transform: translateY(-3px) rotate(15deg);
    border-color: var(--primary-color);
}

body.dark-mode .dark-mode-toggle {
    background: var(--text-dark);
    color: var(--secondary-color);
    border-color: var(--border-color);
}

body.dark-mode .logo-title {
    color: var(--text-light);
}

body.dark-mode .logo-subtitle {
    color: var(--text-light);
}

body.dark-mode .hamburger {
    color: var(--text-light);
}

/* ===========================================
   HEADER & NAVBAR
   =========================================== */
header,
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar,
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

header.scrolled,
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

body.dark-mode header.scrolled,
body.dark-mode .header.scrolled {
    background: rgba(30, 41, 59, 0.95);
}

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

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

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

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

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ===========================================
   SECTIONS COMMON
   =========================================== */
section {
    padding: 80px 20px;
}

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

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ===========================================
   ABOUT
   =========================================== */
.about {
    background: var(--bg-white);
    text-align: center;
}

.about h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
}

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

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===========================================
   VALUES
   =========================================== */
.values {
    background: var(--bg-white);
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    background: var(--bg-white);
    border-color: var(--border-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ===========================================
   WHY US
   =========================================== */
.why-us {
    background: var(--bg-light);
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.why-text > p {
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 1rem;
    line-height: 1.8;
}

.why-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.why-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.why-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.why-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

/* ===========================================
   STATS
   =========================================== */
.stats {
    background: var(--bg-white);
    padding: 60px 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===========================================
   SECTORS
   =========================================== */
.sectors {
    background: var(--bg-light);
}

.sector-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.sector-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.sector-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.sector-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ===========================================
   TEAM
   =========================================== */
.team {
    background: var(--bg-white);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.03);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 5px;
    color: var(--text-dark);
}

.team-card span {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ===========================================
   TESTIMONIALS SLIDER
   =========================================== */
.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.testimonial-card > p {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card > p::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.client {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
}

.client img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.client span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ===========================================
   FAQ ACCORDION
   =========================================== */
.faq {
    background: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: #eef2ff;
}

body.dark-mode .faq-question:hover {
    background: #1e293b;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-white);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===========================================
   LOCATION
   =========================================== */
.location {
    background: var(--bg-light);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-box:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--primary-color);
}

.info-box i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.info-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: var(--radius);
    border: none;
    box-shadow: var(--shadow);
}

/* ===========================================
   CONTACT
   =========================================== */
.contact {
    background: var(--bg-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-box:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.contact-box i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit-btn:hover {
    background: var(--primary-dark);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.appointment {
    margin-top: 20px;
    text-align: center;
}

.appointment-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #25d366;
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.appointment-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 60px 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.footer-col h2 span {
    color: var(--secondary-color);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #1e293b;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Socials */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid #334155;
}

.socials a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 50px;
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===========================================
   CARD LINK / READ MORE BUTTON
   =========================================== */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 10px 22px;
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.card-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Make entire card clickable area smooth */
.service-card,
.sector-card,
.value-card,
.team-card {
    position: relative;
}

/* ===========================================
   PAGE DETAIL HEADER
   =========================================== */
.page-header {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-header-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    font-size: 0.8rem;
}

.breadcrumb .current {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* ===========================================
   PAGE DETAIL CONTENT
   =========================================== */
.page-detail {
    background: var(--bg-white);
    padding: 60px 20px;
}

.page-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-detail-section {
    margin-bottom: 50px;
}

.page-detail-section:last-child {
    margin-bottom: 0;
}

.page-detail-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-detail-section h2 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.page-detail-section p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 15px;
}

.page-detail-section ul {
    list-style: none;
    padding: 0;
}

.page-detail-section ul li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.page-detail-section ul li:last-child {
    border-bottom: none;
}

.page-detail-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* Detail cards grid */
.detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-card {
    background: var(--bg-light);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.detail-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.detail-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.detail-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Box */
.page-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
}

.page-cta h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.page-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.page-cta .btn {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.page-cta .btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-3px);
}

/* ===========================================
   WHATSAPP FLOATING BUTTON
   =========================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 998;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .why-content,
    .location-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-image {
        order: -1;
    }

    .why-image img {
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    body.dark-mode .nav-links {
        background: var(--bg-dark);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-box h2 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .back-to-top,
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dark-mode-toggle {
        right: 75px;
    }

    .whatsapp-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .contact-form {
        padding: 25px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .toast {
        min-width: auto;
        max-width: 90vw;
        right: 10px;
        left: 10px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .service-container,
    .values-container,
    .sector-container,
    .team-container {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   PAGE HEADER BACKGROUND IMAGES
   =========================================== */

.page-header-conseil {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-conseil-gestion.webp');
    background-size: cover;
    background-position: center;
}

.page-header-comptabilite {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-comptabilite.webp');
    background-size: cover;
    background-position: center;
}

.page-header-integrite {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-integrite.webp');
    background-size: cover;
    background-position: center;
}

.page-header-excellence {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-excellence.webp');
    background-size: cover;
    background-position: center;
}

.page-header-innovation {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-innovation.webp');
    background-size: cover;
    background-position: center;
}

.page-header-collaboration {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-collaboration.webp');
    background-size: cover;
    background-position: center;
}

.page-header-directeur {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-directeur.webp');
    background-size: cover;
    background-position: center;
}

.page-header-equipe-finance {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-equipe-finance.webp');
    background-size: cover;
    background-position: center;
}

.page-header-equipe-consultant {
    background-image: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.70) 100%), url('../images/header-equipe-consultant.webp');
    background-size: cover;
    background-position: center;
}
