/* =========================================
   THIẾT KẾ THƯƠNG HIỆU - HERO SECTION
   ========================================= */

/* Hero Section */
.th-hero {
    position: relative;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 270px;
    overflow: visible;
}

/* Background Image Layer (Banner) */
.th-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 658px;
    z-index: 0;
    border-radius: 40px;
    transform: translate(15%);
    overflow: hidden;
}

.th-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Main Content Wrapper */
.th-hero-main-layer {
    position: relative;
    width: 100%;
    height: 658px;
    z-index: 1;
}

/* BRAND IDENTITY svg text (Node 232:7090) */
.th-hero-brand-text {
    position: absolute;
    bottom: 50px;
    left: 40px;
    width: auto;
    z-index: 3;
    pointer-events: none;
}

.th-hero-brand-text img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left bottom;
}

/* 3D Model Image (Node 232:7048) */
.th-hero-model {
    position: absolute;
    top: -50px;
    right: -80px;
    height: 928px;
    max-height: 100vh;
    width: auto;
    z-index: 2;
    pointer-events: none;
}

.th-hero-model img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Container inside Hero */
.th-hero-container {
    position: relative;
    z-index: 4;
    padding-top: 130px;
    padding-left: 60px;
    height: 658px;
    pointer-events: none;
}

.th-hero-content,
.th-hero-project-link {
    pointer-events: auto;
}

/* Text Content Left Side */
.th-hero-content {
    max-width: 532px;
}

.th-hero-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #FFFFFF;
    opacity: 0.75;
    margin-bottom: 40px;
}

/* CTA Pill Button (Node 232:7081/7083) */
.th-hero-cta {
    display: inline-flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 58px;
    padding: 12px 24px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 16px;
}

.th-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.th-hero-cta span {
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #14313A;
    margin: 0;
}

.th-hero-cta-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-hero-cta-icon-wrapper img {
    width: 18px;
    height: 18px;
}

/* Project Link (Node 232:7088) */
.th-hero-project-link {
    position: absolute;
    bottom: 150px;
    right: 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.22);
    padding: 10px 32px;
    border-radius: 100px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.th-hero-project-link:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
}

.th-arrow {
    font-size: 20px;
}

/* =========================================
   SECTION 2: WHY YOU NEED & SERVICE
   ========================================= */
.th-why {
    background-color: #FFFFFF;
    padding: 100px 0 80px;
}

.th-why-row {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.th-why-label {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
}

.th-why-number {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    color: #A4A4A4;
}

.th-why-tag {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    color: #A4A4A4;
}

.th-why-body {
    flex: 1;
    max-width: 966px;
}

.th-why-title {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.25;
    color: #000;
    margin-bottom: 28px;
}

.th-why-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 16px;
}

.th-why-desc:last-child {
    margin-bottom: 0;
}

.th-why-divider {
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    margin: 60px 0;
}

/* Service Detail Item (Logo, etc) */
.th-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 440px;
    position: relative;
    border-top: 1px solid #AFAFAF;
    border-bottom: 1px solid #AFAFAF;
    margin: 80px 0;
}

.th-service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 51px;
    background-color: #AFAFAF;
}

.th-service-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 51px;
    background-color: #AFAFAF;
}

.th-service-info {
    flex: 1;
    max-width: 530px;
    padding-left: 85px;
}

.th-service-name {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 20px;
}

.th-service-subtitle {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #6E6E6E;
    margin-bottom: 16px;
}

.th-service-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.th-service-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #6E6E6E;
}

.th-service-list li svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.th-service-image {
    flex-shrink: 0;
    width: 631px;
    height: 100%;
    overflow: hidden;
}

.th-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Process & Results Styles */
.th-process-block,
.th-results-block {
    margin-top: 100px;
}

.th-details-title {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 40px;
}

/* Timeline */
.th-process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px;
}

.th-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.th-process-circle {
    width: 16px;
    height: 16px;
    background-color: #D9D9D9;
    border-radius: 50%;
    margin-bottom: 23px;
    position: relative;
    z-index: 2;
}

