/* --- Hero Section --- */
.hero {
    background: url("../../resources/hero.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    max-width: 420px;
    margin: 0 auto 2rem auto;
    color: var(--light-bg);
    font-family: 'Lexend Peta', sans-serif; /*CHANGE THIS FONT*/
}

/* --- Button --- */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--backgrd-bl); /* deep blue */
    color: white;
    text-decoration: none;
    border-radius: 0.3rem;
    font-size: 1.3rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #15338c;
}

/* ABOUT section */
.about {
    padding: 3rem;
    background-color: var(--backgrd-yl);
}

.about .narrow {
    max-width: 1100px;
    margin: 0 auto;
    text-align:left;
}

.about h2 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
    color: var(--accent);
    text-align: left;
}

.about p {
    color: var(--accent);
    text-align: left;
    margin-top: 1rem;
}

.about .about-content {
    display: flex;
    align-items: flex-start; /* top-align text + image */
    gap: 6rem;
    flex-wrap: wrap; /* stack on smaller screens */
}

.about .about-text {
    flex: 1 1 600px; /* text grows/shrinks */
}

/* image styling */
.about .about-image {
    flex: 0; /* fixed width */
}

.about .about-image img {
    width: auto;
    max-height: 350px;
    height: 100%;
    display: block;
}

/* RESPONSIVE: stack vertically and center image */
@media (max-width: 1200px) {
    .about .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center; /* optional: center text on small screens */
    }

    .about .about-text {
        flex: 1 1 100%;
    }

    .about .about-image {
        flex: 1 1 100%;
        max-width: 90%;
    }
}

/* PROCESS: centered title with 4 icon steps */
.process{
    padding: 3rem 0;
    text-align:center;
    background-color: var(--backgrd-gr);
}
.process h2{
    font-size: 2rem;
    color: var(--light-bg);
}
.process .steps{
    display:flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items:flex-start;
}

.proc-step{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap: .75rem;
    padding: 1.5rem;
}

.process .proc-step p{
    color: var(--light-bg);
}

.proc-step img{ width:100px; height:100px; object-fit:contain; }

.process .subtitle{
    margin-top:1.25rem;
    font-style: italic;
    font-size: .95rem;
    color: var(--light-bg);
}

@media (max-width: 900px) {
    .process .steps {
        display: block;
        text-align: center;
    }

    .proc-step {
        display: inline-block;
        width: auto;
        max-width: 90%;
        margin: 1rem 0;
    }
}


/* CONSULTATION: centered content block with constrained width*/
.consultation{
    padding: 3rem;
    background-color: var(--backgrd-bl);
}
.consultation .narrow{
    max-width: 1100px;
    margin: 0 auto;
    text-align:left;
}

.consultation h2{
    font-size: 2rem;
    color: var(--light-bg);
    padding-bottom: 1.5rem;
    text-align: left;
}

.consultation p{
    color: var(--light-bg);
    text-align: left;
    margin-top: 1rem;
}

.consultation .consultation-content {
    display: flex;
    align-items: flex-start; /* top-aligned */
    gap: 6em; /* space between text and image */
    flex-wrap: wrap; /* allows stacking on smaller screens */
}

.consultation .consultation-text {
    flex: 1 1 400px; /* grows, shrinks, minimum width */
}

.consultation .consultation-image {
    flex: 0 0 400px; /* fixed width for image */
}

.consultation .consultation-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

@media (max-width: 1000px) {
    .consultation .consultation-content {
        flex-direction: column; /* stack text and image vertically */
        align-items: center;    /* center items horizontally */
        text-align: center;     /* optional: center text too */
    }

    .consultation .consultation-text {
        flex: 1 1 100%;
    }

    .consultation .consultation-image {
        flex: 1 1 100%;
        max-width: 90%; /* keeps image from being too wide */
    }
}

/* TESTS: mirror layout of consultation */
.tests {
    padding: 3rem;
    background-color: var(--backgrd-bl);
}

.tests .narrow {
    max-width: 1100px;
    margin: 0 auto;
    text-align: right; /* text right-aligned */
}

.tests h2 {
    font-size: 2rem;
    color: var(--light-bg);
    padding-bottom: 1.5rem;
    text-align: right;
}

.tests p {
    color: var(--light-bg);
    margin-top: 1rem;
    text-align: right;
}

/* Image + bullet list layout */
.tests-main {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tests-image {
    flex: 0 0 300px; /* fixed width for image */
}

.tests-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.tests-prep {
    flex: 1 1 400px; /* text grows/shrinks */
    text-align: right;
}

.tests-prep h3 {
    margin-bottom: 0.75rem;
    color: var(--light-bg);
}

.tests-prep ul {
    padding-left: 1.5rem;
    list-style-position: inside;
}

/* Registration centered below */
.tests-registration {
    text-align: center;
    margin-top: 5rem;
    color: var(--light-bg);
}

.tests-registration p {
    text-align: center; /* force paragraphs to center */
    margin: 0.5rem 0;   /* optional spacing */
}

.tests .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--light-bg);
    color: var(--accent);
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    border-radius: 0.3rem;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.tests-note {
    font-size: 0.8rem;
    color: var(--light-bg);
    display: block; /* ensures it's centered */
    text-align: center;
}

/* Responsive: stack image + list, center image */
@media (max-width: 1000px) {
    .tests-main {
        flex-direction: column;
        align-items: center; /* center image horizontally */
        text-align: center; /* center text too if desired */
    }

    .tests-prep {
        flex: 1 1 100%;
    }

    .tests-image {
        flex: 1 1 100%;
        max-width: 90%;
    }
}


/* TESTIMONIALS: grid of three columns */
.testimonials{
    background-color: var(--backgrd-yl);
    padding: 2rem;
}
.testimonials .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}
blockquote {
    margin: 0;
    padding: 1.25rem;
    line-height: 1.4;
    border-left: 4px solid var(--backgrd-gr);
    background: var(--backgrd-yl);
}

/* GROUP consultations (simple centered block) */
.group-consultations {
    background: var(--backgrd-gr);
    color: var(--light-bg);
    padding: 3rem;
    text-align: center;
}

.group-consultations p {
    text-align: center;
    max-width: 1100px;
    margin: auto ;
    margin-top: 2rem;
}

.group-consultations ul {
    list-style: disc inside; /* bullets aligned with text */
    padding-left: 1.25rem;   /* small indent */
    margin: 1rem auto;
    display: inline-block;   /* keeps list centered under heading */
    text-align: left;        /* so bullets align with text */
}

/* Responsiveness */
@media (max-width: 980px){
    .about, .tests{ grid-template-columns: 1fr; }
    .about .img-frame{ width: 280px; height: 280px; margin: 1rem auto 0; }
    .process .steps{ flex-direction: row; gap:1rem; overflow-x:auto; padding: .5rem 1rem; }
    .testimonials .testimonial-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
    .hero{ min-height: 44vh; }
    .hero-title{ font-size: 1.6rem; }
    .process .steps{ gap:1rem; }
}