/* ============================================
   PRAKITY TECHNOLOGIES - MAIN STYLESHEET
   Design: Minimal, Professional, Black & Grey
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --color-black: #000000;
    --color-dark: #111111;
    --color-dark-2: #1a1a1a;
    --color-dark-3: #222222;
    --color-grey-dark: #333333;
    --color-grey: #6B7280;
    --color-grey-light: #9CA3AF;
    --color-grey-border: #E5E7EB;
    --color-grey-bg: #F9FAFB;
    --color-white: #FFFFFF;

    /* Accent — indigo-blue */
    --color-accent: #4F6EF7;
    --color-accent-dark: #3A56D4;
    --color-accent-light: #EEF1FE;
    --color-accent-rgb: 79, 110, 247;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.16);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;

    --container-max: 1200px;
    --section-padding: 96px 0;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Base --- */
section {
    padding: var(--section-padding);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-grey);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(var(--color-accent-rgb), 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-black);
    border: 1.5px solid var(--color-black);
}

.btn-outline:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-grey);
    padding: 0;
    font-weight: 500;
}

.btn-ghost:hover {
    color: var(--color-black);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--color-grey-border);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--color-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark span {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.3px;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-grey);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Nav Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-grey);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-black);
    background: var(--color-grey-bg);
}

.nav-link.active {
    color: var(--color-accent);
    background: var(--color-accent-light);
    font-weight: 600;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-grey-border);
    padding: 16px 24px 24px;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.mobile-menu .btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

/* ============================================
   HERO SECTION — Professional Centered
   ============================================ */
#hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-grey-border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Left column */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent-light);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-desc {
    font-size: 16px;
    color: var(--color-grey);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Right column */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    /* Prevents grid blowout */
}

/* Text Slider */
/* Text Slider */
.hero-text-slider {
    background: var(--color-grey-bg);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    border: 1px solid var(--color-grey-border);
    position: relative;
    max-width: 100%;
    height: 64px;
    overflow: hidden;
    margin-top: 16px;
    text-align: center;
    box-sizing: border-box;
}

.slider-wrapper {
    animation: slide-up 24s ease-in-out infinite;
}

.slider-item {
    height: 40px;
    line-height: 40px;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(90deg, var(--color-accent), #7c3aed, var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    animation: load 4s linear infinite;
}

@keyframes load {
    0% {
        width: 0%;
    }

    80% {
        width: 100%;
    }

    /* Fills up during the static phase */
    100% {
        width: 100%;
        opacity: 0;
    }

    /* Fade out during transition */
}

/* 
   4 Items in list + 1 Clone
   Height of one item = 26px
*/
@keyframes slide-up {

    0%,
    13% {
        transform: translateY(0);
    }

    16.66%,
    30% {
        transform: translateY(-40px);
    }

    33.33%,
    46% {
        transform: translateY(-80px);
    }

    50%,
    63% {
        transform: translateY(-120px);
    }

    66.66%,
    79% {
        transform: translateY(-160px);
    }

    83.33%,
    96% {
        transform: translateY(-200px);
    }

    100% {
        transform: translateY(-240px);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Stats 2x2 grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--color-grey-border);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hsg-item {
    background: var(--color-white);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hsg-number {
    font-size: 30px;
    font-weight: 900;
    color: var(--color-black);
    letter-spacing: -1px;
    line-height: 1;
}

.hsg-label {
    font-size: 12px;
    color: var(--color-grey);
    font-weight: 500;
}

/* Proof card */
.hero-proof-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--color-accent-light);
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    border-radius: var(--radius-md);
}

.hpc-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hpc-icon svg {
    width: 18px;
    height: 18px;
    color: white;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.hpc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 2px;
}

.hpc-sub {
    font-size: 12.5px;
    color: var(--color-grey);
    line-height: 1.5;
}

/* Service tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-grey);
    background: var(--color-grey-bg);
    border: 1px solid var(--color-grey-border);
    border-radius: 100px;
    padding: 5px 12px;
    white-space: nowrap;
}


/* ============================================
   SERVICES BAR (below hero)
   ============================================ */
.hero-services-bar {
    padding: 0;
    background: var(--color-grey-bg);
    border-bottom: 1px solid var(--color-grey-border);
}

.hsb-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.hsb-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-light);
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid var(--color-grey-border);
}

