/* Styles généraux */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff9800;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #003366 100%);
    --gradient-accent: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    --gradient-light: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --shadow-soft: 0 8px 25px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
    --border-radius: 15px;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 86, 179, 0.02) 50%, transparent 51%);
    pointer-events: none;
}

/* Animation d'entrée pour les sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

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

a:hover {
    color: var(--secondary-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Boutons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary::before, .btn-secondary::before, .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-outline:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    color: var(--primary-color);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.nav-logo:hover h2 {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background: rgba(0,86,179,0.05);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0,86,179,0.05);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}



/* ==========================================================
   HERO SECTION (index + pages internes)
   ========================================================== */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    max-width: none;
    position: relative;
    z-index: 2;
}
.hero h1 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 16px 18px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.06);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.stat-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
    display: block;
}
.stat-label {
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.85;
    display: block;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-media {
    position: relative;
    z-index: 2;
}
.hero-media .hero-svg,
.hero-image .hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
}
.hero-image { /* fallback page interne */
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 86, 179, 0.1);
}

/* --- Responsive Hero --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-media { order: -1; margin-bottom: 10px; }
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat-card:last-child { grid-column: 1 / -1; }
}

/* Certifications */
.certifications {
    background-color: var(--light-color);
    padding: 40px 0;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 30px;
}

.cert-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-item {
    background-color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==========================================================
   ABOUT SECTION (index + about)
   ========================================================== */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 86, 179, 0.02) 50%, transparent 51%);
    pointer-events: none;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.about-text {
    position: relative;
    z-index: 1;
}
.about-text::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-light);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.5;
    transition: var(--transition-smooth);
}
.about-text:hover::before {
    opacity: 0.8;
    transform: scale(1.02);
}
.about-text ul {
    margin-bottom: 25px;
}
.about-text li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: var(--transition);
    opacity: 0.9;
}
.about-text li:hover {
    opacity: 1;
    transform: translateX(5px);
}
.about-text li:before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
}
.about-text li:hover:before {
    color: var(--primary-color);
    transform: scale(1.3);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-member h4 {
    margin-bottom: 5px;
}

.team-member p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-detail {
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.cert-detail:hover {
    transform: translateY(-5px);
}

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

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 100px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1000px;
    position: relative;
    z-index: 2;
}

.service-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    border-top: 5px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card i {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.08);
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.service-card:hover i {
    transform: translateY(-5px);
    color: var(--accent-color);
    background: rgba(0, 86, 179, 0.12);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card ul {
    margin-top: 20px;
}

.service-card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    transition: all 0.3s ease;
    opacity: 0.85;
    line-height: 1.6;
}

.service-card:hover li {
    opacity: 1;
    transform: translateX(3px);
}

.service-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card li:after {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 12px;
    transition: all 0.3s ease;
}

.service-card:hover li:before {
    background-color: rgba(0, 86, 179, 0.2);
}

.service-card:hover li:after {
    color: var(--accent-color);
}

/* ==========================================================
   SERVICES GRID (index + services)
   ========================================================== */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 100px 0;
}
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1000px;
    position: relative;
    z-index: 2;
}
.service-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    border-top: 5px solid transparent;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.service-card > * { position: relative; z-index: 1; }
.service-card i {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.08);
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}
.service-card:hover i {
    transform: translateY(-5px);
    color: var(--accent-color);
    background: rgba(0, 86, 179, 0.12);
}
.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
}
.service-card:hover h3 { color: var(--primary-color); }
.service-card ul { margin-top: 20px; }
.service-card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    transition: all 0.3s ease;
    opacity: 0.85;
    line-height: 1.6;
}
.service-card:hover li {
    opacity: 1;
    transform: translateX(3px);
}
.service-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.service-card li:after {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 12px;
    transition: all 0.3s ease;
}
.service-card:hover li:before { background-color: rgba(0, 86, 179, 0.2); }
.service-card:hover li:after { color: var(--accent-color); }

