
/* STYLE HERE FOR BODY CONTENT */
.section-one {
    padding: 190px 0 120px;

    position: relative;
    background-color: var(--color-primary); /* full-width background */
    background-image: url('/assets/Hero\ Overlay.png'); /* your overlay image */
    background-repeat: no-repeat;
    background-position: left -150px center;
    background-size: auto 250%;
    
}


@media (max-width:900px) {
    .section-one {
    background-position: left -250px center;
    background-size: auto 130%;
    
    }
}   




.section-one-wrapper {
    width: min(1200px, 90%);
    margin: 0 auto;
    
position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    align-items: center;
}

.section-one-wrapper > * {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.section-one-wrapper h1 { animation-delay: 0.2s; }
.section-one-wrapper .subheading { animation-delay: 0.35s; }
.section-one-wrapper .hero-text { animation-delay: 0.5s; }
.section-one-wrapper .cta { animation-delay: 0.7s; }


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.section-one h1 {
    font-size: 3.5rem;
    line-height: 1.15;
}

.subheading {
    margin-top: 0.75rem;
    font-size: 2rem;
    opacity: 0.9;
    display: block;
}


.section-one h1,
.hero-text {
    text-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.cta {
    margin-top: 2rem;
    display: flex;
    gap: 0.5em;
}



@media (max-width:900px) {
    .section-one h1 {
        font-size:2.3rem;
    }
    .subheading {
    font-size: 1.8rem;
    
    }
}


.hero-text {
    margin-top: 1.4rem;
    font-size: 1.1rem;
    line-height: 1.7;
}



.section-one-wrapper {
    max-width: 800px;
}



@media (max-width: 900px) {
    .cta {
        flex-direction: column;
        width: 100%;
    }
    .cta .button {
        width: 100%;
    }
}


/* section 2 */


.section-two {
    background-color: var(--color-light); /* full-width background */
    padding: 120px 0px;
}

.section-two-wrapper {
    width: min(1200px, 90%);
    background-color: var(--color-secondary);
    margin: 0px auto;
    padding: 40px;
    border-radius: var(--radius);
    
    gap: 40px;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    color: var(--color-secondary);
    align-items: center;
}


.section-two-left {
    flex-basis: left;
    text-align: left;
    color: white;
     text-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.section-two-right {
    pointer-events: none;
}

@media (max-width:900px) {
    .section-two-wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}

/* section three services */

.section-three {
    background-color: white; /* full-width background */
    padding: 120px 0px;
}

.section-three-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    gap: 40px; 
    justify-content: center;
    text-align: left;
    color: var(--color-secondary);
    
}

#three-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

#three-top-left {
    flex-basis: 70%;
}

#three-top-right {
    flex-basis: 30%;
    text-align: right;
}

@media (max-width: 900px) {
   #three-top {
        display: flex;
        flex-direction: column;
        align-items: start;
        
    }
    #three-top-right {
        margin-top: 1rem;
        margin-bottom: 2rem;
    } 
}
    


.services {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.service-card {
    padding: 20px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
}


.service-card img {
    margin-bottom: 1.5rem;
   
    
}


.service-card a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 10px;
    transition: 0.3s ease;
}


.service-card a:hover {
    color: var(--color-secondary);
    
}


/* Mobile slider */
@media (max-width: 768px) {
    .services {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        display: flex;
        gap: 1rem;
        padding-bottom: 1rem;

        /* Hide scrollbar */
        scrollbar-width: none; /* Firefox */
    }

    .services::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }

    .service-card {
        min-width: 80%;
        flex: 0 0 80%;
        scroll-snap-align: start;
    }
}


/* section 4 */




.section-four {
    background-color: var(--color-light); /* full-width background */
    padding: 120px 0px;
}

.section-four-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    border-radius: var(--radius);   
    gap: 40px;
    color: var(--color-secondary);
    
}


@media (max-width:900px) {
    .section-four-wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}


.portfolio-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

