/* =========================================================
   FERRY PAGE
   Andaman Guiders
========================================================= */

.ferry-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(3, 59, 102, 0.78),
            rgba(7, 132, 198, 0.55)),
        url("../images/ferry/ferry-hero.jpg") center/cover no-repeat;
}

.ferry-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%,
            rgba(85, 223, 242, 0.35),
            transparent 35%),
        radial-gradient(circle at 85% 70%,
            rgba(255, 179, 107, 0.18),
            transparent 32%);
}

.ferry-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
            rgba(3, 59, 102, 0.72),
            rgba(3, 59, 102, 0.28),
            transparent);
}

.ferry-hero .container {
    position: relative;
    z-index: 2;
}

.ferry-hero-content {
    max-width: 760px;
    padding: 100px 0;
    color: #fff;
}

.ferry-hero-content .section-kicker {
    color: #bff6ff;
}

.ferry-hero-content h1 {
    margin: 18px 0;
    font-family: var(--heading-font);
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
}

.ferry-hero-content h1 span {
    display: block;
    color: var(--turquoise);
}

.ferry-hero-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   COMMON
========================================================= */

.section-space {
    padding: 100px 0;
}

.section-kicker {
    display: inline-block;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--ocean);

    text-transform: uppercase;
}

.section-head {
    margin-bottom: 55px;
}

.section-head.centered {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin: 12px 0 18px;

    font-family: var(--heading-font);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;

    color: var(--ocean-deep);
}

.section-title span {
    color: var(--ocean);
}

.section-head p {
    margin: 0 auto;

    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.ferry-intro {
    position: relative;
}

.ferry-intro::before {
    content: "";

    position: absolute;
    width: 420px;
    height: 420px;

    top: 80px;
    left: -180px;

    border-radius: 50%;

    background: rgba(39, 199, 230, 0.10);

    filter: blur(5px);

    pointer-events: none;
}


/* =========================================================
   FERRY GRID
========================================================= */

.ferry-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   FERRY CARD
========================================================= */

.ferry-card {
    position: relative;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 28px;

    box-shadow:
        0 20px 50px rgba(7, 89, 133, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.ferry-card:hover {
    transform: translateY(-10px);

    border-color: rgba(39, 199, 230, 0.55);

    box-shadow:
        0 30px 70px rgba(7, 89, 133, 0.17),
        0 0 0 1px rgba(39, 199, 230, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.ferry-card-image {
    position: relative;

    height: 250px;

    overflow: hidden;

    background: linear-gradient(135deg,
            #bdefff,
            #e9fbff);
}

.ferry-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(180deg,
            transparent 45%,
            rgba(3, 59, 102, 0.35));

    pointer-events: none;
}

.ferry-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

.ferry-card:hover .ferry-card-image img {
    transform: scale(1.08);
}


/* =========================================================
   TYPE BADGE
========================================================= */

.ferry-card-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 3;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.8);

    backdrop-filter: blur(12px);

    color: var(--ocean-deep);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    text-transform: uppercase;

    box-shadow:
        0 8px 20px rgba(3, 59, 102, 0.12);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ferry-card-content {
    padding: 26px;
}

.ferry-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}

.ferry-label {
    display: block;

    margin-bottom: 7px;

    color: var(--ocean);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.ferry-card h3 {
    margin: 0;

    color: var(--ocean-deep);

    font-family: var(--heading-font);

    font-size: 28px;
    line-height: 1.15;
}


/* =========================================================
   RATING
========================================================= */

.ferry-rating {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 5px;

    padding: 7px 11px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.60);

    border: 1px solid rgba(255, 255, 255, 0.75);

    color: var(--ocean-deep);

    font-size: 13px;
    font-weight: 800;
}

.ferry-rating span {
    color: #ffad42;
    font-size: 14px;
}


/* =========================================================
   ROUTE
========================================================= */

.ferry-route {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 17px;

    padding: 12px 14px;

    border-radius: 14px;

    background: rgba(39, 199, 230, 0.09);

    border: 1px solid rgba(39, 199, 230, 0.12);

    color: var(--text);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}

.route-icon {
    flex-shrink: 0;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.72);

    font-size: 14px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.ferry-description {
    min-height: 66px;

    margin: 0 0 22px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   META
========================================================= */

.ferry-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 22px;
}

.ferry-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.meta-icon {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(39, 199, 230, 0.13);

    color: var(--ocean);

    font-size: 15px;
}

.ferry-meta-item small {
    display: block;

    margin-bottom: 3px;

    color: var(--text-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}

.ferry-meta-item strong {
    display: block;

    color: var(--ocean-deep);

    font-size: 12px;

    line-height: 1.2;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.ferry-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 20px;

    border-top: 1px solid rgba(7, 89, 133, 0.10);
}

.ferry-price small {
    display: block;

    margin-bottom: 3px;

    color: var(--text-light);

    font-size: 10px;
}

.ferry-price strong {
    color: var(--ocean-deep);

    font-size: 20px;
    font-weight: 800;
}

.ferry-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;

    padding: 0 17px;

    border-radius: 13px;

    background: linear-gradient(135deg,
            var(--ocean),
            var(--ocean-light));

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(7, 132, 198, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ferry-view-btn span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.ferry-view-btn:hover {
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(7, 132, 198, 0.30);
}

.ferry-view-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.ferry-empty {
    max-width: 650px;

    margin: 0 auto;

    padding: 70px 30px;

    text-align: center;
}

.empty-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(39, 199, 230, 0.12);

    font-size: 32px;
}

.ferry-empty h3 {
    margin: 0 0 10px;

    color: var(--ocean-deep);

    font-family: var(--heading-font);

    font-size: 28px;
}

.ferry-empty p {
    margin: 0;

    color: var(--text-light);
}


/* =========================================================
   BENEFITS
========================================================= */

.ferry-benefits {
    position: relative;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.10),
            rgba(115, 215, 245, 0.13));
}

.ferry-benefits-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.ferry-benefit {
    padding: 32px 25px;

    text-align: center;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ferry-benefit:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 50px rgba(7, 89, 133, 0.13);
}

.benefit-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(135deg,
            rgba(39, 199, 230, 0.18),
            rgba(115, 215, 245, 0.08));

    border: 1px solid rgba(39, 199, 230, 0.16);

    font-size: 27px;
}

.ferry-benefit h3 {
    margin: 0 0 10px;

    color: var(--ocean-deep);

    font-family: var(--heading-font);

    font-size: 23px;
}

.ferry-benefit p {
    margin: 0;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.ferry-cta {
    padding-top: 60px;
    padding-bottom: 110px;
}

.ferry-cta-card {
    position: relative;

    overflow: hidden;

    padding: 70px 60px;

    background:
        linear-gradient(135deg,
            rgba(6, 59, 102, 0.95),
            rgba(7, 132, 198, 0.88));

    border: 1px solid rgba(255, 255, 255, 0.28);

    box-shadow:
        0 30px 70px rgba(3, 59, 102, 0.20);

    color: #fff;
}

.ferry-cta-card::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    top: -170px;

    border-radius: 50%;

    background: rgba(85, 223, 242, 0.18);
}

.ferry-cta-card::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -100px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255, 179, 107, 0.12);
}

