body {
    background-image: url('images/remind/bg.png');
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: fixed;
    background-size: 100% auto;
}

.logo {
    position: absolute;
    top: 120px;
    left: 50%;
    width: 20%;
    height: auto;
    opacity: 0;
    animation:
        fade-in 3s ease-out forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}


@media (max-width: 768px) {
    .core-values-boxes {
        flex-direction: column;
        width: 88%;
        gap: 20px;
    }

    .core-values-heading {
        font-size: 28px;
    }

    .logo {
    width: 50%;
    }
}

/* ==========================================================================
   Remind Banner Image
   ========================================================================== */

.remind-theme-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.remind-theme-section .remind-theme {
    display: block;
    width: 100%;
    height: auto;
}


.remind-theme {
    opacity: 0;
    will-change: transform, opacity, filter;
}

@media (max-width: 768px) {
    .remind-theme {
        margin-top: 80px;
    }
}

/* 

Below are the old animation effect for theme image

.remind-theme {
    animation: fade-in 2.5s ease-out forwards, 
            glow-pulse 4s ease-in-out infinite,
               throb 4s ease-in-out infinite;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}


@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 104, 122, 0.5));
    }
}

@keyframes throb {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
} */

/* ==========================================================================
   About Us Section
   ========================================================================== */


.about-us-section {
    position: relative;
    margin: -150px 0 20px;   /* top, sides, bottom: pulls up 200px, 20px gap below */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;            /* was 40px 0, which adds 40px above and below */
    z-index: 2;
    margin-bottom: 20px;   /* gap below it, before "what we do" */
}

.about-us-box {
    width: 50%;
    background-color: rgba(245, 245, 245, 0.747);
    border-radius: 32px;
    padding: 30px;
    box-sizing: border-box;
    
}

.about-us-heading {
    font-family: 'Glacial', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    color: #00687a;
    font-weight: bold;
}

.about-us-text {
    font-family: 'Glacial', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    color: #00687a;
    text-align: center;
}

