* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: #f7faf8;
    color: #18251e;
    line-height: 1.9;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

button,
input,
textarea {
    font-family: inherit
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto
}

.section {
    padding: 110px 0
}

.header {
    height: 78px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 max(20px, calc((100% - 1240px)/2));
    background: rgba(247, 250, 248, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(121, 171, 143, .12);
    transition: .3s
}

.header.scrolled {
    box-shadow: 0 10px 40px rgba(35, 63, 47, .08)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 165px
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #79ab8f;
    color: #fff;
    box-shadow: 0 10px 25px rgba(121, 171, 143, .28)
}

.brand b {
    display: block;
    font-size: 17px
}

.brand small {
    display: block;
    font-size: 9px;
    color: #6d7d74;
    margin-top: -5px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1
}

.nav a {
    font-size: 13px;
    color: #526158;
    position: relative;
    transition: .25s
}

.nav a:after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 2px;
    background: #79ab8f;
    transition: .25s
}

.nav a:hover {
    color: #79ab8f
}

.nav a:hover:after {
    width: 100%
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
    border: 1px solid transparent
}

.btn-primary {
    background: #79ab8f;
    color: #fff;
    box-shadow: 0 12px 30px rgba(121, 171, 143, .25)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(121, 171, 143, .35)
}

.btn-ghost {
    border-color: #cbdcd1;
    color: #304039;
    background: #fff
}

.btn-light {
    background: #fff;
    color: #315340
}

.header-cta {
    white-space: nowrap
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 23px;
    color: #294034
}

.hero {
    min-height: 760px;
    padding-top: 150px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    isolation: isolate
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(121, 171, 143, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(121, 171, 143, .07) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    z-index: -3
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -2
}

.glow-1 {
    width: 380px;
    height: 380px;
    background: rgba(196, 217, 200, .8);
    top: 80px;
    right: -100px
}

.glow-2 {
    width: 280px;
    height: 280px;
    background: rgba(121, 171, 143, .18);
    bottom: 30px;
    left: -90px
}

.hero-content {
    padding-right: max(0px, calc((100vw - 1160px)/2));
}

.eyebrow,
.section-kicker {
    font-size: 11px;
    font-weight: 700;
    color: #5b806a;
    letter-spacing: .5px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px
}

.eyebrow span {
    width: 30px;
    height: 2px;
    background: #79ab8f
}

.hero h1 {
    font-size: clamp(38px, 5vw, 67px);
    line-height: 1.35;
    letter-spacing: -2px;
    margin-bottom: 20px
}

.hero h1 strong,
h2 strong {
    color: #79ab8f
}

.hero p {
    max-width: 650px;
    color: #64736b;
    font-size: 15px;
    line-height: 2.2
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #69776f;
    font-size: 11px
}

.hero-trust i {
    color: #79ab8f;
    margin-left: 4px
}

.hero-visual {
    height: 570px;
    display: grid;
    place-items: center
}

.orbital {
    width: 500px;
    height: 500px;
    position: relative
}

.orbit {
    position: absolute;
    border: 1px solid rgba(121, 171, 143, .28);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.orbit-a {
    width: 340px;
    height: 340px;
    animation: spin 18s linear infinite
}

.orbit-b {
    width: 430px;
    height: 220px;
    transform: translate(-50%, -50%) rotate(55deg);
    animation: spinReverse 22s linear infinite
}

.orbit-c {
    width: 250px;
    height: 460px;
    transform: translate(-50%, -50%) rotate(-55deg);
    animation: spin 25s linear infinite
}

.tech-orb {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center
}

.orb-core {
    width: 170px;
    height: 170px;
    border-radius: 45px;
    display: grid;
    place-items: center;
    font-size: 58px;
    color: #fff;
    background: linear-gradient(145deg, #79ab8f, #3f7658);
    box-shadow: 20px 30px 70px rgba(53, 104, 76, .3), inset 4px 4px 20px rgba(255, 255, 255, .3);
    transform: rotate(-10deg);
    animation: float 4s ease-in-out infinite
}

.orb-ring {
    position: absolute;
    width: 205px;
    height: 205px;
    border: 1px solid rgba(121, 171, 143, .35);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(121, 171, 143, .15)
}

.floating-chip {
    position: absolute;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #d8e5dc;
    border-radius: 14px;
    padding: 9px 13px;
    box-shadow: 0 15px 35px rgba(37, 68, 50, .1);
    font-size: 11px;
    color: #43564b;
    animation: float 4s ease-in-out infinite
}

.floating-chip i {
    color: #79ab8f;
    margin-left: 6px;
    font-size: 17px
}

.chip-1 {
    top: 75px;
    right: 20px
}

.chip-2 {
    top: 210px;
    left: 0;
    animation-delay: -1s
}

.chip-3 {
    bottom: 90px;
    right: 35px;
    animation-delay: -2s
}

.chip-4 {
    bottom: 30px;
    left: 85px;
    animation-delay: -.5s
}

.stats {
    background: #18251e;
    color: #fff;
    padding: 35px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stat {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, .1)
}

.stat:last-child {
    border-left: 0
}

.stat strong {
    display: block;
    font-size: 32px;
    color: #c4d9c8
}

.stat span {
    font-size: 11px;
    color: #aebcb4
}

.two-col {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    align-items: start
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.55;
    margin-top: 8px;
    letter-spacing: -1px
}

.section-heading p {
    color: #718078;
    font-size: 13px;
    margin-top: 8px
}

.about-copy {
    color: #68766e;
    font-size: 14px
}

.about-copy p+p {
    margin-top: 18px
}

.mini-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px
}

.mini-points div {
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e9e3;
    border-radius: 15px;
    color: #43564b;
    font-size: 12px
}

.mini-points i {
    color: #79ab8f;
    margin-left: 8px
}

.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px
}

.services {
    background: #edf4ef
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.service-card {
    background: #fff;
    border: 1px solid #dfe9e2;
    border-radius: 22px;
    padding: 28px;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    transition: .35s;
    transform-style: preserve-3d
}

.service-card:before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    background: #c4d9c8;
    border-radius: 50%;
    top: -65px;
    left: -65px;
    filter: blur(2px);
    transition: .4s
}

.service-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 55px rgba(42, 76, 55, .12)
}

.service-card:hover:before {
    transform: scale(2);
    opacity: .55
}

.service-icon {
    position: relative;
    width: 53px;
    height: 53px;
    border-radius: 16px;
    background: #e4efe7;
    color: #4c8062;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 20px
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 8px
}

.service-card p {
    font-size: 11px;
    color: #75827b;
    line-height: 2
}

.service-card .price {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
    color: #4d775e;
    font-weight: 700
}

.skills {
    overflow: hidden
}

.skills-stage {
    height: 620px;
    position: relative;
    margin-top: 20px;
    background: radial-gradient(circle at center, rgba(196, 217, 200, .4), transparent 48%);
    border-radius: 35px
}

.skill-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    background: #18251e;
    color: #fff;
    box-shadow: 0 25px 80px rgba(24, 37, 30, .25), 0 0 0 15px rgba(121, 171, 143, .08)
}

.skill-center i {
    font-size: 35px;
    color: #c4d9c8;
    margin: auto
}

.skill-center span {
    font-weight: 800
}

.skill-center small {
    font-size: 7px;
    color: #a9b8af
}

.skill-node {
    position: absolute;
    width: 105px;
    height: 105px;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #dce8df;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 3px;
    box-shadow: 0 18px 40px rgba(40, 74, 53, .08);
    transition: .3s;
    animation: float 5s ease-in-out infinite
}

.skill-node:hover {
    transform: scale(1.12) translateY(-5px);
    border-color: #79ab8f;
    box-shadow: 0 25px 50px rgba(62, 112, 81, .16);
    z-index: 3
}

.skill-node i {
    font-size: 27px;
    color: #679a7b
}

.skill-node span {
    font-size: 9px;
    color: #4d5e55
}

.n1 {
    top: 8%;
    left: 43%;
}

.n2 {
    top: 16%;
    left: 18%;
    animation-delay: -1s
}

.n3 {
    top: 37%;
    left: 5%;
    animation-delay: -2s
}

.n4 {
    top: 66%;
    left: 13%;
    animation-delay: -.5s
}

.n5 {
    bottom: 4%;
    left: 40%;
    animation-delay: -1.5s
}

.n6 {
    bottom: 15%;
    right: 17%;
    animation-delay: -2s
}

.n7 {
    top: 66%;
    right: 5%;
    animation-delay: -.7s
}

.n8 {
    top: 38%;
    right: 4%;
    animation-delay: -1.8s
}

.n9 {
    top: 16%;
    right: 19%;
    animation-delay: -2.5s
}

.n10 {
    top: 8%;
    right: 43%;
    animation-delay: -1s
}

.n11 {
    bottom: 5%;
    left: 65%;
    animation-delay: -2.5s
}

.n12 {
    top: 39%;
    left: 78%;
    animation-delay: -.8s
}

.platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.platforms>div {
    background: #fff;
    border: 1px solid #dfe9e2;
    border-radius: 18px;
    padding: 22px;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center
}

.platforms i {
    grid-row: span 2;
    font-size: 25px;
    color: #79ab8f
}

.platforms b {
    font-size: 13px
}

.platforms span {
    font-size: 10px;
    color: #7b8780
}

.projects {
    background: #f0f6f2
}

.split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px
}

.text-link {
    font-size: 12px;
    color: #547760;
    font-weight: 600
}

