/* =========================================================
   TECHZLEO
   HOME PAGE
   Main Brand Colors:
   Primary   : #FFCF5B
   Secondary : #141414
   Accent    : #C5BCA9
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --primary: #FFCF5B;
    --secondary: #141414;
    --accent: #C5BCA9;

    --white: #FFFFFF;
    --black: #141414;

    --light-bg: #F7F6F2;
    --border: #E6E3DC;

    --text: #141414;
    --muted: #707070;

    --footer-bg: #0D1528;
    --footer-text: #AEB5C3;

    --container-width: 1240px;

    --transition: 0.3s ease;

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    padding: 0;

    font-family: "Source Sans 3", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


body.menu-open {

    overflow: hidden;

}


a {

    color: inherit;

    text-decoration: none;

}


img {

    max-width: 100%;

    height: auto;

}


button {

    font-family: inherit;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background: #141414;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    transition: all 0.2s ease;
}

.site-header.scrolled {
    position: fixed;
    background: #141414;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.20);
}

.header-inner {
    max-width: 1240px;
    height: 100px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.nav-container {
    height: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

.main-nav a {
    position: relative;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FFCF5B;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #FFCF5B;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-btn {
    margin-left: 38px;
    min-width: 155px;
    height: 58px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #141414;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: #FFCF5B;
    color: #141414;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 800px;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding:
        110px 0 70px;

    background: var(--white);

}


/* DECORATIVE CIRCLE */

.hero-circle {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}


.hero-circle-left {

    width: 430px;

    height: 430px;

    left: -230px;

    top: 160px;

    background:
        rgba(255, 207, 91, 0.20);

    filter: blur(55px);

}


.hero-circle-right {

    width: 430px;

    height: 430px;

    right: -230px;

    bottom: -50px;

    background:
        rgba(197, 188, 169, 0.22);

    filter: blur(60px);

}


/* HERO CONTAINER */

.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 60px;

}


/* HERO CONTENT */

.hero-content {

    max-width: 760px;

}


/* HERO BADGE */

.hero-badge {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        10px 18px;

    border:
        1px solid
        var(--border);

    border-radius: 50px;

    background: var(--white);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    box-shadow:
        0 8px 25px
        rgba(20, 20, 20, 0.04);

}


.badge-dot {

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    background: var(--primary);

    border-radius: 50%;

}


.badge-star {

    color: #8D7A48;

}


/* HERO TITLE */

.hero h1 {

    margin-top: 28px;

    font-size:
        clamp(52px, 5.5vw, 80px);

    line-height: 0.96;

    letter-spacing: -2.8px;

    font-weight: 800;

}


.hero h1 span {

    display: block;

    width: fit-content;

    position: relative;

}


.hero h1 span::after {

    content: "";

    position: absolute;

    left: 5px;

    right: 0;

    bottom: 5px;

    height: 11px;

    background: var(--primary);

    z-index: -1;

}


/* HERO DESCRIPTION */

.hero-content > p {

    max-width: 680px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.6;

}


/* HERO BUTTONS */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 28px;

}


/* GENERAL BUTTON */

.btn {

    min-height: 56px;

    padding:
        0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 50px;

    font-weight: 700;

    transition: var(--transition);

}


/* PRIMARY BUTTON */

.btn-primary {

    background: var(--secondary);

    color: var(--white);

}


.btn-primary:hover {

    background: var(--primary);

    color: var(--secondary);

    transform: translateY(-3px);

}


/* SECONDARY BUTTON */

.btn-secondary {

    background: var(--white);

    border:
        1px solid
        #D8D4CB;

}


.btn-secondary:hover {

    border-color: var(--secondary);

    transform: translateY(-3px);

}


/* HERO BOTTOM TEXT */

.hero-bottom-text {

    margin-top: 28px;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #303030;

    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.hero-bottom-text span {

    width: 7px;

    height: 7px;

    flex-shrink: 0;

    background: var(--primary);

    border-radius: 50%;

}


.hero-bottom-text b {

    color: #B5B5B5;

}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: relative;

    height: 550px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* ORBITS */

.orbit {

    position: absolute;

    border:
        1px solid
        rgba(20, 20, 20, 0.13);

    border-radius: 50%;

    transform: rotate(-20deg);

}


.orbit-one {

    width: 470px;

    height: 470px;

}


.orbit-two {

    width: 340px;

    height: 520px;

}


.orbit-three {

    width: 520px;

    height: 300px;

}


/* MAIN HERO CARD */

.hero-main-card {

    width: 270px;

    min-height: 335px;

    position: relative;

    z-index: 5;

    padding: 32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: var(--white);

    border:
        1px solid
        rgba(20, 20, 20, 0.09);

    border-radius: 28px;

    box-shadow:
        0 30px 80px
        rgba(20, 20, 20, 0.13);

}


.hero-card-logo {

    width: 58px;

    height: 58px;

    margin-bottom: 25px;

    display: grid;

    place-items: center;

    background: var(--primary);

    border-radius: 17px;

    font-size: 21px;

    font-weight: 900;

}


.hero-main-card small {

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 800;

}


.hero-main-card h2 {

    margin-top: 9px;

    font-size: 43px;

    line-height: 0.88;

    letter-spacing: -1px;

}


.hero-main-card p {

    margin-top: 24px;

    color: #777;

    font-size: 12px;

}


/* FLOATING CARDS */

.floating-card {

    position: absolute;

    z-index: 10;

    min-width: 185px;

    padding:
        13px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    background: var(--white);

    border:
        1px solid
        rgba(20, 20, 20, 0.08);

    border-radius: 16px;

    box-shadow:
        0 20px 50px
        rgba(20, 20, 20, 0.10);

    animation:
        floatCard 5s ease-in-out infinite;

}


.floating-icon {

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    background: var(--primary);

    border-radius: 12px;

    font-size: 18px;

    font-weight: 800;

}


.floating-card strong,
.floating-card small {

    display: block;

}


.floating-card strong {

    font-size: 15px;

}


.floating-card small {

    color: #777;

    font-size: 12px;

}


.card-one {

    top: 43px;

    left: -5px;

    animation-delay: 0s;

}


.card-two {

    top: 115px;

    right: -5px;

    animation-delay: 1s;

}


.card-three {

    bottom: 72px;

    left: 0;

    animation-delay: 2s;

}


.card-four {

    bottom: 20px;

    right: 5px;

    animation-delay: 3s;

}


/* =========================================
   STAGE 3 — FLOATING SERVICE CARDS
   ========================================= */

@keyframes techzleoFloatOne {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes techzleoFloatTwo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(10px) rotate(1deg);
    }
}

@keyframes techzleoFloatThree {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(1deg);
    }
}

@keyframes techzleoFloatFour {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(11px) rotate(-1deg);
    }
}


/* Individual card movement */

.card-one {
    animation: techzleoFloatOne 5s ease-in-out infinite;
}

