:root {
    /* Color Palette — Black & White */
    --bg-dark: #101114;
    --bg-darker: #0a0b0d;
    --bg-surface: #16161a;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --accent: #ffffff;
    /* Legacy aliases kept for compatibility */
    --primary-green: #bcb2fa;
    --accent-green: #ffffff;
    --accent-cyan: #ffffff;
    --btn-primary-bg: #ffffff;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

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

/* ── Loader ─────────────────────────────────────────────── */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

/* Logo */
.loader-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 0.05em;
    line-height: 1;
}

.loader-word {
    display: flex;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

.loader-word--light {
    font-weight: 100;
}

/* Each letter sits inside an overflow:hidden mask */
.lc-wrap {
    display: inline-block;
    overflow: hidden;
    line-height: 1.1;
}

.lc {
    display: inline-block;
}

/* Footer: progress + counter */
.loader-footer {
    position: absolute;
    bottom: 2.5rem;
    left: 5%;
    right: 5%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.loader-progress-track {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.loader-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: rgba(255,255,255,0.7);
    transition: width 0.05s linear;
}

.loader-counter {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.3);
    min-width: 2.5ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
/* ── End Loader ─────────────────────────────────────────── */
html{
    overflow-x: hidden;
}
body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Hidden until loader finishes */
.navbar,
.hero-content {
    opacity: 0;
}

/* Typography Utilities */
h1,
h3 {
    font-weight: 600;
}
h2{
    font-weight: 200;
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101114;
}
.logo span{
    font-weight: 100;
}

.menu-toggle {
    color: var(--text-gray);
    cursor: pointer;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.yes-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
}

.yes-nav-item:hover {
    opacity: 0.8;
}

.yes-logo {
    width: 100px;
    object-fit: contain;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, #ffa0d3 0%, #ffffff 70%);
    z-index: 2;
    opacity: 1;
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 3;
    mix-blend-mode: exclusion;
}

.hero-content .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
    display: block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 4rem;
    color: #fff;
    
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    color: #ffffff;
}

.scroll-icon {
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
}

/* Know Section */
.section-know {
    padding: 5rem 10% 8rem;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.know-header h2 {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

.know-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.know-text h3 {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.know-text .description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 400px;
}

.link-underline {
    border-bottom: 1px solid var(--text-white);
    padding-bottom: 2px;
}

.know-image {
    position: relative;
}

.know-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.know-video-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--bg-dark) 0%,
        rgba(255,255,255,.2) 45%
    );
    z-index: 1;
    pointer-events: none;
}

.know-content {
    position: relative;
    z-index: 2;
}

/* Images with generated assets */
.img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #1e293b;
    border-radius: 10px;
    border: 1px solid #334155;
    background-image: url('images/about-thumbnail.webp');
    background-size: cover;
    background-position: center;
}

.know-footer-text,
.section-footer-text {
    position: absolute;
    bottom: -30px;
    right: 0;
    font-size: 15rem;
    line-height: 1;
    font-weight: 100;
    color: var(--primary-green);
    opacity: 0.2;
    mix-blend-mode: hard-light;
}

/* Philosophy */
.section-philosophy {
    padding: 8rem 5%;
    text-align: center;
    background-color: #fff;
    color: #000;
}

.section-philosophy .tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2rem;
}

.section-philosophy blockquote {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

/* Services */
.section-services {
    padding: 6rem 10%;
    position: relative;
    background-color: var(--bg-surface);
}

.section-services .section-title {
    font-size: 3rem;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .section-services .section-title {
        font-size: 4rem;
    }
}

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

.service-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:nth-child(2) {
    margin: 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    font-size: 1.8rem;
    color: var(--text-white);
}
.service-item:hover .service-icon {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    color: var(--primary-green);
}
.service-logo img{
    width: 100px;
}

.service-info h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--text-white);
    font-weight: 600;
}
.service-item:hover h3{
    color: var(--primary-green);   
}
.service-info p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.section-services .section-footer-text {
    color: var(--accent-cyan);
}

/* Projects Grid Section */
.section-featured {
    background-color: var(--bg-dark);
    padding: 6rem 10%;
}

.projects-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.projects-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-white);
}

.projects-section-count {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Card */
.pg-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
    group: true;
}

.pg-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background-color: #1a1a1e;
    margin-bottom: 0.85rem;
}

.pg-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-radius 0.4s ease;
    border-radius: 6px;
}

.pg-card:hover .pg-card-img {
    transform: scale(1.05);
    border-radius: 10px;
}

/* Overlay on hover */
.pg-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 6px;
}

.pg-card:hover .pg-card-overlay {
    opacity: 1;
}

.pg-card-cta {
    background: #fff;
    color: #000;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    border: none;
    transform: translateY(8px);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.pg-card:hover .pg-card-cta {
    transform: translateY(0);
}

/* Card info */
.pg-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.pg-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color 0.25s ease;
    line-height: 1.3;
}

.pg-card:hover .pg-card-title {
    color: var(--text-white);
}

.pg-card-arrow {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.pg-card:hover .pg-card-arrow {
    color: var(--text-white);
    transform: translate(2px, -2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .projects-section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* Contact */
.section-contact {
    background: var(--bg-surface);
    color: #fff;
    padding: 5rem 10%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin: 0;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.cta-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cta-link:hover i {
    transform: translateX(3px);
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contact-details p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a {
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    opacity: 0.8;
}

.contact-form-container {
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.form-full {
    grid-column: span 2;
}

.btn-submit {
    padding: 0.8rem 1.8rem;
    background-color: #fff;
    color: #7c3aed;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 300;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-right a:hover {
    color: white;
}

.footer-large-text {
    font-size: 6rem;
    line-height: 1;
    font-weight: 400;
}

/* Animations */
@keyframes bounce {

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

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

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-know {
        padding: 3rem 5%;
    }

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

    .know-header h2 {
        font-size: 3rem;
    }

    .section-philosophy blockquote {
        font-size: 1rem;
    }

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

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-large-text {
        font-size: 3rem;
        align-self: flex-end;
    }
}