.text-link i {
    margin-right: 7px
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.project-grid.full {
    padding-top: 20px
}

.project-card {
    background: #fff;
    border-radius: 23px;
    overflow: hidden;
    border: 1px solid #dfe9e2;
    transition: .4s
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(39, 75, 52, .12)
}

.project-image {
    height: 230px;
    background: linear-gradient(135deg, #c4d9c8, #6f9f82);
    display: grid;
    place-items: center;
    font-size: 70px;
    color: #fff;
    position: relative;
    overflow: hidden
}

.project-image:after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    animation: spin 20s linear infinite
}

.project-body {
    padding: 22px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    color: #718078;
    margin-bottom: 8px
}

.project-status {
    color: #4c8062;
    background: #e8f2eb;
    padding: 4px 8px;
    border-radius: 20px
}

.project-body h3 {
    font-size: 17px
}

.project-body p {
    font-size: 11px;
    color: #77837d;
    margin: 6px 0 15px
}

.project-tech {
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}

.project-tech span {
    font-size: 8px;
    background: #f1f5f2;
    padding: 3px 7px;
    border-radius: 8px;
    color: #607269
}

.companies {
    background: #fff
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.company-card {
    min-height: 145px;
    border: 1px solid #e0e9e3;
    border-radius: 20px;
    display: grid;
    place-content: center;
    text-align: center;
    background: #f9fbfa;
    transition: .3s
}

.company-card:hover {
    transform: translateY(-5px);
    background: #edf4ef;
    border-color: #c4d9c8
}

.company-logo {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    margin: 0 auto 10px;
    background: #18251e;
    color: #c4d9c8;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px
}

.company-card b {
    font-size: 12px
}

.company-card span {
    font-size: 9px;
    color: #849088
}

.team {
    background: #f4f8f5
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.team-card {
    background: #fff;
    border: 1px solid #dfe9e2;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
    transition: .3s
}

.team-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 50px rgba(40, 74, 53, .1)
}

.team-photo {
    height: 220px;
    margin: 12px 12px 0;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f5f1, #dce9df);
    display: grid;
    place-items: center;
}

.team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.team-card-body {
    padding: 0 12px 16px;
}

.team-card h3 {
    font-size: 16px;
    line-height: 1.7;
    margin: 12px 0 4px;
}

.team-card p {
    font-size: 12px;
    line-height: 1.8;
    color: #789084;
    padding: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.process-step {
    position: relative;
    padding: 28px;
    border: 1px solid #dfe9e2;
    background: #fff;
    border-radius: 20px;
    min-height: 210px
}

.process-step>b {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #c4d9c8;
    font-size: 25px
}

.process-step i {
    font-size: 27px;
    color: #79ab8f;
    margin-bottom: 20px
}

.process-step h3 {
    font-size: 15px
}

.process-step p {
    font-size: 10px;
    color: #7a8780;
    margin-top: 5px
}

.cta-section {
    position: relative;
    overflow: hidden;
    background: #18251e;
    color: #fff;
    padding: 115px 0
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center
}

.cta-content .section-kicker {
    color: #c4d9c8
}

.cta-content h2 {
    font-size: 50px;
    line-height: 1.5;
    margin: 10px 0
}

.cta-content h2 strong {
    color: #c4d9c8
}

.cta-content p {
    color: #b1beb7;
    font-size: 13px;
    margin-bottom: 25px
}

.cta-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(196, 217, 200, .15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 150px rgba(121, 171, 143, .12)
}

.footer {
    background: #101a15;
    color: #fff;
    padding: 65px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px
}

.footer .brand {
    margin-bottom: 15px
}

.footer p,
.footer a {
    font-size: 10px;
    color: #8f9e95;
    display: block;
    margin-top: 7px
}

.footer h4 {
    font-size: 12px;
    color: #dce6e0;
    margin-bottom: 15px
}

.socials {
    display: flex;
    gap: 7px;
    margin-top: 12px
}

.socials a {
    width: 32px;
    height: 32px;
    border: 1px solid #27352d;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #c4d9c8
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 18px;
    border-top: 1px solid #253229;
    display: flex;
    justify-content: space-between;
    color: #68776e;
    font-size: 9px
}

.footer-bottom i {
    color: #79ab8f
}

.inner-hero {
    padding: 180px 0 90px;
    background: radial-gradient(circle at 80% 20%, #dce9df, transparent 35%), #f0f6f2
}

.inner-hero h1 {
    font-size: 55px;
    margin: 8px 0
}

.inner-hero p {
    color: #718078;
    font-size: 14px
}

.filters {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap
}

.filters button {
    border: 1px solid #d9e5dd;
    background: #fff;
    border-radius: 12px;
    padding: 9px 17px;
    font-size: 11px;
    color: #627169;
    cursor: pointer
}

.filters button.active,
.filters button:hover {
    background: #79ab8f;
    color: #fff;
    border-color: #79ab8f
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 40px
}

.detail-image {
    height: 430px;
    border-radius: 28px;
    background: linear-gradient(135deg, #c4d9c8, #5d8e70);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 120px;
    box-shadow: 0 30px 70px rgba(47, 87, 62, .14)
}

.detail-copy {
    padding-top: 50px
}

.detail-copy h2 {
    font-size: 32px;
    margin: 5px 0 12px
}

.detail-copy p {
    color: #6e7d74;
    font-size: 14px
}

.detail-card {
    height: max-content;
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid #dfe9e2;
    border-radius: 23px;
    padding: 25px
}

.detail-card h3 {
    font-size: 17px;
    margin-bottom: 15px
}

.detail-card>div {
    display: flex;
    flex-direction: column;
    padding: 13px 0;
    border-bottom: 1px solid #edf1ee
}

.detail-card span {
    font-size: 9px;
    color: #89948e
}

.detail-card b {
    font-size: 11px
}

.wide {
    width: 100%;
    margin-top: 20px
}

.back-link {
    display: inline-flex;
    gap: 7px;
    color: #63816e;
    font-size: 11px;
    margin-bottom: 30px
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg)
    }

    50% {
        transform: translateY(-13px) rotate(-7deg)
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

@keyframes spinReverse {
    to {
        transform: translate(-50%, -50%) rotate(-360deg)
    }
}

#progress {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    height: 3px;
    width: 0;
    background: #79ab8f
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 3000;
    transform: translate(-50%, -50%);
    display: block
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background: #79ab8f;
    border-radius: 50%
}

.cursor-ring {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(121, 171, 143, .65);
    border-radius: 50%;
    transition: width .2s, height .2s, border-color .2s
}

.inner-page .header {
    position: fixed
}

@media(max-width:1000px) {
    .nav {
        gap: 13px
    }

    .header-cta {
        display: none
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .company-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .two-col {
        gap: 40px
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 130px
    }

    .hero-content {
        padding-right: 0
    }

    .hero-visual {
        height: 500px
    }

    .skills-stage {
        height: 560px
    }
}

@media(max-width:720px) {
    .container {
        width: min(100% - 28px, 600px)
    }

    .header {
        height: 68px;
        padding: 0 14px
    }

    .nav {
        display: none;
        position: absolute;
        top: 68px;
        right: 10px;
        left: 10px;
        background: #fff;
        border: 1px solid #dfe9e2;
        border-radius: 18px;
        padding: 15px;
        flex-direction: column;
        gap: 5px;
        box-shadow: 0 20px 40px rgba(30, 55, 40, .12)
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 8px
    }

    .menu-toggle {
        display: block;
        margin-right: auto
    }

    .brand {
        min-width: auto
    }

    .brand small {
        display: none
    }

    .section {
        padding: 75px 0
    }

    .hero {
        min-height: auto;
        padding-top: 115px
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1px
    }

    .hero p {
        font-size: 13px
    }

    .hero-visual {
        height: 390px
    }

    .orbital {
        width: 340px;
        height: 340px
    }

    .orbit-a {
        width: 240px;
        height: 240px
    }

    .orbit-b {
        width: 310px;
        height: 170px
    }

    .orbit-c {
        width: 190px;
        height: 330px
    }

    .orb-core {
        width: 120px;
        height: 120px;
        font-size: 40px
    }

    .orb-ring {
        width: 145px;
        height: 145px
    }

    .floating-chip {
        font-size: 9px;
        padding: 6px 9px
    }

    .chip-1 {
        top: 35px;
        right: 0
    }

    .chip-2 {
        left: -3px;
        top: 140px
    }

    .chip-3 {
        right: 0;
        bottom: 55px
    }

    .chip-4 {
        left: 30px;
        bottom: 15px
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .stat {
        border: 0
    }

    .stat strong {
        font-size: 25px
    }

    .two-col {
        grid-template-columns: 1fr
    }

    .section-heading h2 {
        font-size: 30px
    }

    .service-grid,
    .project-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: 1fr
    }

    .company-grid {
        grid-template-columns: 1fr 1fr
    }

    .skills-stage {
        height: 580px;
        transform: scale(.86);
        width: 116%;
        margin-right: -8%
    }

    .platforms {
        grid-template-columns: 1fr 1fr
    }

    .split {
        align-items: start;
        flex-direction: column
    }

    .cta-content h2 {
        font-size: 37px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px
    }

    .inner-hero {
        padding: 135px 0 65px
    }

    .inner-hero h1 {
        font-size: 38px
    }

    .detail-grid {
        grid-template-columns: 1fr
    }

    .detail-card {
        position: static
    }

    .detail-image {
        height: 300px;
        font-size: 90px
    }

    .cursor-dot,
    .cursor-ring {
        display: none
    }
}

@media(max-width:430px) {
    .company-grid {
        grid-template-columns: 1fr
    }

    .platforms {
        grid-template-columns: 1fr
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }
}

/* Takraya merged visual layer */
.brand-logo {
    gap: 8px;
    min-width: 150px
}

.brand-logo img {
    width: 40px;
    height: 34px;
    object-fit: contain;
    display: block
}

.brand-logo .brand-text {
    display: block
}

.brand-logo .brand-text b {
    display: block;
    font-size: 17px
}

.brand-logo .brand-text small {
    display: block;
    font-size: 9px;
    color: #6d7d74;
    margin-top: -5px
}

/* v1-inspired supporting sections */
.intro-merged {
    background: #fff
}

.intro-inner {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center;
    gap: 30px
}

.intro-heading {
    text-align: center
}

.intro-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.55;
    margin: 8px 0 15px
}

.intro-heading h2 span {
    color: #79ab8f
}

.intro-heading>p:last-child {
    max-width: 560px;
    margin: auto;
    color: #6d7d74
}

.intro-bubble {
    aspect-ratio: 1;
    border: 1px solid #dfe9e2;
    border-radius: 28px;
    background: #f5faf7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    box-shadow: 0 15px 35px rgba(35, 63, 47, .06)
}

.intro-bubble .bubble-icon {
    font-size: 26px;
    color: #79ab8f;
    margin-bottom: 5px
}

.intro-bubble b {
    font-size: 14px
}

.intro-bubble small {
    font-size: 10px;
    color: #7b887f
}

.collaboration {
    background: #fff
}

.collab-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.collab-card {
    border: 1px solid #e5ede8;
    border-radius: 18px;
    padding: 24px 20px;
    min-height: 155px;
    transition: .25s;
    background: #fff
}

.collab-card:hover {
    transform: translateY(-5px);
    border-color: #c4d9c8;
    box-shadow: 0 18px 40px rgba(35, 63, 47, .08)
}

.collab-card>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #2b2b2b;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 13px
}

.collab-card h3 {
    font-size: 16px;
    margin-bottom: 5px
}

.collab-card p {
    font-size: 12px;
    color: #78847d
}

.audience {
    background: #eef6f0
}

.audience-card {
    text-align: center;
    background: #fff;
    border: 1px solid #e0ebe3;
    border-radius: 18px;
    padding: 20px 15px;
    min-height: 190px;
    transition: .25s
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(35, 63, 47, .07)
}

.avatar {
    width: 78px;
    height: 72px;
    margin: 0 auto 13px;
    position: relative;
    background: #a8c8b1;
    border-radius: 12px 12px 5px 5px;
    overflow: hidden
}

.avatar-head {
    position: absolute;
    width: 21px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    top: 13px;
    left: 29px
}

.avatar-body {
    position: absolute;
    width: 43px;
    height: 35px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    bottom: -6px;
    left: 18px
}

.avatar b {
    position: absolute;
    right: 7px;
    top: 6px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    color: #699878;
    font-size: 12px;
    line-height: 19px
}

.avatar-two {
    background: #83ad90
}

.avatar-three {
    background: #c0d8c6
}

.avatar-four {
    background: #93b99e
}

.audience-card h3 {
    font-size: 15px;
    margin-bottom: 4px
}

.audience-card p {
    font-size: 11px;
    color: #7d8981
}

.stats-placeholder .stat strong {
    font-size: 30px
}

.stats-placeholder .stat small {
    font-size: 10px;
    color: #8a958e
}

@media(max-width:1000px) {
    .intro-inner {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .intro-bubble {
        width: 140px;
        margin: auto
    }

    .collab-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:720px) {
    .brand-logo {
        min-width: auto
    }

    .brand-logo img {
        width: 34px;
        height: 29px
    }

    .brand-logo .brand-text small {
        display: none
    }

    .intro-inner {
        padding-inline: 5px
    }

    .intro-bubble {
        width: 115px
    }

    .collab-grid,
    .audience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }

    .collab-card {
        padding: 17px 13px;
        min-height: 145px
    }

    .collab-card h3 {
        font-size: 13px
    }

    .collab-card p {
        font-size: 10px
    }

    .audience-card {
        min-height: 165px;
        padding: 15px 9px
    }

    .audience-card h3 {
        font-size: 12px
    }

    .audience-card p {
        font-size: 9px
    }
}

@media(max-width:430px) {

    .collab-grid,
    .audience-grid {
        grid-template-columns: 1fr
    }

    .intro-heading h2 {
        font-size: 27px
    }
}

/* ===== Takraya v1 visual header + hero overrides ===== */
.site-header {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid #edf1ee;
    position: sticky;
    top: 0;
    z-index: 1000
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 145px
}

.site-header .brand-logo {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: 145px
}

.site-header .brand-logo img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block
}

.site-header .brand-logo>span {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    color: #2b2b2b;
    white-space: nowrap
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.8vw, 38px);
    font-size: 12px;
    color: #505852
}

.site-header .main-nav a {
    position: relative;
    transition: color .2s
}

.site-header .main-nav a:hover {
    color: #79ab8f
}

.site-header .main-nav a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #79ab8f;
    transition: width .2s
}

.site-header .main-nav a:hover:after {
    width: 100%
}

.site-header .nav-contact {
    margin-right: auto
}

.site-header .menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    color: #2b2b2b
}

.site-header .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
    border-radius: 4px
}

.hero-v1 {
    background: #f0f6f2;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 0
}

.hero-v1-grid {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding-block: 56px
}

.hero-v1 .hero-copy {
    max-width: 540px
}

.hero-v1 .eyebrow {
    margin: 0 0 13px;
    color: #7b8e82;
    font-size: 10px;
    font-weight: 600;
    display: block
}

.hero-v1 .eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #79ab8f;
    margin-left: 6px;
    vertical-align: middle
}

.hero-v1 h1 {
    font-size: clamp(27px, 3.3vw, 43px);
    line-height: 1.55;
    letter-spacing: -1.1px;
    margin: 0 0 14px;
    font-weight: 800
}

.hero-v1 h1 span {
    color: #79ab8f
}

.hero-v1 .hero-lead {
    font-size: 12px;
    color: #66736b;
    max-width: 450px;
    margin: 0 0 24px;
    line-height: 1.9
}

.hero-v1 .hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0
}

.hero-v1 .hero-note {
    font-size: 10px;
    color: #8a968e;
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 10px
}

.hero-v1 .note-line {
    width: 24px;
    height: 1px;
    background: #79ab8f
}

.hero-v1 .hero-v2-visual {
    height: 420px;
    display: grid;
    place-items: center
}

.hero-v1 .orbital {
    width: 500px;
    height: 500px
}

.stats-v2 {
    background: #18251e;
    color: #fff;
    padding: 32px 0
}

.stats-v2 .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stats-v2 .stat {
    text-align: center;
    padding: 8px 20px;
    border-left: 1px solid rgba(255, 255, 255, .1)
}

.stats-v2 .stat:last-child {
    border-left: 0
}

.stats-v2 .stat strong {
    display: block;
    font-size: 30px;
    line-height: 1.2;
    color: #c4d9c8;
    font-weight: 800
}

.stats-v2 .stat span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    color: #fff
}

.intro-merged {
    padding: 72px 0;
    background: #fff
}

.intro-merged .intro-inner {
    margin-bottom: 40px
}