.th-process-step--active .th-process-circle {
    background-color: #14313A;
}

.th-process-text {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #6E6E6E;
    text-align: center;
}

.th-process-step--active .th-process-text {
    color: #14313A;
}

.th-process-line {
    flex: 1;
    height: 1px;
    background-color: #262626;
    margin-top: 8px;
    /* Half of circle height */
    max-width: 45px;
    min-width: 20px;
}

/* Results Grid */
.th-results-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.th-result-card {
    background-color: #EEEEEE;
    border-radius: 20px;
    padding: 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.th-result-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-result-icon img {
    width: 100%;
    height: auto;
}

.th-result-text {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #14313A;
}

/* Extended Services Section */
.th-ext-services {
    margin-top: 100px;
}

.th-ext-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.th-ext-header .th-details-title {
    margin-bottom: 0;
    max-width: 430px;
}

.th-ext-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    color: #6E6E6E;
    max-width: 665px;
    text-align: justify;
}

.th-ext-grid {
    display: flex;
    gap: 0;
    /* Touching borders if intended, or minimal gap */
    justify-content: space-between;
}

.th-ext-card {
    background-color: rgba(255, 255, 255, 0.93);
    border: 1px solid #D0D0D0;
    width: 323px;
    display: flex;
    flex-direction: column;
    height: 545px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.th-ext-card:hover {
    transform: translateY(-5px);
    background-color: #FFFFFF;
    border-color: transparent;
    /* Make space for the gradient */
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.1);
}

.th-ext-card:hover::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(180deg, rgba(0, 205, 131, 1) 0%, rgba(0, 89, 57, 1) 100%);
    border-radius: inherit;
    z-index: -1;
}

.th-ext-card-content {
    padding: 45px 20px 20px;
    flex: 1;
}

.th-ext-card-name {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.25;
    color: #262626;
    margin-bottom: 20px;
}

.th-ext-card-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #262626;
}

.th-ext-card-link {
    display: inline-block;
    margin-top: 20px;
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #DBDBDB;
    text-decoration: none;
}


.th-ext-card-footer {
    height: 116px;
    width: 100%;
    overflow: hidden;
}

.th-ext-card-footer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Compete Section */
.th-compete {
    margin-top: 100px;
    margin-bottom: 120px;
}

.th-compete-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.th-compete-title-group {
    display: flex;
    gap: 40px;
}

.th-compete-badge {
    font-family: 'Google Sans', sans-serif;
    color: #A4A4A4;
    font-size: 16px;
    line-height: 1.4;
}

.th-compete-title {
    font-size: 40px;
    line-height: 1.25;
    color: #000;
    font-weight: 400;
    position: relative;
    background: #FFF;
    padding-right: 20px;
    z-index: 2;
}

.th-compete-desc-group {
    max-width: 320px;
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    padding-top: 20px;
}

/* Elbow line starts under badge and curves to center */
.th-compete-elbow {
    position: absolute;
    left: 46px;
    bottom: -100px;
    width: calc(50% - 45px);
    height: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-top-right-radius: 40px;
    z-index: 1;
}

/* Compete Visual Container */
.th-compete-visual {
    position: relative;
    width: 100%;
    height: 520px;
    margin-top: 100px;
}

.th-compete-grid-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #EDEDED;
    border-radius: 30px;
    z-index: 0;
}

