/* Custom Portfolio Styles matching mockup precisely */

html,
body {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    padding: 7rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #050505;
}

/* Right side portrait and glow details */
.portrait-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-glow-container {
    position: absolute;
    width: 580px;
    height: 580px;
    border: 1.5px solid rgba(124, 252, 0, 0.22);
    border-radius: 50%;
    z-index: 1;
    background: radial-gradient(circle, rgba(124, 252, 0, 0.2) 0%, rgba(124, 252, 0, 0) 75%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.portrait-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
    /* Smoothly fade out the bottom flat edge */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 98%);
}

.sig-overlay-container {
    position: absolute;
    right: -5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.sig-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.2));
}

.sig-text-wrapper {
    margin-top: -5px;
}

.sig-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #A1A1AA;
    line-height: 1.2;
}

.sig-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #22C55E;
    line-height: 1.2;
}

.top-right-dot-grid {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 120px;
    height: 180px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* Left side content enhancements */
.hello-text-top {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #A1A1AA;
    text-transform: uppercase;
}

.tech-divider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 150px;
}

/* Stats Styling */
.stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    flex-shrink: 0;
}

.stat-num-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #A1A1AA;
    line-height: 1.2;
}

/* Responsive details */
@media (max-width: 1199.98px) {
    .portrait-container {
        max-width: 440px;
    }

    .circular-glow-container {
        width: 440px;
        height: 440px;
    }

    .portrait-img {
        max-width: 319px;
    }

    .sig-overlay-container {
        right: -20px;
    }
}

@media (max-width: 991.98px) {
    .portrait-container {
        margin-top: 3rem;
        max-width: 400px;
    }

    .circular-glow-container {
        width: 420px;
        height: 420px;
    }

    .portrait-img {
        max-width: 304px;
    }

    .sig-overlay-container {
        right: 0px;
        top: auto;
        bottom: 10px;
    }

    .top-right-dot-grid {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .portrait-container {
        max-width: 320px;
    }

    .circular-glow-container {
        width: 340px;
        height: 340px;
    }

    .portrait-img {
        max-width: 246px;
    }

    .sig-overlay-container {
        right: -10px;
    }

    .sig-img {
        height: 38px;
    }
}

/* ==========================================
   Page Preloader Styles
   ========================================== */

.preloader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #22C55E;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 40px;
}

.preloader-wrap .preloader-bg-swipe {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    animation: slide-up-black 2.8s cubic-bezier(0.86, 0, 0.07, 1) forwards;
    z-index: 1;
}

