@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --brand-navy: #0F2E59;
    --brand-navy-light: #1E467A;
    --brand-navy-dark: #071933;
    --brand-blue: #0284C7;
    --brand-blue-hover: #0369A1;
    --brand-red: #0284C7;
    --brand-red-hover: #0369A1;
    --text-dark: #1C2430;
    --text-muted: #5A6A85;
    --bg-light: #F4F7FA;
    --border-color: #E2E8F0;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Custom Buttons */
.btn-brand-red,
.btn-brand-blue {
    background-color: var(--brand-blue);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    border: none;
    transition: var(--transition-smooth);
}

.btn-brand-red:hover,
.btn-brand-blue:hover {
    background-color: var(--brand-blue-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-brand-navy {
    background-color: var(--brand-navy);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    border: none;
    transition: var(--transition-smooth);
}

.btn-brand-navy:hover {
    background-color: var(--brand-navy-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 46, 89, 0.25);
}

.btn-outline-brand-navy {
    border: 1px solid var(--brand-navy);
    color: var(--brand-navy);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-brand-navy:hover {
    border-color: var(--brand-navy);
    background-color: var(--brand-navy);
    color: #ffffff;
}

.btn-outline-brand-red,
.btn-outline-brand-blue {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-brand-red:hover,
.btn-outline-brand-blue:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
}

/* Navbar */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

.custom-navbar .navbar-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.brand-name {
    color: var(--brand-navy);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.custom-navbar .nav-link {
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.language-flag-button {
    padding: 0.25rem 0.4rem;
    color: var(--brand-navy);
    font-size: 1.35rem;
    line-height: 1;
}

.language-flag-button::after {
    margin-left: 0.25rem;
    vertical-align: 0.15em;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-item.active .nav-link {
    color: var(--brand-red);
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: var(--transition-smooth);
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(15, 46, 89, 0.05) 0%, rgba(255, 255, 255, 1) 70%);
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.3;
    color: var(--brand-navy);
    margin-bottom: 1.2rem;
}

.hero-title span {
    color: var(--brand-red);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.hero-illustration {
    max-width: 100%;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Quick Search Widget */
.search-widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 46, 89, 0.08);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    max-width: 500px;
}

.search-widget .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.2rem;
}

.search-widget .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.search-widget .nav-link.active {
    color: var(--brand-red);
    border-bottom: 2px solid var(--brand-red);
    background: transparent;
}

.search-widget .form-control {
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.search-widget .form-control:focus {
    border-color: var(--brand-navy-light);
    box-shadow: 0 0 0 3px rgba(30, 70, 122, 0.15);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.section-tagline {
    color: var(--brand-red);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--brand-navy);
    margin-bottom: 3rem;
}

.services-tabs .nav-tabs {
    border-bottom: none;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.services-tabs .nav-link {
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--brand-navy);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition-smooth);
    background-color: #ffffff;
}

.services-tabs .nav-link:hover {
    border-color: var(--brand-navy);
    background-color: rgba(15, 46, 89, 0.02);
}

.services-tabs .nav-link.active {
    background-color: var(--brand-navy);
    color: #ffffff;
    border-color: var(--brand-navy);
}

.service-content-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.content-ship-image {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 46, 89, 0.14);
}

.fleet-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 46, 89, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 46, 89, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15, 46, 89, 0.14);
}

.fleet-card-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fleet-card-body {
    padding: 1.25rem;
}

.fleet-card-body h4 {
    margin-bottom: 0.6rem;
    color: var(--brand-navy);
    font-size: 1.2rem;
    font-weight: 700;
}

.fleet-card-body p {
    margin: 0;
    color: #6c757d;
    line-height: 1.65;
}

.service-icon-box {
    text-align: center;
    padding: 1.2rem;
    border-radius: 12px;
    background-color: var(--bg-light);
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-icon-box:hover {
    background-color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
    transform: translateY(-5px);
}

.service-icon-box i {
    font-size: 1.8rem;
    color: var(--brand-navy);
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.service-icon-box:hover i {
    color: var(--brand-red);
}

.service-icon-box h5 {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--brand-navy);
}

/* Route Section */
.route-section {
    background-color: var(--brand-navy-dark);
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.schedule-page-main {
    min-height: calc(100vh - 110px);
    padding-top: 9rem;
    background: #ffffff;
    color: var(--text-dark);
}

.schedule-page-main::before {
    display: none;
}

.schedule-page-main .text-white,
.schedule-page-main .text-light {
    color: var(--brand-navy) !important;
}

.schedule-page-main .text-white-50 {
    color: var(--text-muted) !important;
}

.schedule-panel {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    background: #ffffff !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 12px 32px rgba(15, 46, 89, 0.08);
}

.schedule-panel .form-label {
    color: var(--brand-navy) !important;
}

.schedule-page-main .form-select,
.schedule-page-main .form-control,
.schedule-page-main .input-group-text {
    border-color: var(--border-color) !important;
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
    box-shadow: none;
}

.schedule-page-main .form-select:focus,
.schedule-page-main .form-control:focus {
    border-color: var(--brand-navy-light) !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 46, 89, 0.12);
}

.schedule-page-main .form-control::placeholder {
    color: #8a96a8;
}

.schedule-page-main .route-table {
    border-color: var(--border-color);
    background: #ffffff;
    box-shadow: none;
}

.schedule-page-main .route-table .table-dark {
    --bs-table-bg: #ffffff;
    --bs-table-color: var(--text-dark);
    --bs-table-border-color: var(--border-color);
    --bs-table-hover-bg: #f1f5f9;
    --bs-table-hover-color: var(--brand-navy);
}

.schedule-page-main .route-table th {
    border-bottom: 2px solid var(--border-color);
    background: #f1f5f9;
    color: var(--brand-navy);
}

.schedule-page-main .route-table td {
    border-bottom-color: var(--border-color);
    color: var(--text-dark);
}

.schedule-page-main .btn-brand-red,
.schedule-page-main .btn-brand-red:hover,
.schedule-page-main .btn-brand-red:focus {
    color: #ffffff !important;
}

.schedule-page-main .btn-outline-light {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.schedule-page-main .btn-outline-light:hover {
    background: var(--brand-navy);
    color: #ffffff;
}

/* About Page */
.about-page-main {
    padding-top: 74px;
}

.about-hero {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(7, 25, 51, 0.96), rgba(15, 46, 89, 0.86)), url('../img/kapal_dln_mandalika.png') center / cover;
}

.about-hero .lead {
    max-width: 760px;
}

.about-ship-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 46, 89, 0.18);
}

