/* ===== HERO SECTION — matches Diwe sec-home-1 ===== */
.sec-hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding-top: 0;
}
.sec-hero .bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 640"><rect fill="%230a2280" width="1440" height="640"/></svg>') no-repeat center;
    background-size: cover;
}
.sec-hero .bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(251deg, rgba(8,30,120,0.5) 21%, #0d31ac 100%);
}
.sec-hero .bg-cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(0deg, rgba(8,25,100,0.4) 0%, transparent 100%);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300'%3E%3Crect x='50' y='120' width='60' height='180' rx='2' fill='white' opacity='0.3'/%3E%3Crect x='130' y='80' width='50' height='220' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='200' y='140' width='70' height='160' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='300' y='60' width='55' height='240' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='380' y='100' width='65' height='200' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='470' y='130' width='45' height='170' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='540' y='70' width='80' height='230' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='650' y='90' width='60' height='210' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='740' y='50' width='50' height='250' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='820' y='110' width='70' height='190' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='920' y='75' width='55' height='225' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='1000' y='130' width='65' height='170' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='1090' y='60' width='50' height='240' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='1160' y='100' width='75' height='200' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='1260' y='80' width='60' height='220' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='1340' y='120' width='50' height='180' rx='2' fill='white' opacity='0.2'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300'%3E%3Crect x='50' y='120' width='60' height='180' rx='2' fill='white' opacity='0.3'/%3E%3Crect x='130' y='80' width='50' height='220' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='200' y='140' width='70' height='160' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='300' y='60' width='55' height='240' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='380' y='100' width='65' height='200' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='470' y='130' width='45' height='170' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='540' y='70' width='80' height='230' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='650' y='90' width='60' height='210' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='740' y='50' width='50' height='250' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='820' y='110' width='70' height='190' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='920' y='75' width='55' height='225' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='1000' y='130' width='65' height='170' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='1090' y='60' width='50' height='240' rx='2' fill='white' opacity='0.2'/%3E%3Crect x='1160' y='100' width='75' height='200' rx='2' fill='white' opacity='0.1'/%3E%3Crect x='1260' y='80' width='60' height='220' rx='2' fill='white' opacity='0.15'/%3E%3Crect x='1340' y='120' width='50' height='180' rx='2' fill='white' opacity='0.2'/%3E%3C/svg%3E");
    mask-size: cover;
    -webkit-mask-size: cover;
    pointer-events: none;
    opacity: 0.3;
    background: rgba(255,255,255,0.08);
}
.sec-hero::before {
    content: '';
    width: 585px;
    height: 554px;
    transform: rotate(-44deg);
    border-radius: 585px;
    background: #001a60;
    filter: blur(150px);
    position: absolute;
    top: -440px;
    left: -150px;
    z-index: 1;
}
.sec-hero .container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
}

/* Left column */
.hero-left {
    flex-basis: 43.666667%;
    max-width: 43.666667%;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Carousel */
.hero-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    padding-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}
.hero-slide .hero-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s 0.2s;
}
.hero-slide .hero-desc {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s 0.4s;
}
.hero-slide .hero-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s 0.6s;
}
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-btn {
    opacity: 1;
    transform: translate(0, 0);
}

