:root {
    --primary-color: #0a0a4a; /* Navy blue */
    --secondary-color: #e6ff00; /* Bright yellow */
    --accent-color: #ff8ac5; /* Pink */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #f0f0f0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 80%;
    overflow: visible;
    max-width: 250px; /* Increased from default */
}

#navbar-logo {
    max-height: 100px !important; /* Increased from 60px inline style */
    width: auto;
}
.logo-text {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-pulse {
    display: flex;
    flex-direction: column;
}

.logo-pulse span {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.logo-pulse small {
    color: var(--accent-color);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section with Carousel */
.hero-section {
    height: 100vh;
    color: white;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Carousel Styling */
#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item {
    height: 100vh;
}

.carousel-img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Content Overlay */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(rgba(10, 10, 74, 0.1), rgba(10, 10, 74, 0.1));
}

.hero-section h1 {
    font-weight: 800;
    letter-spacing: 2px;
}

.highlight {
    color: var(--secondary-color);
}

/* Styled company name */
.company-name {
    display: inline-block;
}

.company-name .com {
    color: var(--primary-color); /* Navy blue */
    font-weight: 800;
}

.company-name .pul {
    color: var(--secondary-color); /* Bright yellow */
    font-weight: 800;
}

.company-name .sion {
    color: var(--accent-color); /* Pink */
    font-weight: 800;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background-color: white;
}

.intro-image img {
    border: 10px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 50px;
}

/* Services Section */
.services-section {
    background-color: var(--gray-color);
    padding: 100px 0;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: attr(data-number);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(230, 255, 0, 0.2);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-icon i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #666;
    position: relative;
    z-index: 1;
}

/* Service Details */
.service-details {
    background-color: white;
    padding: 100px 0;
}

.detail-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.detail-card.navy {
    background-color: var(--primary-color);
    color: white;
}

.detail-card.yellow {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.detail-card.pink {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.detail-card.light {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.detail-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 20px;
    line-height: 1;
}

.detail-content h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-content ul {
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 8px;
}

/* Values Section */
.values-section {
    background-color: var(--gray-color);
    padding: 100px 0;
}

.values-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
}

/* Partners Section */
.partners-section {
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 3rem 0;
}

.partners-track {
    display: flex;
    align-items: center;
    animation: scroll-left 20s linear infinite;
    width: calc(300% + 4rem);
    white-space: nowrap;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.66%);
    }
}

.partner-logo {
    flex: 0 0 auto;
    margin: 0 2rem;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.3s ease;
    opacity: 0.8;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: scale(1.15);
    opacity: 1;
    filter: brightness(1.1);
}

.partner-logo img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Logos spécifiques plus grands */
.partner-logo.large-logo {
    width: 200px;
    height: 120px;
}

.partner-logo.large-logo img {
    max-height: 90px;
    max-width: 180px;
}

/* Contact Section */
.contact-section {
    background-color: white;
    padding: 100px 0;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
}

.contact-info h3 {
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-text h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 15px 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.form-label {
    color: #666;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-pulse span {
    color: white;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    margin-right: 5px;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    transform: translateY(0);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-radius: 5px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 0.9rem;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-contact li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 5px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
    text-decoration: none;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    padding-bottom: 10px;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    border-radius: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; width: 50px; }
    50% { opacity: 1; width: 80px; }
    100% { opacity: 0.7; width: 50px; }
}

.footer-logo-right {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.footer-logo-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.footer-logo-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(230, 255, 0, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.footer-logo-right:hover::after {
    transform: translateX(100%);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .intro-section, .services-section, .service-details, .values-section, .contact-section {
        padding: 80px 0;
    }
    
    .intro-image {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .values-image {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-about, .footer-links, .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-logo-right {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card, .detail-card, .value-card {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .detail-number {
        font-size: 2rem;
    }
    
    /* Partners Section Mobile */
    .partners-carousel {
        padding: 2rem 0;
    }
    
    .partner-logo {
        width: 100px;
        height: 60px;
        margin: 0 1rem;
    }
    
    .partner-logo img {
        max-height: 40px;
        max-width: 80px;
    }
    
    .partner-logo.large-logo {
        width: 120px;
        height: 70px;
    }
    
    .partner-logo.large-logo img {
        max-height: 50px;
        max-width: 100px;
    }
}

/* Additional Styles */
.navbar.scrolled {
    background-color: var(--primary-color);
    padding: 10px 0;
}

.navbar.scrolled .nav-link {
    color: white;
}

.navbar.scrolled .logo-text, 
.navbar.scrolled .logo-pulse span {
    color: white;
}

.navbar.scrolled .logo-pulse small {
    color: var(--secondary-color);
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .navbar-toggler-icon

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-pulse span {
    color: white;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    margin-right: 5px;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    transform: translateY(0);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-radius: 5px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 0.9rem;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-contact li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 5px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
    text-decoration: none;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    padding-bottom: 10px;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    border-radius: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; width: 50px; }
    50% { opacity: 1; width: 80px; }
    100% { opacity: 0.7; width: 50px; }
}

.footer-logo-right {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.footer-logo-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.footer-logo-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(230, 255, 0, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.footer-logo-right:hover::after {
    transform: translateX(100%);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .intro-section, .services-section, .service-details, .values-section, .contact-section {
        padding: 80px 0;
    }
    
    .intro-image {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .values-image {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-about, .footer-links, .footer-contact {
        margin-bottom: 30px;
    }
    
    .footer-logo-right {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}