/*=========================================================================
    Portfolio Mouhamed Moufid ATINDEHOU — surcouche du thème Pixlab
    1.  Variables
    2.  Bascule de thème & sélecteur de langue
    3.  Héro personnalisé
    4.  Grille des technologies (logos Devicon)
    5.  Frise du parcours
    6.  Formulaires, états vides, pagination, tags
    7.  Bouton WhatsApp flottant
    8.  Thème sombre — extension aux pages internes
==========================================================================*/

/*---------------------------------------------------- 1. Variables */
:root {
    --brand: #5956e9;
    --brand-2: #00d09c;
    --dark-bg: #111858;
    --dark-surface: #1e266d;
    --dark-surface-2: #181f60;
    --dark-border: rgba(255, 255, 255, 0.1);
}

/*------- 2. Barre de navigation, bascule de thème & langue */

/* Le menu compte sept entrées : on resserre l'espacement pour qu'il tienne
   sur une seule ligne, et on laisse le logo plus compact. */
.header-navigation .main-menu ul li > a { padding: 35px 13px; font-size: 16px; }
.site-branding .brand-logo { max-width: 175px; }
.site-branding .brand-logo img { max-height: 46px; width: auto; }
.footer-logo img { max-height: 52px; width: auto; }

@media (min-width: 992px) and (max-width: 1399px) {
    .header-navigation .main-menu ul li > a { padding: 35px 9px; font-size: 15px; }
    .header-right-nav .nav-button .main-btn { padding: 0 18px; }
}

.header-right-nav ul li.theme-toggle-item,
.header-right-nav ul li.lang-switch-item {
    display: inline-block;
    margin-right: 18px;
    vertical-align: middle;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(25, 25, 25, 0.12);
    background: transparent;
    color: var(--heading, #191919);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: all .3s;
}

.theme-toggle:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.theme-toggle .icon-sun { display: none; }
.dark-version .theme-toggle .icon-sun { display: inline-block; }
.dark-version .theme-toggle .icon-moon { display: none; }
.dark-version .theme-toggle {
    border-color: var(--dark-border);
    color: #fff;
}

.lang-switch-form {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: 0;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color, #808285);
    cursor: pointer;
    transition: color .3s;
}

.lang-btn:hover { color: var(--brand); }
.lang-btn.active { color: var(--brand); text-decoration: underline; }
.lang-sep { color: rgba(128, 130, 133, .5); }
.dark-version .lang-btn { color: rgba(255, 255, 255, .6); }
.dark-version .lang-btn.active,
.dark-version .lang-btn:hover { color: #fff; }

/* Logos clair / sombre */
.logo-dark { display: none; }
.dark-version .logo-light { display: none; }
.dark-version .logo-dark { display: inline-block; }

/* Icône TikTok — absente de Font Awesome 5, servie en SVG masqué pour
   qu'elle hérite de la couleur du texte comme les autres icônes. */
.icon-tiktok,
.fa-tiktok {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("../images/icon/tiktok.be9e7eb3a598.svg") no-repeat center / contain;
            mask: url("../images/icon/tiktok.be9e7eb3a598.svg") no-repeat center / contain;
}
.fa-tiktok:before { content: none; }

/* Espace entre une icône et le libellé d'un bouton */
.main-btn i,
.main-btn .icon-tiktok { margin-right: 8px; }

/*------------------------------------------- 3. Héro personnalisé */
.hero-banner-v3 .hero-eyebrow {
    display: block;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-banner-v3 .hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 10px;
}

.hero-banner-v3 .hero-role {
    font-size: 24px;
    font-weight: 500;
    color: var(--brand-2);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-socials .social-link { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-socials .social-link li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    transition: all .3s;
}

.hero-socials .social-link li a:hover {
    background-color: #fff;
    color: var(--brand);
    border-color: #fff;
}

/* La photo de profil est détourée (PNG à fond transparent) : pas de cadre, elle
   se pose directement sur le fond, avec une ombre douce pour la détacher. */
.hero-profile-photo,
.about-photo {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 22px 34px rgba(10, 14, 50, .38));
    /* Le portrait est coupé net au niveau du buste : un fondu sur les derniers
       pourcents évite la ligne de coupe et le fait naître du fond. */
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.about-photo {
    margin-left: 0;
    max-width: 480px;
    filter: drop-shadow(0 18px 30px rgba(10, 14, 50, .22));
}

.hero-img { position: relative; }

/* Halo derrière la photo, pour la détacher du fond sans la découper. */
.hero-img::before {
    content: '';
    position: absolute;
    top: -6%;
    right: -6%;
    width: 78%;
    padding-bottom: 78%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 208, 156, .5) 0%, rgba(0, 208, 156, 0) 70%);
    z-index: -1;
}

@media (max-width: 991px) {
    .hero-profile-photo { margin: 0 auto; max-width: 340px; }
    .about-photo { margin: 0 auto; }
}

/* Icônes de service en police (quand aucune image n'est fournie) */
.service-icon-font { font-size: 42px; color: var(--brand); line-height: 1; }
.service-style-three:hover .service-icon-font { color: #fff; }
.counter-icon-font { font-size: 40px; color: var(--brand); line-height: 1; }
.counter-item:hover .counter-icon-font { color: #fff; }

/* Carte de service avec visuel de fond : le fond reste discret au repos et se
   révèle au survol, la carte passant alors en texte clair. */
.service-card-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Le visuel lui-même. */
.service-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--service-bg);
    background-size: cover;
    background-position: center;
    opacity: .1;
    transform: scale(1.04);
    transition: opacity .45s ease, transform .45s ease;
    z-index: 0;
}

/* Voile sombre appliqué par-dessus le visuel au survol : les illustrations
   comportent des zones claires, sans ce voile le texte blanc y devient
   illisible. Il apparaît exactement en même temps que le visuel. */
.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13, 18, 64, .82) 0%, rgba(13, 18, 64, .68) 100%);
    opacity: 0;
    transition: opacity .45s ease;
    z-index: 1;
}