/* --- Responsive Services Grid --- */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* Contracts Section */
.contracts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.testimonial {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(0, 86, 179, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial blockquote {
    margin-bottom: 10px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial cite {
    font-weight: 600;
    display: block;
    text-align: right;
}

/* SBA Section */
.sba {
    background-color: var(--light-color);
}

.sba-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    
}

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

.status-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.benefits-title {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
}

.benefits-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 0 20px;
    align-items: center;
}

.benefits-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.benefits-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sba-benefits {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 20px 0;
}

.sba-benefits ul {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}

.sba-benefits li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.sba-benefits li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
}

.sba-benefits li:after {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 4px;
    top: 0;
    font-size: 12px;
}

/* ==========================================================
   CAREERS SECTION (index + careers)
   ========================================================== */
.careers-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.career-option {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.career-option p {
    margin-bottom: 20px;
}

/* ==========================================================
   CONTACT SECTION (index + contact)
   ========================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

/* ==========================================================
   FOOTER (toutes les pages)
   ========================================================== */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001a33 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>') repeat;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section {
    padding: 20px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.footer-section:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.footer h3, .footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
}

.footer h3::after, .footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    transition: var(--transition);
}

.footer-section:hover p {
    color: rgba(255, 255, 255, 0.95);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-section ul li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 20px;
}

.footer-section ul li a:hover::before {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

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

/* ==========================================================
   PAGE HEADER (pages internes)
   ========================================================== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    text-align: center;
}
.page-header h1 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.page-header p {
    font-size: 1.1rem;
    color: var(--gradient-accent);
    max-width: 700px;
    margin: 0 auto;
}

/* Small Business Page Styles */
.small-business-intro,
.join-team-intro {
    padding-bottom: 40px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: 20px;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Modern Responsive Enhancements */
/* Fluid typography for a more modern scale */
h1 {
    font-size: clamp(2rem, 1.6rem + 2.4vw, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
}

p {
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1rem);
}

/* Global responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Modern responsive grids using auto-fit */
.services-grid,
.features-grid,
.team-grid,
.partners-grid,
.values-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certification-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-5px);
}

.certification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    padding: 20px;
    color: var(--primary-color);
}

.certification-content {
    padding: 20px;
    flex: 1;
}

.certification-details {
    margin-top: 15px;
    list-style: none;
}

.certification-details li {
    margin-bottom: 8px;
}

.certification-details i {
    color: var(--success-color);
    margin-right: 8px;
}

.programs-content {
    margin-top: 40px;
}

.programs-text {
    margin-bottom: 30px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    background-color: var(--light-color);
    padding: 20px;
    text-align: center;
    color: var(--primary-color);
}

.program-content {
    padding: 20px;
}

.program-benefits {
    margin-top: 15px;
}

.program-benefits h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.program-benefits ul {
    list-style: none;
}

.program-benefits li {
    margin-bottom: 8px;
}

.program-benefits i {
    color: var(--success-color);
    margin-right: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diversity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.diversity-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ==========================================================
   TESTIMONIALS (index + services)
   ========================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 25px;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(0, 86, 179, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--light-color);
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Careers Page Styles */
.why-join-us {
    background-color: var(--light-color);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.job-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-header {
    background-color: var(--primary-color);
    padding: 20px;
    color: white;
}

.job-header h3 {
    color: white;
    margin-bottom: 10px;
}

.job-location, .job-type {
    display: inline-block;
    margin-right: 15px;
    font-size: 0.9rem;
}

.job-location i, .job-type i {
    margin-right: 5px;
}

.job-content {
    padding: 20px;
}

.job-description {
    margin-bottom: 20px;
}

.job-requirements h4 {
    margin-bottom: 10px;
}

.job-requirements ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-requirements li {
    margin-bottom: 8px;
}

.subcontracting-content {
    margin-top: 40px;
}

.subcontracting-text {
    margin-bottom: 30px;
}

.subcontracting-areas {
    list-style: none;
    margin-top: 20px;
}

.subcontracting-areas li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.subcontracting-areas i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.process-steps {
    margin-top: 20px;
}

.process-step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 5px;
}

.subcontracting-cta {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.subcontracting-cta h3 {
    margin-bottom: 10px;
}

.subcontracting-cta p {
    margin-bottom: 20px;
}

.internship-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.internship-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.internship-text h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.internship-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.internship-text li {
    margin-bottom: 8px;
}

.internship-text i {
    color: var(--success-color);
    margin-right: 8px;
}

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

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details h3 {
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 10px;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.map-container {
    margin-top: 40px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-overlay p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.department-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-icon {
    background-color: var(--light-color);
    padding: 20px;
    text-align: center;
    color: var(--primary-color);
}

.department-content {
    padding: 20px;
}

.department-contact {
    margin-top: 15px;
}

.department-contact p {
    margin-bottom: 8px;
}

.department-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

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

.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Service Details Styles */
.service-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.service-overview {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.service-icon {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.service-icon svg {
    width: 80px;
    height: 80px;
    fill: var(--primary-color);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,86,179,0.2));
    transition: all 0.3s ease;
}

.service-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0,86,179,0.3));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* Sur les grands écrans (PC), forcer 2 colonnes */
@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px; 
  }
}

