/* Variables globales */
:root {
    --primary-color: #1a5f7a;    /* Bleu professionnel */
    --secondary-color: #2c88b0;  /* Bleu clair */
    --accent-color: #4CAF50;     /* Vert pour les éléments importants */
    --text-color: #2c3e50;       /* Bleu-gris foncé pour le texte */
    --light-bg: #f8f9fa;         /* Gris clair pour les fonds */
    --tertiary-color: #e6f3e6;   /* Vert très clair */
    --transition-speed: 0.3s;
}
/* Reset et styles de base */
* {margin: 0;padding: 0;box-sizing: border-box;}
body {font-family: 'Poppins', sans-serif;line-height: 1.6;color: var(--text-color);overflow-x: hidden;padding-top: 80px;}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    transition: all 0.3s ease;
    padding: 15px 0;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    top: 0;
}

.navbar-brand {
    font-weight: 700;
    transition: transform var(--transition-speed) ease;
    padding: 0;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #4CAF50;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #4CAF50;
    transform: translateX(5px);
}

.dropdown-item:active {
    background-color: var(--secondary-color);
    color: white !important;
}

/* Gestion du déroulement au survol */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown .dropdown-toggle::after {
    display: none;
}

/* Hero Section with Carousel */
.hero-section {
    margin-top: -80px;
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-color: var(--primary-color);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0 15px;
}

.carousel-text {
    flex: 1;
    padding: 0 40px;
    max-width: 50%;
    color: white;
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.carousel-text .title-group {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
    gap: 20px;
    flex-wrap: wrap;
}

.carousel-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: normal;
    letter-spacing: 0.5px;
    max-width: 100%;
}

.carousel-text .lead {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    max-width: 100%;
}

.carousel-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-text .button-group {
    display: flex;
    gap: 15px;
}

.carousel-text .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
}

.carousel-text .btn:hover {
    background: #28a745;
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-text .btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.carousel-text .btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.carousel-text .btn-primary {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: #ffffff;
}

.carousel-text .btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
}

.carousel-floating-image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    margin-left: -30px;
    margin-right: 40px;
}

.carousel-floating-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

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

@media (max-width: 1200px) {
    .carousel-text {
        padding: 0 40px;
    }

    .carousel-text h2 {
        font-size: 2.8rem;
    }

    .carousel-text .lead {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .carousel-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 60px 20px 40px;
    }

    .carousel-text {
        max-width: 100%;
        padding: 0;
        margin-bottom: 30px;
        margin-left: 0;
    }

    .carousel-text .title-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 1.5rem;
        width: 100%;
        padding-top: 20px;
    }

    .carousel-text h2 {
        font-size: 2.1rem;
        text-align: center;
        width: 100%;
        line-height: 1.3;
    }

    .carousel-text .lead {
        font-size: 1.6rem;
        text-align: center;
        width: 100%;
    }

    .carousel-text p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .carousel-text .button-group {
        justify-content: center;
    }

    .carousel-floating-image {
        height: 40vh;
        margin-top: 20px;
        margin-right: 0;
    }

    .carousel-floating-image img {
        max-width: 90%;
        max-height: 90%;
    }
}

@media (max-width: 576px) {
    .carousel-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .carousel-text .lead {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .carousel-text p {
        font-size: 1rem;
    }

    .carousel-text .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 140px;
    }

    .carousel-text .button-group {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .carousel-floating-image {
        height: 30vh;
    }

    .carousel-content {
        padding: 80px 15px 20px;
    }

    .carousel-text .title-group {
        margin-bottom: 1rem;
        padding-top: 30px;
    }
}

/* Domaines Section */
#domaines {
    background-color: #f0f4f8; /* Professional light blue-gray */
    padding: 80px 0;
    text-align: center;
}

.domain-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.domain-card:hover {
    transform: translateY(-10px);
}

.domain-card:hover img {
    transform: scale(1.1);
}

