/* =========================================================
   iTConia Website - FULL CSS
   Modified: Services card CSS fixed
   Goal: Same sticky card behavior on every screen

   EASY MODIFY SECTION INDEX
   01. Theme Variables
   02. Reset / Base
   03. Page Wrapper / Snap Scroll
   04. Dots Navigation
   05. Navbar
   06. Hero Section
   07. Common Section Title
   08. About Section
   09. Domain Section
   10. Technologies Section
   11. Services Section
   12. Testimonials Section
   13. Portfolio Section
   14. Clients Section
   15. Contact Section
   16. Animations / Keyframes
   17. Responsive CSS
   18. FINAL Services Same-Behavior Override
   ========================================================= */


/* =========================
   01. THEME VARIABLES
========================= */
:root {
    --navy: #031421;
    --navy-mid: #074E6D;
    --navy-light: #0A6E9A;
    --blue: #0A6E9A;
    --cyan: #ffc1079e;
    --brand-yellow: #f97d09;
    --brand-yellow-light: #efb326;
    --cyan-glow: rgba(18, 144, 200, 0.25);
    --white: #ffffff;
    --light-bg: #f5f8fb;
    --text-muted: #6c8099;
    --gradient-navy: linear-gradient(160deg, #031421 0%, #074E6D 50%, #0A6E9A 100%);
}


/* =========================
   02. RESET / BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}

body {
    font-family: "Inter", sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: hidden;
}


/* =========================
   03. PAGE WRAPPER / SNAP SCROLL
========================= */
#page-wrapper {
    flex: 1;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Enables hardware-accelerated scrolling on iOS/Android */
    -webkit-overflow-scrolling: touch;
    /* Prevent subpixel jitter during snap */
    will-change: scroll-position;
}

#page-wrapper::-webkit-scrollbar {
    display: none;
}

.snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}


/* =========================
   04. DOTS NAVIGATION
========================= */
.dots-nav {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    background: rgba(4, 14, 36, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 22px;
    border: 1px solid rgba(18, 144, 200, 0.18);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.dot-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 3px;
    transition: transform 0.2s;
}

.dot-item:hover {
    transform: scale(1.15);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.dot-item.active .dot {
    background: var(--brand-yellow);
    border-color: var(--white);
    box-shadow: 0 0 12px rgba(230, 212, 0, 0.65);
    width: 11px;
    height: 11px;
}

.dot-item:hover .dot {
    background: rgba(0, 24, 29, 0.5);
    border-color: rgba(18, 144, 200, 0.7);
}

.dot-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #fff;
    background: rgba(5, 20, 40, 0.9);
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid rgba(18, 144, 200, 0.25);
}

.dot-tooltip::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(18, 144, 200, 0.25);
    border-right: none;
}

.dot-item:hover .dot-tooltip {
    opacity: 1;
}


/* =========================
   05. NAVBAR
========================= */
.navbar {
    background: rgba(0, 14, 32, 0.97);
    padding: 0.9rem 1.5rem;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(18, 144, 200, 0.15);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.nav-logo {
    width: 150px;
    cursor: pointer;
}

.navbar-toggler {
    border-color: rgba(18, 144, 200, 0.4);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 1.1rem !important;
    border-radius: 0;
    background: transparent !important;
    position: relative;
    transition: color 0.25s;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 1.1rem;
    right: 1.1rem;
    height: 2.5px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-light));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


/* =========================
   06. HERO SECTION
========================= */
.hero-section {
    position: relative;
    align-items: center;
    background: linear-gradient(160deg, #040e24 0%, #071e40 40%, #0a2d5c 70%, #0d3870 100%);
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-city {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0.25;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.35) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(18, 144, 200, 0.2) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 180, 255, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 15px;
}

.hero-logo {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.hero-content h1 {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.12rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
    color: var(--navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.78rem 2.2rem;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 26px rgba(230, 212, 0, 0.28);
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(230, 212, 0, 0.38);
}


/* =========================
   07. COMMON SECTION TITLE
========================= */
.section-title {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #031421;
    margin-bottom: 1rem;
    text-align: center;
    margin-top: 50px;
}

.section-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-yellow), var(--cyan));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}


/* =========================
   08. ABOUT SECTION
========================= */
.about-section {
    padding: 50px 0;
    background: #fff;
}

.about-text {
    font-size: 0.97rem;
    color: #5a6a7a;
    line-height: 1.85;
    max-width: 730px;
    margin: 0 auto 2rem;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f0f5fa, #e8f0fb);
    border-radius: 14px;
    padding: 1.6rem 1rem;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.stat-box {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(13, 110, 253, 0.2);
    align-self: center;
}

.stat-number {
    font-family: "Rajdhani", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #031421;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #5a6a7a;
    margin-top: 0.4rem;
    font-weight: 500;
}

.stat-sublabel {
    font-size: 0.78rem;
    color: #7a8a9a;
    margin-top: 0.2rem;
}

.global-clients-title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
}


/* =========================
   09. DOMAIN SECTION
========================= */
.domain-section {
    padding: 50px 0;
    background: #f0f4f8;
}

.domain-section .section-title {
    color: #031421;
}

.domain-cards-wrap {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.domain-card {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, 0.12);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    text-align: center;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.domain-card:hover {
    background: var(--gradient-navy);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.3);
}

.domain-card i {
    font-size: 2rem;
    transition: color 0.3s;
}

.domain-card:hover i {
    color: #fff;
}

.domain-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #031421;
    line-height: 1.3;
    transition: color 0.3s;
}

.domain-card:hover span {
    color: #fff;
}


