/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --bg-color: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-color: #C4FF48;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-primary: 'Inter', sans-serif;

    --max-width: 1440px;
    /* never let the side gutter collapse below a readable 20px on phones */
    --padding-x: max(20px, 5%);
}

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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
}

/* SVGs are deliberately excluded: they carry explicit width/height here and a
   percentage max-width collapses them to 0 inside nowrap flex rows (marquee). */
img,
video {
    max-width: 100%;
}

/* long uppercase headings must never push the page wider than the screen */
h1, h2, h3, h4, p, a, li, span {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px var(--padding-x);
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #b0e640;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 180px var(--padding-x) 80px;
    background-image: url('https://crowdytheme.com/assets/wp-content/uploads/2025/06/main-bgbg-scaled-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
    display: flex;
}

.hero-text-content {
    max-width: 65%;
}

.hero-title {
    font-size: clamp(42px, 9vw, 150px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.013em;
    margin-bottom: 60px;
}

.hero-robot-img {
    position: absolute;
    right: 0;
    bottom: -5%;
    height: 100%;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.hero-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
}

.rating-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score h2 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    color: var(--accent-color);
}

.rating-score span {
    font-size: 14px;
    color: #fff;
}

.stars {
    display: flex;
    gap: 5px;
}

.star-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    color: #000;
    font-size: 14px;
    line-height: 1;
    border-radius: 2px;
}

.rating-desc {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
}

.hero-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    align-self: stretch;
    margin: 0 10px;
}

.hero-text-box {
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 10px;
}

.hero-desc {
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.6;
}

.explore-btn {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.explore-arrow {
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
}

.explore-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 15s linear infinite;
    fill: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   MARQUEE SECTION
   ========================================= */
.marquee-section {
    padding: 30px 0;
    background-color: var(--accent-color);
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    font-size: clamp(15px, 4vw, 24px);
    font-weight: 600;
    padding: 0 clamp(16px, 4vw, 40px);
    display: flex;
    align-items: center;
    gap: clamp(16px, 4vw, 40px);
    text-transform: uppercase;
}

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

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


/* ====================
   LIGHT THEME SECTIONS
   ==================== */
.light-section {
    background-color: #f7f7f7;
    color: #0d0d0d;
}

.light-section-white {
    background-color: #ffffff;
    color: #0d0d0d;
}

/* ====================
   PORTFOLIO SECTION 
   ==================== */
.portfolio-section {
    padding: 120px var(--padding-x);
}

.portfolio-container,
.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.portfolio-stats {
    flex: 1;
}

.stat-number {
    font-size: clamp(96px, 25vw, 350px);
    font-weight: 500;
    line-height: 0.72;
    letter-spacing: -0.015em;
    position: relative;
    display: inline-block;
}

.stat-plus {
    position: absolute;
    right: clamp(-20px, -1.5vw, -6px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(36px, 6vw, 80px);
    height: clamp(36px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-plus img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-left: 5vw;
}

.portfolio-title {
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: 1px solid #0d0d0d;
    color: #0d0d0d;
    font-weight: 500;
    font-size: 16px;
    border-radius: 30px;
}

.btn-outline:hover {
    background: #0d0d0d;
    color: #ffffff;
}

.portfolio-grid {
    display: flex;
    gap: clamp(30px, 5vw, 60px);
}

.portfolio-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 80px);
}

.stagger-down {
    margin-top: 150px;
}

.portfolio-card .card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 25px;
}

