/* ------------------------------
   Palette + shared tokens
   ------------------------------ */
:root {
    --brand: #0033cc;
    --brand-dark: #0022aa;
    --ink: #0033cc;
    --ink-soft: #222FB9;
    --bg-page: #f8f9fa;
    --bg-base: #ffffff;
    --bg-tint: #eef0ff; /* softer + more consistent than the old random-looking mix */
    --bg-dark: #001a99;
    --nav-height: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-page);
    color: var(--ink);
    scroll-behavior: smooth;
}

.btn-primary {
    background-color: var(--brand);
    border: none;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--brand-dark);
    }

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Bootstrap already centres via top/bottom; margin-top made controls float oddly on tall/short images */
    margin-top: 0;
}

.navbar {
    transition: top 0.3s ease-in-out;
}

.navbar-hidden {
    top: calc(var(--nav-height) * -1);
}

.hero {
    min-height: calc(100vh - var(--nav-height));
    background-image: url('/tasker/images/GreenCircle.png');
    background-position: bottom right;
    background-size: 90vh;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top: var(--nav-height);
}

    .hero h1 {
        color: #0033cc;
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 51px;
    }

    .hero p {
        color: var(--ink-soft);
        font-size: 25px;
        margin-bottom: 30px;
        margin-top: 30px;
    }

@@media (max-width: 768px) {
    .hero h1 {
        font-weight: 700;
        font-size: 51px;
    }

    .hero p {
        font-size: 20px;
    }
}

/* Don't override every hero button (it made outline buttons look like primaries) */
.hero .btn {
    font-size: 1.2rem;
    border-radius: 2rem;
    padding-left: 40px;
    padding-right: 40px;
}

.section {
    padding: 80px 20px;
    text-align: center;
}

#features {
    background: var(--brand);
}

    #features h2 {
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

.feature-box {
    background: var(--brand);
    color: #fff;
    padding: 30px;
    text-align: left;
    border: 3px solid rgb(248, 246, 243);
    border-radius: 22px;
    border-image: none 100% / 1 / 0 stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out;
}

    .feature-box:hover {
        transform: scale(1.05);
    }

    .feature-box h4 {
        margin-bottom: 10px;
    }

    .feature-box p {
        flex-grow: 1;
        margin-top: 10px;
        color: #fff;
    }

.plans {
    padding: 80px 20px;
    text-align: center;
}

    .plans h2 {
        font-size: 3rem;
        font-weight: 700;
        color: #0033cc;
        margin-bottom: 30px;
    }

.plan-box {
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid #0033cc;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

    .plan-box:hover {
        transform: scale(1.05);
    }

    .plan-box h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0033cc;
        margin-bottom: 10px;
    }

    .plan-box p {
        font-size: 1.3rem;
        font-weight: bold;
        color: #0033cc;
        margin-bottom: 15px;
    }

    .plan-box ul {
        list-style-type: disc;
        padding-left: 20px;
        text-align: left;
        display: inline-block;
        color: #0033cc;
    }

        .plan-box ul li {
            font-size: 1rem;
            margin-bottom: 8px;
        }

.contact-form {
    background: var(--bg-dark);
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

    .contact-form h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .contact-form p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.8);
    }

    .contact-form form {
        max-width: 600px;
        margin: auto;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border: 2px solid #fff;
        border-radius: 25px;
        background: transparent;
        color: #fff;
        font-size: 1rem;
    }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

    .contact-form button {
        background: transparent;
        color: #fff;
        border: 2px solid #fff;
        padding: 10px 30px;
        font-size: 1.2rem;
        border-radius: 25px;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
    }

        .contact-form button:hover {
            background: #fff;
            color: #001a99;
        }

.footer {
    text-align: center;
    padding: 20px;
    background: #001a66;
    color: #fff;
}

.nav-link {
    font-family: poppins-semibold, poppins, sans-serif;
    font-size: 27px;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    text-transform: none;
    letter-spacing: 0em;
    color: #222FB9;
    border-radius: 0;
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-left: 16px;
    padding-right: 16px;
}

.nav-item {
    margin: 10px;
}