@keyframes slide-up-black {
    0% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

.preloader-wrap .loader-counter {
    display: flex;
    height: 160px;
    overflow: hidden;
    color: #FFFFFF;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

.preloader-wrap .loader-counter-digit {
    display: block;
}

/* Swiper Pagination Styles */
.custom-swiper-pagination {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet {
    background-color: #22C55E !important;
    opacity: 0.3;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Ensure Swiper slides are equal height */
.testimonial-swiper .swiper-slide {
    height: auto;
}

.preloader-wrap .loader-counter .loader-num {
    font-size: 140px;
    line-height: 160px;
}

/* Hide hero contents initially to avoid layout flash before GSAP entrance */
.hero-left .hello-text-top,
.hero-left .h1-hero,
.hero-left .body-large,
.hero-left .d-flex.gap-3,
.hero-left .tech-divider-row,
.hero-left .d-flex.gap-2,
.hero-left .stats-row,
.portrait-container {
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================
   About Section Styles
   ========================================== */

.about-section {
    background-color: #050505;
    padding: 0 0 6rem 0;
}

/* Background glow orbs */
.about-bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.about-bg-glow--left {
    top: -100px;
    left: -200px;
    background: radial-gradient(circle, rgba(124, 252, 0, 0.06) 0%, transparent 70%);
}

.about-bg-glow--right {
    bottom: -100px;
    right: -200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
}

/* Image wrap */
.about-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Decorative dot grid */
.about-dot-grid {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(rgba(124, 252, 0, 0.15) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    z-index: 0;
    pointer-events: none;
}

/* Image card */
.about-img-card {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: visible;
    background: linear-gradient(145deg, rgba(124, 252, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(124, 252, 0, 0.15);
    padding: 6px;
    max-width: 420px;
    width: 100%;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    object-position: top;
    max-height: 520px;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

/* Floating badges */
.about-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(124, 252, 0, 0.2);
    border-radius: 16px;
    padding: 12px 18px;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 252, 0, 0.08);
    white-space: nowrap;
}

.about-float-badge--exp {
    top: 30px;
    right: -20px;
}

.about-float-badge--projects {
    bottom: 50px;
    left: -20px;
}

.about-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7CFC00 0%, #22C55E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    flex-shrink: 0;
}

.about-float-text {
    display: flex;
    flex-direction: column;
}

.about-float-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.about-float-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #A1A1AA;
    margin-top: 2px;
}

/* Badge pill */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 252, 0, 0.07);
    border: 1px solid rgba(124, 252, 0, 0.2);
    border-radius: 999px;
    padding: 6px 16px;
}

.about-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7CFC00;
    box-shadow: 0 0 8px rgba(124, 252, 0, 0.7);
    animation: pulse-green 2s ease-in-out infinite;
}

.about-badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #7CFC00;
    text-transform: uppercase;
}

/* Heading */
.about-heading {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

/* Description */
.about-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #A1A1AA;
}

/* Info Grid */
.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.about-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.about-info-item:hover {
    background: rgba(124, 252, 0, 0.04);
}

.about-info-item:nth-child(even) {
    border-right: none;
}

.about-info-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.about-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #52525B;
    text-transform: uppercase;
}

.about-info-val {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #E4E4E7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-info-link {
    color: #7CFC00;
    text-decoration: none;
    transition: color 0.2s;
}

.about-info-link:hover {
    color: #22C55E;
}

/* Availability pulsing dot */
.about-available-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7CFC00;
    box-shadow: 0 0 8px rgba(124, 252, 0, 0.6);
    animation: pulse-green 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(124, 252, 0, 0.6);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 14px rgba(124, 252, 0, 0.9);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .about-section {
        padding: 4rem 0;
    }

    .about-float-badge--exp {
        right: 0;
    }

    .about-float-badge--projects {
        left: 0;
    }
}

@media (max-width: 575.98px) {
    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .about-info-item:nth-child(even) {
        border-right: none;
    }

    .about-info-item {
        border-right: none;
    }

    .about-float-badge {
        padding: 8px 12px;
    }

    .about-float-num {
        font-size: 1.1rem;
    }
}

/* About — override info grid to 3 cols for full-width layout */
.about-section .about-info-grid {
    grid-template-columns: repeat(3, 1fr);
}

.about-section .about-info-item:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.about-section .about-info-item:nth-child(3n) {
    border-right: none;
}

.about-section .about-info-item:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Stats Row */
.about-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    flex-wrap: wrap;
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 3rem;
    flex: 1;
    min-width: 140px;
    transition: background 0.2s ease;
}

.about-stat-card:hover {
    background: rgba(124, 252, 0, 0.04);
}

.about-stat-num {
    font-family: 'Clash Display', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFC00 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #71717A;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .about-stats-row {
        flex-direction: column;
    }

    .about-stat-divider {
        width: 80%;
        height: 1px;
    }

    .about-section .about-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-section .about-info-item:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .about-section .about-info-item:nth-child(even) {
        border-right: none;
    }

    .about-section .about-info-item:nth-last-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .about-section .about-info-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* ==========================================
   Projects Page Styles
   ========================================== */

/* Hero */
.projects-page-hero {
    padding: 10rem 0 3rem;
    background-color: #050505;
    overflow: hidden;
}

.projects-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 252, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Filter section */
.projects-filter-section {
    background-color: #050505;
    padding-bottom: 1rem;
}

/* Filter Buttons */
.project-filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #A1A1AA;
    cursor: pointer;
    transition: all 0.25s ease;
}

.project-filter-btn:hover {
    border-color: rgba(124, 252, 0, 0.35);
    color: #7CFC00;
    background: rgba(124, 252, 0, 0.06);
}