.about-collab {
    border-top: 1px solid #e5ede8;
    padding-top: 36px
}

.about-collab-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 25px
}

.about-collab-heading h3 {
    font-size: 25px;
    margin: 4px 0 5px
}

.about-collab-heading h3 strong {
    color: #79ab8f
}

.about-collab-heading p {
    font-size: 11px;
    color: #737d77;
    margin: 0
}

/* Ordered, non-overlapping technology stack */
.skills-stage {
    height: 620px;
    max-width: 920px;
    margin-inline: auto;
    position: relative;
    background: radial-gradient(circle at center, rgba(196, 217, 200, .38), transparent 48%);
    border-radius: 35px;
    overflow: hidden
}

.skill-node {
    animation: skillFloat 5s ease-in-out infinite;
    will-change: transform
}

.n1 {
    top: 5%;
    left: 29%;
    animation-delay: 0s
}

.n2 {
    top: 5%;
    left: 50%;
    animation-delay: -1s
}

.n3 {
    top: 18%;
    left: 8%;
    animation-delay: -2s
}

.n4 {
    top: 18%;
    right: 8%;
    left: auto;
    animation-delay: -.5s
}

.n5 {
    top: 40%;
    left: 2%;
    bottom: auto;
    animation-delay: -1.5s
}

.n6 {
    top: 40%;
    right: 2%;
    bottom: auto;
    animation-delay: -2.2s
}

.n7 {
    bottom: 18%;
    left: 8%;
    top: auto;
    right: auto;
    animation-delay: -.7s
}

.n8 {
    bottom: 18%;
    right: 8%;
    top: auto;
    left: auto;
    animation-delay: -1.8s
}

.n9 {
    bottom: 5%;
    left: 29%;
    top: auto;
    right: auto;
    animation-delay: -2.5s
}

.n10 {
    bottom: 5%;
    right: 29%;
    top: auto;
    left: auto;
    animation-delay: -1s
}

.n11 {
    top: 29%;
    left: 24%;
    bottom: auto;
    animation-delay: -2.5s
}

.n12 {
    top: 29%;
    right: 24%;
    left: auto;
    bottom: auto;
    animation-delay: -.8s
}

@keyframes skillFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

.skill-node:hover {
    animation-play-state: paused
}

@media(max-width:1000px) {
    .site-header .main-nav {
        gap: 16px
    }

    .site-header .nav-contact {
        display: none
    }

    .hero-v1-grid {
        grid-template-columns: 1fr;
        padding-block: 44px 30px
    }

    .hero-v1 .hero-copy {
        text-align: center;
        margin: auto
    }

    .hero-v1 .hero-lead {
        margin-inline: auto
    }

    .hero-v1 .hero-actions,
    .hero-v1 .hero-note {
        justify-content: center
    }

    .hero-v1 .hero-v2-visual {
        height: 470px
    }

    .stats-v2 .stat {
        padding-inline: 10px
    }

    .skills-stage {
        height: 560px
    }
}

@media(max-width:720px) {
    .site-header {
        height: 68px
    }

    .site-header .nav-wrap {
        width: min(100% - 28px, 600px)
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        right: 14px;
        left: 14px;
        background: #fff;
        border: 1px solid #dfe9e2;
        border-radius: 16px;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        box-shadow: 0 18px 45px rgba(35, 63, 47, .1)
    }

    .site-header .main-nav.open {
        display: flex
    }

    .site-header .main-nav a {
        padding: 9px 8px
    }

    .site-header .main-nav a:after {
        display: none
    }

    .site-header .menu-toggle {
        display: block
    }

    .site-header .brand-logo img {
        width: 32px;
        height: 32px
    }

    .site-header .brand-logo>span {
        font-size: 16px
    }

    .hero-v1-grid {
        width: min(100% - 28px, 600px);
        padding-block: 44px 20px
    }

    .hero-v1 h1 {
        font-size: 27px;
        line-height: 1.6
    }

    .hero-v1 .hero-lead {
        font-size: 11px
    }

    .hero-v1 .hero-v2-visual {
        height: 360px;
        transform: scale(.78);
        transform-origin: center top;
        margin-bottom: -70px
    }

    .stats-v2 {
        padding-block: 25px
    }

    .stats-v2 .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 0
    }

    .stats-v2 .stat:nth-child(2) {
        border-left: 0
    }

    .stats-v2 .stat strong {
        font-size: 25px
    }

    .about-collab {
        padding-top: 28px
    }

    .about-collab-heading h3 {
        font-size: 22px
    }

    .skills-stage {
        height: 580px;
        width: 116%;
        margin-right: -8%;
        transform: scale(.86);
        transform-origin: top center
    }

    .n11 {
        left: 20%
    }

    .n12 {
        right: 20%
    }
}

@media(max-width:430px) {
    .hero-v1 .hero-v2-visual {
        transform: scale(.67);
        margin-bottom: -115px
    }

    .skills-stage {
        transform: scale(.72);
        width: 139%;
        margin-right: -19%
    }
}

/* ===== Header / Hero refinements ===== */
.site-header .button,
.hero-v1 .button {
    border-radius: 9px
}

.site-header .button span,
.hero-v1 .button span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1;
    flex: 0 0 28px
}

.site-header .button-dark span {
    background: #424842;
    color: #fff
}

.hero-v1 .button-primary span {
    background: rgba(255, 255, 255, .16);
    color: #fff
}

.hero-v1 .button-light span {
    background: #f1f5f2;
    color: #2b2b2b
}

.hero-v1 {
    min-height: 610px
}

.hero-v1-grid {
    padding-block: 70px
}

.hero-v1 .hero-v2-visual {
    height: 520px
}

.hero-v1 .orbital {
    width: 540px;
    height: 540px
}

/* ===== Integrated About + Collaboration ===== */
.about-integrated {
    padding: 86px 0;
    background: #fff
}

.about-integrated-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.35fr);
    gap: 48px;
    align-items: stretch
}

.about-integrated-copy {
    padding: 18px 12px 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.about-integrated-copy h2 {
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.55;
    margin: 9px 0 16px;
    letter-spacing: -.8px
}

.about-integrated-copy h2 span {
    color: #79ab8f
}

.about-integrated-copy>p {
    max-width: 540px;
    color: #6d7d74;
    font-size: 12px;
    line-height: 2
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 430px
}

.about-highlights>div {
    border: 1px solid #dfe9e2;
    border-radius: 18px;
    background: #f7fbf8;
    padding: 17px;
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 11px;
    align-items: center
}

.about-highlights span {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #2b2b2b;
    color: #c4d9c8;
    display: grid;
    place-items: center
}

.about-highlights b {
    font-size: 12px
}

.about-highlights small {
    font-size: 9px;
    color: #7b887f
}

.collab-integrated {
    background: #f5faf7;
    border: 1px solid #e0ebe3;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(35, 63, 47, .06)
}

.collab-integrated .about-collab-heading {
    text-align: right;
    max-width: none;
    margin: 0 0 20px
}

.collab-integrated .about-collab-heading h3 {
    font-size: 24px;
    margin: 4px 0 5px
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.collab-card {
    min-height: 150px;
    background: #fff;
    padding: 20px 18px;
    border-radius: 18px
}

.collab-card>span {
    background: #2b2b2b;
    color: #c4d9c8
}

/* ===== Ordered Technology Stack ===== */
.skills-stage {
    height: 620px;
    max-width: 980px;
    margin-inline: auto;
    position: relative;
    overflow: hidden
}

.n1 {
    top: 5%;
    left: 5%
}

.n2 {
    top: 5%;
    left: 28%
}

.n3 {
    top: 5%;
    right: 28%;
    left: auto
}

.n4 {
    top: 5%;
    right: 5%;
    left: auto
}

.n5 {
    top: 40%;
    left: 5%;
    bottom: auto
}

.n6 {
    top: 40%;
    right: 5%;
    left: auto;
    bottom: auto
}

.n7 {
    bottom: 5%;
    left: 5%;
    top: auto
}

.n8 {
    bottom: 5%;
    left: 28%;
    top: auto
}

.n9 {
    bottom: 5%;
    right: 28%;
    left: auto;
    top: auto
}

.n10 {
    bottom: 5%;
    right: 5%;
    left: auto;
    top: auto
}

.n11 {
    top: 40%;
    left: 20%;
    bottom: auto
}

.n12 {
    top: 40%;
    right: 20%;
    left: auto;
    bottom: auto
}

.skill-node {
    animation: skillFloat 5s ease-in-out infinite;
    will-change: transform
}

.n1 {
    animation-delay: 0s
}

.n2 {
    animation-delay: -.7s
}

.n3 {
    animation-delay: -1.4s
}

.n4 {
    animation-delay: -2.1s
}

.n5 {
    animation-delay: -2.8s
}

.n6 {
    animation-delay: -3.5s
}

.n7 {
    animation-delay: -4.2s
}

.n8 {
    animation-delay: -1.1s
}

.n9 {
    animation-delay: -1.8s
}

.n10 {
    animation-delay: -2.5s
}

.n11 {
    animation-delay: -3.2s
}

.n12 {
    animation-delay: -4s
}

/* ===== Footer contact / logo ===== */
.footer .brand-logo img {
    width: 40px;
    height: 40px
}

.footer .brand-logo .brand-text b {
    color: #fff
}

.footer .brand-logo .brand-text small {
    color: #c4d9c8
}

.footer-address {
    font-size: 10px !important;
    color: #8f9e95 !important;
    line-height: 1.9;
    margin-top: 8px !important;
    max-width: 230px
}

@media(max-width:1000px) {
    .hero-v1 {
        min-height: 0
    }

    .hero-v1-grid {
        padding-block: 56px 35px
    }

    .hero-v1 .hero-v2-visual {
        height: 500px
    }

    .about-integrated-layout {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .about-integrated-copy {
        padding: 0;
        text-align: center;
        align-items: center
    }

    .about-integrated-copy>p {
        margin-inline: auto
    }

    .about-highlights {
        width: 100%;
        max-width: 520px;
        text-align: right
    }

    .collab-integrated .about-collab-heading {
        text-align: center
    }

    .skills-stage {
        height: 580px
    }
}

@media(max-width:720px) {
    .hero-v1-grid {
        padding-block: 48px 20px
    }

    .hero-v1 .hero-v2-visual {
        height: 390px;
        transform: scale(.82);
        margin-bottom: -45px
    }

    .hero-v1 .orbital {
        width: 500px;
        height: 500px
    }

    .about-integrated {
        padding: 62px 0
    }

    .about-integrated-copy h2 {
        font-size: 27px
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr
    }

    .collab-integrated {
        padding: 20px 14px;
        border-radius: 22px
    }

    .collab-grid {
        gap: 9px
    }

    .collab-card {
        min-height: 140px;
        padding: 16px 12px
    }

    .collab-card h3 {
        font-size: 13px
    }

    .collab-card p {
        font-size: 10px
    }

    .skills-stage {
        height: 570px;
        width: 100%;
        transform: none;
        margin: 0
    }

    .skill-node {
        width: 88px;
        height: 88px;
        border-radius: 19px
    }

    .skill-node i {
        font-size: 22px
    }

    .skill-node span {
        font-size: 8px
    }

    .n1 {
        top: 3%;
        left: 2%
    }

    .n2 {
        top: 3%;
        left: 30%
    }

    .n3 {
        top: 3%;
        right: 30%
    }

    .n4 {
        top: 3%;
        right: 2%
    }

    .n5 {
        top: 41%;
        left: 1%
    }

    .n6 {
        top: 41%;
        right: 1%
    }

    .n11 {
        top: 27%;
        left: 18%
    }

    .n12 {
        top: 27%;
        right: 18%
    }

    .n7 {
        bottom: 3%;
        left: 2%
    }

    .n8 {
        bottom: 3%;
        left: 30%
    }

    .n9 {
        bottom: 3%;
        right: 30%
    }

    .n10 {
        bottom: 3%;
        right: 2%
    }

    .skill-center {
        width: 145px;
        height: 145px
    }

    .skill-center i {
        font-size: 29px
    }

    .footer-address {
        max-width: 190px
    }
}

@media(max-width:430px) {
    .hero-v1 .hero-v2-visual {
        transform: scale(.7);
        margin-bottom: -90px
    }

    .hero-v1 .orbital {
        width: 500px;
        height: 500px
    }

    .about-highlights {
        grid-template-columns: 1fr
    }

    .skills-stage {
        height: 560px
    }

    .skill-node {
        width: 78px;
        height: 78px
    }

    .n2 {
        left: 29%
    }

    .n3 {
        right: 29%
    }

    .n11 {
        left: 13%
    }

    .n12 {
        right: 13%
    }

    .skill-center {
        width: 130px;
        height: 130px
    }
}

/* =========================================================
   PROJECT PAGES — reference layout
   Scoped to inner project pages so the home page is untouched.
   ========================================================= */
.projects-page,
.project-page {
    background: #edf7ef;
    color: #111;
}

.projects-page .header,
.project-page .header {
    background: #fff;
}

.projects-page .header-cta,
.project-page .header-cta {
    background: #79ab8f !important;
    color: #fff !important;
    border-radius: 12px;
    padding: 12px 18px;
}

.projects-title {
    padding: 145px 0 92px;
    background: #edf7ef;
    text-align: right;
}

.projects-title h1 {
    font-size: 52px;
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 800;
}

.projects-title p {
    font-size: 14px;
    color: #69766f;
    margin: 0;
}

.projects-list-section {
    padding: 0 0 150px;
    background: #edf7ef;
}

.projects-page .projects-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 18px;
    padding-top: 0;
    align-items: start;
}

.projects-page .projects-reference-grid .project-card {
    border: 1px solid #75a88a;
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.projects-page .projects-reference-grid .project-card:nth-child(4) {
    grid-column: 2;
}

.projects-page .projects-reference-grid .project-card:nth-child(5) {
    grid-column: 1;
}

.projects-page .projects-reference-grid .project-image {
    height: 178px;
    background: #c5d9c8;
    box-shadow: none;
    font-size: 72px;
}

.projects-page .projects-reference-grid .project-image:after {
    display: none;
}

.projects-page .projects-reference-grid .project-body {
    padding: 16px 18px 17px;
    min-height: 166px;
}

.projects-page .projects-reference-grid .project-meta {
    font-size: 9px;
    margin-bottom: 14px;
    color: #69766f;
}

.projects-page .projects-reference-grid .project-status {
    background: #edf5ef;
    color: #71937d;
    border-radius: 999px;
    padding: 6px 10px;
}

.projects-page .projects-reference-grid .project-card h3 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #111;
}

.projects-page .projects-reference-grid .project-card p {
    font-size: 10px;
    line-height: 2;
    color: #7c8781;
    margin: 0 0 16px;
}

.projects-page .projects-reference-grid .project-tech {
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.projects-page .projects-reference-grid .project-tech span {
    font-size: 8px;
    background: #edf5ef;
    color: #789181;
    border-radius: 999px;
    padding: 5px 9px;
}

.projects-page .projects-reference-grid .project-image i {
    position: relative;
    z-index: 1;
}

.projects-page .filters {
    display: none;
}

.project-detail-head {
    padding: 136px 0 40px;
    background: #edf7ef;
}

.project-head-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.project-detail-head h1 {
    font-size: 52px;
    line-height: 1.25;
    margin: 0;
    font-weight: 800;
}

.back-projects {
    background: #79ab8f;
    color: #fff;
    border-radius: 12px;
    padding: 12px 22px;
    font-size: 14px;
    white-space: nowrap;
}

.back-projects i {
    margin-right: 7px;
}

.project-showcase {
    padding: 5px 0 0;
    background: #edf7ef;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    direction: ltr;
}

.project-info-card {
    direction: rtl;
    background: #fff;
    border: 1px solid #7aaa8d;
    border-radius: 15px;
    padding: 22px 20px 20px;
    min-height: 374px;
}

.project-info-card h2 {
    font-size: 23px;
    margin: 0 0 24px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid #e2e9e4;
}

.info-row span {
    font-size: 9px;
    color: #818c86;
}

.info-row b {
    font-size: 10px;
    color: #111;
}

.project-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #79ab8f;
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    margin-top: 22px;
}

.project-slider-wrap {
    direction: rtl;
    min-width: 0;
}

.project-slider {
    height: 375px;
    border: 1px solid #7aaa8d;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #dce9df;
}

.project-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #79ab8f;
    font-size: 25px;
    cursor: pointer;
}

.slider-bottom {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    padding: 0 12px;
    color: #427b59;
    font-size: 13px;
}

.slider-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d9d9d9;
    display: block;
}

