/* styles.css */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #FFFFFF;
}
/* CSS Variables */
:root {
    --primary-color: #003366;
    --secondary-color: #00A676;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --header-height: 80px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-color);
}
.link-primary {
    color: var(--secondary-color);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.link-primary:hover {
    border-bottom-color: var(--secondary-color);
}
/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 80px 0;
}
.bg-light {
    background-color: var(--light-gray);
}
/* Page System */
.page-content {
    display: none;
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}
.page-content.active {
    display: block;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-link {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0;
}
.btn-link:hover {
    color: var(--primary-color);
}
.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: var(--header-height);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-brand {
    flex-shrink: 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    height: 40px;
    width: auto;
}
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.nav-item {
    position: relative;
}
.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--secondary-color);
}
/* Dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
/* Language Switcher */
.language-switcher {
    display: flex;
    background-color: var(--light-gray);
    border-radius: 20px;
    padding: 4px;
}
.lang-btn {
    padding: 6px 12px;
    border: none;
    background: none;
    border-radius: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}
.lang-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}
/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: var(--white);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    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"><circle cx="50" cy="50" r="2" fill="%2300A676" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%2300A676" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="%2300A676" opacity="0.1"/><circle cx="30" cy="80" r="1" fill="%2300A676" opacity="0.1"/><circle cx="70" cy="70" r="2" fill="%2300A676" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}
/* Features Grid */
.features-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}
.feature-card, .service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before, .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}
.feature-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.feature-icon, .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}
.service-card {
    text-align: left;
    padding: 32px;
}
.service-card .service-icon {
    margin: 0 0 24px 0;
}
.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}
.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}
/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}
.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.stars {
    color: #FFD700;
    margin-bottom: 16px;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-name {
    color: var(--primary-color);
    font-weight: 600;
}
.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
}
/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.process-step {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}
.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}
.step-content p {
    color: var(--text-light);
    margin: 0;
}
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: var(--white);
    text-align: center;
}
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}
.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-form {
    max-width: 500px;
    margin: 0 auto 32px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
}
.cta-alt {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.cta-container {
    text-align: center;
    margin-top: 40px;
}
/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.footer-section a:hover {
    color: var(--secondary-color);
}
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.contact-info i {
    color: var(--secondary-color);
    width: 16px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.legal-links {
    display: flex;
    gap: 20px;
}
.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
   
    .hero-title {
        font-size: 2.5rem;
    }
   
    .features-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
   
    .section-padding {
        padding: 60px 0;
    }
   
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
   
    .nav-menu.active {
        left: 0;
    }
   
    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }
   
    .nav-item {
        width: 100%;
        text-align: center;
    }
   
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
   
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin-top: 12px;
        border-radius: var(--border-radius);
    }
   
    .nav-actions {
        order: -1;
        margin-bottom: 20px;
        justify-content: center;
    }
   
    .nav-toggle {
        display: flex;
    }
   
    .cta-btn {
        display: none;
    }
   
    /* Mobile Hero */
    .hero {
        padding: 100px 0 60px;
    }
   
    .hero-title {
        font-size: 2rem;
    }
   
    .hero-subtitle {
        font-size: 1.1rem;
    }
   
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
   
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
   
    /* Mobile Sections */
    .section-title {
        font-size: 2rem;
    }
   
    .features-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
   
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
   
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
   
    .cta-title {
        font-size: 2rem;
    }
   
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
   
    .section-title {
        font-size: 1.75rem;
    }
   
    .cta-title {
        font-size: 1.75rem;
    }
   
    .feature-card, .service-card, .testimonial-card {
        padding: 24px 20px;
    }
}

/* FAQ Section Styles - Modern Clean Accordion */
.faq-section {
    background: #f8f9fa; /* Light bg for contrast */
    padding: 60px 0;
    margin-top: 40px; /* Space from previous section */
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color); /* Your blue theme */
    font-size: 2rem;
}

.faq-section details {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow); /* Soft shadow for depth */
    transition: var(--transition);
}

.faq-section details:hover {
    box-shadow: var(--shadow-lg);
}

.faq-section summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    list-style: none; /* Remove default marker */
}

.faq-section summary::-webkit-details-marker {
    display: none; /* Hide default arrow */
}

.faq-section summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color); /* Your green theme */
    transition: var(--transition);
}

.faq-section details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-section details[open] p {
    padding: 0 20px 20px;
    color: var(--text-dark);
    line-height: 1.6;
    animation: fadeIn 0.3s ease; /* Smooth open */
}

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

/* Responsive for FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }
    .faq-section h2 {
        font-size: 1.5rem;
    }
}

/* Schémas explicatifs */
.schema {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    max-width: 600px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.schema:hover {
    box-shadow: var(--shadow-lg);
}

.schema-audit {
    width: 100%;
    height: auto;
}

.schema-benefits {
    flex-direction: row;
    gap: 20px;
}

.schema-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px;
    transition: var(--transition);
}

.schema-circle:hover {
    transform: scale(1.05);
}

.schema-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 0 10px;
}

/* Listes supplémentaires */
.benefits-list,
.differentiator-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.benefits-list li,
.differentiator-list li {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--white);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefits-list li:hover,
.differentiator-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