.project-filter-btn.active {
    background: linear-gradient(135deg, #7CFC00 0%, #22C55E 100%);
    border-color: transparent;
    color: #050505;
}

/* CTA Section */
.projects-cta-section {
    background-color: #050505;
}

.projects-cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4rem 2rem;
    overflow: hidden;
}

.projects-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(124, 252, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.projects-cta-card .contact-badge,
.projects-cta-card .contact-title,
.projects-cta-card .contact-desc,
.projects-cta-card .d-flex {
    position: relative;
    z-index: 1;
}

/* Fade-in animation for filtered items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 767.98px) {
    .projects-page-hero {
        padding: 8rem 0 2rem;
    }

    .projects-cta-card {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================
   Modern Projects Showcase
   ========================================== */

.projects-showcase-page {
    isolation: isolate;
}

.projects-showcase-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(120deg, rgba(34, 197, 94, 0.08), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(124, 252, 0, 0.08), transparent 30%),
        #050505;
}

.projects-showcase-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 90%);
    pointer-events: none;
}

.projects-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    color: #7CFC00;
    text-transform: uppercase;
}

.projects-hero-title {
    max-width: 780px;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 5rem);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: 0;
    color: #FFFFFF;
}

.projects-proof-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    margin-left: auto;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
        rgba(5, 5, 5, 0.72);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.projects-proof-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1.35rem;
    border-radius: 16px;
}

.projects-proof-row+.projects-proof-row {
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.projects-proof-row span {
    font-family: "Clash Display", sans-serif;
    font-size: 2.1rem;
    font-weight: 750;
    line-height: 1;
    color: #7CFC00;
}

.projects-proof-row p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #D4D4D8;
}

.projects-filter-modern {
    position: relative;
    padding: 0 0 2rem;
}

.projects-filter-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.014);
}

.projects-filter-label {
    display: block;
    padding-left: 0.5rem;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #A1A1AA;
}

.projects-showcase-grid-section {
    position: relative;
    padding-top: 3rem !important;
}

.projects-showcase-grid-section::before,
.projects-modern-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1116px, calc(100% - 24px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.projects-section-heading {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.projects-section-heading h2 {
    margin: 0;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.12;
    color: #FFFFFF;
}

.project-showcase-card {
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.016);
    border-color: rgba(255, 255, 255, 0.075);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.project-showcase-card:hover {
    border-color: rgba(124, 252, 0, 0.24);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42), 0 0 24px rgba(124, 252, 0, 0.07);
}

.project-showcase-card:hover .project-img {
    transform: scale(1.04);
}

.project-showcase-card .project-image-wrapper {
    position: relative;
    height: 255px;
    background: #0A0A0A;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.project-showcase-card .project-image-wrapper .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    transition: transform 0.55s ease;
}

.project-image-overlay {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.project-image-overlay span {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.project-showcase-card .project-card-body {
    padding: 1.6rem;
}

.project-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.project-card-topline>span {
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7CFC00;
}

.project-showcase-card .project-title {
    font-size: 1.55rem;
    letter-spacing: 0;
}

.project-subtitle {
    margin: 0 0 0.9rem;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #D4D4D8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tags span {
    display: inline-flex;
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    font-family: "Inter", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    color: #A1A1AA;
}

.projects-empty-state {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
}

.projects-modern-cta {
    position: relative;
}

.projects-modern-cta .projects-cta-card {
    border-radius: 18px;
    text-align: left;
}

@media (max-width: 991.98px) {
    .projects-showcase-hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .projects-proof-panel {
        margin-left: 0;
    }

    .projects-filter-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .projects-showcase-hero {
        padding: 7rem 0 3rem;
    }

    .projects-hero-title {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .projects-proof-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .projects-filter-shell {
        padding: 1rem;
    }

    .projects-filter-shell #projectFilterBtns {
        width: 100%;
    }

    .project-filter-btn {
        flex: 1 1 auto;
    }

    .project-showcase-card .project-image-wrapper {
        height: 220px;
    }
}

/* ==========================================
   Contact Page Styles
   ========================================== */

.contact-page-main {
    isolation: isolate;
}

.contact-page-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(120deg, rgba(34, 197, 94, 0.08), transparent 32%),
        radial-gradient(circle at 78% 22%, rgba(44, 120, 86, 0.16), transparent 32%),
        linear-gradient(180deg, #050505 0%, #07100b 100%),
        #050505;
    overflow: hidden;
}

.contact-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 85%);
    pointer-events: none;
}

.contact-page-grid-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(124, 252, 0, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.contact-page-grid-glow--left {
    left: -180px;
    bottom: 12%;
}

.contact-page-grid-glow--right {
    right: -130px;
    top: 18%;
}

.contact-page-title {
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.65rem, 4.65vw, 4.35rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: 0;
    color: #FFFFFF;
    max-width: 740px;
}

.contact-page-intro {
    position: relative;
    z-index: 2;
}

.contact-page-kicker,
.contact-page-section-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    color: #7CFC00;
    text-transform: uppercase;
}

.contact-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-page-kicker::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    background: #7CFC00;
}