.slider-dots span.active {
    background: #32905e;
}

.project-about-section,
.project-features-section {
    background: #edf7ef;
    padding: 25px 0;
}

.project-about-card,
.features-card {
    background: #fff;
    border-radius: 22px;
    padding: 42px 48px;
    display: flex;
    align-items: center;
    gap: 70px;
    min-height: 260px;
}

.about-art {
    width: 245px;
    height: 190px;
    position: relative;
    flex: 0 0 245px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-art span {
    position: absolute;
    width: 120px;
    height: 105px;
    border-radius: 17px;
    border: 1px solid #aacdb8;
    background: #dcebe0;
}

.about-art span:nth-child(1) {
    transform: translate(-30px, -25px);
}

.about-art span:nth-child(2) {
    transform: translate(5px, 8px);
    opacity: .85
}

.about-art span:nth-child(3) {
    transform: translate(35px, 37px);
    opacity: .65
}

.about-art i {
    font-size: 55px;
    z-index: 2;
    color: #111;
}

.about-project-text {
    flex: 1;
    text-align: right;
}

.about-project-text h2,
.features-card h2 {
    font-size: 31px;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.about-project-text h2 span,
.features-card h2 span {
    display: inline-block;
    width: 70px;
    height: 3px;
    background: #34875d;
}

.about-project-text p {
    font-size: 12px;
    line-height: 2.3;
    color: #303833;
    margin: 0 0 12px;
}

.features-card {
    display: flex;
    gap: 45px;
    min-height: 165px;
    padding: 30px 48px;
}

.features-card h2 {
    width: 210px;
    flex: 0 0 210px;
    margin: 0;
    white-space: nowrap;
}

.features-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    gap: 25px;
}

.feature-item {
    text-align: center;
    min-width: 85px;
}

.feature-item>div {
    width: 55px;
    height: 55px;
    margin: 0 auto 10px;
    border: 1px solid #9fc4ad;
    border-radius: 12px;
    background: #e4f0e7;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.feature-item span {
    font-size: 11px;
    color: #202620;
}

.project-page .footer {
    margin-top: 35px;
}

@media(max-width:900px) {

    .projects-title h1,
    .project-detail-head h1 {
        font-size: 40px;
    }

    .projects-page .projects-reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-page .projects-reference-grid .project-card:nth-child(4),
    .projects-page .projects-reference-grid .project-card:nth-child(5) {
        grid-column: auto;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        direction: rtl;
    }

    .project-info-card {
        order: 2;
    }

    .project-slider-wrap {
        order: 1;
    }

    .project-slider {
        height: 330px;
    }

    .project-about-card {
        gap: 30px;
        padding: 30px;
    }

    .features-card {
        gap: 25px;
        padding: 28px 30px;
    }

    .features-card h2 {
        width: auto;
        flex: 0 0 170px;
        white-space: normal;
        font-size: 24px;
    }
}

@media(max-width:600px) {
    .projects-title {
        padding: 120px 0 55px;
    }

    .projects-title h1,
    .project-detail-head h1 {
        font-size: 31px;
    }

    .projects-page .projects-reference-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-page .projects-reference-grid .project-card:nth-child(4),
    .projects-page .projects-reference-grid .project-card:nth-child(5) {
        grid-column: auto;
    }

    .project-head-inner {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .back-projects {
        font-size: 11px;
    }

    .project-slider {
        height: 240px;
    }

    .slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .project-about-card,
    .features-card {
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
    }

    .about-art {
        align-self: center;
    }

    .features-card h2 {
        flex: auto;
        width: auto;
    }

    .features-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== Final visual fixes ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 12px;
    transition: transform .2s, background .2s, box-shadow .2s;
    cursor: pointer
}

.button:hover {
    transform: translateY(-2px)
}

.button-small {
    padding: 9px 17px;
    font-size: 11px
}

.button-dark {
    background: #2b2b2b;
    color: #fff;
    box-shadow: none
}

.button-primary {
    background: #79ab8f;
    color: #fff;
    box-shadow: 0 8px 18px rgba(121, 171, 143, .16)
}

.button-primary:hover {
    background: #679c7d
}

.button-light {
    background: #fff;
    color: #2b2b2b;
    border-color: #e5eae6
}

.site-header .button-dark {
    background: #2b2b2b !important;
    color: #fff !important
}

.site-header .button-dark:hover {
    background: #1f2421 !important
}

.about-integrated-head {
    max-width: 850px;
    margin: 0 auto 34px;
    text-align: right
}

.about-integrated-head h2 {
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.55;
    margin: 9px 0 14px;
    letter-spacing: -.8px
}

.about-integrated-head h2 span {
    color: #79ab8f
}

.about-integrated-head p {
    max-width: 760px;
    color: #6d7d74;
    font-size: 12px;
    line-height: 2
}

.about-integrated-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch
}

.about-integrated-body .about-highlights {
    max-width: none;
    margin-top: 0;
    grid-template-columns: 1fr;
    align-content: center
}

.about-integrated-body .collab-integrated {
    padding: 24px
}

.about-integrated-body .collab-grid {
    grid-template-columns: repeat(2, 1fr)
}

.about-integrated-body .about-highlights>div {
    height: 100%;
    min-height: 92px
}

@media(max-width:1000px) {
    .about-integrated-body {
        grid-template-columns: 1fr
    }

    .about-integrated-body .about-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
        margin-inline: auto;
        width: 100%
    }
}

@media(max-width:720px) {
    .about-integrated-head {
        text-align: center
    }

    .about-integrated-head p {
        margin-inline: auto
    }

    .about-integrated-body .about-highlights {
        grid-template-columns: 1fr
    }

    .about-integrated-body .collab-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:430px) {
    .about-integrated-body .collab-grid {
        grid-template-columns: 1fr
    }
}

/* ===== Homepage refinement: glass header + clean About ===== */
.site-header {
    background: rgba(247, 250, 248, .72) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    border-bottom: 1px solid rgba(121, 171, 143, .14) !important;
    box-shadow: 0 8px 30px rgba(35, 63, 47, .035);
}

.site-header.scrolled {
    background: rgba(247, 250, 248, .82) !important;
    box-shadow: 0 10px 35px rgba(35, 63, 47, .08);
}

/* New About section — only Takraya, no collaboration block */
.about-new {
    background: #f3f8f4;
    padding: 82px 0 92px
}

.about-new-card {
    background: #fff;
    border: 1px solid #e1ebe4;
    border-radius: 28px;
    min-height: 430px;
    padding: 48px 52px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 58px;
    align-items: center;
    box-shadow: 0 18px 55px rgba(42, 76, 57, .06);
    overflow: hidden;
}

.about-new-copy {
    direction: rtl;
    text-align: right
}

.about-new-copy h2 {
    font-size: clamp(29px, 3.2vw, 44px);
    line-height: 1.6;
    margin: 8px 0 18px;
    color: #17231c;
    letter-spacing: -.7px
}

.about-new-copy h2 strong {
    color: #79ab8f
}

.about-new-copy>p {
    max-width: 690px;
    color: #69776f;
    font-size: 12px;
    line-height: 2.25;
    margin: 0 0 11px
}

.about-new-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 27px
}

.about-new-points>div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f8f5;
    border: 1px solid #e0eae3;
    border-radius: 15px;
    padding: 12px 10px
}

.about-new-points>div>i {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    border-radius: 10px;
    background: #dcebe1;
    color: #34875d;
    font-size: 14px
}

.about-new-points span {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.about-new-points b {
    font-size: 11px;
    color: #243229
}

.about-new-points small {
    font-size: 8px;
    color: #7a8780;
    white-space: nowrap
}

.about-new-visual {
    min-height: 330px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr
}

.about-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 171, 143, .30), rgba(121, 171, 143, 0) 68%);
    filter: blur(2px)
}

.about-window {
    position: relative;
    width: min(100%, 360px);
    height: 245px;
    background: rgba(244, 249, 246, .9);
    border: 1px solid #cbded2;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(46, 87, 64, .13);
    transform: rotate(-4deg);
    padding: 17px;
    overflow: hidden
}

.about-window-top {
    height: 18px;
    display: flex;
    gap: 5px;
    align-items: center
}

.about-window-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b5cfc0
}

.about-code {
    position: absolute;
    left: 48px;
    top: 70px;
    width: 150px;
    height: 88px;
    border-radius: 18px;
    background: #dcebe1;
    border: 1px solid #bdd5c6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #28533d
}

.about-code i {
    font-size: 23px;
    margin-bottom: 5px
}

.about-code b {
    font-size: 16px
}

.about-code small {
    font-size: 8px;
    color: #6c8075
}

.about-lines {
    position: absolute;
    right: 32px;
    top: 70px;
    width: 95px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.about-lines span {
    height: 7px;
    border-radius: 99px;
    background: #c6d9cc
}

.about-lines span:nth-child(2) {
    width: 72%
}

.about-lines span:nth-child(3) {
    width: 86%
}

.about-lines span:nth-child(4) {
    width: 58%
}

.about-float {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .86);
    border: 1px solid #b8d1c1;
    box-shadow: 0 15px 30px rgba(42, 78, 57, .10);
    color: #34875d;
    font-size: 20px
}

.about-float-a {
    top: 36px;
    right: 18px;
    transform: rotate(8deg)
}

.about-float-b {
    bottom: 38px;
    left: 16px;
    transform: rotate(-8deg)
}

/* Use the generated project artwork instead of generic icon-only covers */
.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.project-image>i {
    display: none !important
}

@media(max-width:900px) {
    .about-new-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 35px
    }

    .about-new-visual {
        order: 2;
        min-height: 280px
    }

    .about-new-copy {
        order: 1
    }
}