.about-section {
    padding: 80px 20px;
    text-align: center;
}

    .about-section h2 {
        color: #0033cc;
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .about-section > p {
        color: #0022aa;
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto;
        margin-bottom: 30px;
        line-height: 1.6;
    }

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

    .gallery img {
        width: 200px;
        height: auto;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .gallery img:hover {
            transform: scale(1.05);
        }

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 5px;
    }

    .lightbox:target {
        display: flex;
    }

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

    .lightbox-content img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        border-radius: 5px;
    }

.close-lightbox,
.prev,
.next {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.close-lightbox {
    top: 10px;
    right: 10px;
    transform: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

    .close-lightbox:hover,
    .prev:hover,
    .next:hover {
        background: rgba(0,0,0,0.6);
    }

/* ------------------------------
   Section backgrounds (to avoid “blended” adjacent sections)
   Apply these via classes on <section> in markup
   ------------------------------ */
.section-bg-base { background: var(--bg-base); }
.section-bg-tint { background: var(--bg-tint); }

/* Keep existing sections that already set their own bg */
#features { background: var(--brand); }
.contact-form { background: var(--bg-dark); }

/* “How teams” and accordions read better with left-aligned bodies */
.accordion-body {
    text-align: left;
    line-height: 1.6;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #0033cc;
    scroll-behavior: smooth;
}

.btn-primary {
    background-color: #0033cc;
    border: none;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0022aa;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25%;
}

.navbar {
    transition: top 0.3s ease-in-out;
}

.navbar-hidden {
    top: -80px;
}

.hero {
    min-height: calc(100vh - 80px);
    background-image: url('/tasker/images/GreenCircle.png');
    background-position: bottom right;
    background-size: 90vh;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top: 80px;
}

.hero h1 {
    color: #0033cc;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 51px;
}

.hero p {
    color: #222FB9;
    font-size: 25px;
    margin-bottom: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-weight: 700;
        font-size: 51px;
    }
    .hero p {
        font-size: 20px;
    }
}

.hero a.btn {
    background-color: #0033cc;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    border-radius: 2rem;
    margin-top: 30px;
    padding-right: 50px;
    padding-left: 50px;
}

.section {
    padding: 80px 20px;
    text-align: center;
}

#features {
    background: #0033cc;
}

#features h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-box {
    background: #0033cc;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 3px solid rgb(248, 246, 243);
    border-radius: 22px;
    border-image: none 100% / 1 / 0 stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out;
}

.feature-box:hover {
    transform: scale(1.05);
}

.feature-box h4 {
    margin-bottom: 10px;
}

.feature-box p {
    flex-grow: 1;
    margin-top: 10px
}

.plans {
    background: #b4b4dc;
    padding: 80px 20px;
    text-align: center;
}

.plans h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0033cc;
    margin-bottom: 30px;
}

.plan-box {
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid #0033cc;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.plan-box:hover {
    transform: scale(1.05);
}

.plan-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0033cc;
    margin-bottom: 10px;
}

.plan-box p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0033cc;
    margin-bottom: 15px;
}

.plan-box ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
    color: #0033cc;
}

.plan-box ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-form {
    background: #001a99;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-form p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form form {
    max-width: 600px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #fff;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 30px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
    background: #fff;
    color: #001a99;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #001a66;
    color: #fff;
}

.nav-link {
    font-family: poppins-semibold, poppins, sans-serif;
    font-size: 27px;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    text-transform: none;
    letter-spacing: 0em;
    color: #222FB9;
    border-radius: 0;
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-left: 16px;
    padding-right: 16px;
}

.nav-item {
    margin: 10px;
}

.how-section {
    padding: 80px 20px;
    text-align: center;
}

.how-section h2 {
    color: #0033cc;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.how-section > p {
    color: #0022aa;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    line-height: 1.6;
}

.accordion-body {
    text-align: left;
    line-height: 1.6;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.about-section {
    background-color: #b4b4dc;
    padding: 80px 20px;
    text-align: center;
}

.about-section h2 {
    color: #0033cc;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section > p {
    color: #0022aa;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    line-height: 1.6;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.gallery img {
    width: 200px;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.lightbox:target {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}

.close-lightbox,
.prev,
.next {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.close-lightbox {
    top: 10px;
    right: 10px;
    transform: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.close-lightbox:hover,
.prev:hover,
.next:hover {
    background: rgba(0,0,0,0.6);
}