/* Sur mobile, 1 seule colonne */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 1px 8px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}
/* Responsive media in feature cards */
.feature-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 80px;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #495057;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.feature-card ul li:nth-child(1) { animation-delay: 0.1s; }
.feature-card ul li:nth-child(2) { animation-delay: 0.2s; }
.feature-card ul li:nth-child(3) { animation-delay: 0.3s; }
.feature-card ul li:nth-child(4) { animation-delay: 0.4s; }

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

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--accent-color), #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(40,167,69,0.3);
    transition: all 0.3s ease;
}

.feature-card:hover ul li:before {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 4px 8px rgba(40,167,69,0.4);
}

/* Enhanced Modern Styles for Service Pages */

/* Animated Background Patterns */
.service-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0,86,179,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,152,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0,86,179,0.03) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Enhanced Service Overview */
.service-overview .lead {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    position: relative;
}

.service-overview .lead::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* Enhanced Grid Layouts */
.clearance-grid, .compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.services-grid,.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Service-details responsive refinements */
@media (max-width: 1200px) {
    .service-overview .lead {
        font-size: 1.15rem;
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .service-details {
        padding: 60px 0;
    }
    .features-grid { gap: 30px; }
    .feature-card { padding: 32px 24px; }
    .feature-card img { height: 200px; }
    .clearance-grid, .compliance-grid, .services-grid { gap: 24px; }
    .service-icon svg { width: 72px; height: 72px; }
    .service-icon::before { width: 110px; height: 110px; }
}

@media (max-width: 768px) {
    .service-details { padding: 40px 0; }
    .service-overview .lead { font-size: 1.05rem; margin-bottom: 24px; }
    .features-grid { gap: 20px; }
    .feature-card { padding: 24px 20px; border-radius: 16px; }
    .feature-card h3 { font-size: 1.2rem; }
    .feature-card img { height: 180px; }
    .feature-card ul li { font-size: 0.95rem; }
    .clearance-card, .compliance-item, .emergency-item { padding: 22px; }
    .service-icon svg { width: 64px; height: 64px; }
    .service-icon::before { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
    .feature-card img { height: 160px; }
    .feature-card { padding: 20px 18px; }
}

.clearance-card, .compliance-item, .emergency-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.08),
        0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.9);
}

.clearance-card::before, .compliance-item::before, .emergency-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.clearance-card:hover::before, .compliance-item:hover::before, .emergency-item:hover::before {
    transform: scaleX(1);
}

.clearance-card:hover, .compliance-item:hover, .emergency-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.08);
}

/* Enhanced Section Styles */
.clearance-section, .compliance-section, .emergency-response, .military-services {
    margin: 80px 0;
    position: relative;
}

.clearance-section h2, .compliance-section h2, .emergency-response h2, .military-services h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.clearance-section h2::after, .compliance-section h2::after, .emergency-response h2::after, .military-services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* =============================
   Service Pages — Spécifiques
   ============================= */