/* =========================
   10. TECHNOLOGIES SECTION
========================= */
.technologies-section {
    padding: 50px 0;
    background:
        radial-gradient(circle at top left, rgba(18, 144, 200, 0.08), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #f4f8fc 100%);
}

.tech-marquee {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.tech-marquee-row {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 0.15rem 0;
}

.tech-marquee-row::before,
.tech-marquee-row::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-row::before {
    left: 0;
    background: linear-gradient(90deg, #f7fbff 0%, rgba(247, 251, 255, 0) 100%);
}

.tech-marquee-row::after {
    right: 0;
    background: linear-gradient(270deg, #f7fbff 0%, rgba(247, 251, 255, 0) 100%);
}

.tech-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.tech-marquee-row-forward .tech-marquee-track {
    animation: tech-marquee-left 32s linear infinite;
}

.tech-marquee-row-reverse .tech-marquee-track {
    animation: tech-marquee-right 32s linear infinite;
}

.tech-marquee-row:hover .tech-marquee-track {
    animation-play-state: paused;
}

.tech-marquee-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1rem;
    flex-shrink: 0;
}

.tech-chip {
    width: 108px;
    height: 108px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow: 0 10px 26px rgba(5, 20, 40, 0.06);
    flex-shrink: 0;
}

.tech-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.tech-logo {
    object-fit: contain;
}


/* =========================
   16. ANIMATIONS / KEYFRAMES
========================= */
@keyframes tech-marquee-left {
    from  {
        transform: translateX(0);

    }

    to  {
        transform: translateX(-50%);

    }

}

@keyframes tech-marquee-right {
    from  {
        transform: translateX(-50%);

    }

    to  {
        transform: translateX(0);

    }

}


/* =========================
   11. SERVICES SECTION
========================= */
.services-section {
    height: auto;
    min-height: calc(100vh + (6 * 250px));
    padding: 70px 0 120px;
    justify-content: flex-start;
    overflow: visible;
    background: var(--gradient-navy);
    position: relative;
    /* Isolate this section from the rest of the layout — prevents reflows
       in the sticky card animation from bubbling up to parent */
    contain: layout style;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(18, 144, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services-section .section-title {
    color: #fff;
    position: relative;
}

.services-section .section-title-line {
    position: relative;
}

.service-scroll-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 45%, rgba(13, 110, 253, 0.16) 0%, transparent 58%),
        radial-gradient(ellipse at 80% 18%, rgba(0, 200, 240, 0.11) 0%, transparent 52%);
    pointer-events: none;
}

.service-scroll-heading {
    text-align: center;
    z-index: 2;
}

.service-scroll-heading .section-title {
    margin-top: 0;
}

.service-scroll-subtitle {
    max-width: 650px;
    margin: -0.35rem auto 2.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-scroll-stack {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-scroll-card {
    position: sticky;
    top: 92px;
    width: min(82%, 1200px);
    height: 500px;
    margin: 0 auto 90px;
    border-radius: 38px;
    overflow: hidden;
    transform-origin: center top;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease;
}

.service-scroll-card:last-child {
    margin-bottom: 0;
}

.service-scroll-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #074E6D;
}

.service-scroll-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 14, 36, 0.74), rgba(4, 14, 36, 0.1) 58%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
    z-index: 1;
}

.service-scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12) translateY(30px);
    transition: transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.service-scroll-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 760px;
    margin-bottom: 35px;
    padding: 46px 50px;
    transform: translateY(34px);
    opacity: 0.78;
    transition: 0.7s cubic-bezier(.22, 1, .36, 1);
}

.service-scroll-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    background: rgba(0, 200, 240, 0.16);
    border: 1px solid rgba(0, 200, 240, 0.36);
    font-size: 1.35rem;
    box-shadow: 0 0 24px rgba(18, 144, 200, 0.2);
}

.service-scroll-content h3 {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 0.9rem;
}

.service-scroll-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}


.service-scroll-card.active img {
    transform: scale(1) translateY(0);
}

.service-scroll-card.active .service-scroll-content {
    transform: translateY(0);
    opacity: 1;
}

.service-card-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 48px;
    height: 48px;
    z-index: 999;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;
    text-decoration: none;

    color: #fff;
    font-size: 0.95rem;

    background: rgba(0, 200, 240, 0.16);
    border: 1px solid rgba(0, 200, 240, 0.36);

    box-shadow: 0 0 16px rgba(18, 144, 200, 0.15);

    transition: background .2s ease,
                box-shadow .2s ease,
                color .2s ease;
}

.service-card-btn:hover {
    color: #fff;
    background: rgba(0, 200, 240, 0.25);
    box-shadow: 0 0 20px rgba(18, 144, 200, 0.25);
}



/* =========================
   12. TESTIMONIALS SECTION
========================= */
.testimonials-section {
    padding: 50px 0;
    background: #f0f4f8;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    border: 1px solid rgba(13, 110, 253, 0.08);
    height: 100%;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #e0eaf8;
}

.t-quote {
    font-size: 1.8rem;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.2rem;
    font-family: Georgia, serif;
}

.t-text {
    font-size: 0.9rem;
    color: #3a4a5a;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.t-stars {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.t-author {
    font-weight: 700;
    font-size: 0.88rem;
    color: #031421;
}

.t-company {
    font-size: 0.78rem;
    color: #7a8a9a;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.t-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(13, 110, 253, 0.3);
    background: #fff;
    color: var(--blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    font-size: 0.85rem;
}

.t-btn:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.t-dots {
    display: flex;
    gap: 0.5rem;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c0ccd8;
    cursor: pointer;
    transition: all 0.25s;
}

.t-dot.active {
    background: var(--blue);
    width: 22px;
    border-radius: 4px;
}


/* =========================
   13. PORTFOLIO SECTION
========================= */
.portfolio-section {
    padding: 50px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(65, 182, 230, 0.14), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(230, 212, 0, 0.08), transparent 26%),
        linear-gradient(160deg, #031421 0%, #063a55 48%, #074e6d 100%);
    position: relative;
}

.portfolio-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(18, 144, 200, 0.12), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(13, 110, 253, 0.18), transparent 25%);
    opacity: 0.9;
    pointer-events: none;
}