.hero-title {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #d4e4ff 0%, #8fabd4 59%, #d4e4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.hero-desc {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.9;
}
.hero-desc p { margin: 0; }
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 170px;
    height: 40px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.32);
    background: linear-gradient(46deg, rgba(255,255,255,0.2) -12.56%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.hero-btn:hover { background-color: var(--primary); color: #fff; text-decoration: none; box-shadow: none; }
.hero-btn svg { width: 14px; height: 14px; }

/* Slide indicators */
.hero-dots {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.hero-dot {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hero-dot.active {
    width: 48px;
    background: #fff;
}
.hero-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-bottom: 24px;
}
.hero-social a {
    height: 32px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.32);
    backdrop-filter: blur(2px);
    border-radius: 99px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 9;
}
.hero-social a:hover { background-color: var(--primary); color: #fff; text-decoration: none; }

/* Right column */
.hero-right {
    flex-basis: 56.333333%;
    max-width: 56.333333%;
    position: relative;
    padding-bottom: 0;
}
.hero-right-inner { position: relative; height: 100%; }
.hero-main-img {
    position: absolute;
    bottom: 0;
    right: -80px;
    width: 100%;
    max-width: 700px;
    z-index: 2;
}
.hero-main-img img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: 0.08; }

/* Floating cards */
.hero-float {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 14px 20px;
    z-index: 10;
    /* animation: float 3s ease-in-out infinite; */
}
/* @keyframes float { 50% { transform: translateY(5px); } } */
.hero-float-1 {
    top: 30%;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 10px;
    /* animation-duration: 3s; */
}
.hero-float-1 .icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-float-1 .icon-circle svg { width: 18px; height: 18px; color: var(--primary); }
.hero-float-1 .text { font-size: 14px; font-weight: 600; color: var(--text-dark); }

.hero-float-2 {
    top: 8%;
    right: 5%;
    padding: 16px 20px;
    min-width: 200px;
    /* animation-duration: 3.6s; */
}
.hero-float-2 .stats { display: flex; gap: 20px; margin-top: 8px; }
.hero-float-2 .stat-num { font-size: 20px; font-weight: 800; color: var(--primary); }
.hero-float-2 .stat-label { font-size: 11px; color: var(--text-muted); }

.hero-float-3 {
    bottom: 60px;
    right: 20%;
    display: flex;
    align-items: center;
    gap: 10px;
    /* animation-duration: 4.2s; */
}
.hero-float-3 .avatars {
    display: flex;
}
.hero-float-3 .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}
.hero-float-3 .avatar:first-child { margin-left: 0; }
.hero-float-3 .avatar-count {
    background: var(--primary);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.hero-float-3 .text { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* Donut chart decoration */
.hero-donut {
    position: absolute;
    top: 5%;
    right: 15%;
    width: 100px;
    height: 100px;
    z-index: 3;
    /* animation: float 4s ease-in-out infinite; */
}

/* ===== SEC-HOME-2: About ===== */
.sec-about { padding: 100px 0 60px; position: relative; }
.sec-about-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.sec-about-grid {
    display: grid;
    grid-template-columns: 338px 1fr 316px;
    gap: 40px;
    align-items: stretch;
}

/* Left & Right Column Layouts */
.about-left-col {
    display: flex;
    flex-direction: column;
}
.about-right-col {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0 0 10px 0;
}
.about-desc {
    margin: 0;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.8;
}

/* Feature Lists */
.about-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.about-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 4px;
}
.about-feature-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.about-feature-item strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}
.about-feature-item span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Left card */
.about-card {
    max-width: 338px;
    width: 100%;
    margin-top: auto;
}
.about-card-inner {
    border-radius: 10px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 40px rgba(0,50,150,0.1);
    padding: 53px 30px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-play-btn {
    width: 77px; height: 77px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.32);
    background: linear-gradient(46deg, rgba(255,255,255,0.2) -12.56%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(2px); margin-bottom: 20px; cursor: pointer;
}
.about-play-btn svg { width: 30px; height: 30px; color: #fff; transform: translateX(3px); }
.about-play-text { color: #fff; font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.about-stat-bar { display: flex; width: 100%; align-items: flex-end; }
.about-bars { display: flex; gap: 5px; align-items: flex-end; width: 85px; }
.about-bars span {
    border-radius: 3px 3px 0 0; background: var(--primary-light); width: 22px;
    animation: barGrow 1.3s ease-in-out infinite alternate;
}
@keyframes barGrow { 0% { transform: scaleY(1); } 100% { transform: scaleY(0.6); } }
.about-stat-text { padding-left: 20px; }
.about-stat-num { color: #fff; font-size: 50px; font-weight: 800; line-height: 1; }
.about-stat-label { color: #fff; font-weight: 500; }

/* Center */
.about-center-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-center-img {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50% 50% 0 0 / 60% 60% 0 0;
    min-height: 480px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.about-review-badge {
    position: absolute; bottom: 0; right: -5%;
    background: #fff; border-radius: 12px; padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 8px;
    z-index: 5;
}
.about-review-stars { display: flex; gap: 2px; }

/* Right */
.about-right {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 20px;
}
.about-exp-box { display: flex; align-items: center; gap: 16px; }
.about-exp-icon { width: 60px; height: 60px; flex-shrink: 0; }
.about-exp-num {
    font-size: 40px; font-weight: 800; line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #e0eaff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--primary-light);
}
.about-exp-label { font-size: 16px; font-weight: 500; color: var(--text-dark); }

@media (max-width: 968px) {
    .sec-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-card { max-width: 100%; margin-top: 0; }
    .about-right { margin-top: 0; padding-bottom: 0; flex-direction: row; gap: 30px; }
    .about-center-img { min-height: 380px; }
}
@media (max-width: 480px) {
    .sec-about { padding: 50px 0 40px; }
    .about-title { font-size: 24px; }
    .about-desc { font-size: 14px; }
    .about-card { max-width: 260px; margin: 0 auto; }
    .about-card-inner { padding: 24px; text-align: center; }
    .about-play-text { justify-content: center; }
    .about-stat-bar { justify-content: center; }
    .about-play-btn { width: 56px; height: 56px; }
    .about-play-btn svg { width: 22px; height: 22px; }
    .about-play-text { font-size: 15px; margin-bottom: 20px; }
    .about-stat-num { font-size: 36px; }
    .about-center-img { min-height: 220px; border-radius: 30% 30% 0 0 / 40% 40% 0 0; }
    .about-center-img img { width: 50% !important; }
    .about-review-badge { right: 5%; padding: 8px 12px; }
    .about-right { gap: 16px; padding-bottom: 0; order: -1; justify-content: center; }
    .about-exp-icon { width: 40px; height: 40px; }
    .about-exp-num { font-size: 28px; }
    .about-exp-label { font-size: 13px; }
    .about-features { margin: 20px 0 25px 0; gap: 14px; }
    .about-feature-item strong { font-size: 14px; }
    .about-feature-item span { font-size: 12px; }
}

/* ===== SEC-HOME-3: Services ===== */
.sec-services { padding: 65px 0 84px; position: relative; background-color: var(--primary, #0d31ac); }
.sec-services-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.sec-services-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 46px; line-height: 1.3; }
.sec-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 45px; }
.svc-card { }
.svc-card-image-link { display: block; text-decoration: none; color: inherit; }
.svc-card-image {
    border-radius: 5px; overflow: hidden;
    padding-top: 56.25%; position: relative;
}
.svc-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.svc-card:hover .svc-card-image img { transform: scale(1.03); }
.svc-card-body { padding: 35px 0 0; }
.svc-card-header { display: flex; align-items: center; gap: 30px; margin-bottom: 19px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.svc-card-icon {
    width: 73px; height: 73px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.svc-card-icon svg { width: 32px; height: 32px; color: #fff; }
.svc-card-header h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; color: #fff; }
.svc-card-title-link { color: inherit; text-decoration: none; }
.svc-card-title-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.svc-card-header p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.4; margin: 0; }
.svc-card-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px 24px; list-style: none; margin: 0; padding: 0;
}
.svc-card-list li { margin: 0; }
.svc-card-list a {
    display: flex; position: relative; padding-left: 16px;
    font-size: 15px; color: rgba(255,255,255,0.8); text-decoration: none;
}
.svc-card-list a::before {
    content: ''; position: absolute; left: 2px; top: 6px;
    border: 5px solid transparent; border-left: 6px solid var(--dot-color, rgba(255,255,255,0.5));
}
.svc-card-list a::after {
    content: ''; position: absolute; bottom: -5px; width: 0; height: 1px;
    border-bottom: 1px solid; transition: width 0.4s;
}
.svc-card-list a:hover::after { width: calc(100% - 20px); }
.svc-card-list a:hover { color: #fff; text-decoration: none; }

@media (max-width: 968px) {
    .sec-services-grid { grid-template-columns: 1fr; gap: 30px; }
    .sec-services-title { font-size: 26px; }
}
@media (max-width: 480px) {
    .sec-services { padding: 40px 0 50px; }
    .sec-services-title { font-size: 22px; }
    .svc-card-header { gap: 16px; }
    .svc-card-icon { width: 50px; height: 50px; border-radius: 10px; }
    .svc-card-icon svg { width: 24px; height: 24px; }
    .svc-card-header h3 { font-size: 16px; }
    .svc-card-list { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 768px) {
    .sec-hero { min-height: auto; }
    .sec-hero .container { flex-direction: column-reverse; flex-wrap: nowrap; }
    .hero-left { flex-basis: 100%; max-width: 100%; padding-top: 24px; padding-bottom: 30px; position: relative; z-index: 5; margin-top: -70px; }
    .hero-slider { width: 100%; }
    .hero-slides { width: 100%; }
    .hero-slides { position: relative; display: block; transform: none !important; }
    .hero-slide { width: 100%; min-width: 100%; max-width: 100%; position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; }
    .hero-slide.active { position: relative; opacity: 1; pointer-events: auto; }
    .hero-slide .hero-title,
    .hero-slide .hero-desc,
    .hero-slide .hero-btn { opacity: 0; transform: none; transition: opacity 0.4s; }
    .hero-slide.active .hero-title,
    .hero-slide.active .hero-desc,
    .hero-slide.active .hero-btn { opacity: 1; transform: none; }
    .hero-right { flex-basis: 100%; max-width: 100%; min-height: 280px; height: auto; padding-top: 70px; padding-bottom: 60px; position: relative; z-index: 1; }
    .hero-right-inner { height: 100%; display: flex; align-items: center; justify-content: center; }
    .hero-main-img { position: relative; right: auto; bottom: auto; left: auto; max-width: 200px; margin: 0 auto; z-index: 1; }
    .hero-main-img img { filter: brightness(0) invert(1); opacity: 0.25; }
    .hero-title { font-size: 26px; word-wrap: break-word; }
    .hero-desc { font-size: 14px; }
    .hero-float { display: block; transform: scale(0.65); }
    .hero-float-1 { top: 30%; left: 0; right: auto; transform-origin: top left; }
    .hero-float-2 { top: 0; right: 0; left: auto; transform-origin: top right; }
    .hero-float-3 { bottom: 30px; right: 15%; left: auto; top: auto; transform-origin: bottom right; }
    .hero-donut { display: none; }
    .hero-social { flex-wrap: wrap; gap: 10px; }
    .hero-social a { font-size: 13px; padding: 0 14px; height: 30px; }
}

/* ===== SEC: Website Types / Các dạng website ===== */
.sec-webtypes { padding: 80px 0; background: #fff; }
.sec-webtypes-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.sec-webtypes-title {
    font-size: 36px; font-weight: 800; color: var(--text-dark);
    text-align: center; margin-bottom: 16px; line-height: 1.3;
}
.sec-webtypes-desc {
    text-align: center; color: var(--text-muted); font-size: 15px;
    max-width: 560px; margin: 0 auto 48px; line-height: 1.7;
}
/* 4 groups per row */
.webtypes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
}
/* Each group = desktop + mobile side by side */
.webtype-pair {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.webtype-item { text-align: center; }
.webtype-item--desktop { flex: 5; }
.webtype-item--mobile { flex: 2; }
.webtype-screenshot {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
    background: #f9fafb;
    height: 280px;
}
.webtype-screenshot--contain-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--webtype-bg);
    background-size: cover;
    background-position: center top;
    filter: blur(14px);
    transform: scale(1.08);
    opacity: 0.35;
}
.webtype-item:hover .webtype-screenshot {
    box-shadow: 0 6px 24px rgba(13,49,172,0.1);
}
.webtype-screenshot-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
}
.webtype-screenshot-img--cover {
    object-fit: cover;
    object-position: top;
}
.webtype-screenshot-img--contain {
    object-fit: contain;
    object-position: center;
}
.webtype-screenshot-img--contain-top {
    object-fit: contain;
    object-position: top center;
}
.webtype-label {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 968px) {
    .webtypes-grid { grid-template-columns: 1fr; gap: 32px; }
    .webtype-screenshot { height: 220px; }
}
@media (max-width: 480px) {
    .sec-webtypes { padding: 50px 0; }
    .sec-webtypes-title { font-size: 22px; }
    .sec-webtypes-desc { font-size: 13px; margin-bottom: 30px; }
    .webtype-pair { gap: 8px; }
    .webtype-label { font-size: 13px; margin-top: 8px; }
    .webtype-screenshot { height: 160px; }
}

/* ===== SEC-HOME-4: Projects / Dự án ===== */
.sec-projects { padding: 0 0 80px; overflow: hidden; }
.sec-projects-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.sec-projects-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0; }
.sec-projects-title { font-size: 36px; font-weight: 800; color: var(--text-dark); line-height: 1.3; margin: 0; }
.sec-projects-viewall {
    display: inline-flex; align-items: center; gap: 7px; padding: 0 24px; height: 46px;
    border-radius: 99px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: all 0.3s; flex-shrink: 0; margin-top: 8px;
}
.sec-projects-viewall:hover { opacity: 0.9; color: #fff; text-decoration: none; }
.sec-projects-viewall svg { width: 14px; height: 14px; }

/* Tabs */
.project-tabs { display: flex; gap: 0; border-bottom: 1px solid #cecece; margin-bottom: 46px; margin-top: 20px; }
.project-tab {
    padding: 10px 22px 16px; font-size: 18px; font-weight: 400; color: #7b7b7b;
    background: none; border: none; cursor: pointer; position: relative; font-family: inherit; transition: color 0.2s;
}
.project-tab:hover, .project-tab.active { color: var(--primary-light); }
.project-tab.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%;
    height: 3px; background: var(--primary-light); border-radius: 3px;
}

/* Grid — Diwe uses 4-col with 3rd/4th spanning 2 cols */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
}
.project-grid .project-card:nth-child(3),
.project-grid .project-card:nth-child(4) { grid-column: span 2; }
.project-grid .project-card:nth-child(4) { margin-top: -34%; }
.project-card { position: relative; }
.project-card a { text-decoration: none; display: block; }
.project-card-img {
    border-radius: 5px; overflow: hidden; position: relative; padding-top: 63%;
}
.project-card-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s; transform: scale(1);
}
.project-card:hover .project-card-img img { transform: scale(1.03); }
.project-card-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.project-card-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,0.4); }
.project-card-name {
    font-size: 18px; font-weight: 600; color: var(--text-dark); margin: 0;
    overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2;
    display: -webkit-box; -webkit-box-orient: vertical; line-height: 1.55;
    padding-top: 19px; transition: color 0s;
}
.project-card:hover .project-card-name { color: var(--primary-light); }

/* Panel switching */
.project-panel { display: none; }
.project-panel.active { display: block; }

@media (max-width: 968px) {
    .sec-projects-header { flex-direction: column; gap: 16px; }
    .project-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .project-grid .project-card:nth-child(3),
    .project-grid .project-card:nth-child(4) { grid-column: span 1; }
    .project-grid .project-card:nth-child(4) { margin-top: 0; }
    .project-tabs { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; white-space: nowrap; }
}
@media (max-width: 480px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .project-grid .project-card:nth-child(n+5) { display: none; }
    .sec-projects-title { font-size: 22px; }
    .project-tabs { gap: 0; }
    .project-tab { font-size: 13px; padding: 8px 12px; }
    .project-card-name { font-size: 13px; padding-top: 12px; }
}

/* ===== SEC-HOME-5: Testimonials ===== */
.sec-reviews {
    padding: 95px 0 60px;
    position: relative;
    background: linear-gradient(251deg, rgba(8,20,100,0.85) 21%, var(--primary-dark) 100%);
    overflow: hidden;
}
.sec-reviews::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='80' cy='20' r='60' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='20' cy='80' r='40' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}
.sec-reviews-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; position: relative; z-index: 1; }
.sec-reviews-label {
    color: #e7ffdf;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 26px;
    padding-left: 75px;
}
.sec-reviews-content { display: flex; gap: 0; }
.sec-reviews-col { flex-basis: 85%; max-width: 85%; }

/* Review carousel */
.review-carousel { position: relative; min-height: 320px; overflow: hidden; }
.review-slides { transition: transform 0.5s ease; }
.review-slide { display: none; padding-left: 75px; position: relative; }
.review-slide.active { display: block; }
.review-slide::before {
    content: '';
    width: 46px; height: 40px;
    position: absolute; left: 0; top: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.15)'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}
.review-text {
    font-size: 28px;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
    margin-bottom: 60px;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.review-author-text { padding-left: 10px; }
.review-name { color: #fff; font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.review-position {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 99px; border: 1px solid rgba(255,255,255,0.32);
    background: linear-gradient(46deg, rgba(255,255,255,0.2) -12.56%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(2px);
    height: 32px; padding: 0 18px;
    color: #fff; font-size: 15px; font-weight: 500; font-style: normal;
}

/* Nav arrows */
.review-nav {
    position: absolute; top: 5px; right: 5px;
    display: flex; flex-direction: column; gap: 20px;
}
.review-nav-btn {
    width: 20px; height: 20px; cursor: pointer;
    color: var(--primary-light); background: none; border: none; padding: 0;
    transition: color 0.2s;
}
.review-nav-btn:hover { color: #fff; }
.review-nav-btn svg { width: 100%; height: 100%; }

/* Pagination dots for testimonials */
.review-dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
    padding-left: 75px;
}
.review-dot {
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.review-dot.active {
    width: 48px;
    background: #fff;
}

@media (max-width: 768px) {
    .sec-reviews-col { flex-basis: 100%; max-width: 100%; }
    .review-text { font-size: 20px; line-height: 1.5; }
    .review-slide { padding-left: 0; }
    .review-slide::before { display: none; }
    .sec-reviews-label { padding-left: 0; }
    .review-nav { display: none; }
    .review-dots { padding-left: 0; justify-content: center; }
}

/* ===== SEC-HOME-6: Partners ===== */
.sec-partners { padding: 98px 0 73px; position: relative; }
.sec-partners-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; display: flex; gap: 0; }

/* Left: Stats */
.partners-left { flex-basis: 42%; max-width: 42%; padding-right: 60px; flex-shrink: 0; }
.partners-title {
    font-size: 36px; font-weight: 800; color: var(--text-dark);
    text-align: center; margin-bottom: 0; line-height: 1.3;
    font-style: italic;
}
.partners-title-border { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 43px; margin-bottom: 0; }
.partners-card {
    border-radius: 10px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 40px rgba(0,50,150,0.1);
    padding: 50px 48px 45px;
}
.partners-stack { display: flex; flex-direction: row; padding-top: 40px; }
.partners-vertical-wrap {
    flex-shrink: 0; display: flex; align-items: flex-end;
}
.partners-vertical {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 52px; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2);
    letter-spacing: 2px; white-space: nowrap;
}
.partners-stats-col { flex: 1; padding-left: 20px; }
.partners-stat { display: flex; align-items: center; color: #fff; }
.partners-stat + .partners-stat { margin-top: 30px; }
.partners-stat-num {
    font-size: 60px; font-weight: 800; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(147,176,255,0.5);
    font-style: italic;
}
.partners-stat-label { color: rgba(255,255,255,0.8); font-size: 17px; font-weight: 500; margin-top: 8px; font-style: italic; }

/* Right: Logo carousel */
.partners-right { flex: 1; padding-left: 40px; padding-top: 45px; }
/* Partners carousel header */
.partners-carousel-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 33px;
    padding-bottom: 19px; border-bottom: 2px solid var(--primary-light);
}
.partners-carousel-title {
    font-size: 20px; font-weight: 700; color: var(--primary);
    flex: 1; text-align: center; white-space: nowrap;
}
.partners-arrow {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e7eb;
    background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--text-dark); transition: all 0.2s; flex-shrink: 0;
}
.partners-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.partners-cat-panel { display: none; }
.partners-cat-panel.active { display: block; }
.partners-logos {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 29px 34px;
}
.partner-logo-item {
    background: #f9fafb; border-radius: 8px; padding: 12px;
    aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center;
    border: 1px solid #f0f0f0; transition: all 0.25s;
}
.partner-logo-item:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(13,49,172,0.08); }
.partner-logo-placeholder {
    font-size: 13px; font-weight: 700; color: var(--text-muted);
    text-align: center; line-height: 1.3; opacity: 0.5;
}

/* Pagination dots */
.partners-dots { display: flex; gap: 8px; margin-top: 20px; justify-content: flex-end; }
.partners-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: #cecece; border: none; cursor: pointer; padding: 0;
    transition: background 0.2s;
}
.partners-dot.active { background: var(--primary-light); }

