/* Variables CSS */
:root {
    --primary: #215cca;
    --primary-dark: #1a4a9c;
    --secondary: #6c63ff;
    --accent: #f31212;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #555;
    --text-light: #777;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation améliorée */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: var(--transition);
    height: 70px;
}

.navbar-shrink {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-shrink .navbar-brand img {
    height: 60px;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 8px 15px !important;
    border-radius: 4px;
    color: var(--dark) !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 80%;
    left: 10%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.contact-nav {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nav-contact-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 92, 202, 0.3);
}

.nav-contact-btn:after {
    display: none;
}

/* Hero Section améliorée - TEXTE EN BLANC */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(243, 18, 18, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 18, 18, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(243, 18, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 18, 18, 0); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #fff, #d4e4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white; /* TEXTE EN BLANC */
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white; /* TEXTE EN BLANC */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(33, 92, 202, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(33, 92, 202, 0.4);
}

.btn-primary:after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.2);
    transition: var(--transition);
    transform: skewX(-20deg);
}

.btn-primary:hover:after {
    width: 100%;
}

.btn-outline-light {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-feature i {
    font-size: 2rem;
    color: var(--secondary);
}

.hero-feature span {
    font-weight: 500;
    color: white;
}

/* Stats Section améliorée */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, #f0f5ff 100%);
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMzMsIDkyLCAyMDIsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiPjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIvPjwvZz48L3N2Zz4=');
    opacity: 0.5;
}

.stats-card {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stats-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: rgba(33, 92, 202, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.stats-card:hover .stats-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    transition: all 1s ease;
}

.stats-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Entities Section */
.entities-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

.nav-pills .nav-link {
    background: rgba(33, 92, 202, 0.1);
    color: var(--primary);
    padding: 12px 25px;
    margin: 0 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.nav-pills .nav-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 92, 202, 0.3);
}

.nav-pills .nav-link:hover:not(.active) {
    background: rgba(33, 92, 202, 0.2);
    transform: translateY(-2px);
}

.entity-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.entity-content .lead {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.entity-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(33, 92, 202, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.entity-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.entity-image img:hover {
    transform: scale(1.02);
}

/* Styles pour les icônes des pôles */
.feature-icon .fa-chart-line,
.feature-icon .fa-file-invoice-dollar,
.feature-icon .fa-chess-knight,
.feature-icon .fa-rocket,
.feature-icon .fa-balance-scale,
.feature-icon .fa-handshake,
.feature-icon .fa-wallet,
.feature-icon .fa-chart-pie,
.feature-icon .fa-passport,
.feature-icon .fa-home,
.feature-icon .fa-laptop-code,
.feature-icon .fa-globe,
.feature-icon .fa-gavel,
.feature-icon .fa-file-contract,
.feature-icon .fa-chalkboard-teacher,
.feature-icon .fa-user-graduate {
    font-size: 1.8rem;
}

/* Animation pour le changement d'onglets */
.nav-pills .nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pills .nav-link:hover {
    transform: translateY(-2px);
}

/* Enhanced animations for poles section */
.nav-pills .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pills .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 92, 202, 0.15);
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(33, 92, 202, 0.25);
}

/* Smooth tab transitions */
.tab-content {
    transition: all 0.3s ease;
}

.tab-pane {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Packs Section */
.packs-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f5ff 100%);
}