.card-two {
    animation: techzleoFloatTwo 6s ease-in-out infinite;
}

.card-three {
    animation: techzleoFloatThree 5.5s ease-in-out infinite;
}

.card-four {
    animation: techzleoFloatFour 6.5s ease-in-out infinite;
}

/* Premium hover interaction */

.floating-card {
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.floating-card:hover {
    border-color: rgba(255, 207, 91, 0.65);
    box-shadow:
        0 25px 60px rgba(20, 20, 20, 0.14),
        0 0 25px rgba(255, 207, 91, 0.12);
}

.floating-icon {
    position: relative;
    overflow: hidden;
}

.floating-icon::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 50%;
    animation: techzleoIconPulse 3s ease-in-out infinite;
}

@keyframes techzleoIconPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* SCROLL INDICATOR */

.scroll-indicator {

    position: absolute;

    z-index: 5;

    bottom: 22px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    color: #777;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.scroll-indicator span {

    width: 28px;

    height: 1px;

    background: #999;

}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {

    padding:
        120px 0;

}


.section-heading {

    max-width: 700px;

}


.section-heading.centered {

    margin-left: auto;

    margin-right: auto;

    text-align: center;

}


.section-label {

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #666;

}


.section-heading h2 {

    margin-top: 13px;

    font-size:
        clamp(43px, 4.8vw, 68px);

    line-height: 0.98;

    letter-spacing: -2px;

}


.section-heading h2 em {

    color: #fac540;

    font-style: normal;

}


.section-heading p {

    margin-top: 22px;

    color: var(--muted);

    font-size: 18px;

}


/* =========================================================
   WHY TECHZLEO
========================================================= */

.why-section {

    border-top:
        1px solid
        var(--border);

}


.why-grid {

    margin-top: 65px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

}


.why-card {

    min-height: 330px;

    padding: 28px;

    border-right:
        1px solid
        var(--border);

    transition: var(--transition);

}


.why-card:last-child {

    border-right: 0;

}


.why-card:hover {

    background: var(--light-bg);

}


.card-number {

    font-size: 12px;

    color: #999;

    font-weight: 800;

}


.why-icon {

    width: 52px;

    height: 52px;

    margin-top: 38px;

    display: grid;

    place-items: center;

    background: var(--primary);

    border-radius: 15px;

    font-size: 23px;

    font-weight: 800;

}


.why-card h3 {

    margin-top: 24px;

    font-size: 27px;

}


.why-card p {

    max-width: 250px;

    margin-top: 10px;

    color: var(--muted);

}


/* =========================================================
   SECTION HEADING ROW
========================================================= */

.section-heading-row {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

}


.text-link {

    white-space: nowrap;

    padding-bottom: 5px;

    border-bottom:
        2px solid
        var(--primary);

    font-weight: 800;

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: var(--white);

}


.services-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.service-card {

    min-height: 345px;

    position: relative;

    padding: 30px;

    display: flex;

    flex-direction: column;

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    overflow: hidden;

    background: var(--white);

    transition: var(--transition);

}


.service-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 24px 60px
        rgba(20, 20, 20, 0.10);

    border-color: var(--primary);

}


.service-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.service-top span {

    color: #999;

    font-size: 12px;

    font-weight: 800;

}


.service-top i {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    background: var(--primary);

    border-radius: 14px;

    font-size: 22px;

    font-style: normal;

}


.service-card h3 {

    margin-top: 42px;

    font-size: 31px;

}


.service-card p {

    max-width: 520px;

    margin-top: 10px;

    color: var(--muted);

}


.service-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;

}


.service-tags span {

    padding:
        6px 10px;

    border:
        1px solid
        var(--border);

    border-radius: 50px;

    color: #666;

    font-size: 12px;

}


.service-link {

    width: fit-content;

    margin-top: auto;

    padding-top: 25px;

    font-weight: 800;

}


.service-link span {

    margin-left: 6px;

}


/* =========================================================
   HOW WE WORK
========================================================= */

.process-section {

    background: var(--light-bg);

}


.process-grid {

    margin-top: 65px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        #DAD6CE;

    border-bottom:
        1px solid
        #DAD6CE;

}


.process-item {

    min-height: 300px;

    padding: 28px;

    border-right:
        1px solid
        #DAD6CE;

}


.process-item:last-child {

    border-right: 0;

}


.process-item > span {

    color: #999;

    font-size: 13px;

    font-weight: 800;

}


.process-item h3 {

    margin-top: 75px;

    font-size: 31px;

}


.process-item p {

    margin-top: 12px;

    color: var(--muted);

}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-note {

    max-width: 260px;

    color: #777;

    font-size: 14px;

}


.portfolio-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


.project-card {

    overflow: hidden;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius: 22px;

    transition: var(--transition);

}


.project-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 24px 60px
        rgba(20, 20, 20, 0.10);

}


.project-visual {

    height: 330px;

    position: relative;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

}


.project-dark {

    background: var(--secondary);

    color: var(--white);

}


.project-yellow {

    background: var(--primary);

    color: var(--secondary);

}


.project-light {

    background: var(--light-bg);

    color: var(--secondary);

}


.project-visual::before {

    content: "";

    position: absolute;

    width: 230px;

    height: 230px;

    right: -80px;

    bottom: -80px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

}


.project-yellow::before,
.project-light::before {

    border-color:
        rgba(20,20,20,.15);

}


.project-visual span {

    position: relative;

    z-index: 2;

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 800;

}


.project-visual strong {

    position: relative;

    z-index: 2;

    font-size: 42px;

    line-height: 0.9;

}


.project-visual i {

    position: absolute;

    top: 28px;

    right: 28px;

    font-size: 12px;

    font-style: normal;

    font-weight: 800;

}


.project-info {

    min-height: 86px;

    padding:
        18px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.project-info strong,
.project-info small {

    display: block;

}


.project-info strong {

    font-size: 20px;

}


.project-info small {

    margin-top: 3px;

    color: #777;

}


.project-info > span {

    font-size: 20px;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

    position: relative;

    overflow: hidden;

    padding:
        100px 0;

    background: var(--secondary);

    color: var(--white);

}


.cta-decoration {

    position: absolute;

    width: 400px;

    height: 400px;

    right: -150px;

    top: -200px;

    border:
        1px solid
        rgba(255, 207, 91, .35);

    border-radius: 50%;

}


.cta-container {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

}


.cta-section .section-label {

    color: #B9B9B9;

}


.cta-section h2 {

    max-width: 800px;

    margin-top: 13px;

    font-size:
        clamp(43px, 5vw, 70px);

    line-height: 0.98;

    letter-spacing: -2px;

}


.cta-section h2 em {

    color: var(--primary);

    font-style: normal;

}


.cta-section p {

    max-width: 620px;

    margin-top: 20px;

    color: #B9B9B9;

    font-size: 17px;

}


.btn-yellow {

    flex-shrink: 0;

    background: var(--primary);

    color: var(--secondary);

}


.btn-yellow:hover {

    background: var(--white);

    transform: translateY(-3px);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: var(--footer-bg);

    color: var(--white);

}


/* FOOTER GRID */

.footer-grid {

    padding:
        65px 0
        50px;

    display: grid;

    grid-template-columns:
        1.35fr
        1fr
        .85fr
        1.15fr;

    gap: 60px;

}


/* FOOTER BRAND */

.footer-logo {

    display: inline-flex;

}


.footer-logo img {

    width: 260px;

    height: auto;

    object-fit: contain;

}


.footer-brand p {

    max-width: 370px;

    margin-top: 18px;

    color: var(--footer-text);

    font-size: 16px;

    line-height: 1.8;

}


/* SOCIAL */

.social-links {

    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;

}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.social-links a img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 207, 91, 0.6);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.social-links a:hover img {
    transform: scale(1.08);
}