.about-value {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--brand-navy);
    font-weight: 600;
}

.about-value i {
    color: var(--brand-red);
}

.vision-mission-section,
.branch-section {
    background: var(--bg-light);
}

.vision-card,
.branch-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 46, 89, 0.07);
}

.vision-card h2,
.branch-card h3 {
    color: var(--brand-navy);
}

.vision-card h2::after,
.branch-card h3::after {
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 0.75rem;
    background: #10aeef;
    content: '';
}

.vision-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-icon,
.branch-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 14px;
    background: rgba(16, 174, 239, 0.12);
    color: #10aeef;
    font-size: 1.35rem;
}

.branch-card address,
.branch-card p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.75;
}

.branch-phone-indent {
    padding-left: 1.9rem;
}

.route-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.table-responsive,
.route-table {
    display: block;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.route-table {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.route-table table,
.table-responsive table {
    width: 100%;
    min-width: 580px;
    margin-bottom: 0;
}

.route-table th,
.table-responsive th {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    border-bottom: none;
    padding: 1rem 1.2rem;
    white-space: nowrap;
}

.route-table td,
.table-responsive td {
    color: rgba(255, 255, 255, 0.8);
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.2rem;
    white-space: nowrap;
}

.route-table tr:last-child td {
    border-bottom: none;
}

.route-fleet-slider {
    min-height: 100%;
    background: #071933;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.route-fleet-slider .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.route-fleet-slider .carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 4rem 1.5rem 2rem;
    background: linear-gradient(transparent, rgba(7, 25, 51, 0.9));
    text-align: left;
}

.route-fleet-slider .carousel-caption h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.route-fleet-slider .carousel-indicators {
    display: none;
}

/* Whistleblower Banner */
.wb-banner {
    background: #ffffff;
    border-radius: 16px;
    border-left: 6px solid var(--brand-red);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    margin: 4rem 0;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.wb-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.wb-badge {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--brand-blue);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.wb-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* Milestones Section */
.milestones-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-navy-light);
    box-shadow: 0 10px 25px rgba(15, 46, 89, 0.08);
}

.stat-icon {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.3rem;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* CSR Banner Card */
.csr-card {
    background-color: var(--brand-navy);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 0 15px 35px rgba(15, 46, 89, 0.15);
    margin-bottom: 6rem;
}

.csr-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 1;
    transition: var(--transition-smooth);
}

.csr-card:hover .csr-bg-img {
    transform: scale(1.03);
    opacity: 0.55;
}

.csr-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3rem;
    background: linear-gradient(90deg, rgba(7, 25, 51, 0.9) 0%, rgba(7, 25, 51, 0.4) 100%);
    color: #ffffff;
}

