/* ============================================================
   HERO SECTION — Proportional Scaling
   Uses min(vw, vh) so text scales with width BUT never exceeds
   what the viewport height can fit. No overflow, no double scroll.
   ============================================================ */

/* ===== HERO TITLE: scales with width, constrained by height ===== */
.pp-hero-title {
    font-size: max(55px, min(23vw, 41vh)) !important;
}

/* ===== "Hello We Build" text ===== */
.pp-hero-text p {
    font-size: max(18px, min(1.8vw, 3.2vh)) !important;
}

/* ===== "Software House & Digital Studio" text ===== */
.pp-hero-info p {
    font-size: max(12px, min(0.95vw, 1.7vh)) !important;
}

/* ===== "Available for Projects" button ===== */
.pp-hero-info-sm-btn {
    font-size: max(11px, min(0.7vw, 1.3vh)) !important;
}


/* ===== HERO PERSON: Only constrain on smaller screens ===== */
/* Desktop (1200px+): use natural image size — no override */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .pp-hero-person {
        width: 50% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .pp-hero-person {
        width: 55% !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .pp-hero-person {
        width: 50% !important;
    }

    .pp-hero-title br {
        display: none;
    }
}

@media (max-width: 575px) {
    .pp-hero-title {
        font-size: max(42px, min(18vw, 38vh)) !important;
        top: auto !important;
        bottom: 5%;
    }

    .pp-hero-title br {
        display: none;
    }

    .pp-hero-person {
        width: 75% !important;
    }

    .pp-hero-text p {
        font-size: 22px !important;
    }

    .pp-hero-info p {
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    .pp-hero-title {
        font-size: max(36px, min(16vw, 35vh)) !important;
    }

    .pp-hero-person {
        width: 70% !important;
    }

    .pp-hero-text p {
        font-size: 18px !important;
    }
}


/* ============================================================
   ABOUT SECTION — Founder Description
   Premium styling for the "Meet the Founder" paragraph
   ============================================================ */

.pp-about-founder {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 680px;
    padding-left: 24px;
    border-left: 2px solid rgba(255, 246, 105, 0.35);
    position: relative;
    letter-spacing: 0.01em;
    /* Override GSAP tp_fade_anim hiding this element on desktop */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.pp-about-founder span {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

.pp-about-founder strong {
    color: #FFF669;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Tablet */
@media (max-width: 991px) {
    .pp-about-founder {
        font-size: 16px;
        max-width: 560px;
        padding-left: 20px;
        line-height: 1.75;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pp-about-founder {
        font-size: 15px;
        max-width: 100%;
        padding-left: 18px;
        line-height: 1.7;
    }
}

@media (max-width: 575px) {
    .pp-about-founder {
        font-size: 14px;
        padding-left: 16px;
        border-left-width: 2px;
    }
}


/* ============================================================
   BANNER IMAGE — Full Width Fix
   ============================================================ */

.pp-banner-style .tp-banner-img img {
    width: 100% !important;
    min-height: 100%;
    object-fit: cover;
}