.service-card-bg:hover::before { opacity: 1; transform: scale(1); }
.service-card-bg:hover::after { opacity: 1; }

.service-card-inner { position: relative; z-index: 2; }

.service-card-bg .title a,
.service-card-bg p,
.service-card-bg .service-features li,
.service-card-bg .service-price,
.service-card-bg .btn-link-two,
.service-card-bg .service-icon-font { transition: color .45s ease; }

.service-card-bg:hover .title a,
.service-card-bg:hover p,
.service-card-bg:hover .service-features li,
.service-card-bg:hover .service-price,
.service-card-bg:hover .service-price strong,
.service-card-bg:hover .btn-link-two,
.service-card-bg:hover .service-icon-font { color: #fff; }

.service-card-bg:hover .service-features li i { color: var(--brand-2); }
.service-card-bg:hover .icon img { filter: brightness(0) invert(1); }

.service-features { margin: 15px 0; padding: 0; list-style: none; }
.service-features li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 15px; }
.service-features li i { position: absolute; left: 0; top: 5px; color: var(--brand-2); font-size: 13px; }
.service-price { margin-top: 10px; font-size: 15px; }
.service-price-big { font-size: 18px; line-height: 1.6; }
.service-cta { display: flex; flex-wrap: wrap; gap: 15px; }
.cta-actions, .about-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.lead-text { font-size: 18px; line-height: 1.7; margin-bottom: 20px; }