.contact-page-actions .btn-primary-custom,
.contact-page-actions .btn-secondary-custom {
    min-height: 48px;
}

.contact-page-status-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    margin-left: auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015)),
        rgba(5, 5, 5, 0.72);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-page-status-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-page-status-head strong {
    max-width: 150px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: right;
    text-transform: none;
    color: #D4D4D8;
}

.contact-page-status-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.contact-page-status-body>div {
    min-height: 118px;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.contact-page-metric {
    display: block;
    font-family: "Clash Display", sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: #7CFC00;
}

.contact-page-metric-label {
    display: block;
    margin-top: 0.65rem;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #A1A1AA;
}

.contact-page-route-card {
    display: grid;
    gap: 0.45rem;
    padding: 1.35rem;
    border: 1px solid rgba(124, 252, 0, 0.18);
    border-radius: 16px;
    background: rgba(124, 252, 0, 0.055);
}

.contact-page-route-card span {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7CFC00;
}

.contact-page-route-card strong {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #FFFFFF;
}

.contact-page-methods {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(circle at 78% 12%, rgba(124, 252, 0, 0.035), transparent 28%),
        #050505;
}

.contact-page-methods::before,
.contact-page-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1116px, calc(100% - 24px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.contact-page-methods-head,
.contact-page-form-intro {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.contact-page-methods-head h2,
.contact-page-form-intro h2 {
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0.35rem 0 0;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 132px;
    height: 100%;
    padding: 1.4rem;
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.018);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-method-card:hover {
    color: #FFFFFF;
    border-color: rgba(124, 252, 0, 0.34);
    background:
        linear-gradient(180deg, rgba(124, 252, 0, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.022);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
    transform: translateY(-3px);
}

.contact-method-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #7CFC00;
    background: rgba(124, 252, 0, 0.08);
    border: 1px solid rgba(124, 252, 0, 0.16);
}

.contact-method-card small,
.contact-method-card strong {
    display: block;
    overflow-wrap: anywhere;
}

.contact-method-card small {
    margin-bottom: 0.35rem;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8A8F98;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-method-card strong {
    font-family: "Inter", sans-serif;
    font-size: 0.96rem;
    line-height: 1.4;
    color: #F4F4F5;
}

.contact-page-section {
    position: relative;
    padding: 5.5rem 0 6rem;
    background:
        radial-gradient(circle at 16% 12%, rgba(124, 252, 0, 0.032), transparent 28%),
        #050505;
}

.contact-page-info-panel,
.contact-page-form-card {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.018);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.contact-page-info-panel {
    padding: 3rem;
    background:
        linear-gradient(180deg, rgba(124, 252, 0, 0.03), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.014);
}

.contact-page-form-card {
    padding: 3rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
        rgba(255, 255, 255, 0.018);
}

.contact-page-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #050505;
    background: linear-gradient(135deg, #7CFC00, #22C55E);
    border-radius: 999px;
    padding: 0.9rem 1.4rem;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page-email-link:hover {
    color: #050505;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.25);
}

.contact-page-form-card textarea {
    resize: vertical;
    min-height: 150px;
}

@media (max-width: 991.98px) {
    .contact-page-hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .contact-page-status-panel {
        margin-left: 0;
    }

    .contact-page-section {
        padding: 4rem 0;
    }

    .contact-page-methods {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .contact-page-hero {
        padding: 7rem 0 3rem;
    }

    .contact-page-title {
        font-size: 2.65rem;
        line-height: 1.06;
    }

    .contact-page-status-panel,
    .contact-page-info-panel,
    .contact-page-form-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .contact-page-status-body {
        grid-template-columns: 1fr;
    }

    .contact-page-status-body>div {
        min-height: auto;
    }

    .contact-page-methods-head,
    .contact-page-form-intro {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {

    .contact-page-actions .btn-primary-custom,
    .contact-page-actions .btn-secondary-custom,
    .contact-page-email-link {
        width: 100%;
        justify-content: center;
    }

    .contact-page-title {
        font-size: 2.35rem;
    }
}

/* ==========================================
   Services Page Styles
   ========================================== */

.services-page {
    isolation: isolate;
}

.services-page-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(120deg, rgba(34, 197, 94, 0.08), transparent 34%),
        radial-gradient(circle at 80% 16%, rgba(124, 252, 0, 0.09), transparent 30%),
        #050505;
    overflow: hidden;
}

.services-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
    pointer-events: none;
}

.services-page-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    color: #7CFC00;
    text-transform: uppercase;
}

.services-page-title {
    max-width: 820px;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.8rem, 5.25vw, 5.15rem);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: 0;
    color: #FFFFFF;
}

.services-hero-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    margin-left: auto;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        rgba(5, 5, 5, 0.75);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: servicesFloat 5s ease-in-out infinite;
}

.services-hero-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.6rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-hero-panel-head span,
.services-hero-panel-head strong {
    font-family: "Inter", sans-serif;
}

.services-hero-panel-head span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #A1A1AA;
    text-transform: uppercase;
}

.services-hero-panel-head strong {
    max-width: 170px;
    font-size: 1rem;
    line-height: 1.35;
    text-align: right;
    color: #FFFFFF;
}

.services-hero-stack {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
}

.services-hero-stack>div {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.services-hero-stack span {
    font-family: "Clash Display", sans-serif;
    font-size: 1.25rem;
    font-weight: 750;
    color: #7CFC00;
}

.services-hero-stack p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #D4D4D8;
}

.services-page-list,
.services-process-section,
.services-cta-section {
    position: relative;
    padding: 6rem 0;
    background: #050505;
}

.services-page-list::before,
.services-process-section::before,
.services-cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1116px, calc(100% - 24px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.services-page-section-head {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.services-page-section-head h2,
.services-process-copy h2,
.services-cta-card h2 {
    font-family: "Clash Display", sans-serif;
    font-weight: 700;
    line-height: 1.12;
    color: #FFFFFF;
}

.services-page-section-head h2 {
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    margin: 0;
}

.services-modern-card {
    position: relative;
    height: 100%;
    min-height: 430px;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        rgba(255, 255, 255, 0.016);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.services-modern-card::before {
    content: "";
    position: absolute;
    inset: auto 1.5rem 0;
    height: 4px;
    bottom: -2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7CFC00, rgba(34, 197, 94, 0.2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.services-modern-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 252, 0, 0.24);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42), 0 0 24px rgba(124, 252, 0, 0.07);
}

.services-modern-card:hover::before {
    transform: scaleX(1);
}

.services-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.services-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(124, 252, 0, 0.16);
    background: rgba(124, 252, 0, 0.055);
}

.services-card-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.services-modern-card:hover .services-card-icon img {
    transform: scale(1.08) rotate(-3deg);
}

.services-card-top>span {
    font-family: "Clash Display", sans-serif;
    font-size: 2.1rem;
    font-weight: 750;
    line-height: 1;
    color: rgba(255, 255, 255, 0.14);
}

.services-modern-card h3 {
    margin: 0 0 0.85rem;
    font-family: "Clash Display", sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #FFFFFF;
}

.services-modern-card p {
    margin: 0 0 1.35rem;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #A1A1AA;
}

.services-modern-card ul {
    display: grid;
    gap: 0.65rem;
    padding: 0;
    margin: 0 0 1.6rem;
    list-style: none;
}

.services-modern-card li {
    position: relative;
    padding-left: 1.15rem;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    color: #D4D4D8;
}

.services-modern-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7CFC00;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    color: #7CFC00;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.service-card-link svg {
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    color: #FFFFFF;
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

.services-process-copy {
    position: sticky;
    top: 110px;
}

.services-process-copy h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    margin-bottom: 1rem;
}

.services-process-list {
    display: grid;
    gap: 1rem;
}

.services-process-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.016);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.services-process-item:hover {
    transform: translateX(8px);
    border-color: rgba(124, 252, 0, 0.22);
    background: rgba(124, 252, 0, 0.026);
}

.services-process-item span {
    font-family: "Clash Display", sans-serif;
    font-size: 1.8rem;
    font-weight: 750;
    color: #7CFC00;
}

.services-process-item h3 {
    margin: 0 0 0.35rem;
    font-family: "Clash Display", sans-serif;
    font-size: 1.35rem;
    color: #FFFFFF;
}

.services-process-item p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #A1A1AA;
}

