/* Interia-inspired redesign */
body {
    background-color: #ffffff;
    color: #333333;
}
.banner-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/Kap-slider2.jpeg') no-repeat center center/cover;
    text-align: center;
}
.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}
.banner-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subtext {
    font-size: 1.2rem;
}

.home-build { padding: 6rem 0 2rem;
    background: #fff;
}
.home-build .execute-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.home-build .col-left {
    flex: 1 1 45%;
}
.home-build .col-right {
    flex: 1 1 45%;
}
.home-build img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
}

.home-counter { 
    background: url('images/space-images.jpeg') center/cover no-repeat; 
    position: relative;
    padding: 5rem 0;
}
.home-counter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.85); /* Dark overlay */
    z-index: 1;
}
.counter-wrapper {
    position: relative;
    padding: 0;
    z-index: 2;
}
.counter-wrapper::before,
.counter-wrapper::after,
.counter-wrapper .line-top,
.counter-wrapper .line-bottom {
    display: none !important;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.counter-box {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.counter-box h3 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: var(--font-heading);
    line-height: 1;
}
.counter-box h3 i {
    color: #ffffff;
}
.counter-box p {
    font-size: 0.8rem;
    color: #aaaaaa;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .home-counter {
        padding: 3.5rem 0;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.25rem;
    }
    .counter-box {
        padding-left: 1.25rem;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
    .counter-box h3 {
        font-size: 2.4rem;
        margin-bottom: 0.35rem;
    }
    .counter-box h3 i {
        font-size: 2rem;
    }
    .counter-box p {
        font-size: 0.725rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.75rem 1rem;
    }
    .counter-box {
        padding-left: 1rem;
    }
    .counter-box h3 {
        font-size: 2.1rem;
        margin-bottom: 0.25rem;
    }
    .counter-box h3 i {
        font-size: 1.75rem;
    }
    .counter-box p {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

.home-service { padding: 3rem 0 6rem;
    background: #fff;
}
.service-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}
.service-box-new {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    display: block;
}
.service-box-new .real-img {
    transition: transform 0.5s ease;
}
.service-box-new:hover .real-img {
    transform: scale(1.05);
}
.service-box-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-box-content h4 {
    margin-bottom: 0.5rem;
    color: #000;
}

.home-choose {
    background: #111;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}
.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.choose-box {
    padding: 2rem;
}
.choose-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}
.choose-box p {
    color: #aaa;
}

.home-execute {
    padding: 6rem 0;
    background: #F8F9FA;
}
.execute-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}
.execute-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.process-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.process-item span {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    opacity: 0.3;
}
.process-item p {
    font-weight: bold;
    color: #333;
    margin-top: 0.5rem;
}

.home-casestudy {
    padding: 6rem 0;
    background: #fff;
}
.casestudy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.casestudy-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}
.casestudy-card .real-img {
    transition: transform 0.5s ease;
}
.casestudy-card:hover .real-img {
    transform: scale(1.05);
}
.casestudy-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.casestudy-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}





.home-why-timeline {
    background-color: #f6f5f2;
    padding: 6rem 0;
}
.timeline-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}
.timeline-left {
    flex: 1 1 40%;
}
.timeline-right {
    flex: 1 1 50%;
}
.vertical-timeline {
    position: relative;
}
.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #b3b3b3;
}
.v-step {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 60px;
    padding-bottom: 2.5rem;
}
.v-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.v-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 60px;
    right: 0;
    height: 1px;
    background-color: #ddd;
}
.v-step:last-child::after {
    display: none;
}
.v-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #b3b3b3;
    background-color: #f6f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a7b9d;
    z-index: 2;
}
.v-content h3 {
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}
.v-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}
.about-left {
    flex: 1 1 45%;
}
.about-right {
    flex: 1 1 45%;
}
.about-image-wrapper {
    position: relative;
    padding-bottom: 60px;
    padding-right: 60px;
}
.main-about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
}
.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #fff;
    padding: 1.5rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.about-experience-badge .exp-number {
    font-size: 2.5rem;
    color: #4a7b9d;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.about-experience-badge .exp-text {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}
.secondary-about-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 6px solid #fcfbf9;
    z-index: 2;
}



.h-scroll-wrapper::-webkit-scrollbar { display: none; }

/* ------------- HORIZONTAL SLIDER CSS ------------- */
.h-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 2.5rem;
    padding: 0.5rem 5vw 0.75rem 5vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.h-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.h-scroll-card {
    flex: 0 0 auto;
    width: 25vw;
    min-width: 320px;
    max-width: 400px;
    height: 480px;
    max-height: 58vh;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: block;
}
@media (max-width: 992px) {
    .h-scroll-card { width: 340px; height: 460px; }
}
@media (max-width: 768px) {
    .h-scroll-card { width: min(300px, 82vw); min-width: 0; height: 440px; }
}
.h-scroll-card:hover {
    transform: translateY(-6px);
}
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.h-scroll-card:hover .card-bg {
    transform: scale(1.05);
}
.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.1) 100%);
}
.card-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 2;
}
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px 24px 20px;
    color: #fff;
    z-index: 2;
}
.card-location {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-title {
    font-size: 2.1rem;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    color: #fff;
    font-weight: 400;
    line-height: 1.15;
}
.card-desc {
    font-size: 0.92rem;
    color: #ddd;
    margin-bottom: 18px;
    line-height: 1.5;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 14px;
}
.card-action {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}
.card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}
.h-scroll-card:hover .card-arrow {
    background: #fff;
    color: #000;
    border-color: #fff;
}


/* ------------- HORIZONTAL TIMELINE CSS ------------- */
.ht-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ccc;
    transform: translateY(-50%);
    z-index: 1;
}
.ht-icon-left, .ht-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.5rem;
    background: #f6f5f2;
    z-index: 2;
}
.ht-icon-left {
    left: -30px;
    padding-right: 10px;
}
.ht-icon-right {
    right: -30px;
    padding-left: 10px;
}
.ht-grid {
    position: relative;
    height: 350px;
    width: 100%;
    z-index: 3;
}
.ht-item {
    position: absolute;
    width: 18%;
}
.ht-top {
    bottom: 50%;
    margin-bottom: 40px;
}
.ht-bottom {
    top: 50%;
    margin-top: 40px;
}
.ht-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    z-index: 4;
}
.ht-card-icon {
    font-size: 2rem;
    color: #a39b90;
    margin-bottom: 1rem;
}
.ht-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    font-weight: 700;
    margin: 0;
}
.ht-connector {
    position: absolute;
    width: 1px;
    height: 40px;
    background-color: #ccc;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.ht-top .ht-connector {
    bottom: -40px;
}
.ht-bottom .ht-connector {
    top: -40px;
}
.ht-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ccc;
    transform: translateX(-50%) rotate(45deg);
    left: 50%;
    z-index: 5;
}
.ht-top .ht-node {
    bottom: -44px;
}
.ht-bottom .ht-node {
    top: -44px;
}

@media (max-width: 992px) {
    .ht-grid {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }
    .ht-line, .ht-connector, .ht-node, .ht-icon-left, .ht-icon-right {
        display: none !important;
    }
    .ht-item {
        position: relative !important;
        width: 100% !important;
        max-width: 340px !important;
        left: 0 !important;
        margin: 0 auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    .horizontal-timeline {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 1rem;
    }
    .timeline-flex {
        flex-direction: column;
        gap: 2.5rem;
    }
    .timeline-left, .timeline-right {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
    .about-experience-badge {
        left: 10px !important;
        top: 10px !important;
    }
}