.ferry-cta-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
}

.ferry-cta .section-kicker {
    color: #bff6ff;
}

.ferry-cta h2 {
    margin: 15px 0;

    font-family: var(--heading-font);

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.1;

    color: #fff;
}

.ferry-cta h2 span {
    color: var(--turquoise);
}

.ferry-cta p {
    max-width: 600px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;

    line-height: 1.8;
}

.ferry-cta-actions {
    display: flex;
    align-items: center;
    gap: 13px;

    flex-wrap: wrap;
}

.ferry-cta .btn-primary,
.ferry-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 23px;

    border-radius: 13px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.ferry-cta .btn-primary {
    background: #fff;

    color: var(--ocean-deep);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.12);
}

.ferry-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #fff;

    backdrop-filter: blur(10px);
}

.ferry-cta .btn-primary:hover,
.ferry-cta .btn-secondary:hover {
    transform: translateY(-3px);
}

.ferry-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .ferry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ferry-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 768px) {

    .section-space {
        padding: 75px 0;
    }

    .ferry-hero {
        min-height: 460px;
    }

    .ferry-hero-content {
        padding: 80px 0;
    }

    .ferry-hero-content h1 {
        font-size: 50px;
    }

    .ferry-hero-content p {
        font-size: 15px;
    }

    .ferry-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .ferry-card-image {
        height: 230px;
    }

    .ferry-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ferry-cta-card {
        padding: 50px 30px;
    }

}


@media (max-width: 520px) {

    .section-space {
        padding: 60px 0;
    }

    .ferry-hero {
        min-height: 420px;
    }

    .ferry-hero-content {
        padding: 70px 0;
    }

    .ferry-hero-content h1 {
        font-size: 42px;

        letter-spacing: -1px;
    }

    .ferry-card-content {
        padding: 21px;
    }

    .ferry-card h3 {
        font-size: 25px;
    }

    .ferry-card-top {
        flex-direction: column;
    }

    .ferry-rating {
        align-self: flex-start;
    }

    .ferry-meta {
        grid-template-columns: 1fr;
    }

    .ferry-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .ferry-view-btn {
        width: 100%;
    }

    .ferry-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ferry-cta-card {
        padding: 45px 22px;
        border-radius: 22px;
    }

    .ferry-cta h2 {
        font-size: 38px;
    }

    .ferry-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ferry-cta .btn-primary,
    .ferry-cta .btn-secondary {
        width: 100%;
    }

}