/* ------------------ Global Styles ------------------ */
@import url('https://fonts.cdnfonts.com/css/helvetica-neue-55');

:root {
    --navy: #061257;
    --blue: #0A65FC;
    --button-color: #CEE0FE;
    --light-blue: #E7F0FF;
    --cream: #F9F3EF;
    --white: #ffffff;
    --black: #000000;
}

body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
}


/* ------------------ Header ------------------ */
header {
    padding: 15px 0px;
    border-bottom: 1px solid #F3F3F7;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 0px;
    box-sizing: border-box;
}

.navbar .right-bar {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #384179;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
}

.nav-links li a:hover {
    color: var(--blue);
}

/* Logo */
.logo {
    max-width: 170px;
    object-fit: cover;
}

.mobile-nav-header {
    display: none;
}

/* Buttons (Login / Post Task) */
.login-btn {
    background: var(--button-color);
    color: var(--blue);
    border: none;
    font-weight: 400;
    font-size: 15px;
    padding: 10px 30px;
    cursor: pointer;
    border-radius: 30px;
    margin-left: 10px;
}

.post_task {
    background: var(--blue);
    color: var(--white) !important;
    border: none;
    font-weight: 400 !important;
    font-size: 15px !important;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}

.post_task:hover {
    background-color: var(--navy);
}


/* ------------------ Mobile Menu ------------------ */
.mobile-menu-display {
    display: none;
}

.nav-right {
    display: none;
}

.nav-right .login-btn {
    display: none;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--blue);
    display: block;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Close Button */
.close-btn {
    display: none;
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 2rem;
    color: var(--blue);
    cursor: pointer;
    z-index: 10;
}


/* ------------------ Hero Section ------------------ */
.main-title {
    font-size: 55px;
    line-height: 70px;
    letter-spacing: 0.15px;
    font-weight: 800;
    margin-bottom: 30px;
}

.title-color {
    color: var(--navy);
}

.hero {
    margin-top: 30px;
}

.hero-container {
    background: var(--navy);
    border-radius: 30px;
    padding: 60px 60px;
    color: var(--white);
}

.hero-container p {
    font-size: 19px;
    line-height: 29px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: 300;
}

.hero-banner-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-right {
    position: absolute;
    right: -46px;
    z-index: 1;
}

/* Hero Buttons */
.hero .btn.btn-primary {
    background-color: var(--blue);
}

.btn.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: none;
    font-weight: 400;
    font-size: 15px;
    padding: 15px 27px;
    cursor: pointer;
    border-radius: 30px;
    letter-spacing: 0.15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn.btn-primary svg {
    width: 27px;
    height: 27px;
}

.btn.btn-white {
    background: var(--white);
    color: var(--navy);
    border: none;
    font-weight: 400;
    font-size: 15px;
    padding: 15px 27px;
    cursor: pointer;
    border-radius: 30px;
    letter-spacing: 0.15px;
}

.btn.btn-white svg {
    width: 27px;
    height: 27px;
}

/* ------------------ Post Task Section ------------------ */

.posttask_section {
    padding: 70px 0px;
    background-color: var(--white);
}

.posttask_list {
    padding: 0;
    list-style: none;
}

