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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f7f9fc;
    color: #24364f;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}


/* =====================================
   CONTAINER
===================================== */

.container {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
}


/* =====================================
   NAVBAR
===================================== */

.navbar {
    height: 78px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8edf3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* =====================================
   LOGO
===================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 185px;
}

.logo-icon {
    color: #2770b7;
    font-size: 26px;
    transform: rotate(-25deg);
}

.logo-text h2 {
    font-size: 22px;
    font-weight: 800;
    color: #263b59;
}

.logo-text span {
    display: block;
    font-size: 8px;
    color: #76869a;
    margin-top: 3px;
}


/* =====================================
   NAV LINKS
===================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: #2d3d52;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2769aa;
}

.nav-links a.active::after {
    content: "";
    width: 22px;
    height: 2px;
    background: #2d72b5;
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
}


/* =====================================
   NAV RIGHT
===================================== */

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-nav-btn {
    border: none;
    background: transparent;
    font-size: 17px;
}

.signin-btn,
.signup-btn {
    padding: 12px 23px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.signin-btn {
    border: 1px solid #3b75ad;
    color: #2b6098;
    background: white;
}

.signup-btn {
    background: linear-gradient(
        135deg,
        #285e98,
        #347fc4
    );

    color: white;

    box-shadow: 0 8px 20px rgba(38, 99, 160, 0.25);
}

.signup-btn:hover {
    transform: translateY(-2px);
}


/* =====================================
   MOBILE MENU
===================================== */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 27px;
}


/* =====================================
   HERO
===================================== */

.hero {
    min-height: 620px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.97) 0%,
            rgba(255,255,255,0.92) 25%,
            rgba(255,255,255,0.60) 43%,
            rgba(255,255,255,0.10) 68%,
            rgba(0,0,0,0.08) 100%
        );
}

.hero-container {
    position: relative;
    z-index: 3;
    min-height: 620px;

    display: flex;
    align-items: center;
}


/* =====================================
   HERO CONTENT
===================================== */

.hero-content {
    width: 650px;
    padding: 60px 0 90px;
}

.hero-tag {
    display: inline-block;

    color: #2d6198;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;

    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(58px, 6vw, 86px);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 800;

    color: #263a59;

    margin-bottom: 20px;
}

.hero-content h1 span {
    display: block;
    color: #3375b8;
}

.hero-content p {
    max-width: 570px;

    font-size: 15px;

    line-height: 1.8;

    color: #465b73;

    margin-bottom: 27px;
}


/* =====================================
   SEARCH BOX
===================================== */

.search-box {
    width: 790px;

    max-width: 100%;

    display: flex;

    align-items: center;

    background: rgba(255,255,255,0.95);

    padding: 12px;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(20, 50, 80, 0.15);

    margin-bottom: 22px;
}

.search-item {
    flex: 1;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 9px 14px;

    border-right: 1px solid #e0e6ec;

    min-width: 0;
}

.search-icon {
    width: 40px;
    height: 40px;

    background: #edf4fa;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.search-content {
    width: 100%;
    min-width: 0;
}

.search-content label {
    display: block;

    font-size: 10px;

    color: #617287;

    font-weight: 700;

    margin-bottom: 5px;
}

.search-content input,
.search-content select {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #34475e;

    font-size: 11px;

    font-weight: 500;
}

.search-content input::placeholder {
    color: #677789;
}

.search-btn {
    border: none;

    height: 58px;

    min-width: 120px;

    border-radius: 16px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2f75b8,
            #215b94
        );

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    box-shadow:
        0 10px 20px rgba(40,100,160,.25);

    transition: 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
}


/* =====================================
   HERO FEATURES
===================================== */

.hero-features {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 22px;
}

.hero-features div {
    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 11px;

    color: #344a61;

    font-weight: 600;
}


/* =====================================
   HAPPY TRAVELERS
===================================== */

.happy-travelers {
    position: absolute;

    right: 0;

    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 17px;

    background:
        rgba(255,255,255,.94);

    border-radius: 20px 0 0 20px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.12);
}

.happy-images {
    display: flex;
}

.happy-images img {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    object-fit: cover;

    border: 3px solid white;

    margin-left: -12px;
}

.happy-images img:first-child {
    margin-left: 0;
}

.happy-info {
    display: flex;
    flex-direction: column;
}

.happy-info strong {
    font-size: 19px;
    color: #263c59;
}

.happy-info span {
    font-size: 9px;
    color: #68788b;
}

.happy-arrow {
    font-size: 22px;
    color: #66809c;
}


/* =====================================
   GENERAL SECTION
===================================== */