/* Support Bases — Specialized Services */
.military-services .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.military-services .service-item h3 {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .military-services .service-item ul { margin-top: 10px; }
    .military-services .service-item li { font-size: 0.95rem; }
}

/* Transport — Feature Image Card */
.feature-card.feature-image {
    padding: 0;
    overflow: hidden;
}

.feature-card.feature-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.feature-card.feature-image .feature-content {
    padding: 24px;
}

@media (max-width: 768px) {
    .feature-card.feature-image img { height: 220px; }
    .feature-card.feature-image .feature-content { padding: 20px; }
}

/* Government — Compliance & Contracts layout */
.compliance-section .compliance-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 992px) {
    .compliance-section .compliance-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Enhanced Stats Display */
.compliance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 0.05;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-item p {
    color: #6c757d;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Enhanced Service Items */
.service-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.9);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::before {
    opacity: 0.03;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.08);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-item p {
    color: #6c757d;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-item ul {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   CTA BANNER (index + pages internes)
   ========================================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,152,0,0.1) 0%, transparent 50%);
    animation: ctaFloat 15s ease-in-out infinite;
}
@keyframes ctaFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.cta h2 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
.cta .btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.cta .btn-primary:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,152,0,0.3);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-overview, .features-grid > *, .clearance-section > *, .compliance-section > * {
    animation: fadeInUp 0.8s ease forwards;
}

.features-grid > *:nth-child(1) { animation-delay: 0.1s; }
.features-grid > *:nth-child(2) { animation-delay: 0.2s; }
.features-grid > *:nth-child(3) { animation-delay: 0.3s; }
.features-grid > *:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content,
    .contracts-content,
    .sba-content,
    .contact-content,
    .intro-content,
    .diversity-content,
    .internship-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .team-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .cert-logos {
        justify-content: center;
    }
}

/* Page Header Styles */
.page-header {
    padding: 150px 0 80px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Enhanced Contact Info Styles */
.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.9);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.contact-icon {
    margin-bottom: 25px;
}

.contact-icon i {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(255, 152, 0, 0.1));
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.2), rgba(255, 152, 0, 0.2));
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-details p {
    color: #6c757d;
    margin-bottom: 8px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ==========================================================
   SERVICES INTRO (index + services)
   ========================================================== */
.services-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}
.services-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 86, 179, 0.02) 50%, transparent 51%);
    pointer-events: none;
}
.intro-content,
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.intro-grid { grid-template-areas: "text media"; }
.intro-text {
    position: relative;
    grid-area: text;
}
.intro-text::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-light);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.5;
    transition: var(--transition-smooth);
}
.intro-text:hover::before { opacity: 0.8; transform: scale(1.02); }
.services-intro .intro-text {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
}
.intro-media {
    grid-area: media;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.05);
}
.intro-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
}
.intro-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.intro-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.intro-image:hover img { transform: scale(1.05); }
.intro-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Responsive Services Intro --- */
@media (max-width: 992px) {
    .intro-content,
    .intro-grid { grid-template-columns: 1fr; grid-template-areas: "media" "text"; }
}
@media (max-width: 768px) {
    .services-intro .intro-text { padding: 20px; }
}

/* ==========================================================
   SERVICES DETAILED (services)
   ========================================================== */
.services-detailed {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-detailed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.service-detailed {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.service-icon-large {
    text-align: center;
    margin-bottom: 40px;
}

.service-icon-large i {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(255, 152, 0, 0.1));
    padding: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-detailed:hover .service-icon-large i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.2), rgba(255, 152, 0, 0.2));
}

.service-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* --- Responsive Service Features --- */
@media (min-width: 992px) {
  .service-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}
@media (max-width: 480px) {
  .service-features {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
}

.feature-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h3 i {
    color: var(--accent-color);
}

.feature-item ul {
    margin-top: 20px;
}

.feature-item li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #6c757d;
}

.feature-item li::before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* ===== STYLES MODERNES POUR ÉQUIPE ET CERTIFICATIONS ===== */