.portfolio-section .container {
    position: relative;
    z-index: 1;
}

.portfolio-section .section-title {
    color: #fff;
    margin-top: 12px;
    margin-bottom: 0.45rem;
}

.portfolio-section .section-title-line {
    margin-bottom: 0.65rem;
}

.portfolio-shell {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}

.portfolio-header-row {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.portfolio-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 9px;
    background: rgba(9, 28, 63, 0.8);
    border: 1px solid rgba(121, 183, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.portfolio-filter-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.36rem 0.82rem;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
    background: linear-gradient(180deg, rgba(37, 110, 255, 0.42), rgba(14, 48, 110, 0.9));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(108, 179, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.24);
}

.portfolio-grid-wrap {
    align-items: stretch;
    margin-top: 1rem;
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.portfolio-case-card-wrapper {
    display: flex;
    min-width: 0;
}

.portfolio-case-card-wrapper.is-hidden {
    display: none !important;
}

.portfolio-case-card {
    width: 100%;
    height: 100%;
    min-height: clamp(260px, 22vw, 320px);
    padding: 0;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(12, 72, 105, 0.76) 0%, rgba(5, 29, 50, 0.96) 54%, rgba(3, 20, 33, 1) 100%);
    border: 1px solid rgba(65, 182, 230, 0.34);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-case-card::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -30px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(65, 182, 230, 0.62) 0%, rgba(10, 110, 154, 0.24) 44%, transparent 72%);
    filter: blur(15px);
    opacity: 0.78;
    pointer-events: none;
}

.portfolio-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 182, 230, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 26px 58px rgba(0, 0, 0, 0.48),
        0 0 28px rgba(65, 182, 230, 0.14);
}

.portfolio-case-card {
    position: relative;
}

.portfolio-case-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    margin: 0 !important;
    border-radius: 18px 18px 0 0;
}

.portfolio-case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
}


/* =========================
   17. RESPONSIVE CSS
========================= */
@media (max-width: 991px) {
.portfolio-case-card {
        min-height: 300px;
    }

.portfolio-case-title {
        font-size: 1.1rem;
    }

.portfolio-case-text {
        font-size: 0.82rem;
    }

}

@media (max-width: 767px) {
.portfolio-case-card {
        min-height: auto;
    }

.portfolio-case-visual {
        aspect-ratio: 16 / 8.5;
    }

.portfolio-case-title {
        font-size: 1.25rem;
    }

.portfolio-case-text {
        font-size: 0.86rem;
    }

}

@media (max-width: 480px) {
.portfolio-case-visual {
        aspect-ratio: 16 / 9;
    }

.portfolio-case-title,
.portfolio-case-tag,
.portfolio-case-text,
.portfolio-case-link {
        margin-left: 0.9rem;
        margin-right: 0.9rem;
    }

}

.portfolio-case-title,
.portfolio-case-tag,
.portfolio-case-text,
.portfolio-case-link {
    position: relative;
    z-index: 1;
    margin-left: 1rem;
    margin-right: 1rem;
}

.portfolio-case-title {
    margin-top: 1rem;
    max-width: 100%;
    color: #fff;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.04rem, 1.25vw, 1.38rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.portfolio-case-tag {
    align-self: flex-start;
    margin-top: 0.55rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #41B6E6;
    background: rgba(65, 182, 230, 0.15);
    border: 1px solid rgba(65, 182, 230, 0.24);
    white-space: nowrap;
}

.portfolio-case-text {
    max-width: none;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255);
    font-size: clamp(0.74rem, 0.78vw, 0.86rem);
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.portfolio-case-link {
    margin-top: auto;
    padding-top: 0.65rem;
    padding-bottom: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.78rem, 0.82vw, 0.9rem);
    font-weight: 800;
}

.portfolio-case-link:hover {
    color: #41B6E6;
}

.portfolio-case-link span {
    transition: transform 0.25s ease;
}

.portfolio-case-link:hover span {
    transform: translateX(5px);
}

.portfolio-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.35rem;
}

.portfolio-cta-btn {
    min-width: 160px;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--navy);
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
    border: 1px solid rgba(230, 212, 0, 0.4);
    box-shadow: 0 8px 26px rgba(230, 212, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.portfolio-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(230, 212, 0, 0.38);
}


/* =========================
   14. CLIENTS SECTION
========================= */
.clients-section {
    padding: 45px 0;
    background: #fff;
}

.clients-grid {
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.client-logo-card {
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 10px;
    padding: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 14px 36px rgba(5, 20, 40, 0.08);
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(18, 144, 200, 0.3);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.12);
}

.client-logo-img {
    width: 100%;
    max-width: 95px;
    max-height: 60px;
    object-fit: contain;
    display: block;
    filter: saturate(1.02) contrast(1.02);
}


/* =========================
   15. CONTACT SECTION
========================= */
.contact-section {
    padding: 50px 0;
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    height: 100%;
}

.contact-form-title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #031421;
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    border: 1.5px solid #dce6f0;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    color: #3a4a5a;
    transition: all 0.25s;
    background: #f8fafd;
    width: 100%;
}

.form-control:focus {
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18, 144, 200, 0.12);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 155px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-light));
    color: var(--navy);
    border: none;
    padding: 0.72rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 26px rgba(230, 212, 0, 0.28);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(230, 212, 0, 0.38);
}