.services,
.destinations,
.testimonials {
    padding: 65px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.section-top h2 {
    font-size: 25px;
    color: #293d59;
    margin-bottom: 7px;
}

.section-heading p,
.section-top p {
    color: #718095;
    font-size: 12px;
}

.section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}


/* =====================================
   SERVICES
===================================== */

.services {
    background: white;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;
}

.service-card {
    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(30,60,90,.10);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-card > img {
    width: 100%;

    height: 130px;

    object-fit: cover;
}

.service-content {
    position: relative;

    padding: 28px 14px 16px;
}

.service-icon {
    position: absolute;

    top: -19px;

    left: 14px;

    width: 38px;
    height: 38px;

    background: white;

    border-radius: 50%;

    box-shadow:
        0 5px 15px rgba(0,0,0,.12);

    display: flex;

    align-items: center;

    justify-content: center;
}

.service-content h3 {
    font-size: 14px;
    color: #2a3d57;

    margin-bottom: 7px;
}

.service-content p {
    font-size: 10px;

    line-height: 1.6;

    color: #718095;

    min-height: 32px;
}

.service-content button {
    width: 100%;

    border: none;

    background: transparent;

    text-align: right;

    color: #3675b5;

    font-size: 20px;

    margin-top: 8px;
}


/* =====================================
   DESTINATIONS
===================================== */

.destinations {
    background: #f7f9fc;
}

.view-all {
    border: 1px solid #d9e2ec;

    background: white;

    color: #326ba5;

    padding: 10px 21px;

    border-radius: 22px;

    font-size: 11px;

    font-weight: 700;
}

.destination-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 16px;
}

.destination-card {
    overflow: hidden;
}

.destination-image {
    height: 135px;

    border-radius: 12px;

    overflow: hidden;

    position: relative;
}

.destination-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.destination-card:hover img {
    transform: scale(1.08);
}

.heart {
    position: absolute;

    top: 9px;
    right: 9px;

    width: 28px;
    height: 28px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255,255,255,.25);

    color: white;

    font-size: 18px;
}

.destination-info {
    padding-top: 10px;
}

.destination-info h3 {
    font-size: 13px;

    color: #2b3e59;

    margin-bottom: 6px;
}

.destination-info span {
    font-size: 9px;

    color: #718095;
}


/* =====================================
   STORY
===================================== */

.story {
    height: 340px;

    position: relative;

    overflow: hidden;
}

.story-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.story-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(12,37,61,.86),
            rgba(12,37,61,.48),
            rgba(12,37,61,.15)
        );
}

