:root {
    --gold: #FFD700;
    --dark: #121212;
}

body {
    background-color: var(--dark);
    color: white;
    font-family: 'Arial', sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 2px solid var(--gold);
}

.navbar-brand {
    color: var(--gold) !important;
    font-weight: bold;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.nav-link {
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
                url('https://source.unsplash.com/random/1920x1080?tech') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.welcome-text {
    padding: 2rem;
}

.main-title {
    color: var(--gold);
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards,
               glowText 3s ease-in-out infinite;
}

.services-intro {
    margin: 2rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.service-text {
    color: white;
    font-size: 2rem;
    display: inline-block;
    margin: 0 10px;
    opacity: 0;
    animation: scaleIn 0.5s ease-out forwards;
}

.service-text:nth-child(1) { animation-delay: 1s; }
.service-text:nth-child(3) { animation-delay: 1.5s; }
.service-text:nth-child(5) { animation-delay: 2s; }

.separator {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.separator:nth-child(2) { animation-delay: 1.25s; }
.separator:nth-child(4) { animation-delay: 1.75s; }

.subtitle {
    color: white;
    font-size: 2rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 3s forwards;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    background: white;
    color: var(--dark);
}

/* Services Section */
.section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--gold); }
    50% { box-shadow: 0 0 20px var(--gold); }
    100% { box-shadow: 0 0 5px var(--gold); }
}

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

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

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glowText {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
}

/* Updated Intro Grid Layout */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Updated Brand Section Styles */
.brand-section {
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(18, 18, 18, 0.9));
    border-radius: 15px;
    border: 1px solid var(--gold);
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1));
    animation: shimmer 2s infinite;
}

.brand-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    position: relative;
}

/* Updated Objective Section Styles */
.objective-section {
    padding: 3rem;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.9), rgba(255, 215, 0, 0.1));
    border-radius: 15px;
    border: 1px solid var(--gold);
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.objective-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, transparent, rgba(255, 215, 0, 0.1));
    animation: shimmer 2s infinite;
}

/* New Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-section, .objective-section {
        animation: fadeInUp 1s ease-out forwards;
    }
}

/* Update existing text styles */
.brand-description, .objective-text {
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    position: relative;
}

/* Hover effects */
.brand-section:hover, .objective-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

/* Add smooth reveal for sections */
.section > .container > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.section > .container > *:nth-child(2) {
    animation-delay: 0.2s;
}

.section > .container > *:nth-child(3) {
    animation-delay: 0.4s;
}

/* Solutions Grid Updated Styles */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: rgba(18, 18, 18, 0.97);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    animation: softPulse 3s infinite;
    animation-delay: calc(var(--card-index, 0) * 0.5s);
}

/* Effet de bordure subtil */
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.03) 45%,
        rgba(255, 215, 0, 0.05) 55%,
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s;
}

/* Effet de lueur douce */
.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 215, 0, 0.03),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 215, 0, 0.1);
}

.solution-card:hover::before,
.solution-card:hover::after {
    opacity: 1;
}

/* Style des icônes */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: rgba(255, 215, 0, 0.8);
    transition: all 0.3s ease;
}

.solution-card:hover .icon-wrapper {
    background: rgba(255, 215, 0, 0.15);
    transform: scale(1.05);
}

/* Style du contenu */
.solution-card h3 {
    color: rgba(255, 215, 0, 0.9);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.features-list span {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.features-list i {
    color: rgba(255, 215, 0, 0.6);
    font-size: 1rem;
}

.solution-card:hover .features-list span {
    transform: translateX(5px);
    color: rgba(255, 255, 255, 0.9);
}

/* Animation subtile au survol */
@keyframes subtleGlow {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.2);
    }
    50% {
        border-color: rgba(255, 215, 0, 0.4);
    }
}

.solution-card:hover {
    animation: subtleGlow 2s ease-in-out infinite;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solution-card:nth-child(4) {
        grid-column: 2 / span 1.5;
    }
    
    .solution-card:nth-child(5) {
        grid-column: 1 / span 1.5;
    }
}

@media (max-width: 1399px) and (min-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        animation-delay: 0.2s !important;
    }
}

/* Why Us Section Styles */
.why-us-header {
    position: relative;
    margin-bottom: 4rem;
}

.why-us-image {
    max-width: 400px;
    border-radius: 15px;
    margin: 2rem auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.accordion-section {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: transparent;
    border: 1px solid var(--gold);
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.accordion-item:nth-child(2) {
    animation-delay: 0.2s;
}

.accordion-item:nth-child(3) {
    animation-delay: 0.4s;
}

.accordion-button {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.95), rgba(255, 215, 0, 0.05));
    color: var(--gold);
    font-size: 1.2rem;
    padding: 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(18, 18, 18, 0.95));
    color: var(--gold);
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFD700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: rgba(18, 18, 18, 0.9);
    color: white;
    padding: 2rem;
}

.accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.accordion-body li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
}

.accordion-body li::before {
    content: '→';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.accordion-button:hover {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(18, 18, 18, 0.98));
}

.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-us-image {
        max-width: 100%;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Why Us Icons Styles */
.why-us-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.95), rgba(255, 215, 0, 0.1));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.icon-circle:nth-child(1) {
    animation-delay: 0.2s;
}

.icon-circle:nth-child(2) {
    animation-delay: 0.4s;
    transform: translateY(-20px);
}

.icon-circle:nth-child(3) {
    animation-delay: 0.6s;
}

.icon-circle i {
    font-size: 2.5rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1));
    animation: shimmer 2s infinite;
}

.icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
}

.icon-circle:hover i {
    transform: scale(1.2);
}

/* Mise à jour des styles responsifs */
@media (max-width: 768px) {
    .why-us-icons {
        gap: 1rem;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .icon-circle i {
        font-size: 2rem;
    }
}

/* Animation de pulse pour les box */
@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.solution-card {
    /* Garder les styles existants */
    animation: softPulse 3s infinite;
    animation-delay: calc(var(--card-index, 0) * 0.5s);
}

.solution-card:nth-child(1) { --card-index: 1; }
.solution-card:nth-child(2) { --card-index: 2; }
.solution-card:nth-child(3) { --card-index: 3; }
.solution-card:nth-child(4) { --card-index: 4; }
.solution-card:nth-child(5) { --card-index: 5; }

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, var(--dark), rgba(18, 18, 18, 0.98));
    border-top: 2px solid var(--gold);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.3),
        transparent
    );
    animation: shimmerLine 2s infinite;
}

@keyframes shimmerLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-brand h3:hover::after {
    width: 100%;
}

.footer-section h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-section h4:hover::after {
    width: 100%;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.footer-section i {
    color: var(--gold);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.northblue {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.northblue::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.northblue:hover {
    color: white;
    text-shadow: 0 0 10px var(--gold);
}

.northblue:hover::after {
    width: 100%;
}

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

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
} 