@import url("header.css");
@import url("animations.css");
@import url("global.css");



/*SECTION HERO*/
/* Hero Section - Version Pro et Épurée */
.hero {
    position: relative;
    height: 50vh;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%), url('../img/about/p1.jpg') no-repeat center center/cover;
    animation: fadeInBg 1.5s ease-in-out forwards;
}

@keyframes fadeInBg {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 70%);
    opacity: 0.3;
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #386bf8, #3b82f6, #fdfdff, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    }
    to {
        text-shadow: 0 0 25px rgba(59, 130, 246, 1);
    }
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 4px 10px rgba(255, 255, 255, 0.8);
}

.stat-label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;

}

/* Effet au hover */
.stat-item:hover .stat-number {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}









/*SECTION Services */
.services {
    padding: 60px 20px;
    background-color: var(--text-light);
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
    color: var(--black);
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.service {
    background-color: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.service h3 {
    margin-bottom: 10px;
}

.service p {
    color: #666;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-features {
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--accent-red);
    margin-right: 10px;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    background: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-service:hover {
    background: var(--text-light);
    text-decoration: none;
}

.btn-service i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-service:hover i {
    transform: translateX(5px);
}



/*SECTION  Additional Services */
/* Section Additional Services - Version améliorée */
.additional-services {
    padding: 50px 20px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.additional-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
}

.additional-services .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.additional-services .section-title {
    text-align: center;
}

.additional-services .section-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: var(--accent-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.additional-services .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 0 20px;
}

.additional-services .service {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.additional-services .service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.additional-services .service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-red));
    transition: width 0.3s ease;
}

.additional-services .service:hover::before {
    width: 8px;
}



.additional-services .service:hover .icon {
    transform: scale(1.1);
}

.additional-services .service h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.additional-services .service h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.additional-services .service:hover h3::after {
    width: 70px;
}

.additional-services .service p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.additional-services .btn-contact {
    margin-top: auto;
    align-self: flex-start;
    padding: 12px 25px;
    background: var(--primary-blue);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: .6rem;
}

.additional-services .btn-contact i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.additional-services .btn-contact:hover {
    background: var(--accent-red);
    transform: translateX(5px);
}

.additional-services .btn-contact:hover i {
    transform: translateX(5px);
}

/* Effet au survol pour la carte */
.additional-services .service:hover {
    background: linear-gradient(135deg, #f8fafc, white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .additional-services .service-list {
      gap: 20px;
      padding: 0 10px;
    }
  
    .additional-services .service {
      padding: 30px 20px;
    }
  
    .additional-services .btn-contact {
      font-size: 0.65rem;
      padding: 10px 20px;
    }
  }
  
  @media (max-width: 768px) {
    .additional-services {
      padding: 40px 15px;
    }
  
    .additional-services .service-list {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 15px;
    }
  
    .additional-services .service {
      padding: 25px 18px;
    }
  
    .additional-services .btn-contact {
      font-size: 0.7rem;
    }
  }
  
  @media (max-width: 480px) {
    .additional-services {
      padding: 30px 10px;
    }
  
    .additional-services .service-list {
      grid-template-columns: 1fr;
      padding: 0;
      gap: 20px;
    }
  
    .additional-services .service {
      padding: 20px 15px;
    }
  
    .additional-services .btn-contact {
      font-size: 0.75rem;
      padding: 10px 18px;
    }
  }
  








/* SECTION  témoignages */
.testimonials {
    background: var(--light-bg);
    padding: 80px 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0,0,0,0.1);
    position: absolute;
    left: -15px;
    top: -20px;
    z-index: 0;
}

.rating {
    color: #FFD700;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-list {
        flex-direction: column;
        align-items: center;
    }
}