@media (max-width: 968px) {
    .sec-partners-inner { flex-direction: column; }
    .partners-left { flex-basis: 100%; max-width: 100%; padding-right: 0; margin-bottom: 30px; }
    .partners-right { padding-left: 0; }
    .partners-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .partners-logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .partners-logos .partner-logo-item:nth-child(n+7) { display: none; }
    .partners-carousel-header { margin-bottom: 20px; padding-bottom: 14px; gap: 10px; }
    .partners-carousel-title { font-size: 16px; }
    .partners-arrow { width: 32px; height: 32px; }
    .partners-arrow svg { width: 16px; height: 16px; }
    .partner-logo-item { padding: 8px; aspect-ratio: 1; }
    .partners-dots { margin-top: 14px; }
    .partners-card { padding: 30px 20px; }
    .partners-title { font-size: 28px; }
    .partners-stat-num { font-size: 40px; }
}

/* ===== SEC-HOME-7: News / Tin tức ===== */
.sec-news { padding: 0 0 85px; overflow: hidden; }
.sec-news-inner { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.sec-news-header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 34px;
}
.sec-news-header h2 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin: 0; }
.sec-news-viewall {
    display: inline-flex; align-items: center; gap: 7px; padding: 0 24px; height: 46px;
    border-radius: 99px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: all 0.3s;
}
.sec-news-viewall:hover { opacity: 0.9; color: #fff; text-decoration: none; }
.sec-news-viewall svg { width: 14px; height: 14px; }

/* News Grid & Sidebar Layout */
.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 45px;
    align-items: stretch;
}
.news-featured {
    display: flex;
}
.news-featured .featured-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.news-featured .featured-card .news-card-img {
    padding-top: 60%;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}