.posttask_list li {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.posttask_list li .number {
    background-color: #CEE0FE;
    color: var(--blue);
    font-weight: 500;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.postlist-bg {
    background: #E7F0FF;
    padding: 20px 40px;
    border-radius: 8px;
    position: relative;
    height: 550px;
    /* visible area */
    overflow: hidden;
    display: grid;
    gap: 20px;
}

.post_task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 90.8%;
    position: absolute;
    left: 0;
    margin: auto;
    right: 0;
}

.primary-scroll {
    top: 0;
    animation: primary-scroll 20s linear infinite;
}

.secondary-scroll {
    top: 100%;
    animation: secondary-scroll 20s linear infinite;
    padding-top: 64px;
}

@keyframes primary-scroll {
    0% {
        top: 0;
    }

    100% {
        top: -100%;
    }
}

@keyframes secondary-scroll {
    0% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

.post_task-item {
    background: #fff;
    width: 100%;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.post_task-item img {
    width: 73px;
    height: 73px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.post_task-item .post-content {
    display: grid;
    gap: 0px;
}

.post_task-item .post-content h6 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--navy);
    font-weight: medium;
}

.post_task-item .post-content p {
    font-size: 14px;
    margin: 0;
    color: #555770;
    font-weight: regular;
}

.posttask_section a {
    text-align: center;
    display: block;
    margin-top: 20px;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
    color: rgb(6, 18, 87);
}

.posttask_lists {
    display: grid;
    gap: 20px;
}

.posttask_lists>div {
    display: flex;
    gap: 20px;
}

.posttask_lists svg {
    width: 24px;
    height: 24px;
    fill: #2A6BE0;
}

.posttask_lists .posttask_content h5 {
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--navy);
}

.posttask_lists .posttask_content p {
    font-size: 14px;
    color: #555;
    margin: 0 0 10px;
    line-height: 1.5;
    font-weight: normal;
}

.posttask_lists .posttask_content a.read-more {
    font-size: 14px;
    font-weight: 500;
    color: #2A6BE0;
    text-decoration: none;
    transition: color 0.2s;
    text-align: left;
    margin-top: 10px;
}

.posttask_lists p.posttask_text {
    max-height: 40px;
    /* show only a few lines */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.posttask_lists .posttask_text.expanded {
    max-height: 500px;
    /* adjust as needed */
}

.hero-section {
    background-color: var(--blue);
    padding: 50px;
    border-radius: 20px 20px 0px 0px;
    color: #fff;
}

.hero-section h1 {
    color: #fff;
}

.hero-section p {
    font-size: 16px;
    line-height: 27px;
    margin-top: 10px;
    font-weight: 400;
}

.hero-section ul {
    list-style: none;
    padding: 0;
}

.hero-section ul li {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 400;
}

.hero-section .btn-primary {
    margin-top: 30px;
    background-color: #fff;
    color: #0B5FFF;
    border: none;
    width: 50%;
}

.testimonials {
    background-color: var(--blue);
    padding: 50px;
    border-radius: 0px 0px 20px 20px;
    color: #fff;
}

.testimonials .swiper.mySwiper {
    margin-top: 50px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
    display: none;
}

.testimonial-card {
    background-color: #fff;
    color: #000;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-card .testimonial-img {
    border-radius: 12px;
    width: 336px;
    height: 417px;
}

.testimonial-header .testimonial-card h5 {
    margin-top: 15px;
    font-weight: 800;
    font-size: 36px;
    color: var(--navy);
}

.testimonial-card .review-stars {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 20px;
}

.testimonial-card .stars-outer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-card .stars-outer .stars {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 24px;
    font-weight: 500;
    color: var(--navy);
}

.testimonial-card .specialities {
    border: 1px solid rgb(155, 160, 188);
    border-left: 0;
    border-right: 0;
    padding: 20px 0px;
}

.testimonial-card .specialities h6 {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
}

.testimonial-card .specialities p {
    font-size: 16px;
    font-weight: 500;
    color: #384179;
}

.testimonial-card .stars-outer .stars svg {
    fill: rgb(255, 127, 0);
}

.testimonial-card .stars-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-card .stars-content p {
    font-size: 14px;
    margin-bottom: 0;
    color: #061257;
}

.testimonial-card .stars-content p small {
    font-size: 14px;
    margin-bottom: 0;
    color: #6A719A;
}

.testimonial-card .stars-content h6 {
    font-size: 26px;
    margin-bottom: 0;
    color: var(--navy);
}

.testimonial-card .tags {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-card .tags .tag {
    background: rgb(231, 240, 255);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    border-radius: 32px;
}

.testimonial-card .tags .tag img {
    width: 32px;
    height: 32px;
}

.testimonial-card .tags .tag p {
    font-size: 14px;
    margin: 0;
    color: #384179;
    margin-bottom: 0;
}

.testimonial-card .review {
    margin-top: 20px;
}

.testimonial-card .review h6 {
    font-weight: 500;
    font-size: 18px;
    color: var(--navy);
}

.testimonial-card .review p {
    font-weight: 500;
    font-size: 16px;
    color: #384179;
    margin-bottom: 0px;
}

.testimonial-card .review span {
    font-weight: 500;
    font-size: 14px;
    color: #384179;
    margin-bottom: 0px;
}

/* Swiper Pagination Customization */
.testimonial-card .swiper.mySwiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.testimonial-card .swiper.mySwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid #33AEAF;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-card .swiper.mySwiper .swiper-pagination-bullet-active {
    background: #33AEAF;
    transform: scale(1.2);
}

.articles_section {
    background: #E7F0FF;
    padding: 70px 0px;
    margin: 70px 0px 0px 0px;
}

.articles_section .articles-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.articles_section .article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.articles_section .article-card img {
    width: 100%;
    height: 223px;
    object-fit: cover;
}

.articles_section .article-card .article-content {
    padding: 24px;
}

.articles_section .article-card h5 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--navy);
}

.articles_section .article-card p {
    font-size: 14px;
    color: #555770;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: normal;
}

.contact-section .main-title {
    margin-bottom: 0;
    font-size: 45px;
    line-height: 60px;
}

.articles_section .article-card a {
    font-size: 14px;
    font-weight: 500;
    color: #2A6BE0;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-section {
    background-image: url(../images/contact-section.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 50px 0px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--navy);
    font-weight: 400;
    line-height: 30px;
}

.terms-header p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #646464;
    font-weight: 300;
}

/* ------------------ Footer ------------------ */
footer {
    background: var(--navy);
    padding: 60px 0 30px;
}

footer h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--white);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #cfd5f5;
    text-decoration: none;
    font-size: 14px;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer-logo {
    margin-top: 20px;
}

.footer-bottoms {
    /* border-top: 1px solid #C5C3C3; */
    margin-top: 40px;
    padding-top: 0px;
    font-size: 13px;
    color: #cfd5f5;
    text-align: center;
}

.footer-bottoms p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    text-align: left;
}

.app-links img {
    height: 40px;
    margin-right: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
}