.domain-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.domain-content {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.domain-description {
    text-align: center;
    margin-bottom: 60px;
}

.domain-description h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.domain-description .lead {
    color: var(--text-color);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.domain-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.feature-item h3 i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.feature-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.cta-section {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cta-section p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    background: var(--primary-color);
    border: none;
    transition: background-color 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
}

/* Services Section */
#services {
    background-color: #f5f9f5; /* Professional light mint */
    padding: 80px 0;
    text-align: center;
}

.service-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

/* Footer */
footer {
    background: var(--primary-color);
}

footer a {
    transition: color var(--transition-speed) ease;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    .domain-card {
        margin-bottom: 2rem;
    }
}

/* Optimisations de performance */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Domains Section Styling */
.domains-section {
    padding: 80px 0;
    background-color: var(--secondary-color); /* Blue */
    text-align: center;
}

.domains-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Services Section Styling */
.services-section {
    padding: 80px 0;
    background-color: var(--tertiary-color); /* Green */
    text-align: center;
}

.services-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Top Bar */
.top-bar {
    background-color: #1a365d; /* Dark blue from logo */
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar .contact-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.top-bar .contact-info i {
    color: white;
}

.btn-quote {
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.btn-quote:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.carousel-control-next {
    right: 20px;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
    color: #fff;
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    position: relative;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #4CAF50;
    transform: translateX(5px);
}

.footer-section ul li a i {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links a:hover {
    color: #4CAF50;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    color: #000;
    transform: translateX(5px);
}

.contact-info p i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg');
    opacity: 0.1;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .breadcrumb-item a:hover {
    color: white;
}

.page-hero .breadcrumb-item.active {
    color: white;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.domain-content {
    padding: 80px 0;
}

.domain-description {
    margin-bottom: 60px;
}

.domain-description h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.domain-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.domain-description .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.domain-features {
    margin-bottom: 60px;
}

.domain-features h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item h4 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

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

.feature-item ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item ul li:last-child {
    border-bottom: none;
}

.feature-item ul li::before {
    content: '→';
    color: var(--secondary-color);
}

.domain-benefits {
    margin-bottom: 60px;
}

.domain-benefits h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.benefit-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.benefit-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item h4 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.certification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.certification-list li i {
    color: var(--secondary-color);
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.equipment-tag {
    background: #f8f9fa;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.equipment-tag:hover {
    background: var(--primary-color);
    color: white;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 60px 0;
    }

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

    .domain-content {
        padding: 60px 0;
    }

    .feature-item, .benefit-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .domain-content {
        padding: 40px 0;
    }

    .domain-description h2 {
        font-size: 1.8rem;
    }

    .feature-item h4, .benefit-item h4 {
        font-size: 1.2rem;
    }
}

/* Shop Styles */
.category-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-sidebar h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.category-sidebar ul li {
    margin-bottom: 10px;
}

.category-sidebar ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.category-sidebar ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .category-sidebar {
        margin-bottom: 30px;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
}

/* Training Page Styles */
.training-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.training-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.training-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.training-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.training-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.training-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.training-features li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.schedule-table {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-table .table {
    margin-bottom: 0;
}

.schedule-table th {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.schedule-table td {
    vertical-align: middle;
}

@media (max-width: 768px) {
    .training-card {
        margin-bottom: 2rem;
    }
    
    .schedule-table {
        padding: 1rem;
    }
    
    .schedule-table .table {
        font-size: 0.9rem;
    }
    
    .schedule-table .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Contact Page Styles */
.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: #666;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group label {
    color: #666;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .info-item {
    margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* About Page Styles */
.about-image {
    position: relative;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-image:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.achievement-item h3 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-info .position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-info .description {
    color: #666;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--primary-color);
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .about-image {
        margin-bottom: 2rem;
    }
    
    .achievement-item {
        margin-bottom: 1rem;
    }
    
    .value-card {
        margin-bottom: 1.5rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
}

/* Domains Page Styles */
.domain-item {
    margin-bottom: 5rem;
}

.domain-item:last-child {
    margin-bottom: 0;
}

.domain-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.domain-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.domain-image:hover img {
    transform: scale(1.05);
}

.domain-content {
    padding: 2rem;
}

.domain-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.domain-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.domain-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.domain-features li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 991px) {
    .domain-item {
        margin-bottom: 3rem;
    }
    
    .domain-image {
        margin-bottom: 2rem;
    }
    
    .domain-content {
        padding: 1rem;
    }
    
    .domain-image img {
        height: 300px;
    }
}

/* Products Page Styles */
.section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
}

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

.product-info p {
    color: #666;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.product-features li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 1rem;
    }
}

/* News Page Styles */
.featured-article {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.article-content {
    padding: 2rem;
}

.article-meta {
    margin-bottom: 1rem;
}

.article-meta span {
    color: #666;
    margin-right: 1rem;
    font-size: 0.9rem;
}

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

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 1.5rem;
}

.news-meta {
    margin-bottom: 1rem;
}

.news-meta span {
    color: #666;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.news-meta .category {
    color: var(--primary-color);
    font-weight: 500;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Sidebar Styles */
.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.search-form .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

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

.category-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a:hover {
    color: var(--primary-color);
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 1rem;
}

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

.post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.post-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-content .date {
    color: #666;
    font-size: 0.9rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

@media (max-width: 991px) {
    .article-image {
        height: 300px;
    }
    
    .sidebar-widget {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .article-image {
        height: 250px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .article-content,
    .news-content {
        padding: 1.5rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-block {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.privacy-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.privacy-block h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.privacy-content {
    color: #666;
    line-height: 1.6;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content ul li {
    position: relative;
    padding: 0.25rem 0;
}

.privacy-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .privacy-block {
        padding: 1.5rem;
    }
    
    .privacy-block h2 {
        font-size: 1.25rem;
    }
    
    .privacy-block h3 {
        font-size: 1.1rem;
    }
}

/* Terms of Use Page Styles */
.terms-block {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.terms-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.terms-block h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.terms-content {
    color: #666;
    line-height: 1.6;
}

.terms-content p {
    margin-bottom: 1rem;
}

.terms-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-content ul li {
    position: relative;
    padding: 0.25rem 0;
}

.terms-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .terms-block {
        padding: 1.5rem;
    }
    
    .terms-block h2 {
        font-size: 1.25rem;
    }
    
    .terms-block h3 {
        font-size: 1.1rem;
    }
}

/* Sitemap Page Styles */
.sitemap-block {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sitemap-block h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.sitemap-category {
    margin-bottom: 2rem;
}

.sitemap-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sitemap-content ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.sitemap-content ul li {
    margin-bottom: 0.5rem;
}

.sitemap-content ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-content ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .sitemap-block {
        padding: 1.5rem;
    }
    
    .sitemap-block h2 {
        font-size: 1.25rem;
    }
    
    .sitemap-category h3 {
        font-size: 1.1rem;
    }
}

/* 404 Error Page Styles */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-block {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-title {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-message {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.error-actions {
    margin-bottom: 2rem;
}

.error-actions .btn {
    margin: 0 0.5rem;
    padding: 0.75rem 2rem;
}

.error-suggestions h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.error-suggestions ul li {
    margin-bottom: 0.5rem;
}

.error-suggestions ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-suggestions ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .error-block {
        padding: 2rem;
    }
    
    .error-code {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Newsletter Section */
.newsletter-wrapper {
    margin-bottom: 30px;
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.newsletter-title {
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-title i {
    color: #4CAF50;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 0;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background: transparent;
        border: none;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    padding: 15px 30px;
    background: #4CAF50;
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Footer Sections */
.footer-section {
    margin-bottom: 20px;
}

.section-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #4CAF50;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.footer-section:hover .section-title::after {
    width: 100px;
}

/* Company Description */
.company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-block h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vision-block h4 i {
    color: #4CAF50;
}

/* Contact Info */
.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.contact-info .contact-item:hover {
    transform: translateX(5px);
}

.contact-info .contact-item i {
    color: #4CAF50;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info .contact-item a,
.contact-info .contact-item p {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-info .contact-item a:hover {
    color: #4CAF50;
}

/* Quick Links */
.link-list {
    list-style: none;
        padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-list li {
    margin-bottom: 0;
}

.link-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 3px 0;
}

.link-list a i {
    color: #4CAF50;
    font-size: 16px;
    transition: transform 0.3s ease;
    width: 20px;
    text-align: center;
}

.link-list a:hover {
    color: #4CAF50;
    transform: translateX(5px);
}

.link-list a:hover i {
    transform: translateX(3px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #4CAF50;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links a:hover {
    color: #4CAF50;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
        opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.scroll-to-top.visible {
        opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer {
        padding: 30px 0 20px;
    }

    .newsletter-section {
        padding: 20px;
    }

    .newsletter-title {
        justify-content: center;
    }

    .newsletter-form {
        margin-top: 20px;
    }

    .footer-section {
        text-align: center;
    }

    .section-title {
        justify-content: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .newsletter-section {
        padding: 20px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Styles spécifiques pour la page Informatique */
.tech-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg');
    opacity: 0.1;
    z-index: 1;
}

.tech-hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.tech-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.tech-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.tech-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tech-hero .breadcrumb-item a:hover {
    color: #ffffff;
}

.tech-hero .breadcrumb-item.active {
    color: #ffffff;
}

.tech-feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-feature-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-feature-card h4 i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

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

.tech-feature-card ul li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.tech-feature-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 8px;
}

.tech-benefit-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tech-benefit-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-benefit-item h4 i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.tech-benefit-item p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.tech-sidebar {
    position: sticky;
    top: 100px;
}

.tech-widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-widget h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}

.tech-certification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-certification-list li {
    padding: 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-certification-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.tech-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg');
    opacity: 0.1;
}

.tech-cta h3 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.tech-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
}

.tech-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .tech-hero {
        padding: 80px 0 40px;
    }

    .tech-hero h1 {
        font-size: 2.8rem;
    }

    .tech-hero .lead {
        font-size: 1.3rem;
    }

    .tech-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .tech-hero h1 {
        font-size: 2.2rem;
    }

    .tech-hero .lead {
        font-size: 1.1rem;
    }

    .tech-feature-card,
    .tech-benefit-item {
        padding: 20px;
    }

    .tech-cta {
        padding: 60px 0;
    }

    .tech-cta h3 {
        font-size: 2rem;
    }
}

/* Organizational Chart Styles - Refined */
.org-chart-container {
    padding: 3rem;
    background-color: #ffffff; /* White background for the chart area */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Softer shadow */
    position: relative;
    overflow: hidden; /* Ensure nothing spills out, though connectors are gone */
}

.org-card {
    font-weight: bold;
    padding: 1.2rem 1.5rem; /* Increased padding */
    border-radius: 10px; /* Consistent rounded corners */
    display: block; /* Make it a block for full width in columns */
    margin: auto; /* Center in column */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Clearer shadow */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    text-align: center; /* Center text within card */
    min-height: 80px; /* Ensure minimum height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.org-card.director-general {
    background-color: #0056b3; /* Darker blue for primary */
    color: white;
    font-size: 1.8rem; /* Larger font */
    border-radius: 50px; /* Pill shape for top-level */
    min-width: 250px;
    max-width: 350px;
}

.org-card.agents-support {
    background-color: #495057; /* Dark gray for support */
    color: white;
    font-size: 1.2rem;
    min-width: 200px;
    max-width: 300px;
}

.org-card.direction {
    background-color: #e9f5ff; /* Lighter blue for directions */
    color: #343a40;
    border: 1px solid #cce5ff;
    text-align: left; /* Align text left for lists */
    padding: 1.5rem; /* Standard padding */
    min-height: 150px; /* Ensure consistent height for direction cards */
    flex-direction: column; /* Stack content vertically */
    align-items: flex-start; /* Align text to start */
}

.org-card.direction h4 {
    color: #0056b3;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center; /* Center title in direction card */
    width: 100%;
}

.org-card.direction ul {
    padding-left: 0;
    list-style: none;
    flex-grow: 1;
    width: 100%;
}

.org-card.direction ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.org-card.direction ul li i {
    margin-top: 0.2rem;
    margin-right: 0.5rem;
    color: #007bff;
}

/* Ensure sufficient margin between levels */
.org-chart-container .row + .row {
    margin-top: 4rem; /* More space between main levels */
}

@media (max-width: 767.98px) {
    .org-card {
        margin-bottom: 1.5rem; /* Add vertical spacing on small screens */
    }
}

.org-chart-container .text-center.position-relative {
    position: relative;
    padding-bottom: 30px; /* Space for vertical connector */
}

.org-chart-container .org-unit + .org-connector-vertical {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px; /* Length of the vertical line */
    background-color: #adb5bd; /* Gray line color */
}

.org-chart-container .row.justify-content-center.mb-5 {
    position: relative;
    padding-bottom: 40px; /* Space for vertical line down from this row */
}

.org-chart-container .org-connector-horizontal {
    position: absolute;
    top: -20px; /* Adjust based on exact positioning */
    left: 0;
    right: 0;
    height: 2px;
    background-color: #adb5bd;
    z-index: 0;
}

.org-chart-container .row.justify-content-center.mb-5 .col-md-3:first-child .org-connector-vertical::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: #adb5bd;
}

.org-chart-container .row.justify-content-center.mb-5 .col-md-3:last-child .org-connector-vertical::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: #adb5bd;
}

.org-chart-container .org-connector-vertical-up {
    content: '';
    position: absolute;
    top: -30px; /* Position above the element */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background-color: #adb5bd;
}

/* Specific connector styles for the main hierarchy */
.org-chart-container > .text-center:first-child > .org-connector-vertical {
    height: 60px; /* Longer line from Directeur Général */
    bottom: -30px;
}

/* Horizontal line below secretariat, QHSE, Audit */
.org-chart-container > .row.justify-content-center.mb-5:first-of-type {
    position: relative;
}

.org-chart-container > .row.justify-content-center.mb-5:first-of-type::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 2px;
    height: 20px;
    background-color: #adb5bd;
}

.org-chart-container > .row.justify-content-center.mb-5:first-of-type::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 25%; /* Adjust as needed for connection points */
    width: 50%; /* Length of the horizontal line */
    height: 2px;
    background-color: #adb5bd;
}

/* Ensure lines connect to the org-directions row */
.org-chart-container .row.g-4 {
    margin-top: 50px; /* Space for the connecting lines */
    position: relative;
}

/* Agents d'appuis connection */
.org-chart-container .agents-support-wrapper {
    position: relative;
    padding-top: 50px; /* Space for the line coming up */
}

.org-chart-container .agents-support-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background-color: #adb5bd;
}

/* Styles pour la navigation mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 1000;
        padding-bottom: 10px;
    }

    .navbar-nav {
        padding: 0 15px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 15px;
        color: var(--text-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-light .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Styles pour les dropdowns en mobile */
    .dropdown-menu {
        background-color: #f8f9fa;
        border: none;
        box-shadow: none;
        position: relative !important;
        width: 100%;
        padding: 0;
        margin: 0;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        float: none !important;
    }

    .dropdown-item {
        padding: 10px 30px;
        color: var(--text-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-item:hover {
        background-color: var(--tertiary-color);
        color: var(--primary-color);
        transform: none;
    }

    /* Style pour l'indicateur de menu déroulant */
    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    /* Assurer que les dropdowns sont visibles quand ils ont la classe show */
    .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}