/* DESKTOP */
@media (min-width: 900px) {

    /* Create 3 columns so we can control width ratios */
    .portfolio-grid {
        grid-template-columns: 2fr 1fr 2fr;
    }

    /* Row 1 layout */
    .item-1 {
        grid-column: 1 / span 2;  /* Takes 2fr + 1fr = wide left */
        height: 300px;
        background: #ddd;
    }
    .item-2 {
        grid-column: 3;           /* Right narrow */
        height: 300px;
        background: #ccc;
    }

    /* Row 2 layout (reversed) */
    .item-3 {
        grid-column: 1;           /* Left narrow */
        height: 300px;
        background: #bbb;
    }
    .item-4 {
        grid-column: 2 / span 2;  /* Takes 1fr + 2fr = wide right */
        height: 300px;
        background: #aaa;
    }
}

/* MOBILE */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        height: 200px;
    }
}


.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover zoom effect */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Overlay content */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1rem;
    text-align: center;
}

/* Reveal on hover */
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.portfolio-overlay a {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.portfolio-overlay a:hover {
    background: var(--color-dark);
}



@media (max-width: 900px) {
    .portfolio-overlay {
        opacity: 1; /* Always visible */
        transform: none;
        /* background: rgba(255,255,255,0.85); Soft readable background */
        color: white;
        padding: 1rem;

        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.5rem;

        backdrop-filter: blur(6px);
    }

    .portfolio-overlay h3 {
        font-size: 1.1rem;
        color: white;
    }

    .portfolio-overlay a {
        font-size: 0.9rem;
        text-decoration: underline;
        text-underline-offset: 10px;
        color: var(--color-primary);
        font-weight: 600;
        background: none;
        transition: 0.3s ease;
    }

     .portfolio-overlay a:hover {
        color: white;
        background: none;
    }

    /* Remove desktop hover zoom effect */
    .portfolio-item:hover img {
        transform: none;
    }
}




/* section 5 why work with me */



.section-five {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 120px 0;
}

.section-five-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    
    border-radius: var(--radius);
    
    gap: 40px;
    
    text-shadow: 0 3px 6px rgba(0,0,0,0.2);
    
    color: white;
    
}


.section-five-list {
    flex-basis: left;
    text-align: left;

    background-color: white;
    border-radius: var(--radius);
    margin-top: 2rem;
    padding: 40px;
    display: flex;
    gap:1rem;
    flex-direction: column;
}

.list-point {
    color: var(--color-secondary);
    display: flex;
    padding: 12px 0;
    border-left: 4px solid transparent;
    transition: border-color .3s ease, padding-left .3s ease;
     text-shadow: 0 0 0 rgba(0,0,0,0);
    
    gap:1.5rem;

}

.list-point:hover {
    border-color: var(--color-primary);
    padding-left: 12px;
    
}

.list-point p {
    font-weight: 600;
}

@media (max-width:900px) {
    .section-five-wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}


.tick {
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
}




/* section 6 */



/* section three services */

.section-six {
    background-color: white; /* full-width background */
    padding: 120px 0px;


    background-image: url('/assets/Icon-Accent-Overlay.png'); /* your overlay image */
    background-repeat: no-repeat;
    background-position: left -150px center;
    background-size: auto 250%;



}



@media (max-width:900px) {
    .section-six {
    background-position: left -250px center;
    background-size: auto 130%;
    
    }
}   


.section-six-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    gap: 40px; 
    justify-content: center;
    text-align: left;
    color: var(--color-secondary);
    
}