.th-compete-line-h {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.th-compete-line-v {
    position: absolute;
    left: 50%;
    top: 0;
    height: calc(100% + 50px);
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.th-compete-line-v::after {
    content: "";
    position: absolute;
    left: -2px;
    bottom: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Circles */
.th-compete-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.th-compete-circle-1 {
    width: 700px;
    height: 700px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.th-compete-circle-2 {
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
}

/* 3D Chess Piece */
.th-compete-chess {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 600px;
    z-index: 5;
    pointer-events: none;
}

.th-compete-chess img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Cards Overall */
.th-compete-card {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px 24px;
    z-index: 6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.th-compete-card-num {
    display: inline-block;
    border: 1px solid #CCC;
    border-radius: 20px;
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 12px;
    color: #6E6E6E;
}

.th-compete-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
}

.th-compete-card-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Specific Card Layouts */
.th-compete-card--01 {
    top: 10px;
    left: 10px;
    border-radius: 16px;
    max-width: 250px;
}

.th-compete-card--02 {
    bottom: 10px;
    left: 10px;
    border-radius: 16px;
    max-width: 250px;
}

.th-compete-card--03 {
    top: 50%;
    left: 36%;
    transform: translateY(-50%);
    z-index: 7;
    padding: 16px 20px;
    text-align: center;
}

.th-compete-card--03 .th-compete-card-num {
    margin-bottom: 8px;
}

.th-compete-card--03 .th-compete-card-title {
    margin-bottom: 2px;
}

.th-compete-card-wrap--04 {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    z-index: 6;
    border-radius: 16px;
    background-color: #000;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 420px;
}

.th-compete-card-wrap--04 .th-compete-card--04 {
    position: relative;
    border-radius: 0;
    box-shadow: none;
    top: auto;
    right: auto;
    flex: 1;
}

.th-compete-card-wrap--04 .th-compete-card-image {
    width: 200px;
    background-color: #000;
    flex-shrink: 0;
}

.th-compete-card-wrap--04 .th-compete-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-compete-card--05 {
    bottom: 10px;
    right: 10px;
    padding: 20px 24px;
    max-width: 220px;
}

.th-compete-card-icons img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}

/* Portfolio Section */

.th-portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 60px;
}

.th-portfolio-title-group {
    max-width: 634px;
}

.th-portfolio-badge {
    display: block;
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    color: #A4A4A4;
    margin-bottom: 16px;
}

.th-portfolio-title {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.25;
    color: #000;
}

.th-portfolio-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 0.5);
    max-width: 526px;
}

.th-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}

.th-portfolio-item {
    position: relative;
    width: 100%;
    aspect-ratio: 631 / 440;
    overflow: hidden;
    background-color: #f0f0f0;
}

.th-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.th-portfolio-item:hover img {
    transform: scale(1.05);
}

.th-portfolio-badge-overlay {
    position: absolute;
    top: 11px;
    right: 24px;
    background-color: #000000;
    color: #FF8800;
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 6px 16px;
    border-radius: 10px;
    z-index: 2;
}

.th-portfolio-link-overlay {
    position: absolute;
    bottom: 24px;
    left: 21px;
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    z-index: 2;
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 20px;
    border-radius: 58px;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, color 0.3s ease;
}

.th-portfolio-link-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
}

/* Portfolio Footer */
.th-portfolio-footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
}

.th-portfolio-line-long {
    flex: 1;
    height: 1px;
    background-color: #AFAFAF;
}

.th-portfolio-ornament {
    display: flex;
    align-items: center;
}

.th-portfolio-line-short {
    margin-right: 32px;
    background-color: #AFAFAF;
}

