/* style.css */
:root {
    --bg-light: #F4F5F7;
    --text-dark: #202124;
    --text-muted: #5F6368;
    --logo-color: #159cc4;
    --logo-color-bg: #e1f4fa;
    --blue-dark: #001f3f;
    --blue-navy: #083c52;
    --blue-cyan: #159cc4;
    --blue-light: #66d4f4;
    --blue-pale: #E8F0FE;
    --white: #FFFFFF;
    --black: #000000;
    --transition: cubic-bezier(0.76, 0, 0.24, 1);
    --font-main: 'Open Sans Condensed', sans-serif;
}

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

html {
    scroll-padding-top: 15vh;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--logo-color);
    color: var(--white);
}

/* ADVANCED DUAL CURSOR Engine */
.cursor-dot,
.cursor-outline {
    visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none !important;
    }

    .cursor-dot,
    .cursor-outline {
        visibility: visible;
    }
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--logo-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.2s var(--transition);
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--logo-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s var(--transition), height 0.3s var(--transition), background 0.3s var(--transition), border-color 0.3s var(--transition);
}

body.cursor-active .cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

body.cursor-active .cursor-outline {
    width: 70px;
    height: 70px;
    background: rgba(21, 156, 196, 0.1);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

.text-gradient {
    background: linear-gradient(90deg, var(--blue-cyan), var(--blue-navy), var(--blue-cyan), var(--blue-light), var(--blue-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    animation: gradientShift 6s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

h1,
h2,
h3,
h4,
.slim-title {
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
    padding-top: 0.1em;
}

p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-muted);
}

.mt-2 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 5rem;
}

.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Capsule Header */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.site-logo-img {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--logo-color);
}

.menu-toggle {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 30px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: transform 0.3s;
    transform-origin: right;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--blue-navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    clip-path: circle(0% at 90% 10%);
}

.menu-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.menu-text {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.5s;
}

.menu-link {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 300;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    display: inline-block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-blue {
    width: 40vw;
    height: 40vw;
    background: var(--blue-cyan);
    filter: blur(100px);
    opacity: 0.15;
    top: -10%;
    right: -10%;
}

.shape-teal {
    width: 30vw;
    height: 30vw;
    background: var(--blue-light);
    filter: blur(80px);
    opacity: 0.15;
    bottom: 10%;
    left: -5%;
}

.shape-navy {
    width: 25vw;
    height: 25vw;
    background: var(--blue-navy);
    filter: blur(70px);
    opacity: 0.2;
    top: 30%;
    right: 40%;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(4.5rem, 12vw, 11rem);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.line {
    overflow: hidden;
}

.word {
    display: inline-block;
    padding-bottom: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    margin: 0 auto;
    line-height: 1.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.btn-primary {
    background: var(--logo-color);
    color: var(--white);
    border: 1px solid var(--logo-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s var(--transition), border-color 0.4s;
    box-shadow: 0 10px 30px rgba(21, 156, 196, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-dark);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--transition);
}

.btn-primary:hover {
    color: var(--white);
    border-color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-primary:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn-card {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s var(--transition);
    text-transform: uppercase;
    text-decoration: none;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-dark);
    z-index: -1;
    transition: transform 0.5s var(--transition);
}

.btn-card:hover {
    color: var(--white);
    border-color: transparent;
}

.btn-card:hover::before {
    transform: translateX(100%);
}

.btn-card-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-card-light::before {
    background: var(--white);
}

.btn-card-light:hover {
    color: var(--text-dark);
}

.btn-card .icon-arrow {
    font-weight: bold;
    transition: transform 0.4s var(--transition);
}

.btn-card:hover .icon-arrow {
    transform: translateX(5px) translateY(-5px);
}

/* ADVANCED BUTTON DESIGN: Portfolio Fluid Interaction Pill */
.btn-case-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--logo-color);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.4s var(--transition), border-color 0.4s var(--transition);
    z-index: 1;
}

.btn-case-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--logo-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--transition);
}

.btn-case-v2:hover {
    color: var(--white);
    border-color: transparent;
}