/*--------------------------- 4. Grille des technologies (Devicon) */
.tech-category-header { margin-bottom: 25px; }
.tech-category-title {
    font-size: 22px;
    margin-bottom: 8px;
    padding-left: 14px;
    border-left: 4px solid var(--brand);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    background-color: #fff;
    border: 1px solid rgba(25, 25, 25, .07);
    border-radius: 14px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.tech-item:hover {
    transform: translateY(-6px);
    border-color: var(--brand);
    box-shadow: 0 15px 30px rgba(89, 86, 233, .15);
}

.tech-icon { font-size: 42px; line-height: 1; height: 46px; display: flex; align-items: center; }
.tech-icon img { max-width: 44px; max-height: 44px; object-fit: contain; }
.tech-name { font-size: 14px; font-weight: 500; color: var(--heading, #191919); }

/* Les logos Devicon monochromes restent lisibles en thème sombre */
.dark-version .tech-item {
    background-color: var(--dark-surface);
    border-color: var(--dark-border);
}
.dark-version .tech-name { color: #fff; }
.dark-version .tech-icon i:not([class*="colored"]) { color: #fff; }

/*----------------------------- 4bis. Section intelligence artificielle */
.ai-area { overflow: hidden; }

.ai-pattern {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .18;
    z-index: -1;
}

.ai-card {
    height: 100%;
    padding: 34px 30px;
    margin-bottom: 30px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(4px);
    transition: transform .3s, background-color .3s, border-color .3s;
}

.ai-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, .12);
    border-color: rgba(0, 208, 156, .55);
}

.ai-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    font-size: 24px;
}

.ai-card h4 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.ai-card p { color: rgba(255, 255, 255, .72); margin: 0; }

.ai-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 30px;
    padding: 38px 42px;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(89, 86, 233, .55) 0%, rgba(0, 208, 156, .4) 100%);
    border: 1px solid rgba(255, 255, 255, .18);
}

.ai-cta-text { flex: 1 1 380px; }
.ai-cta-text h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.ai-cta-text p { color: rgba(255, 255, 255, .82); margin: 0; }
.ai-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 767px) {
    .ai-cta { padding: 28px 24px; }
    .ai-cta-text h3 { font-size: 22px; }
}

/*------------------------------------------ 5. Frise du parcours */
.timeline { position: relative; padding-left: 30px; }
.timeline:before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
}

.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-dot {
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid var(--brand);
}

.timeline-period {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand);
    margin-bottom: 8px;
}

.timeline-content h4 { font-size: 20px; margin-bottom: 4px; }
.timeline-company { font-weight: 500; margin-bottom: 12px; }
.timeline-missions { padding-left: 18px; margin: 0; }
.timeline-missions li { margin-bottom: 6px; list-style: disc; }

.edu-school { font-weight: 500; margin-bottom: 2px; }
.edu-period { font-size: 13px; color: var(--brand); font-weight: 700; }