.th-portfolio-more-btn {
    background-color: #000000;
    color: #FDB602;
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 10px 32px;
    border-radius: 58px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 34px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.th-portfolio-more-btn:hover {
    background-color: #1a1a1a;
    transform: translateX(5px);
}

.th-portfolio-more-btn .btn-arrow {
    font-size: 24px;
}

/* =========================================
   TESTIMONIAL SECTION
   ========================================= */
.gg2-testimonial {
    padding: 80px 0;
    background: #fff;
}

.gg2-testimonial-card {
    background: #fff9f9;
    border-radius: 20px;
    padding: 64px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gg2-testimonial-author {
    margin-bottom: 24px;
}

.gg2-testimonial-name {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    color: #262626;
    opacity: 0.89;
}

.gg2-testimonial-role {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #262626;
    opacity: 0.56;
}

.gg2-testimonial-quote-mark {
    width: 33px;
    height: 23px;
    margin-bottom: 16px;
}

.gg2-testimonial-quote-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gg2-testimonial-text {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #14313a;
    max-width: 894px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.gt-cta-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.gt-cta-wrapper {
    position: relative;
    max-width: 1256px;
    height: 387px;
    margin: 0 auto;
}

.gt-cta-char {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.gt-cta-char--left {
    left: 0;
    top: 158px;
    width: 221px;
    height: 203px;
    object-fit: contain;
}

.gt-cta-char--right {
    right: 0;
    top: 0;
    width: 332px;
    height: 387px;
    object-fit: contain;
}

.gt-cta-card {
    position: absolute;
    left: 138px;
    top: 71px;
    width: 967px;
    height: 304px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #000;
    border-radius: 20px;
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    z-index: 2;
    padding: 43px 51px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.gt-cta-content {
    position: relative;
}

.gt-cta-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 678px;
}

.gt-cta-desc {
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #2F2F2F;
    line-height: 1.25;
    margin-bottom: 30px;
    max-width: 709px;
}

.gt-cta-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    height: 42px;
    padding: 0 32px;
    background: linear-gradient(90deg, #BCBCBC 0%, #EBEBEB 100%);
    border-radius: 58px;
    color: #3F3F3F;
    text-decoration: none;
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    width: fit-content;
    transition: opacity 0.2s;
}

.gt-cta-btn:hover {
    opacity: 0.9;
}

.gt-cta-btn-icon {
    width: 24px;
    height: 24px;
}

/* =========================================
   RESPONSIVE DESIGN (Up to 1200px)
   ========================================= */
@media screen and (max-width: 1200px) {
    .th-hero {
        margin-top: 0;
        margin-bottom: 200px;
    }

    .th-hero-bg {
        width: 100%;
        transform: none;
        height: 600px;
    }

    .th-hero-main-layer {
        height: 600px;
    }

    .th-hero-container {
        padding-top: 80px;
        padding-left: 30px;
        height: 600px;
    }

    .th-hero-content {
        max-width: 450px;
    }

    .th-hero-desc {
        font-size: 18px;
    }

    .th-hero-project-link {
        bottom: 50px;
        right: 40px;
    }

    .th-hero-model {
        right: -40px;
        height: auto;
        max-height: 80%;
        width: auto;
        top: 50%;
        transform: translateY(-50%);
        max-width: 45%;
        z-index: 1;
    }

    .th-service-item {
        height: auto;
        padding: 40px 0;
    }

    .th-service-image {
        width: 450px;
    }

    .th-service-info {
        padding-left: 40px;
    }

    .th-ext-card {
        width: calc(50% - 15px);
        height: auto;
        min-height: 480px;
    }

    .th-ext-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .th-compete-circle-1 {
        width: 550px;
        height: 550px;
    }

    .th-compete-card-wrap--04 {
        max-width: 350px;
    }

    .th-compete-card-wrap--04 .th-compete-card-image {
        width: 150px;
    }

    .th-portfolio-header {
        gap: 40px;
    }

    .th-portfolio-title {
        font-size: 40px;
    }

    /* CTA - characters shrink */
    .gt-cta-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .gt-cta-char {
        display: none;
    }

    .gt-cta-card {
        position: static;
        width: 100%;
        height: auto;
        padding: 40px 30px;
    }

    /* Testimonial */
    .gg2-testimonial-text {
        font-size: 40px;
    }

    .gg2-testimonial-card {
        padding: 50px 50px;
    }
}

/* =========================================
   RESPONSIVE DESIGN (Up to 992px Tablet)
   ========================================= */
@media screen and (max-width: 992px) {

    /* Why section */
    .th-why {
        padding: 60px 0 50px;
    }

    .th-why-row {
        flex-direction: column;
        gap: 20px;
    }

    .th-why-label {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .th-why-title {
        font-size: 36px;
    }

    .th-why-desc {
        font-size: 18px;
    }

    .th-why-divider {
        margin: 40px 0;
    }

    /* Service item */
    .th-service-item {
        flex-direction: column;
        height: auto;
        padding: 30px 0;
        margin: 40px 0;
    }

    .th-service-info {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .th-service-image {
        width: 100%;
        height: 350px;
    }

    .th-service-name {
        font-size: 26px;
    }

    .th-service-subtitle,
    .th-service-list li {
        font-size: 17px;
    }

    /* Process timeline */
    .th-process-block,
    .th-results-block {
        margin-top: 60px;
    }

    .th-process-timeline {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
    }

    .th-process-step {
        width: calc(50% - 30px);
    }

    .th-process-line {
        display: none;
    }

    .th-process-text {
        font-size: 16px;
    }

    /* Results grid */
    .th-results-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .th-result-card {
        flex: 0 0 calc(50% - 8px);
        padding: 20px;
    }

    .th-result-text {
        font-size: 17px;
    }

    /* Extended services */
    .th-ext-services {
        margin-top: 60px;
    }

    .th-ext-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }

    .th-ext-desc {
        font-size: 17px;
        text-align: left;
    }

    /* Compete section */
    .th-compete {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .th-compete-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .th-compete-title-group {
        flex-direction: column;
        gap: 12px;
    }

    .th-compete-title {
        font-size: 30px;
    }

    .th-compete-desc-group {
        max-width: 100%;
        text-align: left;
        padding-top: 0;
    }

    .th-compete-elbow {
        display: none;
    }

    .th-compete-visual {
        height: auto;
        min-height: 500px;
        margin-top: 40px;
    }

    .th-compete-chess {
        height: 400px;
    }

    .th-compete-circle-1 {
        width: 450px;
        height: 450px;
    }

    .th-compete-circle-2 {
        width: 280px;
        height: 280px;
    }

    .th-compete-card--01,
    .th-compete-card--02 {
        max-width: 200px;
    }

    .th-compete-card-wrap--04 {
        max-width: 300px;
    }

    .th-compete-card-wrap--04 .th-compete-card-image {
        width: 120px;
    }

    .th-compete-card--05 {
        max-width: 180px;
    }

    .th-compete-card-title {
        font-size: 16px;
    }

    .th-compete-card-text {
        font-size: 12px;
    }

    /* Portfolio section */
    .th-portfolio-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .th-portfolio-title {
        font-size: 36px;
    }

    .th-portfolio-desc {
        font-size: 17px;
    }

    .th-portfolio-more-btn {
        font-size: 17px;
        padding: 10px 24px;
        gap: 20px;
    }

    /* Testimonial */
    .gg2-testimonial {
        padding: 60px 0;
    }

    .gg2-testimonial-card {
        padding: 40px 30px;
    }

    .gg2-testimonial-text {
        font-size: 32px;
    }

    .gg2-testimonial-name {
        font-size: 18px;
    }

    .gg2-testimonial-role {
        font-size: 14px;
    }

    /* CTA */
    .gt-cta-section {
        padding: 60px 0;
    }

    .gt-cta-card {
        padding: 36px 24px;
    }

    .gt-cta-title {
        font-size: 28px;
    }

    .gt-cta-desc {
        font-size: 18px;
    }

    .gt-cta-btn {
        font-size: 18px;
        padding: 0 28px;
        gap: 20px;
    }
}

/* =========================================
   RESPONSIVE DESIGN (Up to 768px Mobile)
   ========================================= */
@media screen and (max-width: 768px) {

    /* Hero */
    .th-hero {
        margin-top: 10px;
        margin-bottom: 60px;
        padding: 0 15px;
        height: auto;
        overflow: hidden;
    }

    .th-hero-outer-container {
        padding: 0;
    }

    .th-hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        transform: none;
        z-index: 0;
    }

    .th-hero-main-layer {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px 50px;
        z-index: 1;
        gap: 0;
    }

    /* 3D model sits behind the text as a watermark */
    .th-hero-model {
        position: absolute !important;
        top: auto !important;
        bottom: -20px !important;
        right: -30px !important;
        left: auto !important;
        width: 60% !important;
        height: auto !important;
        max-height: none;
        display: block;
        z-index: 1;
        opacity: 0.2;
        pointer-events: none;
    }

    .th-hero-model img {
        height: auto;
        max-height: none;
        width: 100%;
        object-fit: contain;
    }

    /* Brand text as header, centered */
    .th-hero-brand-text {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin: 0 auto 24px !important;
        width: 100% !important;
        max-width: 240px !important;
        z-index: 6;
    }

    .th-hero-brand-text img {
        width: 100%;
        height: auto;
        display: block;
    }

    .th-hero-container {
        position: relative;
        z-index: 5;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto !important;
    }

    .th-hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        z-index: 6;
    }

    .th-hero-desc {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.9);
        text-align: left;
    }

    .th-hero-cta {
        margin-top: 10px;
    }

    .th-hero-cta span {
        font-size: 16px;
    }

    .th-hero-project-link {
        display: none;
    }

    /* Why section */
    .th-why {
        padding: 40px 0;
    }

    .th-why-title {
        font-size: 26px;
    }

    .th-why-desc {
        font-size: 16px;
    }

    .th-why-divider {
        margin: 30px 0;
    }

    /* Service item */
    .th-service-item {
        flex-direction: column;
        padding: 0;
        margin: 30px 0;
        border: none;
    }

    .th-service-item::before,
    .th-service-item::after {
        display: none;
    }

    .th-service-info {
        padding: 20px 0;
    }

    .th-service-name {
        font-size: 22px;
    }

    .th-service-subtitle,
    .th-service-list li {
        font-size: 16px;
    }

    .th-service-image {
        width: 100%;
        height: 260px;
    }

    /* Process */
    .th-process-block,
    .th-results-block {
        margin-top: 40px;
    }

    .th-details-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .th-process-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0;
    }

    .th-process-step {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .th-process-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .th-process-text {
        text-align: left;
        font-size: 15px;
    }

    .th-process-line {
        display: none;
    }

    /* Results grid */
    .th-results-grid {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .th-result-card {
        flex: 1;
        flex-direction: row;
        padding: 16px 20px;
        border-radius: 12px;
        gap: 16px;
    }

    .th-result-text {
        font-size: 16px;
    }

    /* Extended services */
    .th-ext-services {
        margin-top: 40px;
    }

    .th-ext-header {
        margin-bottom: 30px;
    }

    .th-ext-grid {
        flex-direction: column;
        gap: 20px;
    }

    .th-ext-card {
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .th-ext-card-content {
        padding: 30px 20px 20px;
    }

    .th-ext-card-name {
        font-size: 22px;
    }

    .th-ext-card-desc {
        font-size: 15px;
    }

    .th-ext-card-link {
        font-size: 17px;
    }

    /* Compete section */
    .th-compete {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .th-compete-title {
        font-size: 24px;
    }

    .th-compete-desc-group {
        font-size: 13px;
    }

    .th-compete-visual {
        position: relative;
        height: auto;
        min-height: auto;
        margin-top: 30px;
        overflow: hidden;
        border-radius: 20px;
    }

    /* Keep the grid bg as a wrapper */
    .th-compete-grid-bg {
        position: absolute;
        border-radius: 20px;
    }

    /* Hide complex decorative elements on mobile */
    .th-compete-line-h,
    .th-compete-line-v,
    .th-compete-circle,
    .th-compete-elbow {
        display: none;
    }

    /* Shrink chess piece and keep as background visual */
    .th-compete-chess {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: -40px;
        transform: translateX(-50%);
        height: 250px;
        opacity: 0.12;
        z-index: 1;
    }

    /* Cards grid: 2 columns on mobile */
    .th-compete-visual {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 15px;
    }

    .th-compete-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        max-width: 100% !important;
        border-radius: 12px;
        padding: 16px 16px;
        z-index: 6;
    }

    /* Card 04 wrapper spans full width */
    .th-compete-card-wrap--04 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        max-width: 100% !important;
        grid-column: 1 / -1;
        flex-direction: row;
        border-radius: 12px;
    }

    .th-compete-card-wrap--04 .th-compete-card--04 {
        border-radius: 0;
    }

    .th-compete-card-wrap--04 .th-compete-card-image {
        width: 40%;
        height: auto;
        min-height: 120px;
    }

    /* Card 05 also spans full width */
    .th-compete-card--05 {
        max-width: 100% !important;
        grid-column: 1 / -1;
    }

    .th-compete-card-text {
        font-size: 13px;
    }

    .th-compete-card-title {
        font-size: 16px;
    }

    .th-compete-card-icons img {
        max-width: 180px;
    }

    /* Portfolio section */
    .th-portfolio-title {
        font-size: 28px;
    }

    .th-portfolio-desc {
        font-size: 16px;
    }

    .th-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .th-portfolio-footer {
        margin-top: 30px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .th-portfolio-more-btn {
        font-size: 16px;
        padding: 10px 20px;
        gap: 16px;
    }

    .th-portfolio-line-long {
        display: none;
    }

    .th-portfolio-ornament {
        display: none;
    }

    .th-portfolio-line-short {
        display: none;
    }

    /* Testimonial */
    .gg2-testimonial {
        padding: 30px 0;
    }

    .gg2-testimonial-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .gg2-testimonial-author {
        margin-bottom: 16px;
    }

    .gg2-testimonial-name {
        font-size: 16px;
    }

    .gg2-testimonial-role {
        font-size: 13px;
    }

    .gg2-testimonial-quote-mark {
        width: 26px;
        height: 18px;
        margin-bottom: 12px;
    }

    .gg2-testimonial-text {
        font-size: 22px;
        line-height: 1.35;
    }

    /* CTA */
    .gt-cta-section {
        padding: 30px 0;
    }

    .gt-cta-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .gt-cta-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .gt-cta-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .gt-cta-btn-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .gt-cta-btn {
        font-size: 15px;
        padding: 0 20px;
        height: 44px;
        gap: 14px;
        justify-content: center;
        width: 100%;
    }

    .gt-cta-btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
}

/* =========================================
   RESPONSIVE DESIGN (Up to 480px Small Mobile)
   ========================================= */
@media screen and (max-width: 480px) {

    /* Hero */
    .th-hero {
        margin-top: 5px;
        margin-bottom: 30px;
        padding: 0 8px;
    }

    .th-hero-main-layer {
        padding: 30px 16px 40px;
    }

    .th-hero-brand-text {
        max-width: 200px !important;
        margin-bottom: 20px !important;
    }

    .th-hero-model {
        width: 70% !important;
        opacity: 0.15;
    }

    .th-hero-desc {
        font-size: 13px;
        line-height: 1.7;
    }

    .th-hero-cta {
        padding: 10px 20px;
        gap: 12px;
    }

    .th-hero-cta span {
        font-size: 14px;
    }

    /* Why */
    .th-why {
        padding: 30px 0;
    }

    .th-why-title {
        font-size: 22px;
    }

    .th-why-desc {
        font-size: 15px;
    }

    /* Service */
    .th-service-name {
        font-size: 20px;
    }

    .th-service-subtitle,
    .th-service-list li {
        font-size: 15px;
    }

    .th-service-image {
        height: 220px;
    }

    /* Details title */
    .th-details-title {
        font-size: 20px;
    }

    /* Process */
    .th-process-text {
        font-size: 14px;
    }

    /* Results */
    .th-result-text {
        font-size: 15px;
    }

    /* Extended cards */
    .th-ext-card-name {
        font-size: 20px;
    }

    .th-ext-card-desc {
        font-size: 14px;
    }

    /* Compete - single column on very small screens */
    .th-compete-title {
        font-size: 20px;
    }

    .th-compete-visual {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .th-compete-card {
        padding: 14px 14px;
    }

    .th-compete-card-wrap--04 {
        flex-direction: column;
    }

    .th-compete-card-wrap--04 .th-compete-card-image {
        width: 100%;
        height: 140px;
    }

    .th-compete-card-title {
        font-size: 15px;
    }

    .th-compete-card-text {
        font-size: 12px;
    }

    .th-compete-chess {
        height: 180px;
        opacity: 0.08;
    }

    .th-compete-card-icons img {
        max-width: 150px;
    }

    /* Portfolio */
    .th-portfolio-title {
        font-size: 22px;
    }

    .th-portfolio-desc {
        font-size: 15px;
    }

    .th-portfolio-badge-overlay {
        font-size: 13px;
        padding: 4px 12px;
    }

    .th-portfolio-link-overlay {
        font-size: 16px;
    }

    .th-portfolio-more-btn {
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    /* Testimonial */
    .gg2-testimonial {
        padding: 24px 0;
    }

    .gg2-testimonial-card {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .gg2-testimonial-name {
        font-size: 15px;
    }

    .gg2-testimonial-role {
        font-size: 12px;
    }

    .gg2-testimonial-text {
        font-size: 18px;
    }

    /* CTA */
    .gt-cta-section {
        padding: 24px 0;
    }

    .gt-cta-card {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .gt-cta-title {
        font-size: 19px;
    }

    .gt-cta-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .gt-cta-btn {
        font-size: 14px;
        padding: 0 16px;
        height: 40px;
        gap: 10px;
    }
}


/* ---- PROJECTS SECTION ---- */
.ctm-projects-section {
    padding: 80px 0 100px;
}

.ctm-projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.ctm-projects-heading {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2.4px;
    color: #262626;
    max-width: 505px;
}

.ctm-projects-link {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #14313A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ctm-projects-link:hover {
    color: #00D88A;
}

.ctm-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

a.ctm-project-card {
    text-decoration: none;
    color: inherit;
}

.ctm-project-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ctm-project-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.ctm-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ctm-project-card:hover .ctm-project-img img {
    transform: scale(1.05);
}

.ctm-project-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ctm-project-name {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #000;
    transition: color 0.3s ease;
}

.ctm-project-card:hover .ctm-project-name {
    background: var(--gradient, linear-gradient(90deg, #19D08E 0%, #26FFB1 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ctm-project-desc {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #262626;
}

.ctm-project-desc strong {
    font-weight: 700;
}

.ctm-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ctm-project-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: #E8F5EC;
    color: #1A7A3C;
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* ---- PROJECTS SECTION RESPONSIVE ---- */
@media screen and (max-width: 1200px) {
    .ctm-projects-heading {
        font-size: 36px;
        letter-spacing: -1.8px;
    }

    .ctm-projects-section {
        padding: 60px 0 80px;
    }
}

@media screen and (max-width: 992px) {
    .ctm-projects-heading {
        font-size: 32px;
    }

    .ctm-projects-link {
        font-size: 17px;
    }

    .ctm-project-name {
        font-size: 24px;
    }

    .ctm-project-desc {
        font-size: 17px;
    }
}

@media screen and (max-width: 768px) {
    .ctm-projects-section {
        padding: 40px 0 60px;
    }

    .ctm-projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .ctm-projects-heading {
        font-size: 28px;
        letter-spacing: -1.2px;
        max-width: 100%;
    }

    .ctm-projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ctm-project-name {
        font-size: 22px;
    }

    .ctm-project-desc {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .ctm-projects-section {
        padding: 30px 0 40px;
    }

    .ctm-projects-heading {
        font-size: 22px;
        letter-spacing: -1px;
    }

    .ctm-projects-link {
        font-size: 15px;
    }

    .ctm-project-name {
        font-size: 20px;
    }

    .ctm-project-desc {
        font-size: 15px;
    }

    .ctm-project-tag {
        font-size: 12px;
        padding: 3px 10px;
    }
}