@media (max-width: 768px) {
    .about-us-section {
        position: relative;   /* back in the page flow */
        top: auto;
        padding: 30px 0;
        top: 40px;
        margin: 0 0 20px;   /* top, sides, bottom: pulls up 200px, 20px gap below */
    }

    .about-us-heading {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .about-us-box {
        width: 88%;
        padding: 24px;
        border-radius: 12px;
    }

    .about-us-text {
        font-size: 20px;
    }
}

/* ==========================================================================
   What We Do Section
   ========================================================================== */

.what-we-do-section {
    width: 100%;
    background-color: rgba(0, 104, 122, .8);
    padding: 50px 10%;
    box-sizing: border-box;
    text-align: center;
    top: -200;
}

.what-we-do-heading {
    font-family: 'Glacial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    
}

.what-we-do-text {
    font-family: 'Glacial', sans-serif;
    font-size: 26px;
    line-height: 1.5;
    margin: 0;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .what-we-do-section {
        padding: 10px 24px;
    }

    .what-we-do-heading {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .what-we-do-text {
        font-size: 20px;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.our-services-section {
    width: 100%;
    padding: 50px 0;
    text-align: center;
}

.our-services-heading {
    font-family: 'Glacial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #00687a;
    margin-bottom: 30px;
}

.our-services-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
    gap: 30px;
}

.service-box {
    flex: 0 0 calc((100% - 60px) / 3);
    background-color: rgba(0, 104, 122, .8);
    border-radius: 16px;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-box h3 {
    font-family: 'Glacial', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 12px;
    text-align: center;
}

.service-box p {
    font-family: 'ClaireHand', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 768px) {
    .our-services-boxes {
        width: 88%;
    }

    .service-box {
        flex: 0 0 100%;
    }

    .our-services-heading {
        font-size: 28px;
    }

    .service-box h3 {
        font-size: 20px;
    }
}
/* ==========================================================================
   Our Team Section
   ========================================================================== */

.our-team-section {
    width: 100%;
    padding: 50px 5%;
    text-align: center;
    box-sizing: border-box;
}

.our-team-heading {
    font-family: 'Glacial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #00687a;
    margin-bottom: 40px;
}

.experts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background-color: #ffffff;
    border: 2px solid #229083;
    border-radius: 16px;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.expert-name {
    font-family: 'ClaireHand', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #229083;
    margin: 0 0 4px;
}

.expert-type {
    font-family: 'ClaireHand', sans-serif;
    font-size: 15px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.expert-timing {
    font-family: 'ClaireHand', sans-serif;
    font-size: 14px;
    color: #229083;
    font-weight: 600;
    margin: 0 0 12px;
}

.expert-about {
    font-family: 'Glacial', sans-serif;
    font-size: 15px;
    color: #444444;
    line-height: 1.5;
    margin: 0 0 20px;
}

.schedule-btn {
    font-family: 'ClaireHand', sans-serif;
    background-color: #229083;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.schedule-btn:hover {
    background-color: #1b6f65;
}


/* ==========================================================================
   The Form that Opens
   ========================================================================== */

/* Modal */
.schedule-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;                 /* overlay scrolls, so the modal is never cut off */
    padding: 90px 16px;               /* gap from top and bottom */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.schedule-modal-overlay.active {
    display: flex;
}

.schedule-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 720px;                 /* wider on laptops */
    margin: auto;                     /* centred when short, top-aligned when tall */
    position: relative;
    box-sizing: border-box;
}

/* Stop the page behind from scrolling while the modal is open */
body:has(.schedule-modal-overlay.active) {
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666666;
}

.modal-title {
    font-family: 'ClaireHand', sans-serif;
    color: #229083;
    font-size: 24px;
    margin: 0 0 4px;
    text-align: center;
}

.modal-expert-name {
    font-family: 'ClaireHand', sans-serif;
    text-align: center;
    color: #444444;
    margin-bottom: 10px;
}

/* Two columns on laptops */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.form-grid .field-full {
    grid-column: 1 / -1;
}

#scheduleForm label {
    display: block;
    font-family: 'ClaireHand', sans-serif;
    font-size: 14px;
    color: #333333;
    margin: 14px 0 6px;
}

#scheduleForm input,
#scheduleForm select,
#scheduleForm textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'ClaireHand', sans-serif;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 15px;
}

.expert-timing-note {
    font-size: 13px;
    color: #229083;
    margin: 6px 0 0;
    font-style: italic;
}

.submit-btn {
    margin-top: 20px;
    width: 100%;
    background-color: #229083;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-family: 'ClaireHand', sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #1b6f65;
}

.modal-success {
    text-align: center;
    color: #229083;
    font-family: 'ClaireHand', sans-serif;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .expert-card {
        flex: 0 0 100%;
    }

    .our-team-heading {
        font-size: 28px;
    }

}

/* Phones: one column, tighter padding */
@media (max-width: 600px) {
    .schedule-modal-overlay {
        padding: 100px 12px;
    }

    .schedule-modal {
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Join us
   ========================================================================== */

   

.join-us-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(32px, 8vw, 60px) clamp(16px, 4vw, 20px);
    font-family: 'Glacial', sans-serif;
}

.about-us-heading {
    margin: 0 0 16px;
    font-family: 'Glacial', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.2;
    color: #00687a;
}

.join-us-text {
    margin: 0 0 clamp(24px, 5vw, 40px);
    max-width: 800px;
    font-family: 'ClaireHand', sans-serif;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    line-height: 1.6;
    color: #00687a;
    text-align: center;
}

/* Two-column layout: image left, button + icons right */
.join-us-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 60px);
    width: 100%;
    max-width: 1100px;
}

.join-us-left {
    flex: 7 1 0;
}

.join-us-right {
    flex: 3 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.reading-circle-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.join-us-btn {
    display: inline-block;
    padding: clamp(12px, 2.5vw, 14px) clamp(24px, 6vw, 32px);
    background-color: #00687a;
    color: #fff;
    font-family: 'Glacial', sans-serif;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.join-us-btn:hover {
    background-color: #004f5d;
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.social-icons a {
    display: inline-flex;
    flex: 0 0 auto;
}

.social-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
}

.powered-by {
    margin: 50px 0 30px;
    font-family: 'Glacial', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #1670b7;
    text-align: center;
}

.itl-logo {
    width: 20vw;
    height: auto;
}

/* Tablets and phones: image on top, button + icons below */
@media (max-width: 768px) {
    .join-us-content {
        flex-direction: column;
    }

    .join-us-left,
    .join-us-right {
        flex: 1 1 100%;
        width: 100%;
    }

    .itl-logo {
        width: 70vw;
    }
}