.contact-info-title {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #031421;
    margin-bottom: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.c-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.c-text strong {
    display: block;
    font-size: 0.86rem;
    color: #031421;
    font-weight: 600;
}

.c-text span {
    font-size: 0.8rem;
    color: #7a8a9a;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #dce6f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a4a5a;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
}

.social-link:hover {
    background: var(--gradient-navy);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

footer {
    margin-top: 10px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.footer-section {
    padding: 10px 0 70px;
}

.page-footer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #031421;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 1rem;
    font-size: 0.82rem;
    border-top: 1px solid rgba(18, 144, 200, 0.1);
}

.page-footer-bar span {
    color: var(--brand-yellow);
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
.navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

.navbar-toggler {
        display: none;
    }

.navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
        margin-left: auto !important;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
.navbar {
        padding: 0.8rem 1rem;
    }

.nav-logo {
        width: 132px;
    }

.nav-link {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem !important;
    }

.nav-link::after {
        left: 0.75rem;
        right: 0.75rem;
    }

.dots-nav {
        right: 10px;
        gap: 8px;
        padding: 10px 7px;
    }

.snap-section {
        padding-top: 12px;
        padding-bottom: 12px;
    }

.section-title {
        margin-top: 20px;
        margin-bottom: 0.7rem;
        font-size: clamp(1.45rem, 3vw, 1.9rem);
    }

.section-title-line {
        margin-bottom: 1rem;
    }

.hero-content {
        max-width: 860px;
        padding: 0 32px;
    }

.hero-logo {
        max-width: 420px;
        margin-bottom: 10px;
    }

.hero-content h1 {
        font-size: clamp(2.1rem, 4.3vw, 3rem);
        margin-bottom: 0.8rem;
    }

.hero-content p {
        max-width: 540px;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

.hero-btn {
        padding: 0.72rem 1.8rem;
        font-size: 0.9rem;
    }

.about-section,
.domain-section,
.technologies-section,
.testimonials-section,
.clients-section {
        padding-top: 26px;
        padding-bottom: 26px;
    }

.contact-section {
        padding-top: 26px;
        padding-bottom: 26px;
    }

.about-text {
        max-width: 680px;
        margin-bottom: 1.5rem;
        line-height: 1.7;
        font-size: 0.92rem;
    }

.stats-container {
        max-width: 760px;
        padding: 1.15rem 0.8rem;
    }

.stat-box {
        min-width: 135px;
        padding: 0.65rem 0.9rem;
    }

.stat-number {
        font-size: 2.1rem;
    }

.stat-label {
        font-size: 0.8rem;
    }

.global-clients-title {
        font-size: 1.1rem;
    }

.domain-cards-wrap {
        gap: 0.85rem;
        max-width: 700px;
        margin: 1rem auto 0;
    }

.domain-card {
        width: 122px;
        height: 122px;
        border-radius: 14px;
        gap: 0.55rem;
        padding: 0.85rem 0.6rem;
    }

.domain-card i {
        font-size: 1.65rem;
    }

.domain-card span {
        font-size: 0.75rem;
    }

.tech-marquee {
        gap: 0.85rem;
        margin-top: 1rem;
    }

.tech-marquee-row::before,
.tech-marquee-row::after {
        width: 54px;
    }

.tech-marquee-row-forward .tech-marquee-track,
.tech-marquee-row-reverse .tech-marquee-track {
        animation-duration: 28s;
    }

.tech-marquee-group {
        gap: 0.85rem;
        padding-right: 0.85rem;
    }

.tech-chip {
        width: 96px;
        height: 96px;
        padding: 0.9rem;
        border-radius: 20px;
    }

.tech-logo {
        width: 48px;
        height: 48px;
    }

.services-section {
        min-height: calc(100vh + (6 * 220px));
        padding: 48px 0 100px;
    }

.service-scroll-card {
        top: 82px;
        width: 86%;
        height: 460px;
        border-radius: 32px;
        margin-bottom: 76px;
    }

.service-scroll-content {
        padding: 36px 40px;
    }



.testimonial-slide {
        padding: 0 8px;
    }

.testimonial-card {
        padding: 1.1rem;
        gap: 0.9rem;
    }

.testimonial-avatar {
        width: 60px;
        height: 60px;
    }

.t-text {
        font-size: 0.82rem;
        line-height: 1.55;
        margin-bottom: 0.45rem;
    }

.t-author {
        font-size: 0.82rem;
    }

.t-company {
        font-size: 0.72rem;
    }

.testimonial-nav {
        margin-top: 1rem;
    }

.portfolio-grid-wrap {
        --bs-gutter-x: 0.72rem;
        --bs-gutter-y: 0.72rem;
    }

.portfolio-case-card {
        min-height: 235px;
        border-radius: 14px;
    }

.portfolio-case-visual {
        height: 82px;
        margin: 0.6rem 0.6rem 0;
        border-radius: 10px;
    }

.portfolio-case-title,
.portfolio-case-tag,
.portfolio-case-text,
.portfolio-case-link {
        margin-left: 0.72rem;
        margin-right: 0.72rem;
    }

.portfolio-case-title {
        margin-top: 0.68rem;
        font-size: 0.92rem;
    }

.portfolio-case-tag {
        margin-top: 0.42rem;
        font-size: 0.56rem;
        padding: 0.18rem 0.42rem;
    }

.portfolio-case-text {
        margin-top: 0.42rem;
        font-size: 0.64rem;
        line-height: 1.32;
    }

.portfolio-case-link {
        padding-top: 0.45rem;
        padding-bottom: 0.65rem;
        font-size: 0.66rem;
    }

.portfolio-filter-btn {
        padding: 0.38rem 0.85rem;
        font-size: 0.72rem;
    }

.portfolio-cta-btn {
        min-width: 150px;
        padding: 0.6rem 1.2rem;
        font-size: 0.88rem;
    }

.clients-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

.clients-section .section-title {
        margin-top: 8px;
        margin-bottom: 0.45rem;
    }

.clients-section .section-title-line {
        margin-bottom: 0.75rem;
    }

.clients-grid {
        margin-top: 0.85rem;
        max-width: 720px;
    }

.client-logo-card {
        padding: 0.65rem;
        border-radius: 9px;
    }

.client-logo-img {
        max-width: 105px;
        max-height: 68px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
.container {
        max-width: 100%;
    }

.stats-container {
        max-width: 720px;
    }

.stat-box {
        min-width: 120px;
        padding: 0.55rem 0.7rem;
    }

.stat-divider {
        height: 48px;
    }

.domain-cards-wrap {
        max-width: 640px;
    }

.technologies-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

.technologies-section .section-title {
        margin-top: 12px;
        margin-bottom: 0.55rem;
    }

.technologies-section .section-title-line {
        margin-bottom: 0.8rem;
    }

.tech-marquee {
        gap: 0.7rem;
        margin-top: 0.8rem;
    }

.tech-marquee-row {
        border-radius: 16px;
    }

.tech-marquee-row::before,
.tech-marquee-row::after {
        width: 38px;
    }

.tech-marquee-row-forward .tech-marquee-track,
.tech-marquee-row-reverse .tech-marquee-track {
        animation-duration: 24s;
    }

.tech-marquee-group {
        gap: 0.7rem;
        padding-right: 0.7rem;
    }

.tech-chip {
        width: 82px;
        height: 82px;
        padding: 0.75rem;
        border-radius: 18px;
    }

.tech-logo {
        width: 40px;
        height: 40px;
    }

.services-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

.services-section .section-title {
        margin-top: 10px;
        margin-bottom: 0.5rem;
    }

.services-section .section-title-line {
        margin-bottom: 0.75rem;
    }

.portfolio-section {
        overflow: visible !important;
    padding-top: 20px;
    padding-bottom: 40px;
    }

#portfolio.snap-section {
        height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    }

.portfolio-grid-wrap {
        --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
    margin-bottom: 20px;
    }

.portfolio-case-card {
        min-height: 220px;
    }

.portfolio-section .section-title {
        margin-top: 10px;
    }

.portfolio-filter-btn {
        padding: 0.37rem 0.8rem;
        font-size: 0.7rem;
    }

.portfolio-cta-btn {
        min-width: 145px;
        padding: 0.58rem 1.1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

.testimonials-section .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

.testimonial-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

.clients-section {
        padding-top: 16px;
        padding-bottom: 16px;
    }

.clients-grid {
        --bs-gutter-x: 0.6rem;
        --bs-gutter-y: 0.6rem;
        max-width: 500px;
        margin-top: 0.75rem;
    }

.client-logo-card {
        padding: 0.55rem;
        border-radius: 9px;
    }

.client-logo-img {
        max-width: 85px;
        max-height: 55px;
    }

.contact-section .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

.contact-card {
        padding: 1.2rem 1rem;
    }

.contact-form-title,
.contact-info-title {
        font-size: 1.05rem;
        margin-bottom: 0.95rem;
    }

.form-group {
        margin-bottom: 0.8rem;
    }

.form-control {
        padding: 0.58rem 0.85rem;
        font-size: 0.84rem;
    }

textarea.form-control {
        min-height: 100px;
    }

.submit-btn {
        padding: 0.68rem 1.6rem;
        font-size: 0.88rem;
    }

.contact-item {
        gap: 0.7rem;
        margin-bottom: 0.85rem;
    }

.c-icon,
.social-link {
        width: 34px;
        height: 34px;
    }

.c-text strong {
        font-size: 0.8rem;
    }

.c-text span {
        font-size: 0.75rem;
    }

.social-links {
        gap: 0.6rem;
        margin-top: 0.9rem;
    }

.footer-section {
        padding: 18px 0 54px;
    }

.page-footer-bar {
        padding: 0.8rem;
        font-size: 0.76rem;
    }

}

@media (min-width: 992px) {
.clients-grid {
        max-width: 950px;
    }

.client-logo-card {
        padding: 0.55rem;
    }

.client-logo-img {
        max-width: 100px;
        max-height: 65px;
    }

}

@media (min-width: 1200px) {
.contact-section {
        padding-bottom: 60px;
    }

.container {
        max-width: 95%;
    }

}

@media (max-width: 767px) {
body {
        display: block;
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

#page-wrapper {
        scroll-snap-type: none;
        overflow: visible;
        height: auto;
    }

.snap-section {
        height: auto;
        min-height: 100svh;
        overflow: visible;
        justify-content: center;
    }

.navbar {
        position: sticky;
        top: 0;
    }

.dots-nav {
        display: none;
    }

.about-section {
        padding: 70px 0;
    }

.domain-section {
        padding: 70px 0;
    }

.technologies-section {
        padding: 70px 0;
    }

.testimonials-section {
        padding: 70px 0;
    }

.portfolio-section {
        padding: 70px 0;
        overflow: visible;
    }

.clients-section {
        padding: 55px 0;
    }

.contact-section {
        padding: 70px 0 24px;
        min-height: auto;
    }

.services-section {
        min-height: calc(100vh + (6 * 220px));
        padding: 70px 0 100px;
        overflow: visible;
        justify-content: flex-start;
    }

.service-scroll-subtitle {
        margin-bottom: 1.5rem;
        padding: 0 12px;
    }

.service-scroll-card {
        position: sticky;
        top: 72px;
        width: 92%;
        height: 430px;
        border-radius: 28px;
        margin: 0 auto 70px;
        transform-origin: center top;
    }

.service-scroll-content {
        padding: 28px;
        transform: translateY(34px);
        opacity: 0.78;
    }

.service-scroll-icon {
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }

.service-scroll-content h3 {
        font-size: 1.75rem;
    }

.service-scroll-content p {
        font-size: 0.9rem;
        line-height: 1.62;
    }


.hero-content {
        padding: 60px 15px;
    }

.testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

.testimonial-avatar {
        margin: 0 auto;
    }

.stats-container {
        padding: 1.5rem 0.5rem;
    }

.stat-divider {
        display: none;
    }

.stat-box {
        min-width: 120px;
    }

.contact-card {
        margin-bottom: 0;
    }

textarea.form-control {
        min-height: 160px;
    }

.domain-card {
        width: 120px;
        height: 120px;
    }

.domain-card i {
        font-size: 1.6rem;
    }

.portfolio-section .section-title {
        margin-top: 50px;
    }

.portfolio-filter {
        width: auto;
        max-width: 100%;
        border-radius: 16px;
        padding: 0.3rem;
        gap: 0.22rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

.portfolio-filter-btn {
        flex: 0 0 auto;
        padding: 0.4rem 0.75rem;
        font-size: 0.72rem;
    }

.portfolio-grid-wrap {
        margin-top: 0.9rem;
        --bs-gutter-x: 0.8rem;
        --bs-gutter-y: 0.8rem;
    }

.portfolio-case-card {
        min-height: 315px;
    }

.portfolio-case-visual {
        height: 138px;
    }

.portfolio-case-title {
        font-size: 1.25rem;
    }

.portfolio-case-text {
        font-size: 0.86rem;
    }

.portfolio-cta-wrap {
        margin-top: 0.95rem;
    }

.portfolio-cta-btn {
        min-width: 140px;
        padding: 0.6rem 1.1rem;
        font-size: 0.84rem;
        border-radius: 6px;
    }

}

@media (max-width: 480px) {
.hero-logo {
        max-width: 260px;
    }

.tech-chip {
        width: 68px;
        height: 68px;
        padding: 0.58rem;
        border-radius: 14px;
    }

.tech-logo {
        width: 30px;
        height: 30px;
    }

.services-section {
        min-height: calc(100vh + (6 * 200px));
    }

.service-scroll-card {
        position: sticky;
        top: 68px;
        width: 94%;
        height: 390px;
        border-radius: 24px;
        margin-bottom: 62px;
    }

.service-scroll-content {
        padding: 22px;
    }

.service-scroll-content h3 {
        font-size: 1.5rem;
    }

.service-scroll-content p {
        font-size: 0.82rem;
    }

.portfolio-grid-wrap {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

.portfolio-case-card {
        min-height: 300px;
        border-radius: 16px;
    }

.portfolio-case-visual {
        height: 128px;
        margin: 0.75rem 0.75rem 0;
    }

.portfolio-case-title {
        font-size: 1.25rem;
    }

.portfolio-case-text {
        font-size: 0.78rem;
    }

}

@media (max-width: 399px) {
html,
body,
#page-wrapper {
        max-width: 100%;
        overflow-x: clip;
        overflow-y: visible;
    }

.navbar {
        position: sticky;
        top: 0;
    }

.container {
        padding-left: 12px;
        padding-right: 12px;
    }

.services-section .row,
.testimonials-section .row,
.technologies-section .row,
.portfolio-section .row,
.contact-section .row {
        --bs-gutter-x: 0.75rem;
        margin-left: 0;
        margin-right: 0;
    }

.portfolio-case-card {
        min-height: 300px;
        border-radius: 15px;
    }

.portfolio-case-visual {
        height: 122px;
        margin: 0.7rem 0.7rem 0;
    }

.portfolio-case-title {
        font-size: 1.08rem;
    }

.portfolio-case-text {
        font-size: 0.78rem;
    }

}

@media (min-width: 2560px) {
.container {
        max-width: 2200px;
    }

.snap-section {
        justify-content: center;
    }

.navbar {
        padding: 1.4rem 3rem;
    }

.nav-logo {
        width: 220px;
    }

.nav-link {
        font-size: 1.15rem;
        padding: 0.55rem 1.6rem !important;
    }

.nav-link::after {
        left: 1.6rem;
        right: 1.6rem;
    }

.dots-nav {
        right: 32px;
        gap: 14px;
        padding: 18px 12px;
        border-radius: 30px;
    }

.dot {
        width: 13px;
        height: 13px;
    }

.dot-item.active .dot {
        width: 16px;
        height: 16px;
    }

.dot-tooltip {
        font-size: 0.95rem;
        padding: 6px 14px;
    }

.section-title {
        font-size: 3rem;
        margin-bottom: 1.2rem;
        margin-top: 60px;
    }

.section-title-line {
        width: 90px;
        height: 4px;
        margin-bottom: 2rem;
    }

.hero-logo {
        max-width: 820px;
        margin-bottom: 22px;
    }

.hero-content h1 {
        font-size: 5rem;
        margin-bottom: 1.4rem;
    }

.hero-content p {
        font-size: 1.55rem;
        margin-bottom: 3rem;
        max-width: 860px;
    }

.hero-btn {
        font-size: 1.25rem;
        padding: 1.1rem 3.2rem;
        border-radius: 10px;
    }

.about-section {
        padding: 80px 0;
    }

.about-text {
        font-size: 1.3rem;
        max-width: 1100px;
        margin-bottom: 3rem;
        line-height: 2;
    }

.stats-container {
        max-width: 1400px;
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }

.stat-box {
        min-width: 260px;
        padding: 1.2rem 2.5rem;
    }

.stat-number {
        font-size: 4rem;
    }

.stat-label {
        font-size: 1.1rem;
        margin-top: 0.6rem;
    }

.stat-divider {
        height: 90px;
    }

.global-clients-title {
        font-size: 1.9rem;
    }

.stat-sublabel {
        font-size: 1rem;
    }

.domain-section {
        padding: 80px 0;
    }

.domain-cards-wrap {
        gap: 2rem;
        margin-top: 2.5rem;
    }

.domain-card {
        width: 220px;
        height: 220px;
        border-radius: 24px;
        gap: 1.1rem;
        padding: 1.5rem;
    }

.domain-card i {
        font-size: 3.2rem;
    }

.domain-card span {
        font-size: 1.1rem;
    }

.technologies-section {
        padding: 80px 0;
    }

.tech-marquee {
        gap: 1.6rem;
        margin-top: 2rem;
    }

.tech-marquee-row::before,
.tech-marquee-row::after {
        width: 120px;
    }

.tech-marquee-group {
        gap: 1.6rem;
        padding-right: 1.6rem;
    }

.tech-chip {
        width: 160px;
        height: 160px;
        padding: 1.6rem;
        border-radius: 32px;
    }

.tech-logo {
        width: 84px;
        height: 84px;
    }

.services-section {
        min-height: calc(100vh + (6 * 330px));
        padding: 110px 0 170px;
    }

.service-scroll-card {
        width: min(78%, 1900px);
        height: 760px;
        top: 130px;
        border-radius: 56px;
        margin-bottom: 125px;
    }

.service-scroll-content {
        padding: 78px 86px;
        max-width: 1100px;
    }

.service-scroll-icon {
        width: 92px;
        height: 92px;
        font-size: 2.1rem;
    }

.service-scroll-content h3 {
        font-size: 5rem;
    }

.service-scroll-content p {
        font-size: 1.35rem;
        max-width: 900px;
    }


.testimonials-section {
        padding: 80px 0;
    }

.testimonial-card {
        padding: 2.5rem;
        gap: 2rem;
        border-radius: 20px;
    }

.testimonial-avatar {
        width: 110px;
        height: 110px;
        border-width: 4px;
    }

.t-quote {
        font-size: 3rem;
    }

.t-stars {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

.t-text {
        font-size: 1.15rem;
        line-height: 1.85;
        margin-bottom: 1rem;
    }

.t-author {
        font-size: 1.15rem;
    }

.t-company {
        font-size: 1rem;
    }

.testimonial-nav {
        margin-top: 2.5rem;
        gap: 1.5rem;
    }

.t-btn {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        border-width: 2.5px;
    }

.t-dot {
        width: 12px;
        height: 12px;
    }

.t-dot.active {
        width: 32px;
        height: 12px;
    }

.portfolio-section {
        padding: 80px 0;
    }

.portfolio-shell {
        max-width: 1850px;
    }

.portfolio-grid-wrap {
        --bs-gutter-x: 1.4rem;
        --bs-gutter-y: 1.4rem;
    }

.portfolio-filter {
        gap: 0.4rem;
        padding: 0.4rem;
    }

.portfolio-filter-btn {
        padding: 0.7rem 1.6rem;
        font-size: 1rem;
    }

.portfolio-case-card {
        min-height: 430px;
        border-radius: 24px;
    }

.portfolio-case-visual {
        height: 185px;
        margin: 1.25rem 1.25rem 0;
        border-radius: 18px;
    }

.portfolio-case-title,
.portfolio-case-tag,
.portfolio-case-text,
.portfolio-case-link {
        margin-left: 1.35rem;
        margin-right: 1.35rem;
    }

.portfolio-case-title {
        font-size: 2.05rem;
        margin-top: 1.55rem;
    }

.portfolio-case-tag {
        font-size: 1rem;
        padding: 0.35rem 0.85rem;
    }

.portfolio-case-text {
        font-size: 1.16rem;
    }

.portfolio-case-link {
        font-size: 1.1rem;
        padding-bottom: 1.35rem;
    }

.portfolio-cta-btn {
        min-width: 240px;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border-radius: 12px;
    }

.portfolio-cta-wrap {
        margin-top: 2rem;
    }

.clients-section {
        padding: 80px 0;
    }

.clients-grid {
        max-width: 1600px;
        --bs-gutter-x: 1.2rem;
        --bs-gutter-y: 1.2rem;
        margin-top: 2.5rem;
    }

.client-logo-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

.client-logo-img {
        max-width: 180px;
        max-height: 110px;
    }

.contact-section {
        padding: 80px 0 30px;
    }

.contact-card {
        padding: 3rem 2.8rem;
        border-radius: 20px;
    }

.contact-form-title,
.contact-info-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }

.form-group {
        margin-bottom: 1.4rem;
    }

.form-control {
        padding: 1rem 1.4rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }

textarea.form-control {
        min-height: 220px;
    }

.submit-btn {
        padding: 1.05rem 3rem;
        font-size: 1.2rem;
        border-radius: 10px;
    }

.contact-item {
        gap: 1.3rem;
        margin-bottom: 1.6rem;
    }

.c-icon {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }

.c-text strong {
        font-size: 1.15rem;
    }

.c-text span {
        font-size: 1rem;
    }

.social-links {
        gap: 1.1rem;
        margin-top: 1.8rem;
    }

.social-link {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

.footer-section {
        padding: 20px 0 100px;
    }

.page-footer-bar {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

}

/* ================================
   PERFORMANCE FIX: Services + Portfolio
================================ */

/* Only service cards get will-change — they're the ones animating on scroll.
   Applying will-change to too many elements wastes GPU memory and can cause
   the exact jitter/freeze the user reported. */
.service-scroll-card {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
    /* Use linear for JS-driven animation — easing curves fight rAF updates */
    transition: transform 0.12s linear;
    contain: layout paint;
}

.service-scroll-card img {
    backface-visibility: hidden;
    transition: transform 0.45s cubic-bezier(.22, 1, .36, 1);
}

.service-scroll-content {
    transition: transform 0.45s cubic-bezier(.22, 1, .36, 1), opacity 0.35s ease;
}


/* Portfolio — no will-change needed; hover is infrequent */
.portfolio-case-card {
    contain: layout paint;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

/* blur filter is costly, reduce it */
.portfolio-case-card::after {
    filter: blur(8px);
    opacity: 0.45;
}

.portfolio-case-card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 18px 38px rgba(0, 0, 0, 0.38);
}

/* smooth portfolio filtering */
.portfolio-case-card-wrapper {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-case-card-wrapper.is-hiding {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

/* mobile: disable sticky animation entirely — not needed on small screens */
@media (max-width: 767px) {
    .service-scroll-card {
        will-change: auto;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
        transition: none;
    }

    .portfolio-case-card:hover {
        transform: none;
    }
}

/* accessibility + performance */
@media (prefers-reduced-motion: reduce) {
    .service-scroll-card,
    .service-scroll-card img,
    .service-scroll-content,
    .portfolio-case-card,
    .portfolio-case-card-wrapper {
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
    }
}

/* Home section premium fade animation */
.hero-logo,
.hero-content h1,
.hero-content p,
.hero-buttons,
.hero-city {
    opacity: 0;
    animation: heroFadeUp 0.9s ease forwards;
}

.hero-logo {
    animation-delay: 0.15s;
}

.hero-content h1 {
    animation-delay: 0.35s;
}

.hero-content p {
    animation-delay: 0.55s;
}

.hero-buttons {
    animation-delay: 0.75s;
}

.hero-city {
    animation-name: heroCityFade;
    animation-delay: 0.95s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroCityFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 0.25;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════════════
   PORTFOLIO SLIDER - 4 CARDS PER SLIDE
   Works like Testimonials section, keeps existing card UI
══════════════════════════════════════════════════ */
.portfolio-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.portfolio-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s ease;
    will-change: transform;
}

.portfolio-slide {
    min-width: 100%;
    flex: 0 0 100%;
}

.portfolio-slide .portfolio-grid-wrap {
    margin-top: 0.8rem;
}

.portfolio-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.9rem;
}

.portfolio-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.portfolio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: all 0.25s ease;
}

.portfolio-dot.active {
    width: 22px;
    border-radius: 999px;
    background: var(--brand-yellow);
}

.portfolio-nav.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .portfolio-nav {
        margin-top: 0.95rem;
    }
}


/* =========================================================
   18. FINAL SERVICES SAME-BEHAVIOR OVERRIDE
   ---------------------------------------------------------
   IMPORTANT:
   - This block intentionally stays at the END of the CSS.
   - It keeps Services cards sticky on desktop, tablet, mobile.
   - Do NOT change position: sticky, top, or transform-origin
     if you want the same behavior on every screen.
   - Only change width, height, padding, font size if needed.
   ========================================================= */

.services-section {
    height: auto !important;
    min-height: calc(100vh + (6 * 250px)) !important;
    padding: 70px 0 120px !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    background: var(--gradient-navy) !important;
    position: relative !important;
    contain: layout style !important;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(18, 144, 200, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services-section .section-title {
    color: #fff;
    position: relative;
}

.services-section .section-title-line {
    position: relative;
}

.service-scroll-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 45%, rgba(13, 110, 253, 0.16) 0%, transparent 58%),
        radial-gradient(ellipse at 80% 18%, rgba(0, 200, 240, 0.11) 0%, transparent 52%);
    pointer-events: none;
}

.service-scroll-heading {
    text-align: center;
    z-index: 2;
}

.service-scroll-heading .section-title {
    margin-top: 0;
}

.service-scroll-subtitle {
    max-width: 650px;
    margin: -0.35rem auto 2.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 14px;
}

.service-scroll-stack {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Services card main behavior - same on all screens */
.service-scroll-card {
    position: sticky !important;
    top: 92px !important;
    width: min(90%, 1200px) !important;
    height: clamp(390px, 62vh, 500px) !important;
    margin: 0 auto 90px !important;
    border-radius: 38px !important;
    overflow: hidden !important;
    transform-origin: center top !important;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
    will-change: transform;
}

.service-scroll-card:last-child {
    margin-bottom: 0 !important;
}

.service-scroll-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #074E6D;
}

.service-scroll-card-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 14, 36, 0.82), rgba(4, 14, 36, 0.14) 60%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 58%);
    z-index: 1;
}

.service-scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.service-scroll-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 760px;
    padding: clamp(22px, 4vw, 50px) !important;
    transform: translateY(34px);
    opacity: 0.78;
    transition: 0.7s cubic-bezier(.22, 1, .36, 1);
}

.service-scroll-icon {
    width: clamp(46px, 5vw, 58px);
    height: clamp(46px, 5vw, 58px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    background: rgba(0, 200, 240, 0.16);
    border: 1px solid rgba(0, 200, 240, 0.36);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    box-shadow: 0 0 24px rgba(18, 144, 200, 0.2);
}

.service-scroll-content h3 {
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.55rem, 4vw, 3.2rem) !important;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 0.9rem;
}

.service-scroll-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.84rem, 1.5vw, 1rem) !important;
    line-height: 1.68;
    margin: 0;
}