.steps-section {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.step-number {
    font-weight: 600;
    color: var(--color-primary);
}

.step-card {
    padding: 20px;
    background-color: var(--color-secondary);
    color: white;
    border-radius: var(--radius);
    box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.step-card:hover {
    background-color: var(--color-accent);
    scale: 1.01;
}

.step-card h3, p {
    text-shadow: 0 0 0 rgba(0,0,0,0);
}


.step-card img {
    margin-bottom: 1.5rem;
   
    
}




/* Mobile slider */
@media (max-width: 900px) {
    .steps-section {
         

        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1rem;

        /* Hide scrollbar */
        scrollbar-width: none; /* Firefox */
    }

    

    
}












/* section 7 */



.section-seven {
    
    padding: 120px 0px;

    position: relative;
    background-color: var(--color-light); /* full-width background */
   



}

.section-seven-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    border-radius: var(--radius);   
    gap: 40px;
    color: var(--color-secondary);
    
}


@media (max-width:900px) {
    .section-seven-wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}


.testimonial-slider {
    position: relative;
    width: 100%;
    
    margin: 3rem auto 0;
    min-height: 220px;
}



.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: opacity 0.6s ease, transform 0.6s ease;
   
    display: flex;
    
    justify-content: center;
    flex-direction: column;
   
}

.testimonial-card p {
    max-width: 100ch;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-name {
    font-weight: 700;
    color: var(--color-primary);
}

/* Pause on hover for desktop */
@media (hover: hover) {
    .testimonial-slider:hover .testimonial-card {
        animation-play-state: paused;
    }
}

@media (max-width: 700px) {
    .testimonial-card {
        padding: 1.6rem;
    }
}























/* section 8 - faqs */



.section-eight {
    
    padding: 120px 0px;

    position: relative;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
   



}

.section-eight-wrapper {
    width: min(1200px, 90%);
    margin: 0px auto;
    border-radius: var(--radius);   
    gap: 40px;
    color: var(--color-secondary);
    text-align: center;
}


@media (max-width:900px) {
    .section-eight-wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}

.section-eight-wrapper h2 {
    color: white;
    text-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* FAQ ACCORDION */
.faq-accordion {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--color-secondary);
}

/* Question Button */
.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.4rem 1.6rem;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s ease;
}

.faq-question:hover {
    background: #f3f3f3;
}

.faq-icon {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

/* Answer Panel */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    padding: 0 1.6rem;
    transition: max-height 0.4s ease;
    text-align: left;
}

.faq-answer p {
    color: var(--color-secondary);
    padding: 1rem 0 1.6rem;
    max-width: 100%;
}

/* Active State */
.faq-item.active {
    border-left: 6px solid #355787;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* turns + into × */
}

.faq-item.active .faq-answer {
    max-height: 300px; /* enough for most answers */
}


.section-eight-below {
    color: white;
    /* text-shadow:  */
    max-width: 100%;
    margin-top: 2rem;
    text-shadow: 0 3px 6px rgba(0,0,0,0.2);
    font-weight: 600;
}
















/* section nine */



.section-nine {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff, var(--color-light));
    position: relative;
}

/* Wrapper */
.section-nine-wrapper {
    width: min(1200px, 90%);
    margin: 0 auto;
    text-align: center;
    color: var(--color-secondary);
}

/* Accent Line */
.accent-bar {
    display: block;
    width: 80px;
    height: 5px;
    background: var(--color-primary);
    margin: 0 auto 1.5rem;
    border-radius: 10px;
}

/* Heading */
.section-nine-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Subheading (SEO-friendly) */
.subtext {
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 2rem;
}

/* Paragraphs */
.section-nine-wrapper p {
    max-width: 700px;
    margin: 1.5rem auto;
    font-size: 1.1rem;
}

/* CTA Button Row */
.cta-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Primary CTA */
.button.primary {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.button.primary:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* Secondary Outline CTA */
.button.secondary-outline {
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    transition: var(--transition);
}

.button.secondary-outline:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Trust Row */
.trust-row {
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .button.primary,
    .button.secondary-outline {
        width: 100%;
    }
    
    .section-one {
    padding: 190px 0 60px;
    }
    
    .section-two, .section-three, .section-four, .section-five, .section-six, .section-seven, .section-eight, .section-nine {
         padding: 60px 0px;
    }
    
    
}