/* Section Équipe Moderne */
.team-section-modern {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.team-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0,86,179,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,152,0,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member-modern {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.member-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.08),
        0 5px 15px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.member-card:hover::before {
    opacity: 0.03;
}

.member-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 25px rgba(0,0,0,0.08);
}

.member-image-modern {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.member-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,86,179,0.8), rgba(255,152,0,0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-card:hover .member-image-modern img {
    transform: scale(1.1);
}

.member-social {
    display: flex;
    gap: 20px;
}

.member-social i {
    color: white;
    font-size: 1.5rem;
    padding: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.member-social i:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.member-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.member-header {
    text-align: center;
    margin-bottom: 20px;
}

.member-header h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.member-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0,86,179,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(0,86,179,0.1);
    transform: translateX(5px);
}

.achievement-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

.achievement-item span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Section Certifications Moderne */
.certifications-section-modern {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.certifications-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 70% 20%, rgba(255,152,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(0,86,179,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cert-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.cert-card-modern {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 12px 30px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.cert-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.cert-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(0,0,0,0.08);
}

.cert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cert-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,86,179,0.2);
}

.cert-icon-modern i {
    color: white;
    font-size: 1.5rem;
}

.cert-badge {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-badge-special {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.cert-badge-iso {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.cert-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.cert-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-number {
    background: rgba(0,86,179,0.1);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
}

.cert-highlight {
    background: linear-gradient(135deg, rgba(255,152,0,0.1), rgba(0,86,179,0.1));
    color: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cert-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .member-content {
        padding: 25px;
    }
    
    .cert-card-modern {
        padding: 25px;
    }
    
    .member-achievements {
        gap: 10px;
    }
    
    .achievement-item {
        padding: 10px 14px;
    }
}

/* Mission & Vision Modern Styles */
.mission-vision-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.mission-card,
.vision-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 8px 16px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 0.03;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.12),
        0 12px 24px rgba(0,0,0,0.06);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.mission-card p,
.vision-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.point-item:last-child {
    border-bottom: none;
}

.point-item i {
    color: var(--success-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.point-item span {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.values-modern {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.values-modern h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.values-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-modern {
    text-align: center;
    padding: 20px;
    background: rgba(0,86,179,0.02);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,86,179,0.1);
}

.value-modern:hover {
    background: rgba(0,86,179,0.05);
    transform: translateY(-5px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 1.3rem;
    color: white;
}

.value-modern h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-modern p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Mission & Vision Responsive */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px 25px;
        margin: 0 20px;
    }
    
    .values-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Modern Classic Hero Styles for Service Pages */
.hero-service {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 86, 179, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hero-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="%23ffffff" opacity="0.4"/><circle cx="0" cy="0" r="1" fill="%230056b3" opacity="0.1"/><circle cx="60" cy="60" r="1" fill="%230056b3" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23hero-pattern)"/></svg>') repeat;
    opacity: 0.6;
    pointer-events: none;
}

.hero-service .container {
    position: relative;
    z-index: 2;
}

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

.hero-service-content {
    padding-right: 20px;
}

.hero-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.hero-service-badge::before {
    content: '★';
    font-size: 0.9rem;
}

.hero-service h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary-color);
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-service .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 86, 179, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.hero-feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-color);
}

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

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

.hero-service-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 360px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 86, 179, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 86, 179, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-service-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 86, 179, 0.03) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-service-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 86, 179, 0.15));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-service-visual:hover img {
    transform: scale(1.05);
}

.hero-service-decorative {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-service-decorative::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-service {
        min-height: 60vh;
        padding: 100px 0 60px;
    }
    
    .hero-service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-service-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-service-media {
        order: 1;
    }
    
    .hero-service-visual {
        max-width: 400px;
        height: 300px;
        padding: 30px;
    }
    
    .hero-service-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-service {
        padding: 80px 0 40px;
    }
    
    .hero-service h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-service-visual {
        height: 250px;
        padding: 20px;
    }
    
    .hero-service-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-service-cta {
        justify-content: center;
    }
}