@media(max-width:720px) {
    .about-new {
        padding: 55px 0 65px
    }

    .about-new-card {
        padding: 25px 20px;
        border-radius: 22px
    }

    .about-new-copy h2 {
        font-size: 28px
    }

    .about-new-points {
        grid-template-columns: 1fr
    }

    .about-new-points>div {
        min-height: 58px
    }

    .about-new-visual {
        min-height: 250px;
        transform: scale(.9)
    }
}


/* ===== Final navigation, consultation, stack and project-grid fixes ===== */
.site-header {
    background: rgba(255, 255, 255, .72) !important;
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    border-bottom: 1px solid rgba(255, 255, 255, .55) !important;
    box-shadow: 0 8px 30px rgba(35, 63, 47, .05);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .84) !important;
}

/* Stable, non-overlapping technology stack */
.skills-stage {
    height: 620px;
    max-width: 980px;
    overflow: hidden;
}

.skills-stage .skill-node {
    width: 96px;
    height: 96px;
    z-index: 2;
}

.skills-stage .n1 {
    top: 5%;
    left: 4%;
}

.skills-stage .n2 {
    top: 5%;
    left: 29%;
}

.skills-stage .n3 {
    top: 5%;
    right: 29%;
    left: auto;
}

.skills-stage .n4 {
    top: 5%;
    right: 4%;
    left: auto;
}

.skills-stage .n5 {
    top: 39%;
    left: 2%;
    bottom: auto;
}

.skills-stage .n6 {
    top: 39%;
    right: 2%;
    left: auto;
    bottom: auto;
}

.skills-stage .n11 {
    top: 25%;
    left: 19%;
    bottom: auto;
}

.skills-stage .n12 {
    top: 25%;
    right: 19%;
    left: auto;
    bottom: auto;
}

.skills-stage .n7 {
    bottom: 5%;
    left: 4%;
    top: auto;
}

.skills-stage .n8 {
    bottom: 5%;
    left: 29%;
    top: auto;
}

.skills-stage .n9 {
    bottom: 5%;
    right: 29%;
    left: auto;
    top: auto;
}

.skills-stage .n10 {
    bottom: 5%;
    right: 4%;
    left: auto;
    top: auto;
}

/* Consultation section */
.consultation-section {
    background: #f0f6f2;
    padding-top: 30px;
    padding-bottom: 70px;
}

.consultation-card {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, #fff 0%, #f5faf7 100%);
    border: 1px solid #dce9df;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 22px 60px rgba(35, 63, 47, .07);
}

.consultation-copy {
    padding: 8px 4px;
}

.consultation-copy h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.55;
    margin: 8px 0 14px;
}

.consultation-copy h2 strong {
    color: #79ab8f;
}

.consultation-copy>p {
    max-width: 680px;
    color: #6c7972;
    font-size: 12px;
    line-height: 2.1;
    margin: 0;
}

.consultation-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.consultation-points div {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f7fbf8;
    border: 1px solid #e1ece4;
    border-radius: 15px;
    padding: 13px 12px;
    font-size: 10px;
    color: #506259;
}

.consultation-points i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #dcebe0;
    color: #2b2b2b;
    font-size: 12px;
    flex: 0 0 30px;
}

.consultation-action {
    border-radius: 22px;
    background: #18251e;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
}

.consultation-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #c4d9c8;
    color: #18251e;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 14px;
}

.consultation-action h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.consultation-action p {
    font-size: 10px;
    line-height: 1.9;
    color: #b9c8bf;
    margin: 0 0 18px;
}

.consultation-action .button {
    background: #79ab8f;
    color: #fff;
}

.consultation-phone {
    color: #c4d9c8;
    font-size: 11px;
    margin-top: 14px;
    direction: ltr;
}

/* All projects page: fixed, even grid */
.projects-page .projects-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "a b c" ". d e";
    gap: 36px 18px;
    align-items: start;
    direction: rtl;
}

.projects-page .projects-reference-grid .project-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-page .projects-reference-grid .project-card:nth-child(1) {
    grid-area: a;
}

.projects-page .projects-reference-grid .project-card:nth-child(2) {
    grid-area: b;
}

.projects-page .projects-reference-grid .project-card:nth-child(3) {
    grid-area: c;
}

.projects-page .projects-reference-grid .project-card:nth-child(4) {
    grid-area: d;
}

.projects-page .projects-reference-grid .project-card:nth-child(5) {
    grid-area: e;
}

.projects-page .projects-reference-grid .project-image {
    height: 178px;
    flex: 0 0 178px;
}

.projects-page .projects-reference-grid .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-page .projects-reference-grid .project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projects-page .projects-reference-grid .project-tech {
    margin-top: auto;
}

@media(max-width:1000px) {
    .consultation-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .skills-stage {
        height: 580px;
    }
}

@media(max-width:720px) {
    .consultation-section {
        padding-top: 15px;
        padding-bottom: 45px;
    }

    .consultation-card {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .consultation-points {
        grid-template-columns: 1fr;
    }

    .skills-stage {
        height: 570px;
    }

    .skills-stage .skill-node {
        width: 78px;
        height: 78px;
    }

    .skills-stage .n1 {
        top: 3%;
        left: 2%;
    }

    .skills-stage .n2 {
        top: 3%;
        left: 30%;
    }

    .skills-stage .n3 {
        top: 3%;
        right: 30%;
    }

    .skills-stage .n4 {
        top: 3%;
        right: 2%;
    }

    .skills-stage .n5 {
        top: 41%;
        left: 1%;
    }

    .skills-stage .n6 {
        top: 41%;
        right: 1%;
    }

    .skills-stage .n11 {
        top: 27%;
        left: 17%;
    }

    .skills-stage .n12 {
        top: 27%;
        right: 17%;
    }

    .skills-stage .n7 {
        bottom: 3%;
        left: 2%;
    }

    .skills-stage .n8 {
        bottom: 3%;
        left: 30%;
    }

    .skills-stage .n9 {
        bottom: 3%;
        right: 30%;
    }

    .skills-stage .n10 {
        bottom: 3%;
        right: 2%;
    }

    .projects-page .projects-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "a b" "c d" "e e";
        gap: 20px;
    }

    .projects-page .projects-reference-grid .project-card:nth-child(5) {
        max-width: calc(50% - 10px);
        justify-self: center;
    }
}

@media(max-width:520px) {
    .projects-page .projects-reference-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "a" "b" "c" "d" "e";
    }

    .projects-page .projects-reference-grid .project-card:nth-child(5) {
        max-width: none;
        justify-self: stretch;
    }
}

/* ===== Final polish: animated About + bulletproof Stack + consultation form ===== */
.about-new-card {
    position: relative
}

.about-new-card:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(121, 171, 143, .10);
    filter: blur(35px);
    top: -80px;
    left: -60px;
    animation: aboutGlow 7s ease-in-out infinite alternate;
    pointer-events: none
}

.about-new-visual {
    animation: aboutVisual 6s ease-in-out infinite
}

.about-window {
    animation: aboutWindow 7s ease-in-out infinite
}

.about-float-a {
    animation: aboutFloatA 4s ease-in-out infinite
}

.about-float-b {
    animation: aboutFloatB 5s ease-in-out infinite
}

.about-new-points>div {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.about-new-points>div:hover {
    transform: translateY(-6px);
    border-color: #b9d4c2;
    box-shadow: 0 15px 30px rgba(42, 78, 57, .10)
}

@keyframes aboutGlow {
    from {
        transform: translate3d(0, 0, 0) scale(.9)
    }

    to {
        transform: translate3d(45px, 25px, 0) scale(1.15)
    }
}

@keyframes aboutVisual {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

@keyframes aboutWindow {

    0%,
    100% {
        transform: rotate(-4deg) translate3d(0, 0, 0)
    }

    50% {
        transform: rotate(-1deg) translate3d(5px, -8px, 0)
    }
}

@keyframes aboutFloatA {

    0%,
    100% {
        transform: rotate(8deg) translateY(0)
    }

    50% {
        transform: rotate(3deg) translateY(-10px)
    }
}

@keyframes aboutFloatB {

    0%,
    100% {
        transform: rotate(-8deg) translateY(0)
    }

    50% {
        transform: rotate(-13deg) translateY(8px)
    }
}

/* Stack: fixed positions with generous gaps — no overlap */
.skills-stage {
    height: 620px !important;
    max-width: 980px !important;
    overflow: hidden !important
}

.skills-stage .skill-node {
    width: 90px !important;
    height: 90px !important;
    animation: stackFloat 5.5s ease-in-out infinite !important;
    z-index: 2
}

.skills-stage .skill-center {
    width: 180px;
    height: 180px;
    z-index: 3
}

.skills-stage .n1 {
    top: 4% !important;
    left: 4% !important;
    right: auto !important;
    bottom: auto !important
}

.skills-stage .n2 {
    top: 4% !important;
    left: calc(50% - 45px) !important;
    right: auto !important;
    bottom: auto !important
}

.skills-stage .n3 {
    top: 4% !important;
    right: calc(50% - 45px) !important;
    left: auto !important;
    bottom: auto !important
}

.skills-stage .n4 {
    top: 4% !important;
    right: 4% !important;
    left: auto !important;
    bottom: auto !important
}

.skills-stage .n5 {
    top: 42% !important;
    left: 4% !important;
    right: auto !important;
    bottom: auto !important
}

.skills-stage .n6 {
    top: 42% !important;
    right: 4% !important;
    left: auto !important;
    bottom: auto !important
}

.skills-stage .n7 {
    bottom: 4% !important;
    left: 4% !important;
    right: auto !important;
    top: auto !important
}

.skills-stage .n8 {
    bottom: 4% !important;
    left: calc(50% - 45px) !important;
    right: auto !important;
    top: auto !important
}

.skills-stage .n9 {
    bottom: 4% !important;
    right: calc(50% - 45px) !important;
    left: auto !important;
    top: auto !important
}

.skills-stage .n10 {
    bottom: 4% !important;
    right: 4% !important;
    left: auto !important;
    top: auto !important
}

.skills-stage .n11 {
    top: 27% !important;
    left: 22% !important;
    right: auto !important;
    bottom: auto !important
}

.skills-stage .n12 {
    top: 27% !important;
    right: 22% !important;
    left: auto !important;
    bottom: auto !important
}

@keyframes stackFloat {

    0%,
    100% {
        margin-top: 0
    }

    50% {
        margin-top: -7px
    }
}

.skills-stage .skill-node:hover {
    animation-play-state: paused !important;
    transform: scale(1.06) !important
}

/* Consultation request form */
.consultation-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .95fr) !important
}

.consultation-form {
    background: #18251e;
    color: #fff;
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 18px 45px rgba(24, 37, 30, .12)
}

.consultation-form-head {
    display: flex;
    align-items: center;
    gap: 12px
}

.consultation-form-head .consultation-icon {
    margin: 0;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: #c4d9c8;
    color: #18251e
}

.consultation-form-head h3 {
    margin: 0 0 4px;
    font-size: 16px
}

.consultation-form-head p {
    margin: 0;
    color: #b9c8bf;
    font-size: 9px;
    line-height: 1.8
}

.consultation-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px
}

.consultation-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.consultation-fields label.full {
    grid-column: 1/-1
}

.consultation-fields label span {
    font-size: 9px;
    color: #c9d5ce
}

.consultation-fields input,
.consultation-fields select,
.consultation-fields textarea {
    width: 100%;
    border: 1px solid rgba(196, 217, 200, .18);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    border-radius: 11px;
    padding: 10px 11px;
    font-family: inherit;
    font-size: 10px;
    outline: none;
    transition: border-color .2s, background .2s
}

.consultation-fields input::placeholder,
.consultation-fields textarea::placeholder {
    color: #87978e
}

.consultation-fields select option {
    color: #18251e
}

.consultation-fields input:focus,
.consultation-fields select:focus,
.consultation-fields textarea:focus {
    border-color: #79ab8f;
    background: rgba(255, 255, 255, .10)
}

.consultation-fields textarea {
    resize: vertical;
    min-height: 78px
}

.consultation-submit {
    align-self: flex-start;
    background: #79ab8f !important;
    color: #fff !important;
    border: 0
}

.consultation-note {
    font-size: 8px;
    color: #8f9e95;
    line-height: 1.7
}

/* Home project cards: show the project icon over the generated artwork */
#projectGrid .project-image {
    position: relative;
    overflow: hidden
}

#projectGrid .project-image:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(7, 58, 40, .42));
    pointer-events: none
}

#projectGrid .project-image>i {
    display: grid !important;
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, .9);
    color: #2b2b2b;
    font-size: 20px;
    z-index: 3;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

@media(max-width:1000px) {
    .consultation-card {
        grid-template-columns: 1fr !important
    }

    .skills-stage {
        height: 590px !important
    }
}

