:root {
    --primary-color: #297AA2;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --dark-blue: #00364B;
    --star-color: #FFA033;
    --background-color: #F0F6FA;
    --heading-color: #081523;
    --faq-heading-color: #1B2424;
    --footer-color: #15283D;
    --gray-color: #526274;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    font-size: 18px;
    line-height: 1.55;
    color: var(--heading-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.text-white {
    color: white !important;
}

.text-center {
    text-align: center;
}

h1,
.h1 {
    font-weight: 700;
    font-size: 64px;
    line-height: 75px;
}


h2,
.h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 56px;
    color: var(--heading-color);
}

h4,
.h4 {
    font-weight: 700;
    font-size: 34px;
    line-height: 40.8px;
    color: var(--heading-color);
}

h5,
.h5 {
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    color: var(--faq-heading-color);
}

p,
.p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--gray-color);
}

.p1 {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.fw-bold {
    font-weight: bold !important;
}

.fw-normal {
    font-weight: normal !important;
}

.d-flex {
    display: flex;
}

.text-primary {
    color: var(--primary-color) !important;
}

.align-center {
    align-items: center;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 10px;
}

.mb-4 {
    margin-bottom: 15px;
}

.mb-5 {
    margin-bottom: 20px;
}

.mb-7 {
    margin-bottom: 30px;
}

.mb-10 {
    margin-bottom: 40px;
}

.mt-7 {
    margin-top: 30px;
}



.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.ps-1 {
    padding-left: 5px;
}

.pe-1 {
    padding-right: 5px;
}

.section-title::after {
    content: '';
    display: block;
    position: relative;
    background: url(../images/bg-title.svg) no-repeat center center;
    width: 52px;
    height: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Main Wrapper  */

.main-wrapper {
    display: flex;
    justify-content: space-between;
}

.main-wrapper .left-col {
    width: 50%;
}

.main-wrapper .right-col {
    width: 50%;
}

select,
input[type=text],
input[type=email],
input[type=password] {
    border: 1px solid #C6C6C6;
    padding: 12px 18px;
    border-radius: 8px;
}

input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder {
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}


.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
}

.theme-btn {
    background: var(--primary-color);
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 8px;
    padding: 15px 25px;
    color: white;
    display: inline-block;
    outline: none;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-btn:hover {
    color: white;
    background: var(--footer-color);
}

/* Header Styling  */

header {
    background-color: white;
    padding: 21px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--footer-color);
    font-weight: 700;
    transition: color 0.3s;
    position: relative;
    font-size: 14px;
    line-height: 20px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

.nav-item.dropdown::after {
    content: '';
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: currentColor;
    pointer-events: none;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    min-width: 150px;
    z-index: 1000;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    color: var(--heading-color);
    font-weight: 400;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
    line-height: 20px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

#nav_boat_types_container>div {
    display: flex;
    gap: 12px;
    padding: 12px;
    max-width: 100%;
}

/* Styling of Footer  */
footer {
    background-color: #E2F2FE;
    padding-top: 74px;
    padding-bottom: 104px;
}

footer .row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

footer .col {
    max-width: 375px;
}

footer .col:first-child {
    width: 45%;
}

footer .col-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
}

footer .menu li {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}

footer .menu.contacts img {
    border-radius: 8px;
    margin-right: 10px;
    border: 1px solid #C1D7E7;
    width: 48px;
    height: 48px;
}

footer .menu.contacts a,
footer .menu.contacts b {
    font-size: 19px;
    font-weight: 500;
}

.copy {
    background-color: #E2F2FE;
    border-top: 1px solid rgba(82, 98, 116, 0.3);
    padding-top: 15px;
    padding-bottom: 25px;
    font-size: 16px;
    line-height: 24px;

}

/* Faq Section  */
.faq {
    background-color: white;
    padding-top: 130px;
    padding-bottom: 120px;
}

.faq h2 {
    margin-bottom: 18px;
}

.faq-container {
    padding-top: 10px;
}

.faq p.desc {
    margin-bottom: 50px;
}

.faq-item {
    border-bottom: 1px solid #12617A;

}

.faq-question {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 40px 0;
}

.active .faq-question {
    padding-bottom: 10px;
}

.faq-heading {
    font-weight: bold;
    margin-right: 30px;
}

.active .faq-heading {
    color: var(--primary-color);
}

.faq-title {
    flex-grow: 1;
    padding-right: 15px;
}

.faq-toggle {
    font-weight: normal;
    transition: transform 0.3s ease;
    height: 34px;
}

.faq-answer {
    display: none;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
}

.faq-item.active .faq-answer {
    display: block;
    margin-bottom: 40px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Hero Section  */
.hero {
    padding-top: 80px;
    padding-bottom: 190px;
    background-image: url('../images/vancouver-skipper-tip-secret-million-miles-at-ocean-bluewate\ 1.jpg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    position: relative;
}

.hero h1 {
    max-width: 454px;
}

.hero .left-col {
    max-width: 492px;
}

.hero .left-col a {
    width: 170px;
}

.hero .right-col {
    max-width: 440px;
}

.hero .left-col * {
    color: white;
}

.hero-description {
    padding: 10px 20px;
    background: linear-gradient(360deg, rgba(41, 122, 162, 0.75) -11.15%, rgba(41, 122, 162, 0) 181.42%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-description p {
    font-size: 26px;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
    color: white;

}

/* CTA 1  */
.cta-1 {
    padding-top: 130px;
    padding-bottom: 65px;
    background-image: url('../images/bg-wave_01.svg');
    background-repeat: no-repeat;
    background-position: left 0px top 66px;
    position: relative;
}

.cta-1 .left-col {
    position: relative;
    text-align: center;
}

.cta-1 img.mobile {
    position: absolute;
    top: 130px;
    right: 0px;

}

.cta-1 .right-col {
    max-width: 606px;
}

/* CTA 2  */
.cta-2 {
    padding-top: 65px;
    padding-bottom: 65px;
}

.cta-2 .left-col {
    max-width: 568px;
}

.cta-2 .right-col {
    position: relative;
    max-width: 605px;
}

.table-wrapper {
    border: 1px solid #C6E1F0;
    border-radius: 20px;
    overflow: hidden;
    z-index: 3;
    position: relative;
}

.table-info {
    padding: 23px 28px;
}

.table-info img {
    margin-right: 12px;
}

.table-info p {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;

}

.cta-2 img.union {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -30px;
    z-index: 4;
    object-fit: contain;
}

table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    position: relative;
    background-color: white;
    border: 1px solid #C6E1F0;
    border-radius: 20px;
    overflow: hidden;
    z-index: 3;
}

th,
td {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    color: #526274;
    padding: 20px 10px;
    border: 1px solid #C6E1F0;
}

th {
    background-color: var(--primary-color);
    color: white;
    width: 50%;
    padding: 15px 10px;
}

td {
    background-color: white;
}

/* Remove left and right borders from the corner cells to allow rounded borders */
table tr:first-child th:first-child {
    border-top-left-radius: 20px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 20px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

/* Testimonial Section Styling  */
.testimonial {
    padding-top: 65px;
    padding-bottom: 65px;
}

.testimonial h2 {
    max-width: 474px;
}

.testimonial .glide {
    padding-top: 50px;
}

.testimonial-item {
    padding: 30px;
    border: 1px solid #C6E1F0;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 330px;
}

.testi-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-wrapper .avatar {
    display: flex;
    align-items: center;
}

.avatar .fullname {
    font-size: 20px;
    font-weight: 700;
    line-height: 24.2px;
    color: var(--footer-color);
    margin-bottom: 3px;

}

.avatar .state {
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
}

.testi-wrapper .avatar img {
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/* CTA 3 Styling  */

.cta-3 {
    background-color: #002E51;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}

.cta-3 p,
.cta-3 h2 {
    color: white;
}

.cta-3 .container {
    z-index: 1;
}

.cta-3 .overlay {
    background: linear-gradient(85.75deg, rgba(15, 45, 60, 0) 29.48%, #297AA2 79.07%);
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-3 .right-col {
    max-width: 505px;
}

.cta-3 .left-col {
    max-width: 550px;
}

.signup {
    background-image: url('../images/bg-wave_01.svg');
    background-repeat: no-repeat;
    background-position: left 0px bottom 84px;
    padding-top: 72px;
    padding-bottom: 72px;
    position: relative;
}

.signup .left-col {
    max-width: 594px;
}

.signup .right-col {
    max-width: 530px;
    position: relative;
    margin-top: 40px;
}

.signup form button {
    padding-right: 60px;
    padding-left: 60px;
}

.hero form,
.signup form {
    padding: 30px;
    border: 1px solid #C6E1F0;
    border-radius: 20px;
    background-color: white;
    position: relative;
    z-index: 3;
}

.stack-02,
.stack-01 {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    height: 50px;
    border: 1px solid #C6E1F0;
    border-radius: 20px;
    background-color: #F4FBFF;
    z-index: 2;
}

.stack-02 {
    top: -20px;
    width: calc(100% - 40px);
    z-index: 1;
}

/* Style for checkbox */
#terms-checkbox {
    width: 17px;
    height: 17px;
    appearance: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 9px;
}

/* Style for the checked state */
#terms-checkbox:checked {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

/* Add checkmark when checkbox is checked */
#terms-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: white;
}

.terms-label a {
    color: var(--primary-color)
}

.terms-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {

    body {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .main-wrapper .right-col,
    .main-wrapper .left-col {
        width: 100%;
    }

    /* Mobile Header Styling  */
    .navbar-nav {
        display: none;
        flex-direction: column;
        align-items: start;
        position: absolute;
        top: 69px;
        left: 0;
        right: 0;
        background-color: white;
        border: 1px solid white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item.dropdown::after {
        right: 12px
    }

    .dropdown-menu {
        position: relative;
        box-shadow: none;
    }

    .dropdown-item {
        white-space: wrap;
        padding: 10px;
    }

    .navbar-nav.show {
        display: flex;
        padding: 12px;
    }

    .navbar-toggler {
        display: block;
        cursor: pointer;
        width: 24px;
        height: 24px;
        background: url(../images/ico-toggler.svg) no-repeat center center;
    }

    .navbar-toggler.close {
        background: url(../images/ico-close.svg) no-repeat center center;
    }

    #nav_boat_types_container>div {
        justify-content: space-between;
    }

    /* Mobile Footer Styling */

    footer {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    footer .row {
        flex-direction: column;
    }

    footer .row .col {
        margin-bottom: 40px;
    }

    .faq-answer {
        padding-right: 5px;
    }

    .cta-1 .left-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-1 img.mobile {
        position: relative;
        top: unset;
        right: unset;
    }

    .cta-2 .left-col {
        margin-bottom: 50px;
    }

    .testi-wrapper {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .ratings {
        padding-left: 82px;
    }

    .w-md-100 {
        width: 100% !important;
    }

    .cta-3 .main-wrapper {
        align-items: center;
        text-align: center;
    }

    .signup h2 {
        text-align: center;
        margin-bottom: 40px;
    }

}

@media (max-width: 480px) {


    h1,
    .h1 {
        font-size: 50px;
        line-height: 60px;
    }


    h2,
    .h2 {
        font-size: 32px;
        line-height: 42px;
    }

    h4,
    .h4 {
        font-size: 28px;
        line-height: 38px;
    }

    h5,
    .h5 {
        font-size: 20px;
        line-height: 30px;
    }

    .faq {
        padding: 60px 0;
    }

    .faq h2 {
        text-align: center;
    }

    .faq p.desc {
        text-align: center;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 20px 0;
    }

    .faq-container {
        padding-top: 30px;
    }

    .faq img {
        margin: auto;
    }

    .faq-answer {
        padding-left: 45px;
    }

    .signup {
        background-position: left 0px bottom 10px;
    }

    .cta-2,
    .testimonial {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .testimonial .glide {
        padding-top: 20px;
    }

    th,
    td {
        font-size: 15px;
        font-weight: 700;
        line-height: 24px;
        padding: 10px;
    }

    .table-info {
        padding: 20px;
    }

    .hero {
        background-position: center left;
    }

    .testimonial h2,
    .cta-1 .right-col,
    .cta-2 .left-col,
    .hero .left-col {
        text-align: center;
    }

    .hero-description {
        padding: 25px 12px;
    }

    .hero-description p {
        line-height: 1.5;
        font-size: 20px;
    }

    .section-title::after {
        margin: 30px auto;
    }

    .testimonial-item {
        min-height: 505px;
    }

}