/* Amélioration visibilité formulaire contact - sans régression */
.contact-form input,
.contact-form textarea {
    border: 1px solid #cccccc; /* Gris plus foncé pour bordures visibles */
    background-color: #f9f9f9; /* Fond off-white pour contraste avec page blanche */
    color: #333333; /* Texte foncé, matching var(--text-dark) */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Ombre intérieure légère pour profondeur */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666666; /* Gris moyen pour placeholders visibles, matching var(--text-light) */
    opacity: 1; /* Assure visibilité complète (browser default peut varier) */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color); /* Maintient focus existant */
    background-color: #ffffff; /* Retour à blanc au focus pour cohérence */
}

/* Blog Page Styles - Professional Cards */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.blog-card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.blog-date::before {
    content: '📅';
    font-size: 0.875rem;
}

.blog-category {
    background: linear-gradient(135deg, var(--secondary-color), #007A5A);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.blog-read-time i {
    color: var(--secondary-color);
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.blog-card-footer .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #004080);
    color: var(--white);
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.blog-card-footer .btn-link::after {
    content: '→';
    transition: var(--transition);
}

.blog-card-footer .btn-link:hover {
    background: linear-gradient(135deg, #004080, var(--primary-color));
    transform: translateX(2px);
}

.blog-card-footer .btn-link:hover::after {
    transform: translateX(3px);
}

/* Responsive Design for Blog Cards */
@media (max-width: 768px) {
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-card-header {
        padding: 1rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-footer {
        padding: 0.75rem 1rem 1rem 1rem;
    }
}

/* Careers Page Styles */
.careers {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-join-section {
    margin: 4rem 0;
}

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

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-openings-section {
    margin: 4rem 0;
}

.job-listings {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.job-header {
    padding: 1.5rem 1.5rem 1rem;
    background: linear-gradient(135deg, var(--light-gray), #f0f0f0);
    border-bottom: 1px solid var(--border-color);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.job-type, .job-level {
    background: linear-gradient(135deg, var(--secondary-color), #007A5A);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-level {
    background: linear-gradient(135deg, var(--primary-color), #004080);
}

.job-posted {
    color: var(--text-light);
    font-style: italic;
}

.job-content {
    padding: 1.5rem;
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-location, .job-experience {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-location i, .job-experience i {
    color: var(--secondary-color);
}

.job-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.careers-cta {
    text-align: center;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

/* Job Detail Pages */
.job-detail {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.job-breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-link {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
}

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

.job-detail-header {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.job-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.job-type-tag, .job-level-tag, .job-location-tag {
    background: linear-gradient(135deg, var(--secondary-color), #007A5A);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.job-level-tag {
    background: linear-gradient(135deg, var(--primary-color), #004080);
}

.job-location-tag {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.job-date-tag {
    color: var(--text-light);
    font-style: italic;
    padding: 0.5rem 1rem;
}

.job-detail-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-detail-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.job-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.job-detail-main {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.job-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.job-section:last-child {
    border-bottom: none;
}

.job-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-section h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.job-section ul {
    list-style: none;
    padding-left: 0;
}

.job-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.job-section li::before {
    content: '▶';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.recruitment-steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), #004080);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-detail-sidebar {
    display: grid;
    gap: 2rem;
    align-content: start;
}

.apply-card {
    background: linear-gradient(135deg, var(--primary-color), #004080);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.apply-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.btn-full {
    width: 100%;
    margin: 1rem 0;
    padding: 1rem;
    font-size: 1.125rem;
}

.apply-note {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.job-benefits {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.job-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Responsive Design for Careers Pages */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-detail-content {
        grid-template-columns: 1fr;
    }
    
    .job-detail-title {
        font-size: 2rem;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

/* Fix horizontal overflow issues for mobile */
@media (max-width: 768px) {
    /* Prevent horizontal overflow on all pages */
    body {
        overflow-x: hidden;
    }
    
    .container {
        overflow-x: hidden;
    }
    
    /* Fix schema benefits to stack vertically on mobile */
    .schema-benefits {
        flex-direction: column !important;
        gap: 15px;
        align-items: center;
        overflow: hidden;
    }
    
    .schema-circle {
        width: 100px !important;
        height: 100px !important;
        font-size: 0.85rem !important;
        padding: 8px !important;
        flex-shrink: 0;
    }
    
    .schema-line {
        width: 3px !important;
        height: 30px !important;
        margin: 5px 0 !important;
    }
    
    /* Fix schema audit SVG */
    .schema-audit {
        max-width: 100% !important;
        overflow: hidden;
    }
    
    /* Ensure all SVGs are responsive */
    svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix wide content */
    .hero-visual, .schema {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Additional mobile fixes */
@media (max-width: 480px) {
    .schema {
        margin: 20px auto;
        padding: 15px;
        max-width: calc(100vw - 40px);
    }
    
    .schema-circle {
        width: 80px !important;
        height: 80px !important;
        font-size: 0.75rem !important;
        padding: 5px !important;
    }
    
    .schema-line {
        height: 20px !important;
        margin: 3px 0 !important;
    }
}

/* Blog Article Styles */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-date {
    color: var(--primary-color);
    font-weight: 500;
}

.article-category {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-read-time, .article-author {
    color: var(--text-light);
}

.article-intro {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary-color);
}

.article-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.article-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
}

.article-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.article-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.highlight-box ul {
    margin: 1rem 0 0 0;
}

.highlight-box li {
    margin-bottom: 0.5rem;
}

.code-example {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-example h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-cta {
    background: linear-gradient(135deg, var(--light-gray) 0%, #f1f3f4 100%);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.article-cta h3 {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-cta p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-navigation {
    text-align: center;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-intro {
        padding: 1.5rem;
    }
    
    .article-cta {
        padding: 2rem 1.5rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
}