/* News Section */
.news-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.news-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 200px;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.news-card:hover .news-title {
    color: var(--brand-red);
}

.news-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Footer Styles */
.custom-footer {
    background-color: var(--brand-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--brand-red);
}

.custom-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.custom-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--brand-red);
}

.custom-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-links li {
    margin-bottom: 0.8rem;
}

.custom-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.custom-footer .footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.footer-brand span {
    max-width: 230px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.store-badges img {
    height: 38px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.store-badges img:hover {
    transform: translateY(-2px);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--brand-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 0.75rem;
    border-radius: 8px 0 0 8px;
    background: #25d366;
    box-shadow: 0 8px 24px rgba(7, 25, 51, 0.28);
    color: #fff;
    text-decoration: none;
    transform: translateY(-50%);
    transition: var(--transition-smooth);
}

.floating-contact span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.floating-contact i {
    font-size: 1.25rem;
    transform: none;
}

.floating-contact:hover,
.floating-contact:focus-visible {
    padding-right: 1rem;
    background: #128c7e;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 6rem 0 4rem 0;
    }

    .csr-content {
        padding: 3rem 2rem;
    }

    .route-fleet-slider {
        height: 380px !important;
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .floating-contact {
        top: 55%;
        bottom: auto;
        right: 0;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        padding: 0.85rem 0.65rem;
        border-radius: 12px 0 0 12px;
        box-shadow: -2px 4px 18px rgba(7, 25, 51, 0.3);
    }

    .floating-contact span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        white-space: nowrap;
        line-height: 1.1;
    }

    .floating-contact i {
        font-size: 1.15rem;
        transform: none;
    }

    .custom-navbar .navbar-brand img {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .services-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .wb-banner {
        padding: 1.5rem;
    }

    .csr-content {
        text-align: center;
    }

    .table-responsive,
    .route-table {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        border-radius: 10px;
    }

    .table-responsive table,
    .route-table table {
        min-width: 560px !important;
    }

    .route-table th,
    .route-table td,
    .schedule-page-main .route-table th,
    .schedule-page-main .route-table td {
        padding: 0.75rem 0.85rem !important;
        font-size: 0.82rem;
        white-space: nowrap !important;
    }
}

/* Ferry Animated GIF Container */
.ferry-gif-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f7fafc;
}

.wa-modal-dialog {
    max-width: 480px;
    margin: 1rem;
}

.wa-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(7, 25, 51, 0.3);
}

.wa-modal-header {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.wa-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.wa-modal-body {
    padding: 1.5rem;
    background: #f7f9fc;
}

.wa-modal-intro {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.wa-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wa-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #1a2642;
    transition: all 0.25s ease;
}

.wa-contact-card:hover {
    border-color: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.15);
    transform: translateY(-2px);
}

.wa-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f8ef;
    color: #128c7e;
    border-radius: 50%;
    font-size: 1.1rem;
}