/* FOOTER COLUMN */

.footer-column {

    display: flex;

    flex-direction: column;

}


.footer-column h3 {

    font-size: 16px;

    letter-spacing: 1.5px;

}


.footer-line {

    width: 35px;

    height: 3px;

    margin-top: 12px;

    margin-bottom: 25px;

    background: var(--primary);

}


.footer-column > a {

    margin-bottom: 13px;

    color: var(--footer-text);

    font-size: 15px;

    transition: var(--transition);

}


.footer-column > a:hover {

    color: var(--primary);

    transform: translateX(3px);

}


/* FOOTER CONTACT */

.footer-contact > a {

    display: flex;

    align-items: flex-start;

    gap: 12px;

}


.footer-contact i {

    min-width: 20px;

    color: var(--primary);

    font-style: normal;

}


.footer-contact p {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    color: var(--footer-text);

    font-size: 15px;

}


/* FOOTER BOTTOM */

.footer-bottom {

    padding:
        24px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-top:
        1px solid
        rgba(255,255,255,.10);

}


.footer-bottom p {

    color: var(--footer-text);

    font-size: 14px;

}


.footer-bottom div {

    display: flex;

    flex-wrap: wrap;

    gap: 25px;

}


.footer-bottom a {

    color: var(--footer-text);

    font-size: 14px;

    transition: var(--transition);

}


.footer-bottom a:hover {

    color: var(--primary);

}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-button {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 999;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    background: #18B86A;

    color: var(--white);

    border-radius: 50%;

    font-size: 25px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.20);

    transition: var(--transition);

}