.services-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 18px;
    background:
        radial-gradient(circle at 82% 20%, rgba(124, 252, 0, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.016);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

.services-cta-card h2 {
    max-width: 760px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 3.1rem);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes servicesFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero-panel {
        animation: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .services-page-hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .services-hero-panel {
        margin-left: 0;
    }

    .services-process-copy {
        position: static;
    }

    .services-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .services-page-hero {
        padding: 7rem 0 3rem;
    }

    .services-page-title {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .services-page-list,
    .services-process-section,
    .services-cta-section {
        padding: 4.5rem 0;
    }

    .services-modern-card {
        min-height: auto;
    }

    .services-process-item {
        grid-template-columns: 1fr;
    }

    .services-cta-card {
        padding: 1.5rem;
    }
}

/* ==========================================
   Modern About Page
   ========================================== */

.about-page {
    isolation: isolate;
}

.about-page-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 5rem;
    background:
        linear-gradient(120deg, rgba(34, 197, 94, 0.08), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(124, 252, 0, 0.1), transparent 31%),
        #050505;
    overflow: hidden;
}

.about-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
    pointer-events: none;
}

.about-page-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    color: #7CFC00;
    text-transform: uppercase;
}

.about-page-title {
    max-width: 820px;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.8rem, 5.15vw, 5.05rem);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: 0;
    color: #FFFFFF;
}