.hsb-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hsb-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-grey);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hsb-item:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.service-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-grey-dark);
    background: var(--color-grey-bg);
    padding: 6px 12px;
    border-radius: 100px;
    transition: var(--transition);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-tag i {
    line-height: 1;
}


.service-tag:hover {
    background: var(--color-white);
    border-color: var(--color-grey-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Brand colors on card hover */
.service-card:hover .bxl-react {
    color: #61DAFB;
}

/* React/React Native */
.service-card:hover .bxl-android {
    color: #3DDC84;
}

/* Android */
.service-card:hover .bxl-apple {
    color: #000000;
}

/* iOS */
.service-card:hover .bxl-flutter {
    color: #02569B;
}

/* Flutter */
.service-card:hover .bxl-php {
    color: #777BB4;
}

/* PHP/Laravel */
.service-card:hover .bxl-javascript {
    color: #F7DF1E;
}

/* JS/Next.js */

/* Generic icons get accent color */
.service-card:hover .bx-data,
.service-card:hover .bx-user-voice,
.service-card:hover .bx-cog,
.service-card:hover .bx-refresh,
.service-card:hover .bx-shield-quarter,
.service-card:hover .bx-support {
    color: var(--color-accent);
}

.hsb-icon {
    display: flex;
    align-items: center;
}

.hsb-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.hsb-dot {
    color: var(--color-grey-border);
    font-size: 18px;
    line-height: 1;
    user-select: none;
}

/* Quick nav grid */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: var(--color-grey-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-block {
    background: var(--color-black);
    border-radius: var(--radius-xl);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-img-block::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.about-img-block::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.about-logo-display {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-logo-mark {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-logo-mark span {
    font-size: 36px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.about-logo-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

.about-logo-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-year-badge {
    position: absolute;
    bottom: -20px;
    right: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
}

.about-year-badge .year {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-black);
    letter-spacing: -1px;
}

.about-year-badge .year-label {
    font-size: 12px;
    color: var(--color-grey);
    font-weight: 500;
}

.about-content {
    padding-top: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.value-item {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--color-grey-dark);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.value-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.value-desc {
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.5;
}

/* ============================================
   TOP PROJECTS STRIP (Refined)
   ============================================ */
.top-projects-section {
    padding: 64px 0;
    border-bottom: 1px solid var(--color-grey-border);
    background: var(--color-white);
}

.tps-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.tps-header {
    text-align: center;
    margin-bottom: 40px;
}

.tps-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.tps-sub {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.tps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.tps-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    /* Changed from center to align top */
    gap: 16px;
    text-decoration: none;
    transition: var(--transition);
    flex: 0 0 calc(33.333% - 16px);
    width: 320px;
    min-width: 280px;
}

.tps-card:hover {
    border-color: rgba(var(--color-accent-rgb), 0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.tps-logo-wrapper {
    width: 64px;
    /* Slightly larger logo wrapper */
    height: 64px;
    background: var(--color-grey-bg);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    /* Padding for logo */
}

/* ... existing styles ... */


/* Responsive */
@media (max-width: 900px) {
    .tps-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .tps-card {
        flex: 1 1 100%;
    }

    .tps-sub {
        font-size: 16px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services {
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(var(--color-accent-rgb), 0.3);
    box-shadow: 0 12px 40px rgba(var(--color-accent-rgb), 0.1);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--color-grey-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-black);
    transition: var(--transition);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    color: var(--color-grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-grey-bg);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-grey);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
#products {
    background: var(--color-grey-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--color-grey-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: white;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.product-logo.ycl {
    background: #2563EB;
}

.product-logo.mw {
    background: #DC2626;
}

.product-logo.gd {
    background: #D97706;
}

.product-logo.qu {
    background: #059669;
}

.product-logo.ah {
    background: #7C3AED;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-light);
    margin-bottom: 6px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--color-grey);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition);
}

.product-link:hover {
    gap: 10px;
    color: var(--color-accent-dark);
}

.product-link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
#projects {
    background: var(--color-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    background: var(--color-white);
}

.project-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.project-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-thumb-inner {
    text-align: center;
    color: white;
}

.project-thumb-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.project-thumb-name {
    font-size: 18px;
    font-weight: 700;
}

.project-body {
    padding: 24px;
}

.project-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-light);
    margin-bottom: 6px;
}

.project-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.project-desc {
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tag {
    padding: 3px 10px;
    background: var(--color-grey-bg);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-grey);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
#clients {
    background: var(--color-grey-bg);
    padding: 72px 0;
}

.clients-header {
    text-align: center;
    margin-bottom: 48px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.client-logo {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    height: 80px;
}

.client-logo:hover {
    border-color: var(--color-grey-dark);
    box-shadow: var(--shadow-sm);
}

.client-logo-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-grey);
    text-align: center;
    letter-spacing: -0.2px;
}

/* ============================================
   TEAM SECTION
   ============================================ */
#team {
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--color-grey-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.6;
}

/* ============================================
   CAREERS SECTION
   ============================================ */
#careers {
    background: var(--color-black);
    color: var(--color-white);
}

#careers .section-label {
    color: rgba(255, 255, 255, 0.5);
}

#careers .section-title {
    color: var(--color-white);
}

#careers .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.careers-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.careers-perks {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.perk-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.perk-text .perk-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.perk-text .perk-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Careers Form */
.careers-form-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.careers-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

select.form-control option {
    background: var(--color-dark-2);
    color: var(--color-white);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.careers-form-wrap .btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}

.careers-form-wrap .btn-primary:hover {
    background: var(--color-grey-bg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #0d1117;
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    padding: 60px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* Brand column */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-mark span {
    font-size: 14px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
}

.footer-logo-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

.footer-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 270px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-row:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-ico {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-ico svg {
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Links columns */

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
    letter-spacing: -0.1px;
}

.footer-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-links a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* App column */

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    color: white;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.app-badge svg {
    flex-shrink: 0;
    color: white;
}

.app-badge-text {
    display: flex;
    flex-direction: column;
}

.app-badge-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.app-badge-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.social-icon svg {
    display: block;
}

/* Bottom bar */
.footer-bottom {
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-align: right;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .navbar-nav,
    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 15px;
    }

    /* Force hero inner to stack */
    .hero-inner {
        gap: 40px;
    }

    /* Adjust stats grid gap/padding on mobile */
    .hsg-item {
        padding: 16px;
    }

    .hsg-number {
        font-size: 24px;
    }

    .hsb-label {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-address {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PAGE BANNER (multi-page header)
   ============================================ */
.page-banner {
    padding-top: 120px;
    padding-bottom: 64px;
    background: var(--color-grey-bg);
    /* Light background for black text */
    position: relative;
    overflow: hidden;
}

.page-banner::before,
.page-banner::after {
    display: none;
    /* Remove white circles if background is light */
}

.page-banner .section-label {
    color: var(--color-accent);
}

.page-banner-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: var(--color-black);
    /* Black text */
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.page-banner-desc {
    font-size: 17px;
    color: var(--color-grey-dark);
    /* Dark grey text */
    line-height: 1.7;
    max-width: 560px;
}

/* ============================================
   QUICK NAV CARDS (home page)
   ============================================ */
.quick-nav-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.quick-nav-card:hover {
    border-color: var(--color-grey-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.quick-nav-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.quick-nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}

.quick-nav-desc {
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.5;
}

/* Responsive for quick-nav */
@media (max-width: 1024px) {
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .page-banner-title {
        font-size: 30px;
    }

    .careers-inner {
        padding: 36px !important;
    }
}


/* ============================================
   PROCESS SECTION
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    /* Assuming accent is indigo/purple-ish */
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-q-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    transition: color 0.3s ease;
}

.faq-toggle-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-grey-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-grey);
    transition: all 0.3s ease;
}

/* Active state styles */
.faq-item.active .faq-toggle-wrapper {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.faq-item.active .faq-q-text {
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 15px;
    color: #000000;
    /* Pure black */
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.value-item {
    display: flex;
    flex-direction: column;
}

.value-icon {
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.value-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.value-desc {
    font-size: 13.5px;
    color: #000000;
    /* Pure black for visibility */
    line-height: 1.5;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {

    .about-values,
    .mission-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   BUILD WITH US PAGE
   ============================================ */
.step-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.3;
    /* Subtle accent number */
    margin-right: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.cta-box {
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-xl);
    padding: 64px 32px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-hover);
}

.btn-white {
    background: white;
    color: var(--color-accent);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid white;
}

.btn-white:hover {
    background: var(--color-grey-bg);
    border-color: var(--color-grey-bg);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Process Section - Icon White on Hover */
.process-grid .service-card:hover .service-icon,
.process-grid .service-card:hover .service-icon i {
    color: var(--color-white) !important;
}

/* How to Apply Section - Step Cards */
.apply-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.apply-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.apply-card:hover .bx {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}