.story-container {
    height: 100%;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.story-content > span {
    font-size: 10px;

    letter-spacing: 2px;

    color: #a8d3f3;

    font-weight: 700;
}

.story-content h2 {
    font-size: 32px;

    line-height: 1.2;

    color: white;

    margin: 12px 0 22px;
}

.story-features {
    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    color: white;

    font-size: 11px;
}

.story-play {
    border: none;

    background: transparent;

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    font-weight: 600;
}

.story-play::first-letter {
    color: #2974b8;
}

.story-play {
    font-size: 11px;
}

.story-play {
    min-width: 100px;
}

.story-play::before {
    content: "▶";

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: white;

    color: #3175b7;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.2);
}

.story-play {
    color: white;
}

.story-play > span {
    display: none;
}


/* =====================================
   TESTIMONIALS
===================================== */

.testimonials {
    background: white;
}

.testimonial-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.testimonial-card {
    background: #fff;

    padding: 20px;

    border-radius: 12px;

    border: 1px solid #edf0f4;

    box-shadow:
        0 5px 20px rgba(20,50,80,.05);
}

.testimonial-top {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}

.testimonial-top img {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    object-fit: cover;
}

.testimonial-top p {
    font-size: 11px;

    line-height: 1.7;

    color: #526276;
}

.testimonial-bottom {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-top: 15px;

    padding-left: 63px;
}

.testimonial-bottom div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.testimonial-bottom strong {
    font-size: 11px;

    color: #2c3d57;
}

.testimonial-bottom span:not(.stars) {
    font-size: 9px;

    color: #8290a0;
}

.stars {
    color: #f5b51b;

    font-size: 12px;
}


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

.footer {
    background: #10213a;

    color: white;

    padding: 55px 0 35px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        .8fr
        .9fr
        .9fr
        1.6fr;

    gap: 35px;
}

.footer-logo {
    font-size: 21px;

    font-weight: 800;

    color: white;
}

.footer-brand p {
    color: #91a0b4;

    font-size: 10px;

    margin: 12px 0 50px;
}

.footer-brand small {
    color: #748399;

    font-size: 9px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-column h4,
.newsletter h4 {
    font-size: 11px;

    margin-bottom: 7px;
}

.footer-column a {
    font-size: 10px;

    color: #8f9db0;

    transition: .3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;

    gap: 12px;
}

.social-links a {
    color: #a8b4c4;

    font-size: 14px;
}

.newsletter {
    border-left: 1px solid rgba(255,255,255,.12);

    padding-left: 25px;
}

.newsletter p {
    font-size: 9px;

    color: #8c9aae;

    margin-bottom: 13px;
}

.newsletter form {
    display: flex;

    background: rgba(255,255,255,.08);

    border-radius: 10px;

    overflow: hidden;
}

.newsletter input {
    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    padding: 13px;

    font-size: 10px;
}

.newsletter button {
    border: none;

    background: #2873b7;

    color: white;

    padding: 0 15px;

    font-size: 10px;

    font-weight: 700;
}

.footer-quote {
    display: block;

    margin-top: 28px;

    text-align: right;

    color: #d0d7e0;

    font-style: italic;

    font-size: 10px;
}


/* =====================================
   TOAST
===================================== */

.toast {
    position: fixed;

    bottom: 25px;

    right: 25px;

    background: #193451;

    color: white;

    padding: 15px 20px;

    border-radius: 10px;

    font-size: 13px;

    z-index: 9999;

    transform: translateY(100px);

    opacity: 0;

    transition: .3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


/* =====================================
   LAPTOP
===================================== */

@media (max-width: 1200px) {

    .nav-links {
        gap: 18px;
    }

    .services-grid {
        grid-template-columns:
            repeat(5, 1fr);
    }

    .service-card > img {
        height: 110px;
    }

}


/* =====================================
   TABLET
===================================== */

@media (max-width: 992px) {

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .signin-btn,
    .signup-btn {
        padding: 10px 15px;
    }

    .logo {
        min-width: auto;
    }

    .search-box {
        width: 100%;
    }

    .hero-content {
        width: 75%;
    }

    .services-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .destination-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .newsletter {
        border-left: none;
        padding-left: 0;
    }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 32px);
    }


    /* NAV */

    .navbar {
        height: 70px;
    }

    .nav-links {
        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        align-items: flex-start;

        padding: 20px 25px;

        gap: 20px;

        box-shadow:
            0 15px 30px rgba(0,0,0,.1);

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition: .3s;
    }

    .nav-links.show {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;
    }

    .hero-image {
        object-position: 65% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.94) 0%,
                rgba(255,255,255,.88) 45%,
                rgba(255,255,255,.45) 75%,
                rgba(255,255,255,.15) 100%
            );
    }

    .hero-content {
        width: 100%;

        padding:
            50px 0
            180px;
    }

    .hero-tag {
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 58px;

        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* SEARCH */

    .search-box {
        flex-direction: column;

        align-items: stretch;

        border-radius: 18px;
    }

    .search-item {
        width: 100%;

        border-right: none;

        border-bottom:
            1px solid #e7edf2;

        padding: 12px;
    }

    .search-btn {
        width: 100%;

        margin-top: 10px;
    }


    /* FEATURES */

    .hero-features {
        gap: 9px;
    }

    .hero-features div {
        background:
            rgba(255,255,255,.7);

        padding: 8px 10px;

        border-radius: 20px;

        font-size: 10px;
    }


    /* HAPPY */

    .happy-travelers {
        left: 16px;

        right: 16px;

        bottom: 25px;

        border-radius: 16px;

        justify-content: center;
    }


    /* SECTIONS */

    .services,
    .destinations,
    .testimonials {
        padding: 45px 0;
    }

    .section-heading h2,
    .section-top h2 {
        font-size: 22px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 14px;
    }


    /* DESTINATIONS */

    .destination-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .destination-image {
        height: 150px;
    }


    /* STORY */

    .story {
        height: auto;
        min-height: 400px;
    }

    .story-container {
        padding:
            55px 0;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 35px;
    }

    .story-content h2 {
        font-size: 28px;
    }

    .story-play {
        align-self: center;
    }


    /* TESTIMONIAL */

    .testimonial-grid {
        grid-template-columns:
            1fr;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-brand p {
        margin-bottom: 20px;
    }

    .newsletter {
        grid-column: span 2;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero-content {
        padding-top: 38px;
    }

    .hero-content h1 {
        font-size: 49px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-features div {
        font-size: 9px;
    }

    .services-grid {
        grid-template-columns:
            1fr;
    }

    .service-card > img {
        height: 170px;
    }

    .destination-grid {
        gap: 12px;
    }

    .destination-image {
        height: 120px;
    }

    .section-top {
        align-items: flex-start;

        gap: 15px;

        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns:
            1fr;
    }

    .footer-brand,
    .newsletter {
        grid-column: auto;
    }

    .footer-column {
        gap: 12px;
    }

}