.about-page-portrait {
    position: relative;
    width: min(100%, 500px);
    margin-left: auto;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-page-portrait-ring {
    position: absolute;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    border: 1px solid rgba(124, 252, 0, 0.2);
    background: radial-gradient(circle, rgba(124, 252, 0, 0.14), transparent 68%);
    animation: aboutPulseRing 5s ease-in-out infinite;
}

.about-page-img {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    display: block;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
}

.about-page-signature {
    position: absolute;
    right: 0;
    bottom: 3.5rem;
    z-index: 3;
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.about-page-signature img {
    width: 130px;
    height: auto;
}

.about-page-signature span {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    color: #A1A1AA;
}

.about-page-stats,
.about-page-story,
.about-page-skills,
.about-page-approach,
.about-page-cta {
    position: relative;
    padding: 6rem 0;
    background: #050505;
}

.about-page-stats {
    padding-top: 0;
}

.about-page-story::before,
.about-page-skills::before,
.about-page-approach::before,
.about-page-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1116px, calc(100% - 24px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    pointer-events: none;
}

.about-page-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.014);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.about-page-stats-grid>div {
    padding: 2rem;
    text-align: center;
}

.about-page-stats-grid>div+div {
    border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.about-page-stats-grid span {
    display: block;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 750;
    line-height: 1;
    color: #7CFC00;
}

.about-page-stats-grid p {
    margin: 0.7rem 0 0;
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A1A1AA;
}

.about-page-section-heading {
    max-width: 760px;
}

.about-page-section-heading h2,
.about-cta-card h2 {
    margin: 0;
    font-family: "Clash Display", sans-serif;
    font-size: clamp(2rem, 3.3vw, 3.3rem);
    font-weight: 700;
    line-height: 1.12;
    color: #FFFFFF;
}

.about-page-story-card {
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.014);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

.about-page-story-card p {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #A1A1AA;
}

.about-page-story-card p:last-of-type {
    margin-bottom: 0;
}

.about-page-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.about-page-info-row small,
.about-page-info-row strong {
    display: block;
    font-family: "Inter", sans-serif;
}

.about-page-info-row small {
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #71717A;
}

.about-page-info-row strong {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #FFFFFF;
}

.about-page-skills {
    background:
        radial-gradient(circle at 84% 8%, rgba(124, 252, 0, 0.04), transparent 30%),
        #050505;
}

.about-skill-card {
    height: 100%;
    min-height: 245px;
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.014);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.about-skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 252, 0, 0.24);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.42), 0 0 24px rgba(124, 252, 0, 0.07);
}

