/* ===========================
   GLOBAL STYLES
=========================== */

body {
    background-color: #0f4b6f;
    background-image: url("../images/doodles.png"); /* your doodle pattern */
    background-size: 300px;
    background-repeat: repeat;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: 0;
}

.container {
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* ===========================
   FUN, FRIENDLY NAVBAR
=========================== */

.clever-navbar {
    background: linear-gradient(90deg, #41a6e9, #0f4b6f);
    padding: 20px 30px;
    border-bottom: 6px solid #ffcc33;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
}

.clever-logo {
    width: 90px;
    height: auto;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    margin-right: 12px;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.clever-nav-links .nav-link {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 18px;
    margin: 0 5px;
    border-radius: 8px;
    transition: 0.25s ease;
    position: relative;
}

    .clever-nav-links .nav-link:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }

    .clever-nav-links .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 6px;
        width: 0%;
        height: 3px;
        background: #ffcc33;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .clever-nav-links .nav-link:hover::after {
        width: 100%;
    }

/* Hamburger icon visible on dark background */
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.custom-toggler {
    border-color: rgba(255,255,255,0.5);
}


/* ===========================
   HEADINGS
=========================== */

h1, h2 {
    color: #0f4b6f;
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

h2.section-header {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

    h2.section-header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 40%;
        height: 3px;
        background: #3498db;
        border-radius: 2px;
    }

h4.bio-title {
    color: #0f4b6f;
    font-weight: 700;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}


/* ===========================
   TEXT
=========================== */

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
    transition: color 0.3s ease;
}

    li:hover {
        color: #3498db;
    }

    li strong {
        color: #0f4b6f;
    }


/* ===========================
   IMAGES
=========================== */

.profile-photo,
.about-us-image {
    width: 100%;
    max-width: 250px;
    border: 2px solid #030303;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ===========================
   SLIDESHOW
=========================== */

#businessSlideshow {
    border-radius: 10px;
    overflow: hidden;
}

.carousel-inner img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}


/* ===========================
   BUTTONS
=========================== */

.btn-primary {
    background-color: #0f4b6f;
    color: #fff;
    padding: 12px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

    .btn-primary:hover {
        background-color: #3498db;
    }


/* ===========================
   REVIEWS PAGE — SCATTERED STATIC BUBBLES
=========================== */

.reviews-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    position: relative;
}

.review-bubble {
    background: #ffffff;
    border: 3px solid #41a6e9;
    color: #0f4b6f;
    padding: 22px;
    width: 280px;
    border-radius: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

    /* Speech bubble tail */
    .review-bubble::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 40px;
        width: 0;
        height: 0;
        border-top: 15px solid #41a6e9;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }

/* Parent name */
.review-name {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #3498db;
}

/* Scattered rotation + offsets */
.review-bubble:nth-child(1) {
    transform: rotate(-3deg);
    margin-top: 10px;
    margin-left: -20px;
}

.review-bubble:nth-child(2) {
    transform: rotate(2deg);
    margin-top: 40px;
    margin-right: -30px;
}

.review-bubble:nth-child(3) {
    transform: rotate(-1deg);
    margin-top: 0px;
    margin-left: 25px;
}

/* ===========================
   TUTORS PAGE
=========================== */

.tutor-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

    .tutor-row.reverse {
        flex-direction: row-reverse;
    }

.tutor-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #41a6e9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tutor-bio h3 {
    color: #0f4b6f;
    font-weight: 700;
    margin-bottom: 10px;
}

.tutor-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .tutor-row,
    .tutor-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .tutor-img {
        width: 150px;
        height: 150px;
    }
}


/* MOBILE NAVBAR FIX */
@media (max-width: 768px) {

    .clever-navbar {
        padding: 8px 12px; /* smaller padding so it fits properly */
    }

    .clever-logo {
        width: 55px; /* shrink logo on mobile */
        margin-right: 8px;
    }

    .brand-text {
        font-size: 1.1rem; /* smaller text so it doesn’t overlap */
        line-height: 1.2;
    }

    h1.section-header {
        margin-top: 10px; /* push heading down slightly */
        font-size: 2rem; /* smaller heading on mobile */
    }
}



/* ===========================
   FOOTER
=========================== */

footer {
    background-color: #0f4b6f;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    margin-top: 40px;
}