.whatsapp-button:hover {

    transform: translateY(-5px);

}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.why-card,
.service-card,
.process-item,
.project-card {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.why-card.visible,
.service-card.visible,
.process-item.visible,
.project-card.visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {


    .main-nav {

        gap: 22px;

    }


    .header-btn {

        margin-left: 20px;

        padding:
            12px 19px;

    }


    .hero-container {

        grid-template-columns: 1fr;

    }


    .hero {

        padding-top: 140px;

    }


    .hero-content {

        max-width: 850px;

        margin-left: auto;

        margin-right: auto;

        text-align: center;

    }


    .hero-badge {

        margin-left: auto;

        margin-right: auto;

    }


    .hero h1 span {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-content > p {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-bottom-text {

        justify-content: center;

    }


    .hero-visual {

        margin-top: 20px;

    }


    .why-grid,
    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .why-card:nth-child(2) {

        border-right: 0;

    }


    .why-card:nth-child(3),
    .why-card:nth-child(4) {

        border-top:
            1px solid
            var(--border);

    }


    .process-item:nth-child(2) {

        border-right: 0;

    }


    .process-item:nth-child(3),
    .process-item:nth-child(4) {

        border-top:
            1px solid
            #DAD6CE;

    }


    .process-item:nth-child(4) {

        border-right: 0;

    }


    .portfolio-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .project-large {

        grid-column:
            1 / -1;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {


    .container {

        width:
            min(
                calc(100% - 32px),
                var(--container-width)
            );

    }


    /* HEADER */

    .site-header {
        height: 78px;
    }


    .site-header.scrolled {
        height: 74px;
    }


    .logo img {
        width: 150px;
        height: auto;
    }


    .main-nav {

        position: fixed;

        top: 78px;

        left: 0;

        width: 100%;

        height:
            calc(100vh - 78px);

        padding:
            35px 25px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        background: #141414;

        transform:
            translateX(100%);

        transition:
            transform 0.35s ease;

    }


    .main-nav.open {

        transform:
            translateX(0);

    }


    .main-nav a {

        width: 100%;

        padding:
            18px 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.12);

        color: #FFFFFF;
        font-size: 21px;

    }


    .header-btn {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .menu-toggle.open span:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg);

    }


    .menu-toggle.open span:nth-child(2) {

        opacity: 0;

    }


    .menu-toggle.open span:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg);

    }


    /* HERO */

    .hero {

        min-height: auto;

        padding:
            125px 0
            80px;

    }


    .hero h1 {

        font-size:
            clamp(48px, 14vw, 70px);

        letter-spacing: -2px;

    }


    .hero-content > p {

        font-size: 17px;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-visual {

        height: 430px;

        margin-top: 30px;

    }


    .orbit-one {

        width: 330px;

        height: 330px;

    }


    .orbit-two {

        width: 250px;

        height: 370px;

    }


    .orbit-three {

        width: 370px;

        height: 230px;

    }


    .hero-main-card {

        width: 215px;

        min-height: 280px;

        padding: 25px;

    }


    .hero-main-card h2 {

        font-size: 36px;

    }


    .floating-card {

        min-width: 145px;

        padding:
            9px 11px;

    }


    .floating-icon {

        width: 34px;

        height: 34px;

    }


    .card-one {

        left: -4px;

        top: 30px;

    }


    .card-two {

        right: -4px;

        top: 90px;

    }


    .card-three {

        left: -4px;

        bottom: 55px;

    }


    .card-four {

        right: -4px;

        bottom: 15px;

    }


    .scroll-indicator {

        display: none;

    }


    /* SECTIONS */

    .section {

        padding:
            85px 0;

    }


    .section-heading h2 {

        font-size:
            clamp(42px, 12vw, 58px);

    }


    .section-heading p {

        font-size: 16px;

    }


    /* WHY */

    .why-grid {

        grid-template-columns: 1fr;

    }


    .why-card {

        min-height: auto;

        padding:
            30px 20px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);

    }


    .why-card:last-child {

        border-bottom: 0;

    }


    .why-card:nth-child(3),
    .why-card:nth-child(4) {

        border-top: 0;

    }


    /* SECTION HEADING ROW */

    .section-heading-row {

        align-items: flex-start;

        flex-direction: column;

    }


    /* SERVICES */

    .services-grid {

        grid-template-columns: 1fr;

    }


    /* PROCESS */

    .process-grid {

        grid-template-columns: 1fr;

    }


    .process-item {

        min-height: auto;

        padding:
            30px 20px;

        border-right: 0;

        border-bottom:
            1px solid
            #DAD6CE;

    }


    .process-item:last-child {

        border-bottom: 0;

    }


    .process-item:nth-child(3),
    .process-item:nth-child(4) {

        border-top: 0;

    }


    .process-item h3 {

        margin-top: 45px;

    }


    /* PORTFOLIO */

    .portfolio-grid {

        grid-template-columns: 1fr;

    }


    .project-large {

        grid-column: auto;

    }


    .project-visual {

        height: 270px;

    }


    .portfolio-note {

        max-width: 100%;

    }


    /* CTA */

    .cta-section {

        padding: 90px 0 70px;

    }


    .cta-container {

        align-items: flex-start;

        flex-direction: column;

    }


    .cta-container .btn {

        width: 100%;

    }


    /* FOOTER */

    .footer-grid {

        padding:
            65px 0;

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .footer-bottom {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-bottom div {

        gap:
            12px 20px;

    }


    .whatsapp-button {

        right: 18px;

        bottom: 18px;

        width: 54px;

        height: 54px;

    }

}

/* =========================
   PHONE CALL BUTTON
========================= */

.phone-button {
    position: fixed;

    right: 25px;
    bottom: 95px;

    z-index: 999;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    background: #141414;
    color: #FFFFFF;

    border-radius: 50%;

    font-size: 25px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}

.phone-button:hover {
    background: #FFCF5B;
    color: #141414;

    transform: translateY(-5px);
}

.phone-button svg {
    width: 22px;
    height: 22px;
}


/* MOBILE */

@media (max-width: 768px) {

    .phone-button {
        right: 18px;
        bottom: 85px;

        width: 54px;
        height: 54px;
    }

    .phone-button svg {
        width: 20px;
        height: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {


    .hero h1 {

        font-size: 46px;

    }


    .hero-visual {

        height: 390px;

    }


    .hero-main-card {

        width: 195px;

        min-height: 255px;

    }


    .floating-card {

        min-width: 125px;

    }


    .floating-card small {

        font-size: 10px;

    }


    .floating-card strong {

        font-size: 13px;

    }


    .floating-icon {

        width: 30px;

        height: 30px;

        font-size: 14px;

    }


    .card-one {

        left: -8px;

    }


    .card-two {

        right: -8px;

    }


    .card-three {

        left: -8px;

    }


    .card-four {

        right: -8px;

    }

}

/* =====================================================
   WHY TECHZLEO - CARD VISIBILITY FIX
===================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: #ffffff;
    border: 1px solid #E6E3DC;
    padding: 35px 28px;
    min-height: 250px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: #FFCF5B;
}

.card-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #070500;
    margin-bottom: 25px;
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFCF5B;
    color: #141414;
    font-size: 24px;
    margin-bottom: 22px;
}

.why-card h3 {
    margin: 0 0 12px;
    color: #141414;
    font-size: 24px;
}

.why-card p {
    margin: 0;
    color: #707070;
    font-size: 16px;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .why-card {
        padding: 28px 22px;
    }
}

/* =====================================================
   HERO HEADING - YELLOW TO BLACK GRADIENT
===================================================== */

.hero-content h1 {
    background: linear-gradient(
        90deg,
        #FFCF5B 0%,
        #141414 55%,
        #141414 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* =====================================================
   WHY TECHZLEO - REDUCE TOP SPACE
===================================================== */

.why-section {
    padding-top: 10px;
    padding-bottom: 50px;
}

/* =====================================================
   STAGE 1 - ANIMATED HERO GRADIENT
===================================================== */

.hero h1 {
    background: linear-gradient(
        110deg,
        #141414 0%,
        #141414 35%,
        #FFCF5B 48%,
        #E5B94F 55%,
        #141414 70%,
        #141414 100%
    );

    background-size: 250% 100%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;

   animation: techzleoTextGradient 20s ease-in-out infinite;
}

@keyframes techzleoTextGradient {

    0% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }

}


.orbit-one {
    animation: orbitRotate 28s linear infinite;
}

.orbit-two {
    animation: orbitRotateReverse 22s linear infinite;
}

.orbit-three {
    animation: orbitRotate 35s linear infinite;
}

@keyframes orbitRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes orbitRotateReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

/* =====================================================
   STAGE 2 - HERO GLOW + ORBIT EFFECT
===================================================== */

/* LEFT YELLOW GLOW */

.hero-circle-left {
    background: #ffb300;
    filter: blur(100px);
    opacity: 0.35;
    animation: techzleoYellowGlow 7s ease-in-out infinite;
}


/* RIGHT SOFT GLOW */

.hero-circle-right {
    background: #C5BCA9;
    filter: blur(110px);
    opacity: 0.25;
    animation: techzleoAccentGlow 9s ease-in-out infinite;
}


/* YELLOW GLOW ANIMATION */

@keyframes techzleoYellowGlow {

    0%, 100% {
        transform: scale(0.9);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.55;
    }

}


/* ACCENT GLOW ANIMATION */

@keyframes techzleoAccentGlow {

    0%, 100% {
        transform: scale(0.9);
        opacity: 0.18;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.40;
    }

}


/* =====================================================
   ORBITS
===================================================== */

.orbit {
    border-color: rgba(255, 207, 91, 0.28);
    box-shadow:
        0 0 15px rgba(255, 207, 91, 0.08),
        inset 0 0 15px rgba(255, 207, 91, 0.05);
}


.orbit-one {
    animation: techzleoOrbit 28s linear infinite;
}


.orbit-two {
    border-color: rgba(255, 207, 91, 0.20);
    animation: techzleoOrbitReverse 22s linear infinite;
}


.orbit-three {
    border-color: rgba(255, 207, 91, 0.14);
    animation: techzleoOrbit 35s linear infinite;
}


/* ORBIT ROTATION */

@keyframes techzleoOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes techzleoOrbitReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

/* =========================================
   STAGE 4 — MAIN HERO VISUAL ANIMATION
   ========================================= */

.hero-main-card {
    animation: techzleoMainCardFloat 7s ease-in-out infinite;
}

@keyframes techzleoMainCardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(0.4deg);
    }
}

.hero-main-card {
    box-shadow:
        0 30px 80px rgba(20, 20, 20, 0.12),
        0 0 35px rgba(255, 207, 91, 0.08);
}

/* =========================================
   PREMIUM ORBIT MOTION
   ========================================= */

.orbit-one {
    animation: techzleoOrbit 30s linear infinite;
}

.orbit-two {
    animation: techzleoOrbitReverse 24s linear infinite;
}

.orbit-three {
    animation: techzleoOrbit 38s linear infinite;
}

@keyframes techzleoOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes techzleoOrbitReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* =========================================
   STAGE 5 — PREMIUM FLOATING CONTACT
   ========================================= */

.floating-contact {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}


/* Main Button */

.contact-float {
    position: relative;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(20, 20, 20, 0.18),
        0 3px 8px rgba(20, 20, 20, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Icons */

.contact-float i {
    position: relative;
    z-index: 2;

    font-size: 22px;
}


/* Call Button */

.call-float {
    background: #141414;
    color: #FFCF5B;
}


/* WhatsApp Button */

.whatsapp-float {
    background: #25D366;
    color: #FFFFFF;
}


/* Hover */

.contact-float:hover {
    transform: translateY(-5px) scale(1.06);

    box-shadow:
        0 16px 35px rgba(20, 20, 20, 0.22),
        0 0 22px rgba(255, 207, 91, 0.16);
}


/* Hover Labels */

.contact-float span {
    position: absolute;

    right: 68px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(10px);

    padding: 8px 12px;

    background: #141414;
    color: #FFFFFF;

    border-radius: 7px;

    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.contact-float:hover span {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================
   SOFT PULSE
   ========================================= */

.contact-float::after {
    content: "";

    position: absolute;

    inset: -4px;

    border-radius: 50%;

    border: 1px solid currentColor;

    opacity: 0;

    animation: techzleoContactPulse 3.5s ease-out infinite;
}

.whatsapp-float::after {
    animation-delay: 1.7s;
}


@keyframes techzleoContactPulse {

    0% {
        transform: scale(0.95);
        opacity: 0.35;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .floating-contact {
        right: 16px;
        bottom: 18px;
        gap: 11px;
    }

    .contact-float {
        width: 50px;
        height: 50px;
    }

    .contact-float i {
        font-size: 20px;
    }

    .contact-float span {
        display: none;
    }

}

/* Stage 5 - Hero Mouse Parallax */

.hero-visual {
    transition: transform 0.25s ease-out;
    will-change: transform;
}

/* =========================================
   STAGE 6 — RESPONSIVE OPTIMIZATION
   ========================================= */


/* ---------- TABLET ---------- */

@media (max-width: 1100px) {

    .header-inner {
        padding: 0 24px;
    }

    .main-nav {
        gap: 25px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.9fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(48px, 6vw, 68px);
    }

    .hero-content > p {
        font-size: 17px;
    }

    .hero-visual {
        transform: scale(0.9);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------- TABLET / SMALL LAPTOP ---------- */

@media (max-width: 900px) {

    .site-header {
        height: 82px;
    }

    .header-inner {
        height: 82px;
    }

    .logo img {
        width: 160px;
    }

    .nav-container {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding: 130px 0 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-bottom-text {
        justify-content: center;
    }


    /* Hero visual */

    .hero-visual {
        width: 100%;
        max-width: 600px;
        margin: 30px auto 0;
        transform: scale(0.9);
    }


    /* Floating cards */

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .card-three {
        left: 20px;
    }

    .card-four {
        right: 20px;
    }
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, var(--container-width));
    }


    /* Header */

    .site-header {
        height: 74px;
    }

    .header-inner {
        height: 74px;
        padding: 0 16px;
    }

    .logo img {
        width: 145px;
    }


    /* Hero */

    .hero {
        padding: 110px 0 55px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 0.98;
        letter-spacing: -1.8px;
    }

    .hero-content > p {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-bottom-text {
        font-size: 12px;
        margin-top: 25px;
    }


    /* Hero visual */

    .hero-visual {
        width: 100%;
        max-width: 440px;
        margin-top: 20px;
        transform: scale(0.78);
        transform-origin: center top;
    }


    /* Floating cards */

    .floating-card {
        min-width: 145px;
        padding: 10px 12px;
        gap: 9px;
        border-radius: 13px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 15px;
    }

    .floating-card strong {
        font-size: 13px;
    }

    .floating-card small {
        font-size: 10px;
    }

    .card-one {
        top: 30px;
        left: -5px;
    }

    .card-two {
        top: 80px;
        right: -5px;
    }

    .card-three {
        bottom: 60px;
        left: 0;
    }

    .card-four {
        bottom: 15px;
        right: 0;
    }


    /* Why Techzleo */

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        min-height: auto;
        padding: 28px 24px;
    }


    /* Floating contact buttons */

    .floating-contact {
        right: 14px;
        bottom: 16px;
    }

}

/* =========================================
   STAGE 7 — PREMIUM SERVICES CARDS
   ========================================= */

.service-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* Yellow accent line */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #FFCF5B;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s ease;
}


/* Hover */

.service-card:hover {
    transform: translateY(-8px);

    border-color: #FFCF5B;

    box-shadow:
        0 25px 60px rgba(20, 20, 20, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-top i {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    background: #FFCF5B;

    border-radius: 14px;

    font-size: 23px;
    font-style: normal;

    transition:
        transform 0.4s ease,
        border-radius 0.4s ease;
}

.service-card:hover .service-top i {
    transform: rotate(8deg) scale(1.08);

    border-radius: 50%;
}

.service-tags span {
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.service-card:hover .service-tags span {
    background: #141414;
    color: #FFFFFF;

    transform: translateY(-2px);
}

.service-link {
    transition:
        color 0.3s ease,
        gap 0.3s ease;
}

.service-link span {
    display: inline-block;

    transition:
        transform 0.3s ease;
}

.service-card:hover .service-link span {
    transform: translate(5px, -5px);
}

/* =========================================
   STAGE 7 — SERVICES FINAL FIX
   ========================================= */

.services-section {
    padding-top: 70px;
    padding-bottom: 100px;
}

.services-grid {
    margin-top: 40px;
}


/* Service cards visible */

.services-grid .service-card {
    opacity: 1 !important;
    visibility: visible;
    transform: translateY(0);
}


/* Premium hover */

.services-grid .service-card:hover {
    transform: translateY(-8px);
}

/* =========================================
   STAGE 7.6 — SERVICE CARD ENTRANCE
   ========================================= */

.services-grid .service-card {
    animation: techzleoServiceIn 0.7s ease both;
}

.services-grid .service-card:nth-child(1) {
    animation-delay: 0.05s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.15s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.25s;
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 0.35s;
}

.services-grid .service-card:nth-child(5) {
    animation-delay: 0.45s;
}

.services-grid .service-card:nth-child(6) {
    animation-delay: 0.55s;
}

@keyframes techzleoServiceIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   STAGE 8.1 — PROCESS ICONS
========================================= */

.process-icon {
    width: 52px;
    height: 52px;
    margin-top: 22px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: var(--secondary);

    border-radius: 14px;

    font-size: 21px;

    transition:
        transform 0.3s ease,
        border-radius 0.3s ease,
        box-shadow 0.3s ease;
}

.process-item:hover .process-icon {
    transform: translateY(-4px) rotate(5deg);
    border-radius: 50%;

    box-shadow:
        0 10px 25px rgba(20,20,20,0.12);
}

/* =========================================
   HOW WE WORK — VISIBILITY FIX
========================================= */

.process-grid .process-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* =========================================
   STAGE 8.3 — PROCESS CARD STYLE
========================================= */

.process-item {
    position: relative;
    padding: 30px;
    background: transparent;
    transition:
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Number */
.process-item > span {
    display: block;
    color: #999;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Icon */
.process-icon {
    position: relative;
    z-index: 2;
}

/* Hover */
.process-item:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(20, 20, 20, 0.08);
}

/* Heading */
.process-item h3 {
    transition: transform 0.3s ease;
}

.process-item:hover h3 {
    transform: translateX(4px);
}

/* Description */
.process-item p {
    transition: color 0.3s ease;
}

.process-item:hover p {
    color: #555;
}

/* =========================================
   STAGE 8.4 — PROCESS ICON ANIMATION
========================================= */

.process-icon i {
    display: inline-block;
    transition: transform 0.35s ease;
}

.process-item:hover .process-icon i {
    transform: scale(1.15);
}

/* =========================================
   STAGE 8.5 — PROCESS CONNECTING LINE
========================================= */

.process-grid {
    position: relative;
}

/* Connecting line */
.process-grid::before {
    content: "";
    position: absolute;

    top: 94px;
    left: 12%;
    right: 12%;

    height: 1px;

    background: rgba(20, 20, 20, 0.12);

    z-index: 0;
}

/* Keep cards above the line */
.process-item {
    position: relative;
    z-index: 1;
}

/* Keep icons above the line */
.process-icon {
    position: relative;
    z-index: 2;
}

/* =========================================
   STAGE 8.6 — PROCESS MOBILE FIX
========================================= */

@media (max-width: 768px) {

    .process-grid::before {
        display: none;
    }

    .process-item {
        padding: 30px 20px;
    }

    .process-icon {
        margin-top: 16px;
    }

    .process-item h3 {
        margin-top: 24px;
    }
}

@media (max-width: 1050px) {

    .process-grid::before {
        display: none;
    }

}

/* =========================================================
   PORTFOLIO — VISIBILITY FIX
========================================================= */

.portfolio-grid .project-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================================
   PORTFOLIO PROJECT IMAGE
========================================================= */

.project-image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 20, 0.15),
        transparent 35%,
        rgba(20, 20, 20, 0.20)
    );
    pointer-events: none;
}

.project-image span,
.project-image i {
    position: absolute;
    z-index: 3;
}

.project-image span {
    top: 28px;
    left: 28px;
    padding: 7px 11px;
    background: #FFCF5B;
    color: #141414;
    border-radius: 50px;
}

.project-image i {
    top: 28px;
    right: 28px;
    color: #FFFFFF;
}

/* =========================================================
   STAGE 9.2 — PREMIUM PORTFOLIO EFFECTS
========================================================= */

.project-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 207, 91, 0.75);
    box-shadow:
        0 25px 60px rgba(20, 20, 20, 0.12),
        0 0 25px rgba(255, 207, 91, 0.08);
}

/* Image zoom */
.project-image img {
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

/* Project number */
.project-image i {
    transition:
        transform 0.35s ease,
        color 0.35s ease;
}

.project-card:hover .project-image i {
    transform: translateY(-3px);
}

/* Project arrow */
.project-info > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.project-card:hover .project-info > span {
    background: var(--primary);
    color: var(--secondary);
    transform: translate(3px, -3px);
}

/* Project title */
.project-info strong {
    transition: transform 0.3s ease;
}

.project-card:hover .project-info strong {
    transform: translateX(3px);
}

/* =========================================================
   STAGE 9.3 — PORTFOLIO RESPONSIVE OPTIMIZATION
========================================================= */

.portfolio-section {
    overflow: hidden;
}

.portfolio-grid {
    align-items: stretch;
}

.project-card {
    min-width: 0;
}

/* Tablet */
@media (max-width: 1050px) {

    .portfolio-grid {
        gap: 18px;
    }

    .project-visual {
        height: 300px;
    }

    .project-visual strong {
        font-size: 38px;
    }

}

/* Mobile */
@media (max-width: 768px) {

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 45px;
    }

    .project-large {
        grid-column: auto;
    }

    .project-visual {
        height: auto;
        min-height: 260px;
    }

    .project-visual strong {
        font-size: 36px;
    }

    .project-info {
        min-height: 80px;
        padding: 16px 18px;
    }

}

/* Small mobile */
@media (max-width: 420px) {

    .project-visual {
        min-height: 220px;
        padding: 20px;
    }

    .project-visual span {
        top: 20px;
        left: 20px;
        font-size: 10px;
    }

    .project-image i {
        top: 20px;
        right: 20px;
    }

    .project-visual strong {
        font-size: 31px;
    }

    .project-info strong {
        font-size: 15px;
    }

    .project-info small {
        font-size: 13px;
    }

}

/* =========================================================
   STAGE 10 — CTA SECTION
========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: #141414;
    color: #FFFFFF;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 850px;
}

.cta-content .section-label {
    color: #FFCF5B;
}

.cta-content h2 {
    margin-top: 18px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -2px;
}

.cta-content h2 em {
    display: block;
    color: #FFCF5B;
    font-style: normal;
}

.cta-content p {
    max-width: 650px;
    margin-top: 28px;
    color: rgba(255,255,255,0.68);
    font-size: 17px;
    line-height: 1.7;
}

.cta-button {
    width: fit-content;
    margin-top: 35px;
    padding: 15px 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFCF5B;
    color: #141414;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        gap 0.3s ease;
}

.cta-button span {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255,207,91,0.20);
    gap: 16px;
}

.cta-button:hover span {
    transform: translate(3px, -3px);
}

/* Decorative circle */

.cta-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -180px;
    border: 1px solid rgba(255,207,91,0.18);
    border-radius: 50%;
}

.cta-decoration::before {
    content: "";
    position: absolute;
    inset: 55px;
    border: 1px solid rgba(255,207,91,0.10);
    border-radius: 50%;
}

.cta-decoration::after {
    content: "";
    position: absolute;
    inset: 110px;
    border: 1px solid rgba(255,207,91,0.08);
    border-radius: 50%;
}

@media (max-width: 768px) {

    .cta-section {
        padding: 90px 0 70px;
    }

    .cta-content h2 {
        font-size: clamp(43px, 12vw, 60px);
        letter-spacing: -1px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-decoration {
        width: 350px;
        height: 350px;
        right: -170px;
        top: -120px;
    }

    .cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
}

.cta-action {
    justify-content: flex-start;
}

}

/* =========================================================
   STAGE 11 — TECHZLEO FOOTER
========================================================= */

.site-footer {

    position: relative;

    background: #141414;

    color: #FFFFFF;

    padding: 85px 0 25px;

    overflow: hidden;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1.25fr
        1.35fr;

    gap: 55px;

    padding-bottom: 65px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    max-width: 330px;
}


.footer-logo {

    display: inline-block;

    text-decoration: none;
}


.footer-logo img {

    width: 220px;

    height: auto;

    display: block;
}


.footer-tagline {

    margin-top: 22px;

    color: #FFCF5B;

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;
}


.footer-description {

    display: block;

    margin-top: 14px;

    color: rgba(255,255,255,0.58);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h3 {

    margin: 0 0 23px;

    color: #FFFFFF;

    font-size: 16px;

    font-weight: 700;
}


.footer-column ul {

    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-column li {

    margin-bottom: 13px;
}


.footer-column li a {

    display: inline-block;

    color: rgba(255,255,255,0.58);

    font-size: 14px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-column li a:hover {

    color: #FFCF5B;

    transform: translateX(5px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* Contact items */

.footer-contact-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 15px;

    color: rgba(255,255,255,0.58);

    font-size: 14px;

    line-height: 1.6;

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-contact-item:hover {

    color: #FFCF5B;
}


/* Contact icons */

.footer-contact-item i {

    width: 18px;

    margin-top: 3px;

    flex-shrink: 0;

    color: #FFCF5B;

    font-size: 16px;

    text-align: center;
}


/* Location */

.footer-location {

    color: rgba(255,255,255,0.58);

    cursor: default;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 10px;
}


.footer-social a {

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255,255,255,0.16);

    border-radius: 50%;

    color: rgba(255,255,255,0.68);

    font-size: 17px;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.footer-social a:hover {

    background: #FFCF5B;

    color: #141414;

    border-color: #FFCF5B;

    transform: translateY(-4px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.10);
}


.footer-bottom p {

    margin: 0;

    color: rgba(255,255,255,0.42);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   LEGAL LINKS
========================================================= */

.footer-legal {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 24px;
}


.footer-legal a {

    color: rgba(255,255,255,0.42);

    font-size: 13px;

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-legal a:hover {

    color: #FFCF5B;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .footer-main {

        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 45px;
    }


    .footer-contact {

        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .social-links {
        gap: 10px;
        margin-top: 20px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a img {
        width: 23px;
        height: 23px;
    }

}

@media (max-width: 768px) {

    .site-footer {

        padding: 55px 0 25px;
    }


    .footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 45px 30px;

        padding-bottom: 45px;
    }


    .footer-brand {

        grid-column: 1 / -1;

        max-width: 100%;
    }


    .footer-contact {

        grid-column: 1 / -1;
    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }


    .footer-legal {

        gap: 12px 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .site-footer {

        padding-top: 60px;
    }


    .footer-main {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-brand,
    .footer-contact {

        grid-column: auto;
    }


    .footer-logo img {

        width: 135px;
    }


    .footer-tagline {

        font-size: 18px;
    }


    .footer-description {

        font-size: 13px;
    }


    .footer-column h3 {

        margin-bottom: 18px;
    }


    .footer-social {

        margin-top: 8px;
    }


    .footer-bottom {

        gap: 18px;
    }


    .footer-bottom p {

        font-size: 12px;
    }

}
/* =========================================================
   FINAL CTA + FOOTER REFINEMENT
   Updated from the supplied Techzleo stylesheet
========================================================= */

/* CTA — compact spacing and right-side action */
.cta-section {
    padding: 85px 0 65px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-content {
    flex: 1 1 auto;
    max-width: 850px;
}

.cta-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cta-button {
    margin-top: 0;
    white-space: nowrap;
}

/* Footer — reduce top gap after CTA */
.site-footer {
    padding: 48px 0 25px;
}

/* Footer logo — larger on desktop */
.footer-logo img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-brand {
    max-width: 350px;
}

.footer-tagline {
    margin-top: 14px;
}

/* Keep the footer content visually balanced */
.footer-main {
    align-items: start;
    padding-bottom: 50px;
}

/* Contact icon alignment */
.footer-contact-item {
    align-items: flex-start;
}

.footer-contact-item i {
    width: 20px;
    min-width: 20px;
    text-align: center;
}

/* Social icons */
.footer-social {
    margin-top: 8px;
}

/* Tablet */
@media (max-width: 1050px) {

    .cta-container {
        gap: 40px;
    }

    .footer-logo img {
        width: 230px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .cta-section {
        padding: 75px 0 60px;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .cta-action {
        width: 100%;
        justify-content: flex-start;
    }

    .cta-button {
        margin-top: 0;
    }

    .site-footer {
        padding: 50px 0 25px;
    }

    .footer-main {
        padding-bottom: 40px;
    }

    .footer-logo img {
        width: 200px;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .site-footer {
        padding: 45px 0 22px;
    }

    .footer-logo img {
        width: 175px;
    }
}

/* =========================================================
   TECHZLEO — ORIGINAL SOCIAL BRAND COLORS
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.footer-social .social-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    text-decoration: none;

    font-size: 18px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Instagram */

.footer-social .instagram {
    color: #E4405F;
}

.footer-social .instagram:hover {
    background: #E4405F;
    color: #FFFFFF;
    border-color: #E4405F;

    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 10px 25px rgba(228, 64, 95, 0.25);
}


/* Facebook */

.footer-social .facebook {
    color: #1877F2;
}

.footer-social .facebook:hover {
    background: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;

    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 10px 25px rgba(24, 119, 242, 0.25);
}


/* LinkedIn */

.footer-social .linkedin {
    color: #0A66C2;
}

.footer-social .linkedin:hover {
    background: #0A66C2;
    color: #FFFFFF;
    border-color: #0A66C2;

    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 10px 25px rgba(10, 102, 194, 0.25);
}


/* Icon */

.footer-social .social-icon i {
    display: block;
    line-height: 1;
    font-size: 18px;
}


/* Mobile */

@media (max-width: 480px) {

    .footer-social {
        gap: 10px;
    }

    .footer-social .social-icon {
        width: 42px;
        height: 42px;
    }

    .footer-social .social-icon i {
        font-size: 17px;
    }

}

/* =========================================================
   TECHZLEO — FINAL CLEAN RESPONSIVE OVERRIDES
   Add at the VERY END of style.css
========================================================= */


/* =========================================================
   GLOBAL SAFETY
========================================================= */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
}


/* =========================================================
   REMOVE HERO GRADIENT
   Techzleo brand uses solid black + yellow
========================================================= */

.hero-content h1,
.hero h1 {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #141414;
    background-clip: initial;
    color: #141414;
    animation: none;
}


/* =========================================================
   DESKTOP / LAPTOP
========================================================= */

@media (min-width: 1101px) {

    .hero-visual {
        transform: none;
    }

    .hero-container {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

}


/* =========================================================
   TABLET
   769px – 1100px
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .container {
        width: min(calc(100% - 40px), 1240px);
    }

    .header-inner {
        padding: 0 24px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        max-width: 850px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 span {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-bottom-text {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 600px;
        height: 470px;
        margin: 25px auto 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-large {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
   601px – 768px
========================================================= */

@media (max-width: 768px) {

    .container {
        width: min(calc(100% - 32px), 1240px);
    }


    /* Header */

    .site-header,
    .site-header.scrolled {
        height: 74px;
    }

    .header-inner,
    .site-header.scrolled .header-inner {
        height: 74px;
        padding: 0 16px;
    }

    .logo img {
        width: 145px;
    }


    /* Mobile menu */

    .nav-container {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        top: 74px;
        left: 0;

        width: 100%;
        height: calc(100vh - 74px);

        padding: 25px 20px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        background: #141414;

        transform: translateX(100%);
        transition: transform 0.3s ease;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav a {
        width: 100%;
        padding: 16px 0;

        color: #FFFFFF;
        font-size: 19px;

        border-bottom:
            1px solid
            rgba(255,255,255,0.10);
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding: 110px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .hero-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 span {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-bottom-text {
        justify-content: center;
        font-size: 11px;
    }


    /* Hero visual */

    .hero-visual {
        width: 100%;
        max-width: 520px;
        height: 400px;
        margin: 20px auto 0;

        /*
           Do not use scale here.
           This avoids fighting with hero mouse-parallax JS.
        */
        transform: none;
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .why-card {
        min-height: auto;
        padding: 28px 22px;
    }


    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 26px 22px;
    }


    /* Process */

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid::before {
        display: none;
    }

    .process-item {
        min-height: auto;
        padding: 30px 22px;

        border-right: 0;
        border-bottom: 1px solid #DAD6CE;
    }

    .process-item:last-child {
        border-bottom: 0;
    }

    .process-item h3 {
        margin-top: 24px;
    }


    /* Portfolio */

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 45px;
    }

    .project-large {
        grid-column: auto;
    }

    .project-visual {
        height: auto;
        min-height: 260px;
    }


    /* CTA */

    .cta-section {
        padding: 60px 0 70px;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-action {
        width: 100%;
        justify-content: flex-start;
    }

    .cta-button {
        margin-top: 0;
    }


    /* Footer */

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 200px;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
   480px and below
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 28px);
    }


    /* Hero */

    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 0.98;
        letter-spacing: -1.4px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-bottom-text {
        font-size: 10px;
        letter-spacing: 1px;
    }


    /* Hero visual */

    .hero-visual {
        max-width: 430px;
        height: 350px;
        margin-top: 10px;
    }

    .orbit-one {
        width: 330px;
        height: 330px;
    }

    .orbit-two {
        width: 250px;
        height: 370px;
    }

    .orbit-three {
        width: 370px;
        height: 230px;
    }

    .hero-main-card {
        width: 195px;
        min-height: 255px;
        padding: 22px;
    }

    .hero-main-card h2 {
        font-size: 32px;
    }


    /* Floating cards */

    .floating-card {
        min-width: 120px;
        padding: 8px 9px;
        gap: 7px;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .floating-card strong {
        font-size: 12px;
    }

    .floating-card small {
        font-size: 9px;
    }

    .card-one {
        left: -6px;
        top: 25px;
    }

    .card-two {
        right: -6px;
        top: 70px;
    }

    .card-three {
        left: -6px;
        bottom: 45px;
    }

    .card-four {
        right: -6px;
        bottom: 5px;
    }


    /* Section spacing */

    .section {
        padding: 60px 0 70px;
    }

    .section-heading h2 {
        font-size: 38px;
        letter-spacing: -1.2px;
    }

    .section-heading p {
        font-size: 16px;
    }


    /* CTA */

    .cta-section {
        padding: 60px 0 70px;
    }

    .cta-content h2 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .cta-content p {
        font-size: 16px;
    }


    /* Footer */

    .site-footer {
        padding: 45px 0 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-logo img {
        width: 175px;
    }

    .footer-tagline {
        font-size: 18px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-legal {
        gap: 10px 18px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   320px – 360px
========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 24px);
    }

    .logo img {
        width: 135px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-visual {
        height: 315px;
    }

    .hero-main-card {
        width: 180px;
        min-height: 240px;
    }

    .floating-card {
        min-width: 108px;
    }

    .floating-card strong {
        font-size: 11px;
    }

    .floating-card small {
        font-size: 8px;
    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .service-card:hover,
    .project-card:hover,
    .why-card:hover,
    .process-item:hover {
        transform: none;
    }

    .contact-float:hover {
        transform: none;
    }

    .contact-float span {
        display: none;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   MOBILE FLOATING CONTACT BUTTONS
   Prevent overlap with hero buttons
========================================================= */

@media (max-width: 768px) {

    .floating-contact {
        position: fixed;
        right: 14px;
        bottom: 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        z-index: 9999;
    }

    .contact-float {
        width: 54px;
        height: 54px;
        min-width: 54px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    }

    .contact-float i {
        margin: 0;
        font-size: 20px;
    }

    .contact-float span {
        display: none;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .floating-contact {
        right: 10px;
        bottom: 12px;
        gap: 8px;
    }

    .contact-float {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .contact-float i {
        font-size: 18px;
    }

}

/* =========================================================
   FINAL MOBILE FLOATING CONTACT POSITION
========================================================= */

@media (max-width: 768px) {

    .floating-contact {
        right: 12px;
        bottom: 14px;
        flex-direction: column;
        gap: 10px;
    }

    .contact-float {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .contact-float i {
        font-size: 19px;
    }

    .contact-float span {
        display: none;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .floating-contact {
        right: 10px;
        bottom: 10px;
        gap: 8px;
    }

    .contact-float {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .contact-float i {
        font-size: 17px;
    }

}

/* =========================================================
   REMOVE OLD DUPLICATE PHONE BUTTON
   The new floating contact system already has Call
========================================================= */

.phone-button {
    display: none !important;
}

 .whatsapp-button {
    display: none !important;
}

/* =========================================
   HERO PARALLAX
   ========================================= */

.hero-visual {
    will-change: transform;
    transition: transform 0.15s ease-out;
}



/* VM Residency portfolio image adjustment */
.project-vm .project-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
}


/* Consistent portfolio screenshot sizing */
.project-image {
    height: 330px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #E5E5E5;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Responsive portfolio layout */
@media (max-width: 1050px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-column: auto;
    }

    .project-image {
        height: 270px;
        padding: 20px;
    }
}




/* Match portfolio screenshot widths */
.project-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 80px 28px 28px;
    height: 330px;
    overflow: hidden;
    background: #E5E5E5;
}

.project-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

@media (max-width: 768px) {
    .project-image {
        height: 270px;
        padding: 70px 20px 20px;
    }
}