.btn-case-v2:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-case-v2 .icon {
    margin-left: 8px;
    transition: transform 0.5s var(--transition);
    display: inline-block;
    font-weight: 900;
    font-family: sans-serif;
}

.btn-case-v2:hover .icon {
    transform: translateX(5px) translateY(-5px);
}

.services {
    padding: 5rem 0 0 0;
    background: var(--bg-light);
    overflow: visible;
}

.section-title {
    font-size: clamp(4rem, 8vw, 8rem);
    letter-spacing: -2px;
    padding-bottom: 0.1em;
}

.section-subtitle {
    font-size: 2rem;
    margin-top: 1rem;
}

.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* SERVICES STACK ALIGNMENT & SPACING */
.stacked-cards-container {
    position: relative;
    padding-bottom: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stack-card {
    width: 100%;
    max-width: 1400px;
    height: 60vh;
    border-radius: 40px;
    padding: 5rem 6rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8rem;
    position: sticky;
    top: 15vh;
    transform-origin: top center;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 80vh;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1500px;
    background-clip: padding-box;
    will-change: transform, opacity;
}

.stack-card:last-child {
    margin-bottom: 5rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
}

.bg-light-blue {
    background: var(--blue-pale);
    color: var(--text-dark);
}

.bg-mid-blue {
    background: var(--logo-color);
    color: var(--white);
}

.bg-navy {
    background: var(--blue-navy);
    color: var(--white);
}

.card-num,
.card-content {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.card-num {
    font-size: clamp(8rem, 15vw, 15rem);
    font-weight: 700;
    opacity: 0.2;
    line-height: 0.8;
}

.card-content {
    max-width: 800px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.card-content h3 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    padding-top: 0.1em;
    line-height: 1.1;
    font-weight: 300;
}

.card-content p {
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    color: inherit;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.4;
    font-weight: 300;
}

.card-content .btn-card.mt-5 {
    margin-top: 0 !important;
}

/* Enhanced Portfolio */
.portfolio {
    padding: 10rem 0;
}

.port-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.alternate-row {
    flex-direction: row-reverse;
}

.port-text {
    width: 35%;
}

.port-text h3 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark), var(--logo-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -1px;
}

.port-text p {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    border-left: 3px solid var(--logo-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.port-tag {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: sans-serif;
    text-transform: uppercase;
    background: rgba(21, 156, 196, 0.08);
    color: var(--logo-color);
    border: 1px solid rgba(21, 156, 196, 0.2);
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.port-tag:hover {
    background: var(--logo-color);
    color: var(--white);
    transform: translateY(-2px);
}

.port-img-container {
    width: 60%;
    height: 75vh;
    overflow: hidden;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.port-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Initial clipped state for scroll-to-expand animation */
.clip-expand {
    clip-path: inset(0% 20% 0% 20% round 40px);
    transform: scale(1.1);
}

.port-trigger:hover .port-img {
    transform: scale(1.05);
}

.text-center {
    text-align: center;
}

/* NEW PHILOSOPHY LAYOUT */
.approach-gradient {
    padding: 10rem 0;
    margin: 4rem 0;
    background: radial-gradient(circle at top right, #001f3f 0%, #000000 70%);
    color: var(--white);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    /* color: transparent; */
    font-size: clamp(6rem, 10vw, 12rem);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-info {
    display: flex;
    flex-direction: column;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 4rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.floating-orb {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: var(--logo-color);
    filter: blur(50px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
    animation: floatOrb 8s ease-in-out infinite alternate;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0.5;
    }
}

.huge-prose {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.huge-prose span {
    transition: color 0.4s var(--transition), text-shadow 0.4s var(--transition);
}

.huge-prose span.lit {
    color: var(--white);
    text-shadow: 0 0 20px rgba(21, 156, 196, 0.8);
}

.stats-col-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-box {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    transition: transform 0.4s var(--transition), filter 0.4s var(--transition);
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(78, 205, 196, 0.2));
}

.stat-title {
    font-size: clamp(4rem, 6vw, 6rem);
    color: var(--logo-color);
    font-weight: 700;
    line-height: 0.8;
}

.stat-box p {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin: 0;
}

/* BRAND LOGO MARQUEE */
.client-logos-section {
    padding: 8rem 0;
    overflow: hidden;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-marquee-container {
    width: 100%;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee-inner {
    display: flex;
    animation: slide-brand-marquee 30s linear infinite;
    align-items: center;
}

.client-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-right: 8rem;
    filter: grayscale(100%) opacity(40%);
    transition: filter 0.4s var(--transition), transform 0.4s var(--transition);
}

.client-logo-img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

@keyframes slide-brand-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Section */
.testimonials {
    padding: 10rem 0;
}

.testimo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimo-card {
    background: var(--white);
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-mark {
    font-size: 8rem;
    line-height: 0;
    color: var(--logo-color);
    font-family: sans-serif;
    opacity: 0.2;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.testimo-card .quote {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 300;
}

.testimo-card .author {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */
.footer {
    padding-top: 8rem;
    padding-bottom: 3rem;
    border-radius: 40px 40px 0 0;
    background: var(--text-dark);
    color: var(--white);
    margin-top: 5rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-huge-text h2 {
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.9;
    margin: 0;
    padding-top: 0.1em;
}

.footer-links {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-mail {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    text-decoration: none;
    border-bottom: 2px solid var(--logo-color);
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-phone {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    font-weight: 300;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    transition: color 0.3s;
    margin-bottom: 3rem;
}

.footer-phone:hover {
    color: var(--logo-color);
}

.social-list a {
    display: block;
    font-size: 2rem;
    color: var(--white);
    font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.social-list a:hover {
    color: var(--logo-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-weight: 300;
}

/* Advanced Animated Progress Tracker Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--transition), background 0.4s;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.scroll-top:hover {
    transform: scale(1.1);
    background: var(--text-dark);
    color: var(--white);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-track {
    fill: transparent;
    stroke: rgba(0, 0, 0, 0.05);
    stroke-width: 3px;
}

.progress-ring-circle {
    fill: transparent;
    stroke: var(--logo-color);
    stroke-width: 3px;
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
}

.scroll-top:hover .progress-ring-circle {
    stroke: transparent;
}

.scroll-arrow-box {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-arrow,
.scroll-arrow-clone {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.4s var(--transition);
}

.scroll-arrow {
    transform: translateY(0);
}

.scroll-arrow-clone {
    transform: translateY(30px);
}

.scroll-top:hover .scroll-arrow {
    transform: translateY(-30px);
}

.scroll-top:hover .scroll-arrow-clone {
    transform: translateY(0);
}

/* =========================================
   MOBILE RESPONSIVE OVERHAUL
   ========================================= */
@media(max-width: 1200px) {
    .container {
        width: 95%;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .testimo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media(max-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }

    .hero {
        padding-top: 10rem;
        padding-bottom: 5rem;
    }

    .header {
        width: 95%;
        padding: 1rem 2rem;
    }

    /* Safely completely overriding layout flow preventing stacking overlaps on small touch views */
    .stacked-cards-container {
        padding-bottom: 0;
        gap: 2rem;
    }

    .stack-card {
        position: relative;
        top: auto;
        /* Removes mathematical sticky constraints entirely on phones */
        margin-bottom: 2rem !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        height: auto;
        min-height: 40vh;
        gap: 2rem;
    }

    .card-num {
        font-size: 6rem;
        margin-bottom: 0;
        opacity: 0.2;
    }

    .card-content {
        width: 100%;
        top: auto;
    }

    .card-content h3 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .card-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    /* Portfolio Responsiveness */
    .portfolio {
        padding: 5rem 0;
    }

    .port-row,
    .alternate-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .port-text {
        width: 100%;
    }

    .port-img-container {
        width: 100%;
        height: 40vh;
    }

    .desktop-nav {
        display: none;
    }

    /* Footer Layout Resizing */
    .footer {
        padding-top: 5rem;
        border-radius: 20px 20px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        align-items: start;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .footer-links {
        text-align: left;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        justify-content: center;
    }

    /* Stats Layout Resizing */
    .stats-col-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-counter-container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        align-items: center;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .stats-counter-container .stat-box {
        padding-left: 0 !important;
        border-left: none !important;
        flex: 1;
        gap: 0.25rem !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .stats-counter-container .stat-title {
        font-size: 2rem !important;
    }

    .stats-counter-container p {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }

    /* Client Logo Slider - Show 2 at a time */
    .client-logo-img {
        height: 35px;
        max-width: 130px;
        margin-right: 2rem;
    }

    .testimo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-panel {
        padding: 2rem;
    }

    .approach-gradient {
        border-radius: 20px;
    }
}

/* Unique Team Card Hover Physics */
.team-card {
    cursor: pointer;
}

.team-card .team-img-bound {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.6s ease;
}

.team-card .about-img {
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;
    filter: grayscale(100%);
}

.team-card:hover .team-img-bound {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(21, 156, 196, 0.2);
    border-color: rgba(21, 156, 196, 0.5);
}

.team-card:hover .about-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.team-card h3,
.team-card p {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), color 0.4s;
}

.team-card:hover h3 {
    transform: translateY(-5px);
    color: var(--logo-color);
}

.team-card:hover p {
    transform: translateY(-5px);
}

/* ------------------------------------- */
/* Ultra-Minimal Modern WhatsApp Icon    */
/* ------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 50px;
    height: 50px;
    background: #ffffff36;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: var(--logo-color);
    transition: fill 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(21, 156, 196, 0.15);
    border-color: var(--logo-color);
}

.whatsapp-float:hover svg {
    fill: var(--logo-color);
    transform: scale(1.1);
}

/* ------------------------------------- */
/* Services Page & Modal Styles          */
/* ------------------------------------- */
.services-hero {
    padding-top: 15rem;
    padding-bottom: 5rem;
    text-align: center;
    background: var(--bg-light);
}

/* ------------------ MASONRY GRID ------------------ */
.masonry-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    column-count: 3;
    column-gap: 2rem;
    padding-bottom: 10rem;
}

@media (max-width: 1024px) {
    .masonry-container {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .masonry-container {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(50px);
}

.masonry-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.masonry-item:nth-child(1) .masonry-img-wrapper {
    height: 400px;
}

.masonry-item:nth-child(2) .masonry-img-wrapper {
    height: 500px;
}

.masonry-item:nth-child(3) .masonry-img-wrapper {
    height: 350px;
}

.masonry-item:nth-child(4) .masonry-img-wrapper {
    height: 450px;
}

.masonry-item:nth-child(5) .masonry-img-wrapper {
    height: 380px;
}

.masonry-item:nth-child(6) .masonry-img-wrapper {
    height: 550px;
}

.masonry-item:nth-child(7) .masonry-img-wrapper {
    height: 300px;
}

.masonry-item:nth-child(8) .masonry-img-wrapper {
    height: 420px;
}

.masonry-item:nth-child(9) .masonry-img-wrapper {
    height: 480px;
}

.masonry-item:nth-child(10) .masonry-img-wrapper {
    height: 360px;
}

.masonry-item:nth-child(11) .masonry-img-wrapper {
    height: 500px;
}

.masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s;
    filter: grayscale(20%);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.masonry-overlay h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.masonry-overlay p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.1s;
}

.masonry-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--logo-color);
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.masonry-item:hover .masonry-img {
    transform: scale(1.1) rotate(1deg);
    filter: grayscale(0%);
}

.masonry-item:hover::after {
    opacity: 0.4;
}

.masonry-item:hover .masonry-overlay {
    transform: translateY(0);
}

.masonry-item:hover .masonry-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------ POPUP MODAL ------------------ */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 1rem;
}

.modal-content-wrapper {
    background: var(--white);
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    /* Ensured percentage height */
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    position: relative;
    transform: scale(0.9) translateY(30px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--logo-color);
    color: var(--white);
}

.modal-img-container {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1.2;
    padding: 2.5rem;
    height: 100%;
    overflow-y: auto;
    /* Required for small screen scrolling */
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.modal-info::-webkit-scrollbar {
    width: 6px;
}

.modal-info::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-info h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.inquiry-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-top: 2rem;
}

.inquiry-form h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.inquiry-form p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.4s;
    border-radius: 0;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
}

.form-control:focus {
    border-bottom-color: var(--logo-color);
}

.form-control[readonly] {
    color: var(--logo-color);
    font-weight: 700;
    border-bottom-color: rgba(21, 156, 196, 0.3);
    background: transparent;
}

/* Form Submitting Animation */
.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--logo-color), var(--blue-navy));
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    transition: transform 0.4s, box-shadow 0.4s;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(21, 156, 196, 0.3);
}

@media (max-width: 900px) {
    .modal-content-wrapper {
        flex-direction: column;
        overflow-y: auto;
        height: 95vh;
    }

    .modal-img-container {
        flex: none;
        height: 250px;
    }

    .modal-info {
        flex: none;
        height: auto;
        padding: 2rem;
        overflow-y: visible;
    }

    .inquiry-form {
        margin-top: 2rem;
    }
}

/* ------------------------------------- */
/* Progress Ring Scroll Top UI Component */
/* ------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-decoration: none;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring-track {
    fill: transparent;
    stroke: rgba(0, 0, 0, 0.05);
    stroke-width: 4;
}

.progress-ring-circle {
    fill: transparent;
    stroke: var(--logo-color);
    stroke-width: 4;
    transition: stroke-dashoffset 0.1s;
}

.scroll-arrow-box {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: #fff;
}

.whatsapp-float {
    background: #ffffff1c;
    border: none;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* ============================================= */
/* SERVICE DETAIL PAGE — Full-Page Layout        */
/* ============================================= */
.svc-detail-hero {
    padding: 18rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.svc-detail-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--blue-cyan);
    filter: blur(120px);
    opacity: 0.08;
    border-radius: 50%;
    pointer-events: none;
}

.svc-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 35vw;
    height: 35vw;
    background: var(--blue-light);
    filter: blur(100px);
    opacity: 0.06;
    border-radius: 50%;
    pointer-events: none;
}

.svc-detail-hero .container { position: relative; z-index: 1; }

.svc-detail-hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
}

.svc-detail-hero .svc-tagline {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-muted);
}

.svc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--logo-color);
    margin-bottom: 2rem;
    transition: gap 0.3s var(--transition);
}

.svc-back-link:hover { gap: 1rem; }

/* Overview Section */
.svc-overview {
    padding: 6rem 0;
    background: var(--bg-light);
}

.svc-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.svc-overview-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    height: 450px;
}

.svc-overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-overview-img:hover img {
    transform: scale(1.05);
}

.svc-overview-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.svc-overview-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.svc-overview-content .svc-highlights {
    list-style: none;
    padding: 0;
}

.svc-overview-content .svc-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-dark);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.svc-overview-content .svc-highlights li .check-icon {
    width: 28px;
    height: 28px;
    background: rgba(21, 156, 196, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--logo-color);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Technologies Section */
.svc-tech {
    padding: 6rem 0;
    background: var(--white);
}

.svc-tech .container { max-width: 1200px; }

.svc-tech h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
}

.svc-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.svc-tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    width: 100%;
    filter: grayscale(100%) opacity(40%);
    transition: filter 0.4s var(--transition), transform 0.4s var(--transition);
    background: transparent;
    border: none;
}

.svc-tech-card:hover {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(100%);
    box-shadow: none;
}

.svc-tech-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.svc-tech-card span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    text-align: center;
    font-family: sans-serif;
}

/* What's Included Section */
.svc-included {
    padding: 6rem 0;
    background: var(--bg-light);
}

.svc-included .container { max-width: 1200px; }

.svc-included h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.svc-included .section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.3rem;
}

.svc-included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.svc-included-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
    text-align: left !important;
}

.svc-included-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.svc-included-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(21, 156, 196, 0.1), rgba(21, 156, 196, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.svc-included-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.svc-included-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Service Form Section */
.svc-form-section {
    padding: 6rem 0 8rem;
    background: var(--white);
}

.svc-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.svc-form-wrapper h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.svc-form-wrapper > p {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.svc-form-box {
    background: var(--bg-light);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.svc-form-box .form-group {
    margin-bottom: 1.5rem;
}

.svc-form-box .form-control {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.svc-form-box .form-control:focus {
    border-color: var(--logo-color);
    box-shadow: 0 0 0 3px rgba(21, 156, 196, 0.1);
}

.svc-form-box .form-control::placeholder {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
}

.svc-form-box .form-control[readonly] {
    background: rgba(21, 156, 196, 0.05);
    color: var(--logo-color);
    font-weight: 700;
    border-color: rgba(21, 156, 196, 0.15);
}

.svc-form-box textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Service Detail Responsive */
@media (max-width: 900px) {
    .svc-overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .svc-overview-img { height: 300px; }
    .svc-included-grid {
        grid-template-columns: 1fr;
    }
    .svc-form-box { padding: 2rem; }
    .svc-detail-hero { padding: 14rem 0 4rem; }
}

@media (max-width: 600px) {
    .svc-tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .svc-tech-card { padding: 1rem 0.5rem; }
    .svc-tech-card img { width: 36px; height: 36px; }
}

/* ============================================= */
/* ADMIN LOGIN PAGE                              */
/* ============================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60vw;
    height: 60vw;
    background: var(--blue-cyan);
    filter: blur(150px);
    opacity: 0.08;
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: var(--blue-navy);
    filter: blur(120px);
    opacity: 0.06;
    border-radius: 50%;
}

.login-card {
    background: var(--white);
    border-radius: 40px;
    padding: 4rem 3.5rem;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.login-card .login-logo {
    width: 100px;
    margin: 0 auto 2rem;
    display: block;
}

.login-card h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.login-card .login-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.login-field {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    outline: none;
    background: var(--bg-light);
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--text-dark);
}

.login-field:focus {
    border-color: var(--logo-color);
    box-shadow: 0 0 0 3px rgba(21, 156, 196, 0.1);
    background: var(--white);
}

.login-error-msg {
    color: #e74c3c;
    font-size: 1rem;
    font-family: sans-serif;
    margin-bottom: 1rem;
    display: none;
    padding: 0.8rem;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 10px;
}

.login-card .btn-primary {
    width: 100%;
    font-size: 1.15rem;
    padding: 1.1rem;
    margin-top: 0.5rem;
}

.login-footer-text {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.login-footer-text a {
    color: var(--logo-color);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 500px) {
    .login-card { padding: 3rem 2rem; border-radius: 24px; }
}

/* GLOBAL ENHANCED RESPONSIVE FIXES */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem !important;
        font-size: 1.2rem !important;
    }
    .faq-answer > div {
        padding: 0 1.5rem 1.5rem 1.5rem !important;
    }
    .faq-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
        margin-left: 1rem !important;
    }
    .hero-title {
        font-size: clamp(3rem, 10vw, 4rem) !important;
    }
    .section-title {
        font-size: 2.5rem !important;
    }
    .section-subtitle {
        padding: 0 1.5rem;
    }
    .port-row {
        gap: 2rem !important;
    }
    .port-text {
        padding: 0 1rem;
    }
    .services-nav h2 {
        font-size: 2.5rem !important;
    }
    .services-list h3 {
        font-size: 1.8rem !important;
    }
    .stat-title {
        font-size: 2.5rem !important;
    }
    .svc-tagline {
        font-size: 1.2rem !important;
        padding: 0 1rem;
    }
    .blog-content {
        padding: 1.5rem !important;
    }
    .bmodal-content {
        padding: 0 1rem 3rem 1rem !important;
    }
    .logo-marquee-container {
        padding: 1rem 0 !important;
    }
    .svc-detail-hero {
        padding-top: 12rem !important;
    }
}
@media (max-width: 480px) {
    .team-img-bound {
        height: 300px !important;
    }
    .navbar-inner {
        padding: 1rem !important;
    }
}