@media(max-width:720px) {
    .skills-stage {
        height: 560px !important;
        width: 100% !important;
        transform: none !important;
        margin: 0 !important
    }

    .skills-stage .skill-node {
        width: 78px !important;
        height: 78px !important
    }

    .skills-stage .skill-center {
        width: 140px;
        height: 140px
    }

    .skills-stage .n1 {
        top: 3% !important;
        left: 2% !important
    }

    .skills-stage .n2 {
        top: 3% !important;
        left: calc(50% - 39px) !important
    }

    .skills-stage .n3 {
        top: 3% !important;
        right: calc(50% - 39px) !important
    }

    .skills-stage .n4 {
        top: 3% !important;
        right: 2% !important
    }

    .skills-stage .n5 {
        top: 42% !important;
        left: 2% !important
    }

    .skills-stage .n6 {
        top: 42% !important;
        right: 2% !important
    }

    .skills-stage .n11 {
        top: 27% !important;
        left: 15% !important
    }

    .skills-stage .n12 {
        top: 27% !important;
        right: 15% !important
    }

    .skills-stage .n7 {
        bottom: 3% !important;
        left: 2% !important
    }

    .skills-stage .n8 {
        bottom: 3% !important;
        left: calc(50% - 39px) !important
    }

    .skills-stage .n9 {
        bottom: 3% !important;
        right: calc(50% - 39px) !important
    }

    .skills-stage .n10 {
        bottom: 3% !important;
        right: 2% !important
    }

    .consultation-fields {
        grid-template-columns: 1fr
    }

    .consultation-fields label.full {
        grid-column: auto
    }

    .consultation-form {
        padding: 18px
    }
}

@media(max-width:430px) {
    .skills-stage {
        height: 520px !important
    }

    .skills-stage .skill-node {
        width: 68px !important;
        height: 68px !important;
        border-radius: 16px
    }

    .skills-stage .skill-node i {
        font-size: 19px
    }

    .skills-stage .skill-node span {
        font-size: 7px
    }

    .skills-stage .skill-center {
        width: 120px;
        height: 120px
    }

    .skills-stage .n2 {
        left: calc(50% - 34px) !important
    }

    .skills-stage .n3 {
        right: calc(50% - 34px) !important
    }

    .skills-stage .n8 {
        left: calc(50% - 34px) !important
    }

    .skills-stage .n9 {
        right: calc(50% - 34px) !important
    }

    .skills-stage .n11 {
        left: 12% !important
    }

    .skills-stage .n12 {
        right: 12% !important
    }
}


/* ===== V6 futuristic animated hero visual ===== */
.hero-v1 .hero-v2-visual {
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1200px;
}

.hero-photo-card {
    width: min(100%, 600px);
    height: 420px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #14251d;
    border: 1px solid rgba(196, 217, 200, .42);
    box-shadow: 0 32px 90px rgba(17, 45, 31, .24), 0 0 70px rgba(121, 171, 143, .10);
    transform: rotateY(-4deg) rotateZ(-1deg) translateY(0);
    transition: transform .55s cubic-bezier(.2, .75, .25, 1), box-shadow .55s ease;
}

.hero-photo-card:hover {
    transform: rotateY(0deg) rotateZ(0deg) translateY(-9px) scale(1.012);
    box-shadow: 0 42px 105px rgba(17, 45, 31, .30), 0 0 90px rgba(121, 171, 143, .16)
}

.hero-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(1.04) contrast(1.03);
    animation: heroImageDrift 11s ease-in-out infinite alternate;
}

.hero-photo-card:before {
    content: "";
    position: absolute;
    inset: -30%;
    background: linear-gradient(115deg, transparent 42%, rgba(196, 217, 200, .12) 50%, transparent 58%);
    transform: translateX(-70%) rotate(8deg);
    z-index: 2;
    pointer-events: none;
    animation: heroSweep 7s ease-in-out infinite;
}

.hero-photo-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 58, 40, .02), rgba(7, 58, 40, .12) 55%, rgba(7, 58, 40, .28));
    pointer-events: none;
    z-index: 1;
}

.hero-photo-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 15px;
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #20372b;
    font-size: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    animation: badgeFloat 4s ease-in-out infinite;
}

.hero-photo-badge i {
    color: #4f8c68;
    font-size: 14px
}

.hero-photo-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    left: -70px;
    top: -70px;
    background: rgba(121, 171, 143, .28);
    filter: blur(45px);
    z-index: 3;
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes heroImageDrift {
    0% {
        transform: scale(1.015) translate3d(0, 0, 0)
    }

    100% {
        transform: scale(1.055) translate3d(-10px, -6px, 0)
    }
}

@keyframes heroSweep {

    0%,
    18% {
        transform: translateX(-75%) rotate(8deg);
        opacity: 0
    }

    35% {
        opacity: 1
    }

    58%,
    100% {
        transform: translateX(75%) rotate(8deg);
        opacity: 0
    }
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: .55;
        transform: scale(1)
    }

    50% {
        opacity: .85;
        transform: scale(1.12)
    }
}

/* ===== V5 hero photo ===== */
.hero-v1 .hero-v2-visual {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-photo-card {
    width: min(100%, 560px);
    height: 390px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background: #dce9df;
    border: 1px solid rgba(121, 171, 143, .38);
    box-shadow: 0 30px 70px rgba(27, 55, 40, .16);
    transform: rotate(-1deg);
    transition: transform .45s ease, box-shadow .45s ease;
}

.hero-photo-card:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 40px 90px rgba(27, 55, 40, .22)
}

.hero-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(.92) contrast(.98);
}

.hero-photo-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 58, 40, .03), rgba(7, 58, 40, .18));
    pointer-events: none;
}

.hero-photo-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 15px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #20372b;
    font-size: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1)
}

.hero-photo-badge i {
    color: #4f8c68;
    font-size: 14px
}

.hero-photo-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    left: -50px;
    top: -45px;
    background: rgba(196, 217, 200, .55);
    filter: blur(35px);
    z-index: 2;
    pointer-events: none
}

/* ===== V5 bulletproof technology stack: 12 nodes around a fixed center ===== */
.skills-stage {
    height: 620px !important;
    max-width: 980px !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    padding: 30px !important;
    box-sizing: border-box;
    position: relative !important;
    overflow: hidden !important;
    align-items: center !important;
    justify-items: center !important;
}

.skills-stage .skill-lines {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
}

.skills-stage .skill-center {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    grid-column: 2 / 4 !important;
    grid-row: 2 / 4 !important;
    width: min(180px, 85%) !important;
    height: min(180px, 85%) !important;
    z-index: 4 !important;
}

.skills-stage .skill-node {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 90px !important;
    height: 90px !important;
    margin: 0 !important;
    z-index: 3 !important;
    animation: stackFloat 5.5s ease-in-out infinite !important;
}

.skills-stage .n1 {
    grid-column: 1;
    grid-row: 1
}

.skills-stage .n2 {
    grid-column: 2;
    grid-row: 1
}

.skills-stage .n3 {
    grid-column: 3;
    grid-row: 1
}

.skills-stage .n4 {
    grid-column: 4;
    grid-row: 1
}

.skills-stage .n5 {
    grid-column: 1;
    grid-row: 2
}

.skills-stage .n6 {
    grid-column: 4;
    grid-row: 2
}

.skills-stage .n11 {
    grid-column: 1;
    grid-row: 3
}

.skills-stage .n12 {
    grid-column: 4;
    grid-row: 3
}

.skills-stage .n7 {
    grid-column: 1;
    grid-row: 4
}

.skills-stage .n8 {
    grid-column: 2;
    grid-row: 4
}

.skills-stage .n9 {
    grid-column: 3;
    grid-row: 4
}

.skills-stage .n10 {
    grid-column: 4;
    grid-row: 4
}

@media(max-width:720px) {
    .hero-v1 .hero-v2-visual {
        height: 390px !important
    }

    .hero-photo-card {
        height: 300px;
        width: 94%;
        border-radius: 25px
    }

    .hero-photo-badge {
        right: 12px;
        bottom: 12px
    }

    .skills-stage {
        height: 560px !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 16px !important
    }

    .skills-stage .skill-node {
        width: 74px !important;
        height: 74px !important;
        border-radius: 17px !important
    }

    .skills-stage .skill-node i {
        font-size: 20px !important
    }

    .skills-stage .skill-node span {
        font-size: 7px !important
    }

    .skills-stage .skill-center {
        width: 135px !important;
        height: 135px !important
    }
}

@media(max-width:430px) {
    .hero-v1 .hero-v2-visual {
        height: 330px !important
    }

    .hero-photo-card {
        height: 250px;
        width: 96%
    }

    .skills-stage {
        height: 500px !important;
        gap: 7px !important;
        padding: 10px !important
    }

    .skills-stage .skill-node {
        width: 64px !important;
        height: 64px !important;
        border-radius: 14px !important
    }

    .skills-stage .skill-node i {
        font-size: 17px !important
    }

    .skills-stage .skill-node span {
        font-size: 6.5px !important
    }

    .skills-stage .skill-center {
        width: 115px !important;
        height: 115px !important
    }
}

/* ===== V5 consultation links ===== */
.footer a[href="#consultation"] {
    color: inherit
}

.projects-consult-cta {
    margin: 55px auto 0;
    max-width: 780px;
    padding: 24px 28px;
    border: 1px solid #d7e6dc;
    border-radius: 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #405147;
    font-size: 13px;
    box-shadow: 0 15px 40px rgba(35, 63, 47, .05)
}

.projects-consult-cta .btn {
    background: #18251e;
    color: #fff;
    padding: 11px 18px;
    border-radius: 11px
}

@media(max-width:600px) {
    .projects-consult-cta {
        flex-direction: column;
        text-align: center
    }
}

/* V6 final hero overrides */
.hero-v1 .hero-v2-visual {
    height: 540px !important;
}

.hero-photo-card {
    width: min(100%, 600px) !important;
    height: 420px !important;
}

.hero-photo-card img {
    object-position: center !important;
}

@media(max-width:1000px) {
    .hero-v1 .hero-v2-visual {
        height: 500px !important
    }

    .hero-photo-card {
        width: min(100%, 620px) !important;
        height: 390px !important
    }
}

@media(max-width:720px) {
    .hero-v1 .hero-v2-visual {
        height: 370px !important
    }

    .hero-photo-card {
        height: 300px !important;
        width: 94% !important;
        transform: none !important
    }

    .hero-photo-card:hover {
        transform: translateY(-4px) !important
    }
}