.pack-card {
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border-radius: 15px;
    box-shadow: var(--shadow);
    background: white;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.pack-card .card-header {
    padding: 25px 20px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

/* Couleurs spécifiques pour chaque pack */
.pack-business { 
    border-top-color: var(--bronze);
    background: linear-gradient(135deg, #FFF 70%, rgba(205, 127, 50, 0.15) 100%);
}

.pack-business .card-header {
    background: linear-gradient(to right, rgba(205, 127, 50, 0.1), rgba(205, 127, 50, 0.05));
}

.pack-business .card-title,
.pack-business .price,
.pack-business .fa-check,
.pack-business .btn {
    color: var(--bronze) !important;
}

.pack-business .btn-outline {
    border-color: var(--bronze);
}

.pack-business .btn-outline:hover {
    background-color: var(--bronze);
    color: white !important;
}

.pack-confort { 
    border-top-color: var(--silver);
    background: linear-gradient(135deg, #FFF 70%, rgba(192, 192, 192, 0.15) 100%);
}

.pack-confort .card-header {
    background: linear-gradient(to right, rgba(192, 192, 192, 0.1), rgba(192, 192, 192, 0.05));
}

.pack-confort .card-title,
.pack-confort .price,
.pack-confort .fa-check,
.pack-confort .btn {
    color: var(--silver) !important;
}

.pack-confort .btn-outline {
    border-color: var(--silver);
}

.pack-confort .btn-outline:hover {
    background-color: var(--silver);
    color: white !important;
}

.pack-vip { 
    border-top-color: var(--gold);
    background: linear-gradient(135deg, #FFF 70%, rgba(255, 215, 0, 0.15) 100%);
}

.pack-vip .card-header {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.pack-vip .card-title,
.pack-vip .price,
.pack-vip .fa-check,
.pack-vip .btn {
    color: var(--gold) !important;
}

.pack-vip .btn-outline {
    border-color: var(--gold);
}

.pack-vip .btn-outline:hover {
    background-color: var(--gold);
    color: white !important;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    transform: rotate(45deg);
    padding: 5px 40px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
}

.ribbon-vip {
    background: var(--danger);
}

.list-group-item {
    border: none;
    padding: 12px 16px;
}

.card-footer {
    background: transparent;
    border-top: 1px solid #eee;
}

/* Nos Réalisations Section */
.realisations-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.realisations-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMzMsIDkyLCAyMDIsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjEiPjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIvPjwvZz48L3N2Zz4=');
    opacity: 0.5;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.realisation-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(33, 92, 202, 0.1);
}

.realisation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.realisation-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.realisation-card:hover .realisation-logo {
    transform: scale(1.1);
}

.realisation-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.realisation-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.realisation-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.realisation-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    background: transparent;
}

.realisation-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 92, 202, 0.3);
}

/* Team Section améliorée */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f5ff 100%);
    position: relative;
    overflow: hidden;
}

.expert-img-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.expert-img {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

.expert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 92, 202, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.expert-img-container:hover .expert-overlay {
    opacity: 1;
}

.expert-social a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin: 0 10px;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.expert-social a:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

.expert-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin: 0 auto;
    max-width: 380px;
    background: white;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.expert-card .card-body {
    padding: 25px;
    text-align: center;
}

.expert-card h4 {
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.expert-card .text-primary {
    color: #3498db !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-tags {
    margin: 15px 0;
}

.expertise-tag {
    display: inline-block;
    background: rgba(33, 92, 202, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0 5px 5px 0;
}

.expert-description {
    color: #7f8c8d;
    line-height: 1.6;
}

.director-message {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
    margin-top: 40px;
}

.message-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.director-message blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.signature {
    margin-top: 30px;
}

.signature p {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

.signature span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section améliorée */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(33, 92, 202, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    background: white;
    margin-bottom: 20px;
}

.contact-info-card:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-info-card h5 {
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.social-section {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f5ff 100%);
    border-radius: 15px;
    margin-top: 40px;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
}

.social-icon.facebook:hover {
    background: #3b5998;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark), #1c2833);
    color: white;
    padding: 80px 0 30px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social-icons a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-social-icons a:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .realisations-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .nav-pills .nav-link {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 0 3px 5px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stats-number {
        font-size: 3rem;
    }
    
    .nav-pills .nav-link {
        margin-bottom: 10px;
    }
    
    .entity-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 100px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .entity-content, .entity-image {
        padding: 10px;
    }
    
    .nav-pills .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .director-message {
        padding: 30px 20px;
    }
    
    .social-icons-large {
        flex-wrap: wrap;
    }
    
    .contact-card .card-body {
        padding: 30px 20px;
    }
    
    .realisations-section {
        padding: 80px 0;
    }
    
    .realisations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .realisation-card {
        padding: 30px 20px;
    }
    
    .realisation-logo {
        height: 70px;
        margin-bottom: 20px;
    }
    
    .realisation-logo img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 10px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .stats-card {
        padding: 30px 20px;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .realisation-card {
        padding: 25px 20px;
    }
    
    .realisation-card h5 {
        font-size: 1.2rem;
    }
    
    .nav-pills {
        flex-wrap: wrap;
    }
    
    .nav-pills .nav-link {
        flex: 1 0 auto;
        min-width: 150px;
        margin: 2px;
        text-align: center;
    }
    
    .entity-content h3 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .nav-pills.justify-content-start {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-pills.justify-content-start::-webkit-scrollbar {
        display: none;
    }
    
    .nav-pills .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Loading states */
body:not(.loaded) .animate-up {
    opacity: 0;
}

body.loaded .animate-up {
    transition: all 0.8s ease;
}

/* Enhanced image loading */
.entity-image img {
    transition: opacity 0.5s ease;
}

.entity-image img:not(.loaded) {
    opacity: 0;
}

.entity-image img.loaded {
    opacity: 1;
}