.service-scroll-card.active img {
    transform: scale(1);
}

.service-scroll-card.active .service-scroll-content {
    transform: translateY(0);
    opacity: 1;
}


/* Services responsive: same behavior, only size changes */
@media (max-width: 1199px) {
    .service-scroll-card {
        width: 92% !important;
    }
}

@media (max-width: 991px) {
    .services-section {
        min-height: calc(100vh + (6 * 230px)) !important;
    }

    .service-scroll-card {
        width: 93% !important;
        height: clamp(390px, 60vh, 480px) !important;
        border-radius: 32px !important;
        margin-bottom: 80px !important;
    }
}

@media (max-width: 767px) {
    .services-section {
        min-height: calc(100vh + (6 * 220px)) !important;
        padding: 70px 0 100px !important;
    }

    .service-scroll-card {
        position: sticky !important;
        top: 72px !important;
        width: 94% !important;
        height: 430px !important;
        border-radius: 28px !important;
        margin: 0 auto 70px !important;
        transform-origin: center top !important;
    }

    .service-scroll-content {
        padding: 28px !important;
        transform: translateY(34px);
        opacity: 0.78;
    }
}

@media (max-width: 480px) {
    .service-scroll-card {
        position: sticky !important;
        top: 72px !important;
        width: 95% !important;
        height: 390px !important;
        border-radius: 24px !important;
        margin-bottom: 64px !important;
    }

    .service-scroll-content {
        padding: 22px !important;
    }

    .service-scroll-content h3 {
        font-size: 1.55rem !important;
    }

    .service-scroll-content p {
        font-size: 0.84rem !important;
        line-height: 1.58;
    }
}