@media(max-width:430px) {
    .hero-v1 .hero-v2-visual {
        height: 315px !important
    }

    .hero-photo-card {
        height: 255px !important;
        width: 96% !important
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-photo-card img,
    .hero-photo-card:before,
    .hero-photo-badge,
    .hero-photo-glow {
        animation: none !important
    }
}

/* =====================================================================
   بازطراحی نهایی هیرو: ویژوال تمام‌عرض، بدون عکس و بدون هم‌پوشانی متن
   ===================================================================== */
.hero-v1 {
    position: relative;
    min-height: 650px;
    /* هیرو کمی روشن‌تر شده تا سبز برند و فضای تنفسی سایت خفه نشود */
    background: linear-gradient(120deg, #16251e 0%, #1d3027 48%, #13221b 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-v1 .hero-v1-bg,
.hero-v1 .hero-v1-grid {
    position: relative;
    z-index: 2;
}

.hero-v1 .hero-v1-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-v1 .hero-v1-grid {
    width: min(1180px, calc(100% - 48px));
    min-height: 650px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr);
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
    padding-block: 65px;
}

.hero-v1 .hero-copy {
    position: relative;
    z-index: 5;
    max-width: 570px;
}

.hero-v1 .eyebrow {
    color: #b5d5c0;
}

.hero-v1 .eyebrow-dot {
    background: #79ab8f;
    box-shadow: 0 0 14px #79ab8f;
}

.hero-v1 h1 {
    color: #f5faf7;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.5;
    letter-spacing: -1.4px;
    margin-bottom: 18px;
}

.hero-v1 h1 span {
    color: #9ccbad;
}

.hero-v1 .hero-lead {
    color: #b4c1b9;
    font-size: 13px;
    max-width: 510px;
    line-height: 2.05;
}

.hero-v1 .hero-note {
    color: #82948a;
}

.hero-v1 .hero-actions .button-light {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(196, 217, 200, .3);
    color: #eef7f1;
}

.hero-tech-visual {
    position: relative;
    width: min(100%, 590px);
    height: 500px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    transform: none !important;
}

.hero-tech-orbit {
    position: absolute;
    border: 1px solid rgba(121, 171, 143, .36);
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 35px rgba(121, 171, 143, .08);
}

.orbit-one {
    width: 420px;
    height: 240px;
    animation: heroOrbit 10s linear infinite;
}

.orbit-two {
    width: 300px;
    height: 410px;
    transform: rotate(58deg);
    animation: heroOrbitReverse 13s linear infinite;
}

.hero-tech-core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: radial-gradient(circle at 35% 30%, #47775c 0%, #254734 43%, #16291f 78%);
    border: 1px solid rgba(196, 217, 200, .55);
    box-shadow: 0 0 0 18px rgba(121, 171, 143, .035), 0 0 70px rgba(121, 171, 143, .22), inset 0 0 45px rgba(121, 171, 143, .10);
    animation: corePulse 4.5s ease-in-out infinite;
    z-index: 3;
}

.core-mark {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    color: #c4d9c8;
    letter-spacing: -3px;
}

.core-label {
    font-size: 8px;
    letter-spacing: 2px;
    color: #8fb69d;
    text-align: center;
    line-height: 1.7;
}

.hero-tech-node {
    position: absolute;
    z-index: 4;
    min-width: 82px;
    padding: 11px 12px;
    border: 1px solid rgba(121, 171, 143, .35);
    border-radius: 16px;
    background: rgba(24, 48, 37, .78);
    backdrop-filter: blur(12px);
    color: #dcebe0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .22);
    animation: nodeFloat 4.5s ease-in-out infinite;
}

.hero-tech-node i {
    color: #8fc0a0;
}

.hero-tech-node b {
    font-size: 9px;
    font-weight: 600;
}

.node-a {
    top: 13%;
    right: 5%;
}

.node-b {
    top: 34%;
    left: 3%;
    animation-delay: -1.2s;
}

.node-c {
    bottom: 17%;
    right: 4%;
    animation-delay: -2.1s;
}

.node-d {
    bottom: 29%;
    left: 8%;
    animation-delay: -3s;
}

.hero-tech-pulse {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ccbad;
    box-shadow: 0 0 18px #9ccbad;
    animation: pulseTravel 5s linear infinite;
}

.pulse-a {
    top: 22%;
    left: 20%;
}

.pulse-b {
    bottom: 18%;
    right: 21%;
    animation-delay: -2.5s;
}

.hero-grid-line {
    position: absolute;
    background: rgba(121, 171, 143, .06);
}

.hero-grid-line-1 {
    width: 1px;
    height: 100%;
    right: 31%;
}

.hero-grid-line-2 {
    width: 100%;
    height: 1px;
    top: 53%;
}

.hero-grid-line-3 {
    width: 65%;
    height: 1px;
    top: 24%;
    left: 0;
    transform: rotate(-18deg);
    transform-origin: left;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .36;
}

.hero-glow-a {
    width: 420px;
    height: 420px;
    background: #397255;
    right: 18%;
    top: 10%;
}

.hero-glow-b {
    width: 300px;
    height: 300px;
    background: #79ab8f;
    left: -80px;
    bottom: -140px;
    opacity: .18;
}

@keyframes heroOrbit {
    to {
        transform: rotate(342deg);
    }
}

@keyframes heroOrbitReverse {
    to {
        transform: rotate(-302deg);
    }
}

@keyframes corePulse {
    50% {
        transform: scale(1.035);
        box-shadow: 0 0 0 28px rgba(121, 171, 143, .035), 0 0 95px rgba(121, 171, 143, .28), inset 0 0 55px rgba(121, 171, 143, .14);
    }
}

@keyframes nodeFloat {
    50% {
        transform: translateY(-9px);
    }
}

@keyframes pulseTravel {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }

    100% {
        transform: translate(170px, -90px);
        opacity: 0;
    }
}

/* =====================================================================
   بخش تماس با ما: جدا از درخواست مشاوره
   ===================================================================== */
.contact-section {
    background: #fff;
    padding-top: 80px;
    padding-bottom: 90px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 35px;
}

.contact-card {
    min-height: 145px;
    padding: 24px;
    border: 1px solid #dfe9e2;
    border-radius: 22px;
    background: #f8fbf9;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #2b2b2b;
    transition: .3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: #a8c8b2;
    box-shadow: 0 20px 45px rgba(35, 63, 47, .08);
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #18251e;
    color: #c4d9c8;
    font-size: 18px;
}

.contact-card span:last-child {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.contact-card small {
    color: #829088;
    font-size: 10px;
}

.contact-card strong {
    font-size: 13px;
    line-height: 1.9;
}

.contact-card-cta {
    background: #18251e;
    color: #fff;
    border-color: #18251e;
}

.contact-card-cta small {
    color: #9db5a5;
}

.contact-card-cta .contact-icon {
    background: #79ab8f;
    color: #18251e;
}

.contact-card-cta strong b {
    color: #9ccbad;
    margin-right: 5px;
}

@media(max-width:900px) {
    .hero-v1 .hero-v1-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .hero-v1 .hero-copy {
        margin-inline: auto;
    }

    .hero-v1 .hero-lead {
        margin-inline: auto;
    }

    .hero-v1 .hero-actions,
    .hero-v1 .hero-note {
        justify-content: center;
    }

    .hero-tech-visual {
        height: 440px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin-inline: auto;
    }
}

@media(max-width:600px) {
    .hero-v1 {
        min-height: 0;
    }

    .hero-v1 .hero-v1-grid {
        width: min(100% - 28px, 600px);
        min-height: 0;
        padding-block: 55px 40px;
    }

    .hero-v1 h1 {
        font-size: 28px;
        line-height: 1.65;
    }

    .hero-v1 .hero-lead {
        font-size: 11px;
    }

    .hero-tech-visual {
        height: 350px;
    }

    .hero-tech-core {
        width: 145px;
        height: 145px;
    }

    .core-mark {
        font-size: 38px;
    }

    .orbit-one {
        width: 290px;
        height: 175px;
    }

    .orbit-two {
        width: 220px;
        height: 300px;
    }

    .hero-tech-node {
        min-width: 65px;
        padding: 8px 9px;
        border-radius: 12px;
    }

    .hero-tech-node b {
        font-size: 8px;
    }

    .node-a {
        top: 8%;
        right: 0;
    }

    .node-b {
        top: 34%;
        left: 0;
    }

    .node-c {
        bottom: 9%;
        right: 0;
    }

    .node-d {
        bottom: 25%;
        left: 2%;
    }

    .contact-section {
        padding-block: 65px;
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-tech-orbit,
    .hero-tech-core,
    .hero-tech-node,
    .hero-tech-pulse {
        animation: none !important;
    }
}

/* =========================================================
   بازطراحی صفحه «همه پروژه‌ها»
   هدف: ردیف دوم از سمت راست شروع شود و کارت‌ها ظاهر حرفه‌ای‌تری داشته باشند.
   ========================================================= */
.projects-page .projects-reference-grid {
    grid-template-areas: "a b c" "d e .";
    gap: 26px 20px;
}

.projects-page .projects-reference-grid .project-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid #d7e5dc;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    box-shadow: 0 12px 35px rgba(39, 75, 52, .06);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.projects-page .projects-reference-grid .project-card:hover {
    transform: translateY(-7px);
    border-color: #9cc1aa;
    box-shadow: 0 22px 55px rgba(39, 75, 52, .13);
}

.projects-page .projects-reference-grid .project-image {
    height: 205px;
    flex: 0 0 205px;
    position: relative;
    isolation: isolate;
}

.projects-page .projects-reference-grid .project-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 38, 28, 0) 35%, rgba(17, 38, 28, .42) 100%);
    z-index: 1;
    pointer-events: none;
}

.projects-page .projects-reference-grid .project-image>i {
    position: absolute;
    right: 16px;
    bottom: 15px;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid !important;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    background: rgba(20, 42, 31, .68);
    backdrop-filter: blur(10px);
    color: #c4d9c8;
    font-size: 18px;
}

.projects-page .projects-reference-grid .project-body {
    padding: 20px 21px 22px;
}

.projects-page .projects-reference-grid .project-meta {
    margin-bottom: 12px;
}

.projects-page .projects-reference-grid .project-status {
    border: 1px solid #c9ddd1;
    background: #edf5ef;
    color: #527361;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 10px;
}

.projects-page .projects-reference-grid .project-body h3 {
    font-size: 17px;
    margin-bottom: 9px;
    color: #20352a;
}

.projects-page .projects-reference-grid .project-body p {
    color: #66766d;
    line-height: 2;
    min-height: 58px;
}

.projects-page .projects-reference-grid .project-tech {
    padding-top: 14px;
    border-top: 1px solid #e5eee8;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.projects-page .projects-reference-grid .project-tech span {
    background: #eef5f0;
    border: 1px solid #dbe8df;
    color: #587263;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 9px;
}

@media (max-width: 1000px) {
    .projects-page .projects-reference-grid {
        grid-template-areas: "a b" "c d" "e e";
    }
}

@media (max-width: 720px) {
    .projects-page .projects-reference-grid {
        grid-template-areas: "a" "b" "c" "d" "e";
    }
}

/* =====================================================================
   Takraya responsive polish — final overrides
   ===================================================================== */
html {
    scroll-padding-top: 86px;
}

body {
    overflow-x: clip;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 40px));
}

/* Footer: readable type on desktop and mobile */
.footer p,
.footer a {
    font-size: 13px;
    line-height: 1.9;
}

.footer h4 {
    font-size: 15px;
    line-height: 1.8;
}

.footer-bottom {
    font-size: 12px;
    line-height: 1.9;
    gap: 14px;
}

.footer-address {
    font-size: 12px !important;
    line-height: 2 !important;
    max-width: 280px;
}

.footer .brand-logo .brand-text b {
    font-size: 18px;
}

.footer .brand-logo .brand-text small {
    font-size: 11px;
}

.footer-grid {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 42px);
}

/* Prevent grid children and long text from forcing horizontal overflow */
.service-grid,
.project-grid,
.company-grid,
.team-grid,
.stats-grid,
.platforms,
.contact-grid,
.consultation-card,
.showcase-grid,
.features-list,
.contact-card,
.project-card,
.service-card,
.company-card,
.team-card {
    min-width: 0;
}

.project-body,
.project-info-card,
.about-project-text,
.consultation-copy,
.consultation-form,
.footer-grid>div {
    min-width: 0;
}

.project-tech span,
.project-status,
.contact-card strong,
.info-row b,
.footer a,
.footer p {
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .site-header .nav-wrap {
        gap: 16px;
    }

    .site-header .main-nav {
        gap: clamp(10px, 1.5vw, 18px);
        font-size: 11px;
    }

    .site-header .brand {
        min-width: auto;
    }

    .site-header .nav-contact {
        padding-inline: 13px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 36px, 760px);
    }

    .section {
        padding-block: 76px;
    }

    .site-header {
        height: 70px;
    }

    .site-header .nav-wrap {
        position: relative;
    }

    .site-header .menu-toggle {
        display: block;
        order: 3;
        margin-inline-start: 0;
        cursor: pointer;
    }

    .site-header .nav-contact {
        margin-inline-start: auto;
        margin-right: 0;
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        z-index: 1100;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(255, 255, 255, .98);
        border: 1px solid #e1ebe4;
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(26, 52, 37, .14);
        font-size: 14px;
        max-height: min(70vh, 460px);
        overflow-y: auto;
    }

    .site-header .main-nav.open {
        display: flex;
    }

    .site-header .main-nav a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .site-header .main-nav a:hover {
        background: #f1f7f3;
    }

    .site-header .main-nav a:after {
        display: none;
    }

    .hero-v1 .hero-v1-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-info-card {
        order: 2;
    }

    .project-slider-wrap {
        order: 1;
        min-width: 0;
    }
}