.about-facts { list-style: none; padding: 0; margin: 25px 0; }
.about-facts li { padding: 8px 0; border-bottom: 1px solid rgba(25, 25, 25, .08); }
.about-facts li span { display: inline-block; min-width: 130px; font-weight: 700; color: var(--heading, #191919); }
.dark-version .about-facts li { border-color: var(--dark-border); }
.dark-version .about-facts li span { color: #fff; }

.testimonial-rating { margin-bottom: 15px; color: #ffb400; }
.testimonial-rating .star-off { color: rgba(128, 130, 133, .35); }

/*-------------------- 6. Formulaires, états vides, pagination, tags */
/* Canvas des confettis : purement décoratif, il ne doit jamais intercepter
   les clics ni provoquer de barre de défilement. */
.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.form-alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Le message de succès est le moment fort de la page : on le met en avant. */
.form-alert-success {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    animation: alertPop .5s cubic-bezier(.2, .8, .3, 1.2) both;
}

.form-alert-success::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #00d09c;
    color: #fff;
    font-size: 14px;
}

@keyframes alertPop {
    from { opacity: 0; transform: translateY(-10px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .form-alert-success { animation: none; }
}
.form-alert-success { background-color: rgba(0, 208, 156, .12); color: #067a5d; border: 1px solid rgba(0, 208, 156, .4); }
.form-alert-error { background-color: rgba(233, 86, 86, .12); color: #b02a2a; border: 1px solid rgba(233, 86, 86, .4); }
.form-error { display: block; margin-top: 6px; font-size: 13px; color: #d43b3b; }

/* ---- Commentaires du blog ---- */
.comments-title, .comments-heading { margin-bottom: 25px; }

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

.comment { display: flex; gap: 20px; }

/* Faute de photo, on affiche les initiales de l'auteur dans une pastille. */
/* Le thème dimensionne l'avatar via `.comments-area .comments-list .comment
   .comment-avatar` : il faut au moins la même spécificité pour reprendre la
   main, sinon le cercle est étiré en ovale. */
.comments-area .comments-list .comment .comment-avatar.comment-avatar-initials {
    flex: 0 0 68px;
    width: 68px;
    max-width: 68px;
    height: 68px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: .5px;
    margin-right: 24px;
}

.comment-wrap { flex: 1 1 auto; }
.comment .author-name { display: block; font-weight: 700; margin-bottom: 6px; }
.comment .author-name .date { display: inline-block; margin-left: 12px; font-weight: 400; font-size: 13px; opacity: .7; }
.comment .reply { font-weight: 600; color: var(--brand); }
.comment .reply i { margin-left: 8px; }

.comment-reply {
    padding-left: 22px;
    border-left: 2px solid rgba(89, 86, 233, .25);
}

.comments-empty, .comments-note { opacity: .8; margin-bottom: 25px; }

.reply-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: rgba(89, 86, 233, .1);
    font-size: 15px;
}

.reply-cancel {
    border: 0;
    background: transparent;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.dark-version .comment-reply { border-left-color: rgba(255, 255, 255, .2); }
.dark-version .reply-notice { background-color: rgba(255, 255, 255, .08); }
.dark-version .reply-cancel { color: var(--brand-2); }
.dark-version .comments-title,
.dark-version .comments-heading,
.dark-version .comment .author-name { color: #fff; }
.dark-version .comment-form .form_control {
    background-color: rgba(255, 255, 255, .07);
    border-color: var(--dark-border);
    color: #fff;
}
.dark-version .comment-form .form_control::placeholder { color: rgba(255, 255, 255, .55); opacity: 1; }

@media (max-width: 575px) {
    .comment { gap: 0; }
    .comments-area .comments-list .comment .comment-avatar.comment-avatar-initials {
        flex-basis: 48px;
        width: 48px;
        max-width: 48px;
        height: 48px;
        font-size: 16px;
        margin-right: 14px;
    }
    .comment-reply { padding-left: 14px; }
}

.empty-state { padding: 60px 20px; }
.empty-state i { font-size: 52px; color: var(--brand); opacity: .35; margin-bottom: 20px; display: block; }
.empty-state h4 { margin-bottom: 8px; }

.pagination-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; justify-content: center; }
.pagination-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(25, 25, 25, .1);
    font-weight: 700;
    transition: all .3s;
}
.pagination-list li a:hover,
.pagination-list li a.active { background-color: var(--brand); border-color: var(--brand); color: #fff; }
.dark-version .pagination-list li a { border-color: var(--dark-border); color: #fff; }

.cat-sep { display: inline-block; margin: 0 8px; color: rgba(128, 130, 133, .55); }
.dark-version .cat-sep { color: rgba(255, 255, 255, .35); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    background-color: rgba(89, 86, 233, .1);
    color: var(--brand);
    font-size: 13px;
    font-weight: 500;
}
.dark-version .tech-tag { background-color: rgba(255, 255, 255, .1); color: #fff; }

.portfolio-cover img,
.service-cover img { width: 100%; border-radius: 16px; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }
.post-tags, .post-share { padding-top: 20px; border-top: 1px solid rgba(25, 25, 25, .08); }
.dark-version .post-tags, .dark-version .post-share { border-color: var(--dark-border); }

/*-------------------------------- 7. Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    left: 25px;
    bottom: 30px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 18px;
    border-radius: 30px;
    background-color: #25d366;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
    overflow: hidden;
    transition: all .35s;
}

.whatsapp-float:hover { color: #fff; box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }

.whatsapp-float-label {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    transition: all .35s;
}

.whatsapp-float:hover .whatsapp-float-label {
    max-width: 220px;
    opacity: 1;
    margin-left: 12px;
}

/*----------- 8. Thème sombre — extension aux pages internes */
.dark-version .page-banner { background-color: var(--dark-bg); }
.dark-version .page-banner:after { opacity: .25; }
.dark-version .page-banner .page-title h1,
.dark-version .page-banner .breadcrumbs-link li,
.dark-version .page-banner .breadcrumbs-link li a { color: #fff; }

.dark-version .footer-area,
.dark-version .footer-copyright.light-gray-bg { background-color: var(--dark-bg); }
.dark-version .footer-widget .widget .widget-nav li a,
.dark-version .footer-area p,
.dark-version .copyright-text p { color: rgba(255, 255, 255, .6); }
.dark-version .footer-widget .widget .widget-nav li a:hover { color: #fff; }
.dark-version .footer-area .social-link li a { border-color: var(--dark-border); color: #fff; }

.dark-version .contact-wrapper.light-gray-bg,
.dark-version .service-wrapper.light-gray-bg,
.dark-version .portfolio-area.light-gray-bg,
.dark-version .skill-area.light-gray-bg,
.dark-version .skills-area-home.light-gray-bg,
.dark-version .timeline-area.light-gray-bg { background-color: var(--dark-surface-2); }

.dark-version .form_control {
    background-color: rgba(255, 255, 255, .07);
    border-color: var(--dark-border);
    color: #fff;
}

/* Les règles du thème ciblent `.contact-form form .form_control` etc. :
   il faut au moins la même spécificité pour reprendre la main en sombre. */
.dark-version .contact-form form .form_control::placeholder,
.dark-version .sidebar-widget-area .widget.search-widget form .form_control::placeholder,
.dark-version .form_control::placeholder {
    color: rgba(255, 255, 255, .55);
    opacity: 1;
}
.dark-version .contact-form form .form_control,
.dark-version .sidebar-widget-area .widget.search-widget form .form_control {
    background-color: rgba(255, 255, 255, .07);
    border-color: var(--dark-border);
    color: #fff;
}

.dark-version .information-item,
.dark-version .features-item,
.dark-version .portfolio-style-one .text,
.dark-version .blog-standard-post-item .entry-content,
.dark-version .blog-details-wrapper .entry-content,
.dark-version .sidebar-widget-area .widget,
.dark-version .portfolio-details-wrapper,
.dark-version .team-details-wrapper { background-color: transparent; }

.dark-version .sidebar-widget-area .widget.category-widget,
.dark-version .sidebar-widget-area .widget.recent-post-widget,
.dark-version .sidebar-widget-area .widget.price-widget,
.dark-version .sidebar-widget-area .widget.search-widget {
    background-color: var(--dark-surface);
    border-radius: 12px;
    padding: 25px;
}

.dark-version .category-nav li a,
.dark-version .recent-post-list .post-title-date h6 a,
.dark-version .portfolio-info ul li p,
.dark-version .timeline-missions li { color: rgba(255, 255, 255, .75); }
.dark-version .category-nav li a:hover,
.dark-version .recent-post-list .post-title-date h6 a:hover { color: var(--brand-2); }

.dark-version .timeline-dot { background-color: var(--dark-bg); }
.dark-version .timeline-content h4 { color: #fff; }

.dark-version .single-skill .progress { background-color: rgba(255, 255, 255, .12); }
.dark-version .section-title p,
.dark-version .entry-content p,
.dark-version .post-body { color: rgba(255, 255, 255, .7); }

.dark-version .main-btn.bordered-btn.btn-blue { color: #fff; border-color: var(--brand); }
.dark-version .empty-state h4 { color: #fff; }

/*------------------------------------------------- Responsive */
@media (max-width: 1199px) {
    .hero-banner-v3 .hero-content h1 { font-size: 40px; }
}

@media (max-width: 991px) {
    .header-right-nav ul li.theme-toggle-item,
    .header-right-nav ul li.lang-switch-item { margin-right: 10px; }
    .hero-banner-v3 .hero-content h1 { font-size: 34px; }
    .hero-banner-v3 .hero-role { font-size: 20px; }
}

@media (max-width: 767px) {
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px; }
    .tech-icon { font-size: 34px; height: 38px; }
    .whatsapp-float { left: 15px; bottom: 20px; height: 50px; font-size: 22px; }
    .whatsapp-float:hover .whatsapp-float-label { max-width: 0; opacity: 0; margin-left: 0; }
    .hero-actions, .service-cta, .cta-actions, .about-actions { gap: 10px; }
    .timeline { padding-left: 24px; }
    .timeline-dot { left: -24px; width: 13px; height: 13px; }
}