.sidebar-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    min-width: 0 !important;
    width: 100%;
}
.sidebar-card .news-card-img {
    width: 160px;
    height: 105px;
    padding-top: 0;
    flex-shrink: 0;
}
.sidebar-card .news-card-img img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-card .news-card-img-placeholder {
    position: static;
    width: 100%;
    height: 100%;
}
.sidebar-card .news-card-body {
    padding-top: 0;
    flex: 1;
    min-width: 0;
}
.sidebar-card .news-card-meta {
    margin-bottom: 4px;
}
.sidebar-card .news-card-group {
    gap: 16px;
}
.sidebar-card .news-card-date {
    display: none; /* Hide date circles for cleaner list look in sidebar */
}

.news-card {
    flex-shrink: 0;
}
.news-card-img {
    border-radius: 5px; overflow: hidden; position: relative; padding-top: 56%;
    margin-bottom: 0;
}
.news-card-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s;
}
.news-card:hover .news-card-img img { transform: scale(1.03); }
.news-card-img a { display: block; height: 100%; }
.news-card-img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.news-card-img-placeholder svg { width: 40px; height: 40px; color: rgba(255,255,255,0.3); }
.news-card-body { padding: 19px 0 0; }
.news-card-meta {
    display: flex; align-items: center; gap: 24px;
    margin: 0; padding: 0; list-style: none; margin-bottom: 0;
}
.news-card-meta li { margin-bottom: 0; font-size: 14px; }
.news-card-meta li:first-child { color: var(--primary-light); max-width: 37%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.news-card-meta li:nth-child(2) { color: #5b5b5b; }

.news-card-group { display: flex; align-items: center; gap: 35px; }
.news-card-date {
    position: relative; display: flex; flex-direction: column; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.news-card-date::after {
    content: ''; position: absolute; top: 50%; right: -17px;
    height: 51px; width: 1px; background: #dadada; transform: translateY(-50%);
}
.news-card-day {
    font-size: 45px; font-weight: 600; color: var(--text-dark); line-height: 1; margin: 0;
}
.news-card-month { font-size: 14px; color: var(--text-dark); }
.news-card-title {
    font-size: 18px; font-weight: 600; color: var(--text-dark);
    line-height: 1.55; margin: 0;
    overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2;
    display: -webkit-box; -webkit-box-orient: vertical;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--primary-light); text-decoration: none; }

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .news-sidebar {
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .sidebar-card {
        gap: 12px;
    }
    .sidebar-card .news-card-img {
        width: 110px;
        height: 75px;
    }
    .sidebar-card .news-card-title {
        font-size: 15px;
    }
    .sec-news-header { flex-wrap: wrap; gap: 16px; }
    .sec-news-header h2 { font-size: 26px; }
    .news-card-date { display: none; }
    .news-card-date::after { display: none; }
}

/* ===== SEC: Values / Giá trị mang lại ===== */
.sec-values {
    padding: 70px 0 80px;
    background: #e8eef8;
}
.sec-values-inner {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}
.sec-values-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary, #0d31ac);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.value-card {
    text-align: center;
}
.value-card-img {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}
.value-card-text {
    font-size: 15px;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* Mockup: tablet + phone */
.value-mockup {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100%;
}
.value-mockup-tablet {
    width: 140px;
    height: 180px;
    background: #1a1a2e;
    border-radius: 12px;
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.value-mockup-tablet svg {
    width: 40px;
    height: 40px;
    color: rgba(255,255,255,0.2);
}
.value-mockup-phone {
    width: 65px;
    height: 130px;
    background: #1a1a2e;
    border-radius: 10px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.value-mockup-phone svg {
    width: 24px;
    height: 24px;
    color: rgba(255,255,255,0.2);
}

/* Icon grid style */
.value-mockup-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.value-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.value-icon-grid span {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.value-icon-grid span svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

/* App grid inside tablet */
.value-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
}
.value-app-grid span {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-app-grid span svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

@media (max-width: 968px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .sec-values-title { font-size: 24px; }
}