.portfolio-card .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.portfolio-card h3 {
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tags .tag {
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 14px;
    border-radius: 20px;
}

/* ====================
   ABOUT US SECTION 
   ==================== */
.about-section {
    padding: 120px var(--padding-x);
}

.about-heading-container {
    margin-bottom: 120px;
}

.about-heading {
    font-size: clamp(32px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
}

.text-gray {
    color: #b3b3b3;
}

.about-content {
    display: flex;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-bottom: 120px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.about-circle-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.about-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(200px, 30vw, 320px);
    height: clamp(200px, 30vw, 320px);
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2vw;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.badge-number {
    font-size: clamp(60px, 8vw, 140px);
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: flex-start;
}

.badge-letter {
    font-size: clamp(16px, 2vw, 30px);
    font-weight: 400;
    margin-top: 10%;
    border: 1px solid #eee;
    border-radius: 50%;
    width: clamp(30px, 4vw, 50px);
    height: clamp(30px, 4vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.5;
    color: #666;
    margin-top: 15px;
}

.about-text-container {
    flex: 1;
}

.about-desc {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: var(--accent-color);
    color: #0d0d0d;
    font-weight: 600;
    font-size: 16px;
}

.btn-solid:hover {
    background: #b5e625;
}

.about-stats-grid {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
}

.stat-box {
    flex: 1;
    min-width: 0;
    border: 1px solid #eee;
    padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 250px;
}

.stat-big-number {
    font-size: clamp(80px, 10vw, 150px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
}

.stat-label {
    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.corner-triangle {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 40px solid #000;
    border-left: 40px solid transparent;
}

@media (max-width: 992px) {

    .portfolio-grid,
    .about-content,
    .portfolio-header {
        flex-direction: column;
    }

    .stagger-down {
        margin-top: 0;
    }

    .portfolio-title-wrapper,
    .about-text-container {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-badge {
        right: 0;
    }

    .about-stats-grid {
        flex-direction: column;
    }
}

/* ====================
   DIGITAL SOLUTIONS 
   ==================== */
.digital-solutions {
    padding: 120px var(--padding-x);
    background: #ffffff;
    color: #0d0d0d;
}

.ds-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: clamp(40px, 6vw, 80px);
}

.ds-left {
    flex: 0 0 35%;
    min-width: 0;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.ds-title {
    font-size: clamp(32px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 30px;
}

.ds-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 80%;
}

.ds-right {
    flex: 1;
    min-width: 0;
}

.ds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.ds-item {
    display: flex;
    gap: 20px;
    padding: clamp(30px, 5vw, 50px) clamp(20px, 3vw, 30px);
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
}

.ds-item:nth-child(even) {
    border-right: none;
}
.ds-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.ds-item:last-child:nth-child(odd) {
    border-right: none;
}

.ds-icon {
    width: clamp(44px, 8vw, 60px);
    height: clamp(44px, 8vw, 60px);
    object-fit: contain;
    flex-shrink: 0;
}

.ds-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ds-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 500;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #0d0d0d;
    transition: all 0.3s ease;
}

.ds-item:hover .arrow-circle {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

@media (max-width: 992px) {
    .ds-container {
        flex-direction: column;
    }
    .ds-left {
        position: relative;
        top: 0;
    }
    .ds-grid {
        grid-template-columns: 1fr;
    }
    .ds-item {
        border-right: none;
    }
    .ds-item:nth-last-child(2) {
        border-bottom: 1px solid #eee;
    }
}

/* ====================
   QUALITY PARALLAX 
   ==================== */
.quality-parallax {
    position: relative;
    min-height: 80vh;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-position: center;
    background-color: #0d0d0d;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 100px var(--padding-x) 0;
}

.quality-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.quality-box {
    background-color: var(--accent-color);
    padding: clamp(32px, 6vw, 60px) clamp(24px, 5vw, 50px);
    width: 100%;
    max-width: 500px;
    color: #000;
    margin-bottom: -150px;
    position: relative;
    z-index: 10;
}

.quality-header {
    margin-bottom: 40px;
}

.award-icon {
    display: flex;
    align-items: center;
    gap: 15px;
}

.w-text {
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 700;
}

.award-desc {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}

.quality-box h2 {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.quality-list {
    list-style: none;
    margin-bottom: 40px;
}

.quality-list li {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-black {
    display: inline-flex;
    align-items: center;
    background-color: #0d0d0d;
    color: #fff;
    padding: 18px 36px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-black:hover {
    background-color: #333;
    color: #fff;
}


/* ====================
   PRICING SECTION 
   ==================== */
.pricing-section {
    padding: 250px var(--padding-x) 120px;
    background-color: #ffffff;
    color: #0d0d0d;
}

.pricing-heading {
    text-align: center;
    font-size: clamp(32px, 6vw, 80px);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: clamp(40px, 6vw, 80px);
    letter-spacing: -0.025em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.pricing-card {
    padding: clamp(36px, 6vw, 60px) clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
}

.card-light {
    background-color: #f7f7f7;
    color: #0d0d0d;
}

.card-dark {
    background-color: #0d0d0d;
    color: #ffffff;
}

.plan-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.price-amount {
    font-size: clamp(58px, 14vw, 90px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.045em;
}

.price-currency {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 500;
    margin-top: 5px;
    margin-left: 5px;
}

.plan-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666;
}

.card-dark .plan-desc {
    color: #999;
}

.btn-plan {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid rgba(0,0,0,0.1);
    color: #0d0d0d;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.card-dark .btn-plan {
    border: none;
}

.btn-plan.btn-green {
    background-color: var(--accent-color);
    color: #0d0d0d;
}

.card-light .btn-plan:hover {
    background-color: #0d0d0d;
    color: #fff;
}

.btn-plan.btn-green:hover {
    background-color: #b3e642;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
}

.card-dark .plan-features li {
    color: #b3b3b3;
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #0d0d0d;
    font-size: 10px;
    flex-shrink: 0;
}

.check-icon.check-dark {
    background-color: #333;
    color: #999;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}


/* ====================
   CLIENTS SECTION 
   ==================== */
.clients-section {
    padding: 100px var(--padding-x);
    background-color: #ffffff;
    color: #0d0d0d;
}

.clients-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.clients-header .line {
    flex: 1;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    max-width: 300px;
}

.clients-header p {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clients-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.client-logo-placeholder {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 700;
    color: #b3b3b3;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ====================
   NEWSLETTER SECTION 
   ==================== */
.newsletter-section {
    padding: 100px var(--padding-x);
    background-color: #f7f7f7;
    color: #0d0d0d;
}

.newsletter-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
    max-width: 500px;
}

.newsletter-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.newsletter-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.newsletter-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    background-color: #fff;
    border: 1px solid #eaeaea;
}

.newsletter-form input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.newsletter-form button {
    padding: 20px 40px;
    background-color: #0d0d0d;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .newsletter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
}

/* ====================
   FOOTER SECTION 
   ==================== */
.main-footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 100px var(--padding-x) 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: clamp(48px, 7vw, 80px);
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #999;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-copyright {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

.footer-divider-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
}

.back-to-top {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: #000;
}

.footer-social {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

.footer-social a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom-text {
    font-size: clamp(80px, 15vw, 250px);
    font-weight: 700;
    line-height: 0.8;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-middle {
        flex-direction: column;
    }
    .footer-divider-line {
        display: none;
    }
}

/* --- ABOUT US PAGE STYLES --- */
.about-us-page {
    background-color: #f5f5f5; /* Light background for the white theme */
    color: #0C0F06;
}

/* About Hero Section */
.about-hero-section {
    padding: 120px 5% 60px;
    background-color: #ffffff;
}
.about-hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: flex-start;
}
.badge-title {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.badge-title.centered {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.badge-icon {
    display: inline-flex;
    margin-right: 8px;
}
.badge-line {
    width: 30px;
    height: 1px;
    background-color: #000;
    margin-right: 15px;
}
.about-main-title {
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.about-hero-bottom-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 30px;
    margin-top: 40px;
}
.rating-box-simple h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 500;
    margin: 0;
}
.rating-reviews {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.about-hero-desc p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}
.about-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.about-feature-list li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #111;
    font-weight: 500;
}
.btn-lime {
    display: inline-block;
    padding: 15px 30px;
    background-color: #C4FF48;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.btn-lime:hover {
    background-color: #aae030;
}
.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Boxy look */
    min-height: clamp(320px, 70vw, 600px);
}

/* Stats Bento Section */
.about-stats-bento {
    background-color: #11130d;
    padding: 80px 5%;
}
.bento-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 20px;
}
.bento-top-left {
    grid-column: span 2;
    padding: clamp(24px, 5vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-top-left .badge-title {
    color: #fff;
}
.bento-top-left .badge-line {
    background-color: #fff;
}
.bento-main-heading {
    color: #fff;
    font-size: clamp(1.9rem, 6vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}
.bento-box {
    background-color: #1a1d14;
    padding: clamp(24px, 5vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    min-height: 250px;
}
.bento-number {
    font-size: clamp(3.4rem, 11vw, 6rem);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
}
.bento-box-outline {
    background-color: #1c2016;
}
.outline-text {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}
.bento-label {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
    max-width: 150px;
}
.corner-triangle-white {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 15px solid #fff;
    border-left: 15px solid transparent;
}
.corner-triangle-green {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 15px solid #C4FF48;
    border-left: 15px solid transparent;
}
.bento-img-box {
    grid-column: span 1;
}
.bento-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bento-arrow-box {
    background-color: #11130d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.arrow-container {
    width: 50px;
    height: 50px;
    background-color: #C4FF48;
    display: flex;
    align-items: center;
    justify-content: center;
}
.green-square {
    width: 30px;
    height: 30px;
    background-color: #C4FF48;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 5%;
    background-color: #fff;
    text-align: center;
}
.wcu-main-heading {
    font-size: clamp(1.9rem, 6vw, 3.5rem);
    font-weight: 500;
    margin-bottom: clamp(36px, 6vw, 60px);
}
.wcu-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    text-align: left;
}
.wcu-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
}
.wcu-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Image Collage */
.image-collage {
    background-color: #fff;
    padding: 0 5% 100px;
}
.collage-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 10px;
    align-items: center;
}
.collage-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collage-img-1 { height: 300px; }
.collage-img-2 { height: 450px; border-top-left-radius: 200px; border-top-right-radius: 200px; overflow: hidden; }
.collage-col { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; height: 500px; }
.collage-img-3 { height: 100%; }
.collage-img-4 { height: 100%; }
.collage-img-5 { height: 450px; border-bottom-left-radius: 200px; border-bottom-right-radius: 200px; overflow: hidden; }
.collage-img-6 { height: 300px; }

/* Quality Banner Wrapper */
.quality-banner-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    max-width: 100%;
}
.quality-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: clamp(280px, 60vw, 500px);
}
.quality-banner-content {
    background-color: #C4FF48;
    padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.award-icon-black {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.award-text-black {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}
.w-text-black {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}
.award-desc-black {
    font-size: 12px;
    color: #000;
    font-weight: 600;
}
.quality-banner-content h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    font-weight: 600;
    color: #000;
    line-height: 1.1;
    margin-bottom: 30px;
}
.quality-list-black {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.quality-list-black li {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 100px 5%;
    background-color: #fff;
}
.team-container {
    max-width: 1300px;
    margin: 0 auto;
}
.team-main-heading {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: clamp(36px, 6vw, 60px);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.team-card {
    position: relative;
    background-color: #f9f9f9;
}
.team-img-wrapper {
    position: relative;
    overflow: hidden;
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-social-hover {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
}
.share-icon {
    width: 40px;
    height: 40px;
    background-color: #C4FF48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.team-img-wrapper:hover .social-links {
    opacity: 1;
    visibility: visible;
}
.social-links a {
    width: 30px;
    height: 30px;
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.social-links a:hover {
    background-color: #000;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-hero-container {
        grid-template-columns: 1fr;
    }
    .bento-container {
        grid-template-columns: 1fr 1fr;
    }
    .bento-top-left {
        grid-column: span 2;
    }
    .wcu-grid {
        grid-template-columns: 1fr 1fr;
    }
    .collage-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .quality-banner-wrapper {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
    }
    .bento-top-left {
        grid-column: span 1;
    }
    .wcu-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MOBILE NAVIGATION
   Hamburger + slide-down panel. Hidden above
   the 992px breakpoint where the inline nav fits.
   ========================================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    flex-shrink: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* hamburger morphs into a close (X) icon while the panel is open */
.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* CTA duplicated inside the panel; only ever shown there */
.nav-cta {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    /* keep the wordmark readable on top of the open panel */
    .logo {
        position: relative;
        z-index: 1002;
    }

    /* header CTA moves into the panel so the bar stays uncluttered */
    .header > .btn-primary {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 96px var(--padding-x) 32px;
        background-color: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        max-height: 100svh;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.35s;
        z-index: 1001;
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-primary);
    }

    .nav-cta {
        display: inline-flex;
        justify-content: center;
        margin-top: 24px;
        border-bottom: none;
        color: #000;
    }

    .nav-cta:hover {
        color: #000;
    }
}

/* light-themed pages: panel and burger need dark-on-white treatment */
body.service-page .nav-links,
body.about-us-page .nav-links,
.contact-page .nav-links {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

body.service-page .nav-links a,
body.about-us-page .nav-links a,
.contact-page .nav-links a {
    color: #000;
    border-bottom: 1px solid #eaeaea;
}

body.service-page .mobile-menu-btn span,
body.about-us-page .mobile-menu-btn span,
.contact-page .mobile-menu-btn span {
    background-color: #000;
}

body.service-page .nav-cta,
body.about-us-page .nav-cta,
.contact-page .nav-cta {
    color: #000;
    border-bottom: none;
}


/* =========================================
   RESPONSIVE — TABLET  (<= 992px)
   ========================================= */
@media (max-width: 992px) {
    .hero {
        padding: 140px var(--padding-x) 60px;
    }

    .hero-text-content {
        max-width: 100%;
    }

    .hero-robot-img {
        max-width: 48%;
        opacity: 0.75;
    }

    .portfolio-section,
    .about-section,
    .digital-solutions {
        padding: 80px var(--padding-x);
    }

    .about-heading-container {
        margin-bottom: 64px;
    }

    .about-content {
        margin-bottom: 64px;
    }

    .quality-container {
        justify-content: center;
    }

    .quality-box {
        max-width: 100%;
        margin-bottom: -80px;
    }

    .pricing-section {
        padding: 160px var(--padding-x) 80px;
    }

    .clients-section,
    .newsletter-section {
        padding: 72px var(--padding-x);
    }

    .main-footer {
        padding: 72px var(--padding-x) 0;
    }
}


/* =========================================
   RESPONSIVE — LARGE MOBILE  (<= 768px)
   ========================================= */
@media (max-width: 768px) {
    .hero {
        padding: 130px var(--padding-x) 56px;
        background-position: center top;
    }

    .hero-title {
        margin-bottom: 40px;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 32px;
    }

    /* vertical rule between rating and copy has to lie flat when stacked */
    .hero-divider {
        width: 100%;
        height: 1px;
        align-self: auto;
        margin: 0;
    }

    .hero-text-box {
        max-width: 100%;
        padding-top: 0;
    }

    /* robot sits behind the copy rather than colliding with it */
    .hero-robot-img {
        max-width: 70%;
        height: auto;
        bottom: 0;
        opacity: 0.4;
        z-index: 1;
    }

    .hero-content {
        z-index: 5;
    }

    .portfolio-header {
        margin-bottom: 48px;
    }

    .stat-number {
        /* leave room for the absolutely positioned "+" badge */
        padding-right: 28px;
    }

    .stat-plus {
        right: 0;
    }

    .ds-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .quality-parallax {
        /* fixed attachment is unreliable / janky on mobile browsers */
        background-attachment: scroll;
        min-height: auto;
        padding: 72px var(--padding-x) 0;
    }

    .quality-box {
        margin-bottom: -60px;
    }

    .pricing-section {
        padding: 130px var(--padding-x) 72px;
    }

    .clients-logos {
        justify-content: center;
        gap: 28px 36px;
    }

    .clients-header .line {
        max-width: 60px;
    }

    .newsletter-container {
        gap: 28px;
    }

    .footer-bottom-text {
        margin-top: 32px;
    }

    /* --- about page --- */
    .about-hero-section {
        padding: 100px var(--padding-x) 48px;
    }

    .about-hero-bottom-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 32px;
    }

    .about-stats-bento {
        padding: 56px var(--padding-x);
    }

    .why-choose-us,
    .team-section {
        padding: 72px var(--padding-x);
    }

    .image-collage {
        padding: 0 var(--padding-x) 72px;
    }

    .collage-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .collage-img-1,
    .collage-img-6 {
        height: 200px;
    }

    .collage-img-2,
    .collage-img-5 {
        height: 280px;
    }

    .collage-col {
        height: 280px;
    }

    .collage-img-2 {
        border-top-left-radius: 120px;
        border-top-right-radius: 120px;
    }

    .collage-img-5 {
        border-bottom-left-radius: 120px;
        border-bottom-right-radius: 120px;
    }
}


/* =========================================
   RESPONSIVE — MEDIUM MOBILE  (<= 600px)
   Covers the common 360–430px Android /
   iPhone range (e.g. Infinix Note 10 Pro).
   ========================================= */
@media (max-width: 600px) {
    .logo {
        font-size: 20px;
    }

    .header {
        padding: 14px var(--padding-x);
    }

    .hero {
        padding: 118px var(--padding-x) 48px;
    }

    .rating-box {
        min-width: 0;
    }

    .rating-score h2 {
        font-size: 44px;
    }

    .explore-btn {
        width: 84px;
        height: 84px;
    }

    .portfolio-section,
    .about-section,
    .digital-solutions,
    .clients-section,
    .newsletter-section {
        padding: 64px var(--padding-x);
    }

    .portfolio-header {
        margin-bottom: 40px;
    }

    .portfolio-title-wrapper,
    .about-text-container {
        margin-top: 28px;
    }

    .portfolio-card .card-image {
        margin-bottom: 18px;
    }

    /* badge overlapped the circular photo — park it below instead */
    .about-image-wrapper {
        max-width: 100%;
    }

    .about-badge {
        position: static;
        transform: none;
        width: min(240px, 68vw);
        height: min(240px, 68vw);
        margin: -40px auto 0;
        padding: 20px;
    }

    .about-desc {
        max-width: 100%;
    }

    .stat-box {
        min-height: 0;
        padding: 32px 24px;
    }

    .corner-triangle {
        border-top-width: 28px;
        border-left-width: 28px;
    }

    .ds-desc {
        max-width: 100%;
    }

    .quality-parallax {
        padding: 56px var(--padding-x) 0;
    }

    .quality-list li {
        font-size: 15px;
    }

    .pricing-section {
        padding: 110px var(--padding-x) 64px;
    }

    .pricing-grid {
        gap: 20px;
    }

    .btn-black,
    .btn-solid,
    .btn-outline,
    .btn-lime {
        /* full-bleed CTAs read better and are easier to hit on a phone */
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .main-footer {
        padding: 64px var(--padding-x) 0;
    }

    .footer-top {
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-social,
    .footer-copyright {
        white-space: normal;
        text-align: center;
    }

    .footer-middle {
        gap: 16px;
        text-align: center;
    }

    /* --- about page --- */
    .about-hero-section {
        padding: 96px var(--padding-x) 40px;
    }

    .about-hero-container {
        gap: 32px;
    }

    .bento-container {
        gap: 14px;
    }

    .bento-box,
    .bento-top-left {
        min-height: 0;
        padding: 26px 22px;
    }

    .bento-box {
        min-height: 190px;
    }

    .bento-label {
        max-width: none;
    }

    .bento-arrow-box {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 14px;
        padding: 0;
    }

    .wcu-grid {
        gap: 28px;
    }

    .collage-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .collage-img-1,
    .collage-img-6,
    .collage-img-2,
    .collage-img-5 {
        height: 240px;
    }

    .collage-col {
        height: 320px;
    }

    .quality-banner-content {
        padding: 36px 24px;
    }

    .team-grid {
        gap: 20px;
    }
}


/* =========================================
   RESPONSIVE — SMALL MOBILE  (<= 400px)
   ========================================= */
@media (max-width: 400px) {
    :root {
        --padding-x: 18px;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        padding: 110px var(--padding-x) 44px;
    }

    .hero-desc,
    .rating-desc {
        font-size: 15px;
    }

    .rating-score h2 {
        font-size: 38px;
    }

    .star-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .stars {
        gap: 4px;
    }

    .portfolio-card h3,
    .ds-content h3 {
        font-size: 18px;
    }

    .about-badge {
        width: min(210px, 72vw);
        height: min(210px, 72vw);
    }

    .stat-box {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 32px 22px;
    }

    .footer-logo {
        font-size: 22px;
    }

    .bento-number {
        margin-bottom: 12px;
    }
}


/* =========================================
   SMALL-HEIGHT LANDSCAPE PHONES
   ========================================= */
@media (max-width: 992px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 110px var(--padding-x) 56px;
    }

    .nav-links {
        padding-top: 80px;
    }
}


/* =========================================
   MOTION PREFERENCES
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .marquee-content,
    .explore-text {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   TOUCH TARGETS
   Links that are comfortable with a mouse are
   too small for a thumb — pad them out on
   touch-primary devices only, so desktop
   spacing is untouched.
   ========================================= */
@media (max-width: 992px) and (pointer: coarse), (max-width: 768px) {
    .footer-links {
        gap: 4px;
    }

    .footer-links a {
        display: inline-block;
        padding: 9px 0;
    }

    .view-details {
        padding: 8px 0;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
    }
}
