/* --- 1. CẤU HÌNH GIAO DIỆN CHUNG --- */
:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --border-color: #222;
    --text-white: #ffffff;
    --text-gray: #999999;
    --accent-color: #3b82f6;
    --gradient-main: linear-gradient(45deg, #ff3333, #a033ff, #3366ff);
}

body {
    margin: 0;
    padding: 20px 20px 80px 20px;
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: 'Barlow', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.bento-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 20px;
}

/* --- 2. THIẾT KẾ CARD (HỘP) --- */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #444;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* --- 3. HERO SECTION (Góc Trái) --- */
.item-hero {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: flex-start;
    padding-top: 40px;
}

.hero-subtitle {
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-footer-logos {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-footer-logos .small-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-strip {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.logo-strip img {
    height: 25px;
    width: auto;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-strip img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.1);
}

.badge {
    background: #222;
    color: #ffcc00;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

h1 {
    font-size: 45px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
}

.highlight {
    font-family: 'Charm', cursive;
    font-weight: 700;
    font-size: 1.3em;
    display: inline-block;
    line-height: 1.5;
    padding-bottom: 10px;
    vertical-align: middle;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.item-hero p {
    color: #a1a1a6;
    font-size: 15px;
    text-align: justify;
    line-height: 1.6;
    max-width: 98%;
    margin-bottom: 30px;
}

.item-hero b {
    color: white;
    font-weight: 600;
}

/* NÚT BẤM */
.btn-group {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
}

.btn {
    width: 100% !important;
    padding: 16px 28px;
    border-radius: 32px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3b82f6;
    color: white;
    position: relative;
    padding: 12px 30px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    border-color: var(--accent-color);
}

.pulse-effect {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

.btn-gradient {
    background-image: linear-gradient(45deg, #ff3333, #a033ff, #3366ff, #ff3333);
    background-size: 300% 100%;
    border: none;
    color: white;
    transition: all 0.4s ease-in-out;
}

.btn-gradient:hover {
    background-position: 100% 0;
    transform: scale(1.05);
}

/* --- 4. AVATAR (Ở Giữa) --- */
.item-avatar {
    grid-column: span 1;
    grid-row: span 2;
    padding: 0;
    background: #1a1a1a;
    border: none;
    height: 100%;
    display: flex;
}

.item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}

/* --- 5. KỸ NĂNG & SOCIAL --- */
.item-skills {
    grid-column: span 1;
    grid-row: span 1;
    background: #1a1a1a;
    justify-content: flex-start;
    overflow-y: auto;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-size: 24px;
    margin-right: 3px;
    color: rgb(255, 255, 255);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 15px;
    /* Fixed typo 15x */
    font-weight: 600;
    color: #ddd;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    color: #ddd;
}

.skill-percent {
    color: #9bc6ff;
    font-weight: 400;
    font-size: 13px;
}

.progress-bg {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    animation: progress-load 2s ease-out forwards;
    transform-origin: left;
}

@keyframes progress-load {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* --- 6. MODULE THÀNH TÍCH --- */
.item-achievements {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #111;
    padding: 40px;
    gap: 20px;
}

.item-achievements .stat-box {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-num {
    font-size: 56px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    background-image: var(--gradient-main);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.stat-desc {
    color: #888;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

/* 7. --- MODULE PHÙ HỢP VỚI AI --- */
.item-fit-check {
    background: #0a0a0a;
    padding: 40px !important;
    grid-column: span 4;
}

.fit-header {
    text-align: center;
    margin-bottom: 40px;
}

.fit-title {
    font-size: 28px;
    margin-top: 10px;
    font-weight: 700;
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

}

.fit-box {
    background: #111;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #222;
    transition: 0.3s ease;
    text-align: left;
}

.fit-box:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background: #151515;
}

.fit-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--accent-color);
    border: 1px solid #333;
}

.fit-box h4 {
    font-size: 18px;
    color: #fff;
    text-align: left;
    margin: 15px 0 10px;
}

.fit-box p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    margin-top: 15px;
}

/* --- 7. DỰ ÁN (Project) --- */
.item-project {
    grid-column: span 4;
    background: #161616;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.project-info h3 {
    margin: 0;
    font-size: 22px;
    color: white;
}

.arrow-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

/* --- CONTACT BAR --- */
.bottom-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(17, 17, 17, 0.95);
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(10px);
}

.contact-item {
    text-decoration: none;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    transition: 0.3s;
}

.contact-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.hotline-center {
    position: relative;
    top: -20px;
    color: #fff;
}

.hotline-circle {
    width: 65px;
    height: 65px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
    border: 4px solid var(--bg-color);
    margin-bottom: 5px;
}

.hotline-circle i {
    font-size: 28px;
    margin-bottom: 0;
    animation: phone-shake 0.5s infinite;
}

.hotline-text {
    background: #222;
    padding: 2px 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
}

@keyframes phone-shake {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0);
    }

    75% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(0);
    }
}

.contact-item:hover {
    color: #fff;
}

/* --- POPUP CONTACT --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.custom-popup {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 20px;
    width: 95%;
    max-width: 450px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #444;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.close-modal:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.popup-header h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.hotline-number-outline {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 10px 25px;
    font-size: 32px;
    font-weight: 300;
    color: white;
    text-decoration: none;
    position: relative;
}

.hotline-number-outline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
}

.popup-subtext {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    pointer-events: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px 12px 45px;
    border-radius: 12px;
    box-sizing: border-box;
    color: white;
    font-family: 'Barlow', sans-serif;
}

.contact-form textarea {
    padding-left: 15px;
    min-height: 50px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    background: #222;
}

.btn-submit-gradient {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 15px;
    color: white;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    background: var(--gradient-main);
    background-size: 200% auto;
    transition: 0.5s;
}

.btn-submit-gradient:hover {
    background-position: right center;
}

/* --- 8. SERVICES & SWIPER (Optimized) --- */
.item-services-slide {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px !important;
    position: relative;
    background: #050505;
    overflow: hidden;
}

.item-services-slide .card-label {
    padding-left: 30px;
}

.slide-header {
    text-align: center;
    margin-bottom: 20px;
    z-index: 2;
}

.slide-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

.mySwiper {
    width: 100%;
    padding: 50px 0 !important;
    perspective: 1500px;
    /* Optimized value */
    overflow: visible !important;
    /* Optimized value */
}

.swiper-slide {
    width: 320px;
    /* Optimized value */
    transition: all 0.6s ease-in-out, opacity 0.6s;
    opacity: 0.4;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Blur effect */
    filter: blur(2px);
}

.swiper-slide-active {
    transform: scale(1.15);
    z-index: 10;
    opacity: 1;
    filter: blur(0);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.service-card {
    background: #000000;
    padding: 40px;
    border-radius: 28px;
    border: 1px solid #222;
    text-align: left;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    height: 100%;
}

.swiper-slide-active .service-card {
    border-color: var(--accent-color);
    background: #1a1a1a;
}

.icon-service {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

.service-card h3 span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    color: #888;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.service-card li i {
    color: #22c55e;
    font-size: 14px;
    margin-top: 5px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #333 !important;
    opacity: 1;
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 20px !important;
    background: var(--accent-color) !important;
}

.swiper-nav-btns {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    z-index: 100;
    pointer-events: none;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    margin-top: 0 !important;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--gradient-main);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(160, 51, 255, 0.5);
}

.swiper-button-prev-custom i,
.swiper-button-next-custom i {
    font-size: 22px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.btn-consult {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 40px;
    width: fit-content !important;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    color: white;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    gap: 10px;
    position: relative;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.btn-consult:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #ff3366, #ff6b33);
}

/* --- STICKY CONTACT BAR --- */
.sticky-contact-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.sticky-item {
    width: 50px;
    height: 50px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
}

.sticky-item span {
    position: absolute;
    right: 60px;
    background: var(--gradient-main);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s;
    pointer-events: none;
}

.sticky-item:hover {
    width: 55px;
    height: 55px;
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.sticky-item:hover span {
    opacity: 1;
    transform: translateX(0);
}

.sticky-item i {
    font-size: 20px;
}

.sticky-item img {
    width: 24px;
    height: 24px;
}

/* --- MODULE PORTFOLIO --- */
.item-portfolio {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
    padding: 60px 20px !important;
    background: #050505;
    border-radius: 24px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

.portfolio-header h2 {
    font-size: 32px;
    color: #fff;
    margin-top: 10px;
}

.portfolio-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    background: #111;
    color: #888;
    border: 1px solid #222;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(160, 51, 255, 0.4);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.project-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.4s;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.project-info {
    padding: 20px;
    background: #151515;
}

.p-tag {
    font-size: 11px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.project-info h4 {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

.project-img,
.project-card .stat-box {
    height: 220px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    padding: 8px 20px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    transform: translateY(20px);
    transition: 0.3s;
}

.project-card:hover .view-btn {
    transform: translateY(0);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 204, 0.8);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
    transition: transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    background: #fff;
    color: var(--accent-color);
}

.type-ads .stat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.type-ads .stat-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    /* Optimized: using local asset */
    background: url('images/chart-icon.png');
    background-size: cover;
    opacity: 0.1;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.stat-circle span {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
}

.stat-circle strong {
    font-size: 18px;
    color: #22c55e;
    font-weight: 800;
}

.stat-lines p {
    font-size: 13px;
    color: #ccc;
    margin: 3px 0;
}

.stat-lines strong {
    color: white;
}

.view-more-container {
    margin-top: 40px;
}

/* PROJECT MODAL */
.project-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1a1a1a;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.project-modal.show .modal-content {
    transform: scale(1);
}

.modal-header-top {
    padding: 20px 20px 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #222;
}

.modal-header-top h3 {
    font-size: 1.5rem;
    color: #fff;
    padding: 0;
    margin: 5px 0 0 0;
}

.modal-body {
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-img-container {
    width: 100% !important;
    height: 100% !important;
    background: #000;
    display: block !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

.modal-img-container img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

.modal-img-container::-webkit-scrollbar {
    width: 8px;
}

.modal-img-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--gradient-main);
    color: #fff;
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 0, 204, 0.4);
}

.page-btn.nav-btn {
    width: auto;
    padding: 0 15px;
    font-size: 0.9rem;
}

/* --- TESTIMONIALS --- */
.item-testimonials {
    grid-column: span 4;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bgr-testimonials.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.swiper-testimonials {
    height: 300px;
    width: 100%;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.quote-item {
    text-align: left;
    padding: 10px 20px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    opacity: 0.5;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    width: fit-content;
}

.author-box .avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.author-box .info .name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.author-box .info .role-badge {
    font-size: 0.85rem;
    color: #aaa;
}

.nav-vertical-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-nav-vertical {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    border: 0.5px solid white;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-nav-vertical:hover {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1);
}

/* --- WORKFLOW --- */
.item-workflow {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    padding: 60px 20px !important;
    box-sizing: border-box;
    margin: 0 auto;
}

.workflow-steps {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-top: 15px !important;
}

.step-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 0;
    transition: all 0.3s ease;
}

.step-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-color);
    border: 1px solid white;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-icon {
    font-size: 2rem;
    color: #fff;
    margin: 15px 0;
}

.step-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.step-box p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

.step-arrow {
    align-self: center;
    color: #444;
    font-size: 1.2rem;
}

/* --- CTA BENTO SECTION --- */
.cta-bento-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    width: 100%;
}

.cta-bento-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.cta-box {
    background: #141414;
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.cta-left {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: left;
}

.accent-icon i {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff007f, #a800ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.animated-headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

.highlight-pulse {
    color: var(--gradient-main);
    display: inline-block;
    position: relative;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 25px rgba(255, 0, 127, 0.6);
        transform: scale(1.05);
        color: #ff5ca8;
    }
}

.cta-subtext {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 80%;
}

.cta-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    animation: rotateBg 10s linear infinite;
    z-index: 1;
    opacity: 0.5;
}

@keyframes rotateBg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-right h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
}

.hotline-display {
    text-align: center;
    margin-bottom: 20px;
}

.hotline-display a {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #718bff;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.hotline-display a:hover {
    background: var(--gradient-main);
}

.form-instructions {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group-icon {
    position: relative;
    margin-bottom: 15px;
}

.cta-right input,
.cta-right select,
.cta-right textarea {
    width: 100%;
    background: #252525;
    border: 1px solid #3a3a3a;
    padding: 16px 20px 16px 50px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.cta-right textarea {
    padding-left: 20px;
    resize: none;
}

.form-group-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
    pointer-events: none;
}

.cta-right input:focus,
.cta-right select:focus,
.cta-right textarea:focus {
    border-color: #1f92fd;
    box-shadow: 0 0 0 4px rgba(200, 255, 252, 0.1);
}

.select-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.dropdown-arrow {
    left: auto !important;
    right: 20px !important;
    color: #666;
}

.submit-btn-gradient {
    width: 100%;
    padding: 18px;
    background: var(--gradient-main);
    background-size: 200% auto;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: 15px;
    box-shadow: 0 10px 20px -10px rgba(160, 51, 255, 0.5);
}

.submit-btn-gradient:hover {
    transform: translateY(-3px);
    background-position: right center;
    box-shadow: 0 15px 30px -10px rgba(160, 51, 255, 0.7);
}

/* --- FOOTER --- */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links a {
    color: #888;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* --- MERGED MEDIA QUERIES --- */

/* Small Laptop / Tablet Landscape */
@media (max-width: 1100px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .fit-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .fit-box {
        padding: 15px !important;
    }

    .fit-box h4 {
        font-size: 14px !important;
    }

    .fit-title {
        font-size: 22px !important;
    }
}

@media (min-width: 900px) {
    .bottom-contact-bar {
        display: none;
    }
}

/* Mobile Devices (Combined all max-width: 768px queries) */
@media (max-width: 768px) {

    /* Layout */
    .bento-container {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 15px !important;
    }

    .card,
    .item-hero,
    .item-avatar,
    .item-skills,
    .social-wrapper,
    .item-achievements,
    .item-testimonials,
    .item-workflow,
    .item-portfolio,
    .item-services-slide {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }

    /* Components Specifics */
    .item-avatar {
        max-height: 600px !important;
        min-width: 400px !important;
    }

    .item-achievements {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px !important;
    }

    .stat-num {
        font-size: 42px !important;
    }

    .fit-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .custom-popup {
        padding: 25px 15px !important;
        width: 92% !important;
    }

    .hotline-number-outline {
        font-size: 24px !important;
    }

    .swiper-slide {
        width: 85% !important;
    }

    .service-card {
        padding: 25px !important;
    }

    .service-card h3 {
        font-size: 20px !important;
    }

    .swiper-nav-btns {
        display: none;
    }

    .sticky-contact-bar {
        top: auto;
        bottom: 20px;
        right: 15px;
        flex-direction: column;
    }

    .sticky-item span {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .project-card {
        border-radius: 12px;
    }

    .project-info {
        padding: 12px;
    }

    .project-info h4 {
        font-size: 14px;
    }

    .p-tag {
        font-size: 10px;
    }

    .type-ads .stat-box {
        height: 220px;
    }

    .stat-circle {
        width: 60px;
        height: 60px;
    }

    .stat-circle strong {
        font-size: 14px;
    }

    .testimonial-slider-wrapper {
        flex-direction: column;
    }

    .nav-vertical-buttons {
        flex-direction: row;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    /* Fix Mobile Blur & Form */
    .swiper-slide-active .service-card,
    .swiper-slide-active,
    .service-card {
        filter: none !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        backdrop-filter: none !important;
        -webkit-font-smoothing: antialiased;
    }

    .swiper-wrapper {
        align-items: center;
    }

    .cta-bento-section {
        padding: 50px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .animated-headline {
        font-size: 2rem;
        text-align: center;
    }

    .cta-subtext {
        text-align: center;
        max-width: 100%;
    }

    .accent-icon {
        text-align: center;
    }

    .hotline-display a {
        font-size: 1.3rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
}