.text-orange {
    color: var(--primary-color, #FF7029);
}

.about-title {
    font-size: 40px;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-main-img {
    position: relative;
    z-index: 2;
    max-height: 500px;
    object-fit: contain;
}


.owner-banner {
    position: absolute;
    top: 45%;
    left: 0;
    font-size: 12px;
    background-color: var(--primary-color, #FF7029);
    padding: 10px 300px 20px 30px;
    border-radius: 4px;
    z-index: 0;
    opacity: 0;
    transform: translate(-40px, -50%);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 112, 41, 0.2);
}

.owner-banner.is-visible {
    opacity: 1;
    transform: translate(-10px, -50%);
}


.benefit-card {
    background-color: #222222;
    padding: 40px 50px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}




.benefit-card h4,
.benefit-card p {
    position: relative;
    z-index: 3;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover::before,
.benefit-card:hover::after {
    opacity: 1;
}






@media (max-width: 991px) {

    .about-title,
    .benefits-title,
    .services-title {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .owner-banner {
        left: 5%;
        padding: 15px 25px;
    }

    .owner-banner h4 {
        font-size: 1.1rem;
    }

    .owner-banner p {
        font-size: 0.85rem !important;
    }

    .benefit-card,
    .service-card {
        width: 320px;
        padding: 30px;
    }

    .services-pin-wrap {
        height: auto;
    }

    .services-sticky-view {
        position: relative;
        height: auto;
        padding: 60px 0;
    }

    .container-fluid.overflow-hidden {
        overflow-x: auto !important;
    }
}



.service-card {
    width: 380px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 6px;

    position: relative;
    z-index: 1;


    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}





.service-card>* {
    position: relative;
    z-index: 2;
}





.service-card:hover::before {
    opacity: 0;
}


.service-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.service-card h4::before {
    content: '•';
    font-size: 1.8rem;
    margin-right: 12px;
    color: #000000;
    line-height: 0;
    position: relative;
    top: -2px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-track {

    will-change: transform;
    width: fit-content;


    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.services-pin-wrap {

    height: 450vh;
    position: relative;
}

.services-sticky-view {
    position: sticky !important;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

    @media (max-width: 991px) {
        .services-sticky-view {
            position: relative !important; 
            top: auto;
            height: auto;
            display: block;
            overflow: visible;
        }
        
        .services-pin-wrap {
            height: auto !important; 
        }
    }



.brand-toggle-group {
    display: inline-flex;
    border: 1px solid var(--primary-color, #FF7029);
    border-radius: 4px;
    overflow: hidden;
}


.brand-toggle-btn {
    background-color: transparent;
    color: var(--primary-color, #FF7029);
    border: none;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}


.brand-toggle-btn.active {
    background-color: var(--primary-color, #FF7029);
    color: #ffffff;
}


.logo-card {
    background-color: #fafafa;
    border-radius: 8px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.fade-in-content {
    animation: brandFadeIn 0.4s ease forwards;
}

@keyframes brandFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.project-card .project-img-wrapper {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}


.project-card .project-img-wrapper img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.03);
}

.project-card h4 {
    font-size: 1.35rem;
    color: #1a1a1a;
}

.project-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}


.video-banner-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: cover;
}


.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: var(--primary-color, #FF7029);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
}


.play-btn svg {
    margin-left: 4px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #e65c17;
}


.play-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #FF7029);
    animation: playPulse 2s infinite;
    z-index: -1;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


@media (max-width: 991px) {
    .video-banner-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .video-banner-wrapper {
        height: 250px;
    }

    .project-card h4 {
        font-size: 1.25rem;
    }
}



.process-section {


    background-size: cover;
    position: relative;
}


.process-card-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-right: 15px;
}


.process-card-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #d9784e;
    z-index: -1;
}


.process-card {
    background-color: #ffffff;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f7ba9f;
    margin-bottom: 15px;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.step-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.step-list li {
    color: #7a7a7a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-list li:last-child {
    margin-bottom: 0;
}


.process-card {
    background-color: #ffffff;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;


    position: relative;
    z-index: 1;
    border-radius: 4px;
}


.process-card::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 6px;




    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}






.process-card-wrapper:hover .process-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


.process-card-wrapper:hover::before {
    transform: translate(6px, -6px);
    background-color: var(--primary-color, #FF7029);
}


.process-card-wrapper:hover .process-card::after {
    opacity: 1;
}



.testimonial-card {
    background-color: #f8f9fb;
    padding: 35px 30px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.testimonial-card .stars {
    color: var(--primary-color, #FF7029);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}


.testimonial-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 30px;
}


.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 2px;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0;
}


.testimonial-video-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

.testimonial-video-wrapper .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 991px) {
    .testimonial-video-wrapper {
        margin: 30px 0;
        min-height: 300px;
    }
}




.faq-cta-box {
    background-color: var(--primary-color, #FF7029);
    padding: 45px 40px;
    border-radius: 4px;
}

.faq-btn-white {
    background-color: #ffffff;
    color: var(--primary-color, #FF7029);
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.faq-btn-white:hover {
    background-color: #f8f9fa;
    color: var(--primary-color, #FF7029);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: transparent;
}

.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}


.custom-accordion .accordion-button {
    background-color: transparent;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 25px 0;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: #1a1a1a;
    background-color: transparent;
    box-shadow: none;
}


.custom-accordion .accordion-body {
    padding: 0 0 25px 0;
    color: #7a7a7a;
    line-height: 1.8;
    font-size: 0.95rem;
}




.custom-accordion .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-left: auto;
}


.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: none;
    content: '−';
    transform: rotate(180deg);
}



.contact-section {

    background: linear-gradient(to bottom, #1a1a1a 40%, rgba(26, 26, 26, 0.85) 100%), url('../images/contact-bg.jpg') no-repeat bottom center;
    background-size: cover;
}


.contact-label {
    color: var(--primary-color, #FF7029);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}


.contact-form-wrapper {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}


.custom-input,
.custom-select {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px 20px;
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color 0.3s ease;
}


.custom-input::placeholder,
.custom-select:invalid {
    color: #888888;
}


.custom-input:focus,
.custom-select:focus {
    border-color: var(--primary-color, #FF7029);
    box-shadow: 0 0 0 3px rgba(255, 112, 41, 0.1);
    outline: none;
}


.custom-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px 12px;
}


@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 40px 25px;
    }
    h1 {
        font-size: 40px;
    }
}



.benefits-sticky-left {
    position: sticky;
    top: 80px;
    height: fit-content;
}


.benefit-card {
    position: sticky;
    top: 130px;

    text-align: start;

    background-color: #222222;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);


    margin-bottom: 5vh;
}

.benefit-card:last-child {

    margin-bottom: 5vh;
}



.benefit-card:nth-child(1) {
    top: 130px;
    z-index: 1;
}

.benefit-card:nth-child(2) {
    top: 210px;
    z-index: 2;
}

.benefit-card:nth-child(3) {
    top: 290px;
    z-index: 3;
}


.benefit-card:nth-child(4) {
    top: 370px;
    z-index: 4;
}


@media (max-width: 991px) {

    .benefits-sticky-left,
    .benefit-card {
        position: relative;
        top: auto !important;
        z-index: auto;
        margin-bottom: 20px;
        text-align: left;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}


















































/* =============================================
   SOZO SOLAR — PAGE ANIMATIONS (SLOWED DOWN)
   Add this file via: <link rel="stylesheet" href="animations.css">
   ============================================= */

/* ── 1. Global smooth scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── 2. Base reveal state ── */
/* Every animated element starts hidden and slightly offset */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur {
    opacity: 1;
    will-change: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    /* Increased from 0.85s to 1.4s for a much smoother glide */
    transition-duration: 1.4s;
    transition-property: opacity, transform, filter;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal-blur {
    transform: translateY(20px);
    filter: blur(6px);
}

/* ── 3. Visible (in-viewport) state ── */
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-blur.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ── 4. Stagger delay helpers (Widened delays for slower cascade) ── */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.30s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.60s;
}

.delay-5 {
    transition-delay: 0.75s;
}

.delay-6 {
    transition-delay: 0.90s;
}

/* ── 5. Hero section ── */
.hero-tagline {
    display: inline-block;
    overflow: hidden;
    line-height: 1.15;
}

/* Headline word-by-word reveal */
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotate(2deg);
    /* Increased from 0.6s to 1.1s */
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-word.is-visible {
    opacity: 1;
    transform: none;
}

/* Hero image float */
.hero-float-img {
    /* Slowed from 6s to 9s for a dreamier floating effect */
    animation: heroFloat 9s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

/* Hero CTA buttons pop-in */
.hero-cta-wrap {
    opacity: 0;
    transform: translateY(20px);
    /* Increased duration and delay */
    transition: opacity 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-wrap.is-visible {
    opacity: 1;
    transform: none;
}

/* ── 6. Section label (orange tag + heading) ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-label.is-visible {
    opacity: 1;
    transform: none;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary-color, #FF7029);
    transition: width 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    width: 0;
}

.section-label.is-visible::before {
    width: 28px;
}

/* ── 7. Section headings — split line reveal ── */
.heading-line {
    display: block;
    overflow: hidden;
    line-height: 1.2;
}

.heading-line-inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.heading-line-inner.is-visible {
    opacity: 1;
    transform: none;
}

/* Widened the stagger for lines of text */
.heading-line:nth-child(2) .heading-line-inner {
    transition-delay: 0.2s;
}

.heading-line:nth-child(3) .heading-line-inner {
    transition-delay: 0.4s;
}

/* ── 8. About section image reveal ── */
.about-img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img-reveal.is-visible {
    clip-path: inset(0 0% 0 0);
}

/* ── 9. Stat counters — pop bounce ── */
.stat-number {
    transition: color 0.6s ease;
}

.stat-pop {
    animation: statPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes statPop {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

/* ── 10. Benefit cards — depth cascade ── */
.benefit-card {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s ease,
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s ease !important;
}

.benefit-card.card-hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.97) !important;
    filter: blur(3px);
}

.benefit-card.card-visible {
    opacity: 1;
    transform: none !important;
    filter: none;
}

/* ── 11. Service cards — scroll-driven fade-in ── */
.service-card {
    transition: transform 0.5s ease,
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease !important;
}

.service-card.card-hidden {
    opacity: 0;
    transform: translateX(30px) !important;
}

.service-card.card-visible {
    opacity: 1;
    transform: translateX(0) !important;
}

/* ── 12. Logo cards — scale-in ── */
.logo-card {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.logo-card.logo-visible {
    opacity: 1;
    transform: scale(1);
}

/* ── 13. Process cards — stagger rise ── */
.process-card-wrapper {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.process-card-wrapper.proc-visible {
    opacity: 1;
    transform: none;
}

.process-card-wrapper:nth-child(2) {
    transition-delay: 0.2s;
}

.process-card-wrapper:nth-child(3) {
    transition-delay: 0.4s;
}

.process-card-wrapper:nth-child(4) {
    transition-delay: 0.6s;
}

/* ── 14. Testimonial cards — slide up ── */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card.tcard-visible {
    opacity: 1;
    transform: none;
}

.col-lg-4:nth-child(3) .testimonial-card:first-child {
    transition-delay: 0.25s;
}

.col-lg-4:nth-child(3) .testimonial-card:last-child {
    transition-delay: 0.5s;
}

.col-lg-4:nth-child(1) .testimonial-card:last-child {
    transition-delay: 0.25s;
}

/* ── 15. FAQ accordion items — stagger ── */
.accordion-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-item.faq-visible {
    opacity: 1;
    transform: none;
}

.accordion-item:nth-child(2) {
    transition-delay: 0.2s;
}

.accordion-item:nth-child(3) {
    transition-delay: 0.4s;
}

.accordion-item:nth-child(4) {
    transition-delay: 0.6s;
}

/* ── 16. Contact section ── */
.contact-info-block {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info-block.contact-visible {
    opacity: 1;
    transform: none;
}

.contact-info-block:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-info-block:nth-child(3) {
    transition-delay: 0.4s;
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form-wrapper.form-visible {
    opacity: 1;
    transform: none;
}

/* ── 17. Project cards — image clip reveal ── */
.project-img-wrapper {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card.proj-visible .project-img-wrapper {
    clip-path: inset(0 0% 0 0);
}

.project-card h4,
.project-card p {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card.proj-visible h4,
.project-card.proj-visible p {
    opacity: 1;
    transform: none;
}

.project-card p {
    transition-delay: 0.9s;
}

/* ── 18. Video banner ── */
.video-banner-wrapper {
    opacity: 0;
    transition: opacity 1.2s 0.3s ease;
}

.video-banner-wrapper.vid-visible {
    opacity: 1;
}

/* ── 19. Orange divider line — draw on scroll ── */
.draw-line {
    display: block;
    width: 0;
    height: 3px;
    background: var(--primary-color, #FF7029);
    border-radius: 2px;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    margin-bottom: 1.5rem;
}

.draw-line.line-visible {
    width: 60px;
}

/* ── 20. Page entry transition ── */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.page-entry {
    animation: pageFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── 21. Reduced motion — respect users ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------------------------------------------------
       SOZO SOLAR - SUPERNOVA BURN SPLASH SCREEN
       --------------------------------------------------- */
    
    #sozo-splash {
        position: fixed;
        top: 0; left: 0; 
        width: 100vw; height: 100vh;
        z-index: 999999; 
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    /* 1. THE BURNING HOLE (Starts as a solid black screen) */
    .burn-overlay {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        width: 0; height: 0;
        
        /* 150vmax ensures the shadow covers any size monitor */
        box-shadow: 0 0 0 150vmax #0a0a0a;
        z-index: 1; 
        
        /* Triggers exactly as the sun explodes */
        animation: burnExpand 1.5s 2.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    }

    /* 2. THE CENTRAL SUN */
    .splash-sun-center {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 80px; height: 80px;
        background: #FFDF00;
        border-radius: 50%;
        z-index: 3;
        
        /* Charges up, shrinks, then explodes! */
        animation: sunSupernova 2.4s cubic-bezier(0.45, 0, 0.55, 1) forwards;
    }

    /* 3. THE BRAND TEXT */
    .splash-text-center {
        position: absolute;
        top: calc(50% + 80px); /* Positions it cleanly below the sun */
        text-align: center;
        z-index: 3;
        opacity: 0;
        
        /* Fades in, then gets blasted away by the explosion */
        animation: textBlast 2.3s forwards;
    }

    /* --- KEYFRAMES --- */

    /* The Sun charges up, implodes slightly, then goes supernova */
    @keyframes sunSupernova {
        0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0; box-shadow: 0 0 0px #FF7029; }
        15%  { opacity: 1; box-shadow: 0 0 40px #FF7029, 0 0 80px #FFDF00; }
        70%  { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 60px #FF7029, 0 0 100px #FFDF00; background: #FFDF00; }
        
        /* The Implosion (Draws energy in) */
        85%  { transform: translate(-50%, -50%) scale(0.4); background: #ffffff; box-shadow: 0 0 100px 50px #ffffff, 0 0 200px 100px #FF7029; opacity: 1;}
        
        /* The Explosion */
        95%  { transform: translate(-50%, -50%) scale(5); opacity: 1; }
        100% { transform: translate(-50%, -50%) scale(10); opacity: 0; }
    }

    /* The black screen is pushed away by an expanding ring of fire */
    @keyframes burnExpand {
        0%   { 
            width: 0; height: 0; 
            box-shadow: 0 0 0 150vmax #0a0a0a; 
        }
        10%  { 
            width: 15vmax; height: 15vmax; 
            /* Intense white/yellow core at the start of the burn */
            box-shadow: 0 0 60px 30px #ffffff, 0 0 120px 60px #FFDF00, 0 0 200px 100px #FF7029, 0 0 0 150vmax #0a0a0a; 
        }
        100% { 
            width: 300vmax; height: 300vmax; 
            /* Cools off to orange as it leaves the screen */
            box-shadow: 0 0 100px 50px #FFDF00, 0 0 200px 100px #FF7029, 0 0 0 150vmax #0a0a0a; 
        }
    }

    /* Text fades in gently, then blows away downwards */
    @keyframes textBlast {
        0%   { opacity: 0; transform: translateY(15px); }
        20%  { opacity: 1; transform: translateY(0); }
        75%  { opacity: 1; transform: translateY(0); filter: blur(0); }
        90%  { opacity: 0; transform: translateY(40px); filter: blur(10px); }
        100% { opacity: 0; }
    }