/* Inner project pages have a separate header/menu from the homepage */
@media (max-width: 900px) {
    .inner-page .header {
        gap: 12px;
    }

    .inner-page .header .nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;
        left: 14px;
        z-index: 1100;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        background: #fff;
        border: 1px solid #dfe9e2;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(30, 55, 40, .14);
        max-height: 70vh;
        overflow-y: auto;
    }

    .inner-page .header .nav.open {
        display: flex;
    }

    .inner-page .header .nav a {
        padding: 10px 12px;
    }

    .inner-page .header .menu-toggle {
        display: block;
        flex: 0 0 auto;
        cursor: pointer;
    }

    .inner-page .header .header-cta {
        font-size: 12px;
        padding: 10px 12px;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding-block: 58px;
    }

    .section-heading h2,
    .about-new-copy h2 {
        font-size: clamp(23px, 6vw, 30px);
        line-height: 1.65;
    }

    .section-heading p {
        font-size: 13px;
        line-height: 2;
    }

    .hero-v1 h1 {
        font-size: clamp(26px, 6vw, 34px);
        line-height: 1.7;
    }

    .hero-v1 .hero-lead {
        font-size: 13px;
        line-height: 2.1;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-actions .button {
        justify-content: center;
    }

    .service-grid,
    .project-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .company-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .team-photo {
        height: 190px;
        margin: 9px 9px 0;
    }

    .team-card-body {
        padding-inline: 9px;
    }

    .team-card h3 {
        font-size: 15px;
    }

    .team-card p {
        font-size: 11px;
    }

    .project-image {
        max-width: 100%;
    }

    .project-body {
        padding: 18px;
    }

    .consultation-card {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 22px !important;
    }

    .consultation-fields {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .consultation-fields label.full {
        grid-column: auto;
    }

    .contact-card {
        padding: 18px;
    }

    .footer {
        padding-top: 46px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer p,
    .footer a {
        font-size: 13px;
    }

    .footer h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        font-size: 11px;
    }

    .footer-address {
        max-width: 100%;
    }

    .inner-page .header {
        padding-inline: 14px;
    }

    .inner-page .header .brand {
        min-width: 0;
    }

    .inner-page .header .header-cta {
        white-space: normal;
        max-width: 145px;
        text-align: center;
        line-height: 1.5;
    }

    .projects-page .projects-reference-grid {
        grid-template-areas: "a" "b" "c" "d" "e";
    }

    .project-detail-head h1,
    .projects-title h1,
    .inner-hero h1 {
        font-size: clamp(27px, 7vw, 40px);
        line-height: 1.6;
    }

    .project-about-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .features-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 26px);
    }

    .site-header .brand-logo img {
        width: 30px;
        height: 30px;
    }

    .site-header .brand-logo>span {
        font-size: 16px;
    }

    .site-header .nav-contact {
        font-size: 11px;
        padding: 9px 10px;
    }

    .hero-v1 .hero-v1-grid {
        width: calc(100% - 26px);
    }

    .hero-v1 .hero-actions {
        gap: 9px;
    }

    .hero-v1 .hero-actions .button {
        width: 100%;
    }

    .hero-tech-visual {
        max-width: 100%;
        overflow: hidden;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat {
        padding: 15px 8px;
    }

    .company-grid,
    .team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .team-card {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr);
        align-items: center;
        text-align: right;
    }

    .team-photo {
        height: 170px;
        margin: 10px;
        grid-row: 1;
    }

    .team-card-body {
        padding: 12px 8px 12px 12px;
    }

    .team-card h3 {
        margin-top: 0;
    }

    .platforms {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .inner-page .header .brand-logo img {
        width: 30px;
        height: 30px;
    }

    .inner-page .header .header-cta {
        max-width: 120px;
        font-size: 11px;
        padding: 8px 9px;
    }

    .projects-consult-cta {
        align-items: stretch;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Mobile hero order: show the visual first, then the intro and CTA buttons */
@media (max-width: 720px) {
    .hero-v1 .hero-v1-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-v1 .hero-visual {
        order: -1;
        width: 100%;
        margin: 0 auto 22px;
    }

    .hero-v1 .hero-copy {
        order: 1;
        width: 100%;
    }
}

/* Team cards: keep full uniform visible and preserve room for names/roles */
.team-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
}

.team-photo {
    height: 285px !important;
    margin: 12px 12px 0 !important;
    padding: 6px !important;
    flex: 0 0 auto;
    background: #f5f8f5 !important;
}

.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.team-card-body {
    display: block !important;
    flex: 1 0 auto;
    padding: 0 12px 18px !important;
}

.team-card h3 {
    margin: 12px 0 5px !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.team-card p {
    font-size: 13px !important;
    line-height: 1.9 !important;
    overflow-wrap: normal !important;
}

@media (max-width: 720px) {
    .team-photo {
        height: 260px !important;
        margin: 10px 10px 0 !important;
    }

    .team-card-body {
        padding: 0 10px 16px !important;
    }
}

@media (max-width: 480px) {

    .company-grid,
    .team-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .team-card {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .team-photo {
        height: 300px !important;
        width: auto !important;
        margin: 12px 12px 0 !important;
    }

    .team-card-body {
        padding: 0 14px 18px !important;
    }

    .team-card h3 {
        margin-top: 12px !important;
        font-size: 18px !important;
    }

    .team-card p {
        font-size: 14px !important;
    }
}


/* Team cards: uniform visible, portrait fits its own frame, labels stay below */
.team-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    height: 100%;
}

.team-photo {
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1.03;
    margin: 12px 12px 0 !important;
    overflow: hidden;
    border-radius: 14px;
    background: #edf3ee;
    flex: 0 0 auto;
}

.team-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 35% !important;
}

.team-card-body {
    flex: 1 0 auto;
    padding: 0 12px 18px !important;
    min-height: 92px;
}

.team-card h3 {
    margin: 12px 0 5px !important;
    font-size: clamp(14px, 1.1vw, 18px) !important;
    line-height: 1.65 !important;
    overflow-wrap: normal;
}

.team-card p {
    margin: 0 !important;
    font-size: clamp(11px, .9vw, 14px) !important;
    line-height: 1.8 !important;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .team-photo {
        margin: 8px 8px 0 !important;
        aspect-ratio: 1 / 1.02;
    }

    .team-card-body {
        padding: 0 8px 14px !important;
    }

    .team-card h3 {
        font-size: 14px !important;
    }

    .team-card p {
        font-size: 11px !important;
    }
}

@media (max-width: 420px) {
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    .team-photo {
        aspect-ratio: 1.15 / 1;
    }

    .team-card {
        display: grid !important;
        grid-template-columns: 40% minmax(0, 1fr) !important;
        align-items: center;
        text-align: right !important;
    }

    .team-photo {
        grid-row: 1;
        margin: 9px !important;
    }

    .team-card-body {
        padding: 12px 6px 12px 12px !important;
    }

    .team-card h3 {
        margin: 0 0 5px !important;
        font-size: 15px !important;
    }

    .team-card p {
        font-size: 12px !important;
    }
}

/* TakRaya project gallery refinements: keep screenshots fully visible and center the carousel control */
.project-slider {
    background: #202b26;
    border-color: rgba(121, 171, 143, .55);
}

.project-slider img {
    object-fit: contain;
    object-position: center;
    background: #202b26;
}

.slider-arrow {
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    width: 48px;
    height: 48px;
    left: 16px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(196, 217, 200, .72);
    background: rgba(32, 43, 38, .78);
    color: #d5e8da;
    font-size: 17px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.slider-arrow i {
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.slider-arrow:hover {
    background: #79ab8f;
    border-color: #79ab8f;
    color: #17231c;
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow:focus-visible {
    outline: 2px solid #c4d9c8;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .project-slider {
        height: 240px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        left: 10px;
        right: auto;
        font-size: 15px;
    }
}


/* Project cards: real screenshots, readable fallback, and responsive image framing */
.project-image.has-project-image {
    isolation: isolate;
    background: #26342d;
}

.project-image.has-project-image>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .55s ease;
    z-index: 0;
}

.project-card:hover .project-image.has-project-image>img {
    transform: scale(1.045);
}

.project-image.has-project-image:after {
    z-index: 1;
    pointer-events: none;
}

.project-image .project-image-icon {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(35, 48, 41, .78);
    color: #d5e8da;
    font-size: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-image-caption {
    position: absolute;
    z-index: 2;
    bottom: 13px;
    right: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    color: #fff;
    background: rgba(35, 48, 41, .72);
    font-size: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-image.project-image-fallback {
    background: radial-gradient(circle at 50% 40%, #79ab8f55, transparent 48%), linear-gradient(135deg, #2b2b2b, #3d5045);
}

.project-image.project-image-fallback .project-image-icon {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    font-size: 56px;
}

.project-image.project-image-fallback .project-image-caption {
    bottom: 18px;
}

@media (max-width: 600px) {
    .project-image {
        height: 205px;
    }
}

/* Refined project previews — cleaner, lighter and less crowded */
.project-card {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(121, 171, 143, .22);
    background: #fff;
    box-shadow: 0 10px 28px rgba(28, 45, 35, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(28, 45, 35, .12);
    border-color: rgba(121, 171, 143, .55);
}

.project-image.has-project-image {
    position: relative;
    height: 225px;
    min-height: 225px;
    overflow: hidden;
    background: linear-gradient(145deg, #f2f6f3, #e5eee8);
    isolation: isolate;
}

.project-image.has-project-image>img {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(30, 48, 37, .12);
    transition: transform .35s ease;
}

.project-card:hover .project-image.has-project-image>img {
    transform: scale(1.015);
}

.project-image.has-project-image:after {
    background: linear-gradient(180deg, rgba(23, 42, 31, .03), rgba(23, 42, 31, .08));
    z-index: 1;
    pointer-events: none;
}

.project-image .project-image-icon {
    top: 17px;
    right: 17px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 12px;
    background: rgba(35, 48, 41, .84);
    color: #d9ebdf;
    box-shadow: 0 3px 12px rgba(20, 35, 25, .12);
}

.project-image-caption {
    right: 17px;
    bottom: 17px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 9px;
    background: rgba(35, 48, 41, .82);
    font-size: 10px;
    letter-spacing: .1px;
}

.project-body {
    padding: 20px 22px 23px;
}

.project-body h3 {
    line-height: 1.7;
    margin-top: 7px;
}

.project-body p {
    line-height: 1.9;
}

.project-tech {
    gap: 7px;
    flex-wrap: wrap;
}

.project-tech span {
    border-radius: 8px;
}

.projects-page .projects-reference-grid .project-image.has-project-image {
    height: 225px;
    min-height: 225px;
    flex-basis: 225px;
}

.projects-page .projects-reference-grid .project-image.has-project-image>img {
    object-fit: contain;
}

@media (max-width: 600px) {

    .project-image.has-project-image,
    .projects-page .projects-reference-grid .project-image.has-project-image {
        height: 195px;
        min-height: 195px;
        flex-basis: 195px;
    }

    .project-body {
        padding: 17px 17px 20px;
    }
}

/* ===== Page-specific refinement: all projects ===== */
.projects-page .projects-list-section>.container {
    max-width: 1120px;
}

.projects-page .projects-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas: none !important;
    gap: 30px !important;
    max-width: 1000px;
    margin-inline: auto;
    align-items: stretch;
}

.projects-page .projects-reference-grid>.project-card {
    grid-area: auto !important;
    min-width: 0;
    height: 100%;
    border-radius: 24px;
    border: 1px solid #dce9e0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(34, 62, 44, .07);
}

.projects-page .projects-reference-grid>.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(34, 62, 44, .12);
}

.projects-page .projects-reference-grid .project-image.has-project-image {
    height: 250px !important;
    min-height: 250px !important;
    flex: 0 0 250px !important;
    padding: 12px;
    background: linear-gradient(145deg, #f5f8f6, #eaf1ec);
}

/* Override older page rules that were cropping screenshots */
.projects-page .projects-reference-grid .project-image.has-project-image>img {
    position: absolute !important;
    inset: 12px !important;
    width: calc(100% - 24px) !important;
    height: calc(100% - 24px) !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(35, 55, 42, .10);
}

.projects-page .projects-reference-grid .project-image.has-project-image::before,
.projects-page .projects-reference-grid .project-image.has-project-image::after {
    background: none !important;
    opacity: 0 !important;
}

.projects-page .projects-reference-grid .project-image.has-project-image .project-image-icon {
    top: 20px;
    right: 20px;
    bottom: auto;
    width: 34px;
    height: 34px;
    font-size: 13px;
    border-radius: 11px;
    background: rgba(35, 48, 41, .86);
}

.projects-page .projects-reference-grid .project-image-caption {
    right: 20px;
    bottom: 20px;
    font-size: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(35, 48, 41, .86);
}

.projects-page .projects-reference-grid .project-body {
    padding: 23px 24px 25px;
}

.projects-page .projects-reference-grid .project-body h3 {
    font-size: 18px;
    line-height: 1.8;
    margin: 2px 0 9px;
}

.projects-page .projects-reference-grid .project-body p {
    font-size: 12px;
    line-height: 2;
    min-height: 48px;
    margin-bottom: 17px;
}

.projects-page .projects-reference-grid .project-tech {
    gap: 8px;
    padding-top: 16px;
}

.projects-page .projects-reference-grid .project-tech span {
    font-size: 10px;
    padding: 6px 10px;
}

@media (max-width: 760px) {
    .projects-page .projects-reference-grid {
        grid-template-columns: 1fr !important;
        max-width: 520px;
        gap: 22px !important;
    }

    .projects-page .projects-reference-grid .project-image.has-project-image {
        height: 225px !important;
        min-height: 225px !important;
        flex-basis: 225px !important;
    }
}


/* Final adjustments requested: compact project cards and safe placeholder social links */
.projects-page .projects-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 1120px;
}

.projects-page .projects-reference-grid>.project-card {
    border-radius: 20px;
}

.projects-page .projects-reference-grid .project-image.has-project-image {
    height: 190px !important;
    min-height: 190px !important;
    flex: 0 0 190px !important;
    padding: 9px;
}

.projects-page .projects-reference-grid .project-image.has-project-image>img {
    inset: 9px !important;
    width: calc(100% - 18px) !important;
    height: calc(100% - 18px) !important;
}

.projects-page .projects-reference-grid .project-body {
    padding: 18px 18px 20px;
}

.projects-page .projects-reference-grid .project-body h3 {
    font-size: 16px;
}

.projects-page .projects-reference-grid .project-body p {
    font-size: 12px;
    min-height: 44px;
}

.projects-page .projects-reference-grid .project-tech {
    gap: 6px;
    padding-top: 12px;
}

.projects-page .projects-reference-grid .project-tech span {
    font-size: 9px;
    padding: 5px 8px;
}

@media (max-width: 900px) {
    .projects-page .projects-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .projects-page .projects-reference-grid {
        grid-template-columns: 1fr !important;
        max-width: 480px;
    }

    .projects-page .projects-reference-grid .project-image.has-project-image {
        height: 200px !important;
        min-height: 200px !important;
        flex-basis: 200px !important;
    }
}

/* Social icons are placeholders until official profile links are supplied. */
.footer .socials a[aria-disabled="true"] {
    cursor: default;
}