.about-skill-card span {
    display: block;
    margin-bottom: 1.4rem;
    font-family: "Clash Display", sans-serif;
    font-size: 2rem;
    font-weight: 750;
    color: rgba(124, 252, 0, 0.82);
}

.about-skill-card h3 {
    margin: 0 0 0.8rem;
    font-family: "Clash Display", sans-serif;
    font-size: 1.45rem;
    color: #FFFFFF;
}

.about-skill-card p,
.about-approach-item p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #A1A1AA;
}

.about-approach-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-approach-item {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.014);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.about-approach-item:hover {
    transform: translateY(-5px);
    background: rgba(124, 252, 0, 0.024);
    border-color: rgba(124, 252, 0, 0.2);
}

.about-approach-item strong {
    display: block;
    margin-bottom: 0.55rem;
    font-family: "Clash Display", sans-serif;
    font-size: 1.25rem;
    color: #FFFFFF;
}

.about-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 18px;
    background:
        radial-gradient(circle at 82% 20%, rgba(124, 252, 0, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
        rgba(255, 255, 255, 0.016);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

.about-cta-card h2 {
    max-width: 760px;
    margin-bottom: 1rem;
}

@keyframes aboutPulseRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page-portrait-ring {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .about-page-hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .about-page-portrait {
        margin-left: 0;
    }

    .about-page-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page-stats-grid>div:nth-child(3) {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.075);
    }

    .about-page-stats-grid>div:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.075);
    }

    .about-page-info-row,
    .about-approach-list {
        grid-template-columns: 1fr;
    }

    .about-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .about-page-hero {
        padding: 7rem 0 3rem;
    }

    .about-page-title {
        font-size: 2.5rem;
        line-height: 1.08;
    }

    .about-page-portrait {
        min-height: 430px;
    }

    .about-page-portrait-ring {
        width: 340px;
        height: 340px;
    }

    .about-page-img {
        width: min(100%, 300px);
    }

    .about-page-signature {
        right: 0.5rem;
        bottom: 1.5rem;
    }

    .about-page-story,
    .about-page-skills,
    .about-page-approach,
    .about-page-cta {
        padding: 4.5rem 0;
    }

    .about-page-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-page-stats-grid>div+div {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.075);
    }

    .about-page-story-card,
    .about-cta-card {
        padding: 1.5rem;
    }
}

/* Form Input Override */
.form-control,
.form-control:focus,
textarea.form-control,
input.form-control {
    color: #fff !important;
}

.form-control::placeholder,
textarea.form-control::placeholder,
input.form-control::placeholder {
    color: #fff !important;
    opacity: 1 !important;
    /* Ensure full white */
}

/* Active Nav Link Animation */
.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
}

/* Ensure sections offset for fixed header globally */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* Hide the old non-animated underline from styles.css */
.navbar-nav .nav-link.active::after {
    display: none !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.25rem;
    /* Match the padding to align with text */
    width: 0%;
    height: 2px;
    background-color: #22c55e;
    /* Primary green */
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: calc(100% - 2.5rem);
    /* Subtract left and right padding */
}