/* ----------------------------- SECTION 2a ------------------------------- */

@media (max-width: 1200px) {
    #main-punch-line {
        font-size: 3rem;
        line-height: 3rem;
    }

    #main-punch-line:hover {
        font-size: 3.1rem;
    }

    #secondary-punch-line {
        line-height: 2rem;
    }
}

@media (max-width: 850px) {
    #section-1 {
        height: 40rem;
    }
}

@media (max-width: 795px) {
    #section-1 {
        height: 35rem;
    }

    #main-punch-line {
        font-size: 2rem;
        line-height: 2rem;
    }

    #main-punch-line:hover {
        font-size: 2.1rem;
        line-height: 2rem;
    }

    #secondary-punch-line {
        font-size: 1rem;
    }
}

@media (max-width: 420px) {
    #section-1 {
        height: 42rem;
    }
}


/* ----------------------------- SECTION 2a ------------------------------- */
#section-2 .steps-container::before {
    display: none;
}

.steps-section {
    background: rgb(189, 235, 250, 0.3);
    height: 32rem;
}

.step {
    border: 1px solid var(--off-white-background);
}

#section-header .section-subtitle {
    position: relative;
    left: 5%; /* Matches your h1 alignment */
    width: 90%;
    top: 2.2rem; /* Sits right under the h1 */
    margin: 0 !important;
    font-size: 1.1rem;
    color: #6a7c8e;
    text-align: left;
    font-style: italic; /* Ensures it stays italicized */
}

.section-footer-text {
    position: relative;
    left: 5%;
    width: 60%; /* Keeps the text from stretching across the whole screen like in the screenshot */
    top: 6rem; /* Adjust this to provide enough space below the steps */
    margin-top: 2rem;
}

.section-footer-text p {
    font-size: 1.1rem;
    color: #6a7c8e; /* Or your preferred grey/blue color */
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 900px) {
    .steps-section {
        height: 76rem !important;
    }

    .section-footer-text {
        width: 90%;
        top: 2rem;
        text-align: center;
    }

    .section-footer-text p {
        text-align: center;
    }
}

/* ----------------------------- SECTION CAROUSEL ------------------------------- */

/* 1. Ensure the footer container is centered */
.glide-footer-text {
    width: 96%;
    display: flex;
    justify-content: center;
}

/* 2. Style the specific text */
.glide-footer-text p {
    font-size: 1rem;
    color: #6a7c8e; /* Subtle grey to match the other captions */
    text-align: center;
    line-height: 1.5;
}

/* 2. Style the icon container */
.slide-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    display: flex;
    justify-content: center;
    padding-top: 5px; /* Fine-tune vertical alignment with the title */
}

.step-icon {
    width: 40px; /* Adjust size as needed */
    height: auto;
}

/* 3. Style the text container */
.slide-content {
    display: flex;
    flex-direction: column; /* Stack title and text vertically */
    justify-content: flex-start;
}

/* 4. Remove default paragraph margins for tighter alignment */
.slide-content p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.slide-content p b {
    font-size: 1.1rem;
    display: block; /* Ensures title stays on its own line */
}

#glide-section {
    background: var(--off-white-background) !important;
}

#glide-section h1 {
    line-height: 2rem;
}

#glide-section .glide,
#glide-section .glide__track {
    background: transparent !important;
}

.glide__slide {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 2rem;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); /* Optional: soft shadow */
}

/* ----------------------------- SECTION 5 ------------------------------- */

/* 1. Use Grid to force exactly 4 columns */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* FORCES exactly 4 equal columns */
    gap: 25px; /* Space between the "windows" */
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px; /* Adjust based on your container */
    margin-left: auto;
    margin-right: auto;
}

/* 2. Style the "Windows" */
.card {
    background: #ffffff;
    border-radius: 16px; /* Rounded corners like image_367c9c */
    padding: 40px 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);

    display: flex;
    flex-direction: column;
    align-items: center; /* Centers icon & text horizontally */
    justify-content: center; /* Centers content vertically */
    text-align: center;
    transition: all 0.3s ease;
    min-height: 220px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* 3. Icon & Header Alignment */
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 25px; /* Generous space like in image_3621ca */
    object-fit: contain;
}

.card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

/* 4. Responsive: Adjust columns for smaller screens */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}


@media (max-width: 600px) {
    .pricing-cards {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
}
/* ----------------------------- grid-container-section ------------------------------- */
.grid-container-section {
    padding-top: 1rem;
}

.card-header img {
    padding: 0.5rem;
    border-radius: 10px;
}

#first-grid-container-section .card-header img {
    background: var(--light-grey);
}

#second-grid-container-section .card-header img {
    background: rgba(251, 133, 0, 0.2);;
}

#second-grid-container-section {
    background: var(--off-white-background) !important;
}

#second-grid-container-section .grid-container {
    grid-template-columns: repeat(4, 1fr);
}

#second-grid-container-section .glide-footer-text p {
    top: 2rem;
    position: relative;
}

#second-grid-container-section .card {
        min-height: 150px;
}

@media (max-width: 1300px) {
    #second-grid-container-section .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1300px) {
    #second-grid-container-section .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    #second-grid-container-section .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }

    #second-grid-container-section .card {
        min-height: 50px;
        padding: 20px 10px;
    }

}

/* ----------------------------- FAQ SECTION ------------------------------- */

#faq-section {
    position: relative;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 6rem;
    background: #ffffff; /* Assuming white background based on images */
    text-align: center;
}

#faq-section h1 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    line-height: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active state matching the orange border from screenshots */
.faq-item.active-question {
    border-color: var(--orange);
    box-shadow: 0 4px 10px rgba(251, 133, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    font-family: inherit;
}

.faq-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: rgba(251, 133, 0, 0.1); /* Light orange circle */
    color: var(--orange);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    margin: 0;
    color: #6a7c8e;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    #faq-section h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }
}