.wa-contact-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.wa-contact-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a2642;
}

.wa-contact-number {
    font-size: 0.85rem;
    color: #6c757d;
}

.wa-contact-arrow {
    color: #25d366;
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.wa-contact-card:hover .wa-contact-arrow {
    transform: translateX(4px);
}

.wa-modal-footer {
    background: #f7f9fc;
    border-top: 1px solid #e9ecef;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.wa-modal-note {
    font-size: 0.8rem;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .wa-modal-dialog {
        margin: 0.5rem;
    }

    .wa-modal-header {
        padding: 1rem 1.25rem;
    }

    .wa-modal-header .modal-title {
        font-size: 1rem;
    }

    .wa-modal-body {
        padding: 1.15rem;
    }

    .wa-contact-card {
        padding: 0.85rem;
        gap: 0.85rem;
    }

    .wa-contact-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .wa-contact-label {
        font-size: 0.88rem;
    }

    .wa-contact-number {
        font-size: 0.78rem;
    }
}

/* Terms & Conditions Page */
.terms-page-main {
    padding-top: 74px;
}

.terms-hero {
    background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 60%, var(--brand-navy-light) 100%);
    padding: 6rem 0 3rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.custom-terms-pills {
    gap: 0.4rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 50px;
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    max-width: 100%;
}

.custom-terms-pills .nav-link {
    border-radius: 40px;
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--brand-navy);
    background: transparent;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.custom-terms-pills .nav-link:hover {
    color: var(--brand-red);
    background: rgba(255, 255, 255, 0.6);
}

.custom-terms-pills .nav-link.active {
    background-color: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 46, 89, 0.25);
}

.terms-summary-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 46, 89, 0.05);
}

.terms-summary-card .card-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
}

.terms-detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 46, 89, 0.05);
}

.detail-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.styled-check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.styled-check-list li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.styled-check-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-red);
    font-size: 1.1rem;
}

.step-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--brand-red);
    color: var(--brand-red);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.custom-terms-accordion .accordion-button {
    padding: 1.2rem 1.5rem;
    color: var(--brand-navy);
    font-size: 1rem;
}

.custom-terms-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(15, 46, 89, 0.04);
    color: var(--brand-red);
    box-shadow: none;
}

.custom-terms-accordion .accordion-button:focus {
    box-shadow: none;
}

.bg-brand-navy {
    background-color: var(--brand-navy) !important;
}

@media (max-width: 767.98px) {
    .terms-hero {
        padding: 4.5rem 0 2rem 0;
    }

    .custom-terms-pills {
        display: flex;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start !important;
        border-radius: 16px;
    }

    .custom-terms-pills .nav-link {
        padding: 0.6rem 1.1rem;
        font-size: 0.88rem;
    }

    .terms-summary-card,
    .terms-detail-card {
        padding: 1.5rem;
    }
}

/* Floating Scroll Up & Down Widget */
.scroll-widget-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.scroll-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-navy);
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(15, 46, 89, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-btn:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.scroll-btn:active {
    transform: translateY(0) scale(0.96);
}

@media (max-width: 767.98px) {
    .scroll-widget-container {
        right: 14px;
        bottom: 18px;
        gap: 8px;
    }

    .scroll-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        box-shadow: 0 3px 12px rgba(15, 46, 89, 0.25);
    }
}

/* Ticket Categories Section */
.ticket-categories-section {
    background-color: var(--bg-light);
    position: relative;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(15, 46, 89, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(15, 46, 89, 0.1);
    border-color: rgba(2, 132, 199, 0.25);
}

.category-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.category-code {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: 0.05em;
}

.category-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.1);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.3;
}

.category-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Prohibited Items Section Styling */
.prohibited-item-card {
    background: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.18);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(15, 46, 89, 0.03);
    transition: var(--transition-smooth);
}

.prohibited-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}

.prohibited-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.prohibited-list {
    list-style: none;
}

.prohibited-list li {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.prohibited-list li:last-child {
    margin-bottom: 0;
}

.terms-tabs-wrapper {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}