/* ===========================
   Common Styles for All Pages
   =========================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
}

:root {
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Container overflow prevention */
*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header-main {
    position: relative;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-md);
}

.top-nav {
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.top-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    flex-shrink: 0;
    max-width: 60%;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: var(--transition);
}

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

.top-right-nav {
    display: none;
    white-space: nowrap;
}

.top-right-nav-desktop {
    display: flex;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.search-box {
    position: relative;
    flex-shrink: 0;
}

.search-input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    width: 180px;
    font-size: 0.85rem;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* Circular design */
    cursor: pointer;
    flex-shrink: 0;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

/* Hamburger menu bars */
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    background: #b91c1c;
    /* A darker shade for active state */
    transform: scale(0.95);
}

.main-nav {
    background: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.main-nav li {
    margin: 0;
}

.nav-item {
    display: inline-block;
    padding: 1rem 1rem;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item:hover {
    background: var(--primary-hover);
}

.nav-dropdown {
    margin: 0;
    position: relative;
    z-index: 9999;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 99999;
    padding: 1rem;
}

.dropdown-menu-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
    border-radius: 0.25rem;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
}

.dropdown-menu-header {
    grid-column: span 2;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Banner Styles */
.page-banner {
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.page-banner[style*='150px'] {
    height: 150px;
    min-height: 150px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

.breadcrumbs a {
    text-decoration: underline;
    opacity: 0.9;
}

.breadcrumbs a:hover {
    opacity: 1;
}

/* Main Content */
.main-content {
    min-height: 50vh;
}

/* Content Wrapper */
.content-wrapper {
    padding: 3rem 0;
}

/* Cards & Sections */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer Styles */
.footer-main {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-top {
    margin-bottom: 1.5rem;
}

.footer-top-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-description {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-img {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand-border {
    border-left: 4px solid #d1d5db;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand-text {
    color: #374151;
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icon-link {
    opacity: 1;
    transition: opacity 0.3s;
}

.footer-certifications {
    margin-bottom: 1.5rem;
}

.footer-certifications-box {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.footer-certifications-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    min-width: min-content;
}

.certification-img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.certification-badge {
    background: #1e40af;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.certification-badge-pata {
    background: #7c3aed;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Back to Top Button */
.back-to-top {
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-light);
    font-weight: 600;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 0.5rem;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.pt-1 {
    padding-top: 0.5rem;
}

.pt-2 {
    padding-top: 1rem;
}

.pt-3 {
    padding-top: 1.5rem;
}

.pt-4 {
    padding-top: 2rem;
}

.pb-1 {
    padding-bottom: 0.5rem;
}

.pb-2 {
    padding-bottom: 1rem;
}

.pb-3 {
    padding-bottom: 1.5rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .banner-content {
        padding: 2rem 0;
    }

    .banner-content h1 {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .banner-content h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .btn {
        display: block;
        width: 100%;
        padding: 0.75rem;
    }
}

/* Print Styles */
@media print {

    .header-main,
    .footer-main,
    .back-to-top,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link:not(:focus):not(:active) {
    transform: translateY(-120%) !important;
}

.skip-link:focus,
.skip-link:active {
    outline-offset: -2px;
}

/* Hidden Utility Class */
.hidden {
    display: none !important;
}

/* Header Top Content */
.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Text Colors */
.text-gray-400 {
    color: #9ca3af;
    /* Tailwind CSS equivalent */
}

.text-sm {
    font-size: 0.875rem;
    /* Tailwind CSS equivalent */
    line-height: 1.25rem;
    /* Tailwind CSS equivalent */
}

/* Page Banner */
.page-banner {
    position: relative;
}

.banner-gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: none;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    background: white;
}

.mobile-menu-title {
    color: #1f2937;
    font-weight: bold;
    font-size: 1.1rem;
}

.mobile-menu-close-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-close-icon {
    width: 24px;
    height: 24px;
}

.mobile-menu-nav {
    padding: 0;
}

.mobile-menu-content {
    padding: 0.5rem 0;
}

.mobile-menu-link {
    display: block;
    padding: 0.875rem 1.25rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-section {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    color: #1f2937;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-section-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.mobile-menu-submenu {
    display: none;
    background: #f9fafb;
    padding: 0.25rem 0;
}

.mobile-menu-sublink {
    display: block;
    padding: 0.625rem 2rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
}

.mobile-menu-top-links {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Global Styles from header.php */
/* Global prevent horizontal scrolling */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

* {
    box-sizing: border-box !important;
}

/* Header Container */
.header-main {
    position: relative;
    z-index: 1200;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}

/* Container to prevent overflow */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Logo Responsive */
.logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 100%;
}

/* Base Navigation Styles */
.nav-link:hover {
    color: #dc2626 !important;
}

.main-nav {
    background: #dc2626;
    position: relative;
    z-index: 1200;
    width: 100%;
    overflow: visible;
}

.main-nav .nav-item {
    color: white;
    text-decoration: none;
}

.main-nav .nav-item:hover {
    background: #b91c1c;
}

/* Main Navigation - Prevent wrapping */
.main-nav ul {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-nav ul::-webkit-scrollbar {
    display: none;
}

/* Banner Base Styles */
.page-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.banner-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* H1 title - reduce font size */
.banner-content h1 {
    font-size: 1.5rem !important;
    /* Reduced from 1.75rem */
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Dropdown Menu Styles - PC (≥769px) */
.nav-dropdown {
    position: relative;
    z-index: 9999;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 99999;
    padding: 1rem;
}

.dropdown-menu-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
    border-radius: 0.25rem;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
}

.dropdown-menu-header {
    grid-column: span 2;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 769px) {
    .nav-dropdown:hover>.dropdown-menu {
        display: block !important;
        animation: fadeInDropdown 0.2s ease-in forwards;
        z-index: 99999 !important;
    }

    @keyframes fadeInDropdown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-menu a:hover {
        background-color: #f3f4f6 !important;
    }

    /* Adjust dropdown menu width on larger screens */
    .dropdown-menu {
        min-width: 350px;
    }
}

/* Responsive Breakpoints */
@media (min-width: 769px) {
    .top-right-nav {
        display: flex !important;
        align-items: center;
        gap: 1.2rem;
        flex-wrap: nowrap;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    .top-right-nav {
        gap: 1.5rem;
    }

    .top-right-nav .nav-link {
        font-size: 0.95rem !important;
    }

    .search-box input {
        width: 200px !important;
        font-size: 0.9rem !important;
    }

    /* Wider dropdown menus on large screens */
    .dropdown-menu {
        min-width: 400px;
    }
}

/* Mobile Responsive (<768px) */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 1rem !important;
        right: 1rem !important;
        z-index: 9999 !important;
    }

    /* Disable hover dropdown on mobile */
    .nav-dropdown:hover .dropdown-menu {
        display: none !important;
    }

    /* Logo smaller on mobile */
    .logo img {
        height: 36px !important;
    }

    /* Mobile H1 smaller */
    .banner-content h1 {
        font-size: 1.5rem !important;
        /* Reduced from 1.75rem */
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Hide breadcrumbs on mobile */
    .page-banner .breadcrumbs {
        display: none !important;
    }

    .page-banner .breadcrumbs ol {
        flex-wrap: wrap !important;
        gap: 0.25rem;
    }

    .banner-content {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Adjust dropdown columns for mobile if visible */
    .dropdown-menu-columns {
        grid-template-columns: 1fr;
    }

    .dropdown-menu-header {
        grid-column: span 1;
    }
}

/* Extra Small Screens (<480px) */
@media (max-width: 480px) {
    .logo img {
        height: 28px !important;
    }

    /* Extra small screen H1 smaller */
    .page-banner h1 {
        font-size: 1.1rem !important;
        /* Further reduced */
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .page-banner .breadcrumbs {
        font-size: 0.75rem !important;
    }

    .page-banner .breadcrumbs ol {
        flex-wrap: wrap !important;
        gap: 0.25rem !important;
    }

    .banner-content {
        padding: 1rem 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Smaller mobile menu toggle on extra small screens */
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        padding: 0 !important;
        font-size: 0.9rem !important;
    }
}

/* Footer Styles from footer.php */
@media (min-width: 768px) {
    .footer-top>div {
        grid-template-columns: 1fr 2fr 1fr !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-bottom>div {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-brand-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .footer-brand-description {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    .footer-social {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* Ensure social media icons are in one line */
    .footer-social .flex {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
}

.destination-tag:hover {
    background: #dc2626 !important;
    color: white !important;
}

.footer-links a:hover {
    color: #dc2626 !important;
}

/* Mobile Footer Optimization */
@media (max-width: 768px) {
    .footer-main {
        padding: 1.5rem 0 1rem !important;
        margin-top: 2rem !important;
    }

    .footer-brand img {
        height: 36px !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-brand>div {
        padding-left: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .footer-brand p {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
    }

    .footer-social {
        gap: 0.75rem !important;
    }

    .footer-social .flex {
        flex-wrap: nowrap !important;
        justify-content: center !important;
        display: flex !important;
        width: 100% !important;
    }

    .footer-social img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Ensure social media icons stay in one line on mobile */
    .footer-social>div {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    /* Additional fix for social media icons on mobile */
    .footer-social div[class*="flex"] {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Ensure social media links don't shrink */
    .social-icon-link {
        flex-shrink: 0 !important;
        display: block !important;
    }

    .footer-certifications {
        margin-bottom: 1rem !important;
    }

    .footer-certifications>div {
        padding: 1rem !important;
    }

    .footer-certifications img {
        height: 30px !important;
    }

    .footer-certifications>div>div {
        gap: 1rem !important;
        justify-content: flex-start !important;
    }

    .footer-destinations {
        margin-bottom: 1rem !important;
    }

    .footer-destinations h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-destinations a {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.75rem !important;
    }

    .footer-links {
        padding-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-links>div {
        font-size: 0.8rem !important;
        gap: 0.75rem !important;
        justify-content: flex-start !important;
        padding-left: 0.5rem;
    }

    .footer-bottom {
        padding-top: 0.75rem !important;
    }

    .footer-bottom p {
        font-size: 0.75rem !important;
    }

    .payment-methods p {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }

    .payment-methods img {
        height: 20px !important;
    }

    .payment-methods>div {
        justify-content: flex-start !important;
        padding-left: 0.5rem;
    }

    .footer-top-content {
        text-align: center;
    }

    .footer-brand-logo,
    .footer-brand-description,
    .footer-social {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .footer-social svg {
        width: 28px !important;
        height: 28px !important;
    }

    .footer-certifications img {
        height: 24px !important;
    }

    .footer-destinations a {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.6rem !important;
    }

    .payment-methods img {
        height: 18px !important;
    }
}

/* Additional Styles for Inline Styles */
.footer-destinations-container {
    margin-bottom: 1.5rem;
}

.footer-destinations-content {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.footer-destinations-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-destinations-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-left: 1rem;
    flex-grow: 1;
}

.footer-destinations-links a {
    display: inline-block;
    background: white;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    color: #374151;
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.footer-destinations-links a:hover {
    background: #dc2626;
    color: white;
}

.footer-links-container {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.footer-links-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-link-separator {
    color: #9ca3af;
    flex-shrink: 0;
}

.footer-bottom-container {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.125rem;
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.125rem;
    align-items: center;
}

.footer-copyright {
    text-align: center;
    padding: 0.125rem 0;
}

.footer-copyright-text {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.125rem 0;
}

.payment-methods-container {
    text-align: center;
    padding: 0.125rem 0;
}

.payment-methods-title {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.payment-methods-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.payment-method-img {
    height: 28px;
    width: auto;
    flex-shrink: 0;
}

.back-to-top-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #dc2626;
    color: white;
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top-icon {
    width: 24px;
    height: 24px;
}

/* Page Banner Styles - Overlay removed as per user request */

/* Ensure banner has correct height when no background image */
.page-banner:not(:has(.banner-image:not([src*='transparent.gif']))) {
    height: 150px !important;
    min-height: 150px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner:not(:has(.banner-image:not([src*='transparent.gif']))) .banner-content-inner {
    align-items: flex-start;
    text-align: left;
}

.page-banner:not(:has(.banner-image:not([src*='transparent.gif']))) .breadcrumbs-list {
    justify-content: flex-start;
}

.banner-content-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

@media (max-width: 768px) {
    .banner-content-inner {
        padding: 1rem 0.75rem;
        align-items: flex-start;
        text-align: left;
    }

    .banner-title {
        font-size: 1.5rem;
        text-align: left;
        padding: 0.4rem 0.8rem;
    }

    .breadcrumbs-nav {
        text-align: left;
    }

    .breadcrumbs-list {
        justify-content: flex-start;
    }
}

.banner-title {
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

.breadcrumbs-nav {
    color: #64748b;
    font-size: 14px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    margin: 0 0 16px;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-separator {
    margin: 0;
    color: #cbd5e1;
}

.breadcrumb-link {
    color: #3B7DC3;
    text-decoration: none;
    text-shadow: none;
    font-weight: 600;
}

.breadcrumb-text {
    color: #64748b;
    text-shadow: none;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    visibility: visible;
    max-height: 300px;
    object-fit: cover;
}

/* Transparent gif specific styles */
.banner-image[src*='transparent.gif'] {
    height: 150px;
    object-fit: contain;
}

/* No banner image container */
.page-banner:not(:has(.banner-image:not([src*='transparent.gif']))) {
    height: 300px;
    min-height: 300px;
}

/* News page specific banner styles - Overlay removed as per user request */

.news-banner .banner-title {
    background: rgba(0, 0, 0, 0.4);
}

/* Floating Inquiry Button */
.floating-inquiry-container {
    position: fixed;
    bottom: 120px;
    /* Move up from bottom to avoid overlapping with footer */
    left: 20px;
    z-index: 9999;
    animation: float 3s ease-in-out infinite;
}

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

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

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

.floating-inquiry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-inquiry-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-inquiry-btn:active {
    transform: translateY(0);
}

/* Inquiry Modal */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    overflow: auto;
    /* Allow scrolling if content is too tall */
    padding: 20px;
    /* Add padding to prevent content from touching edges */
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    -webkit-transform: translate3d(0, 0, 0);
    /* Fix for Safari rendering issues */
    transform: translateZ(0);
    /* Fix for Chrome rendering issues */
    -webkit-backface-visibility: hidden;
    /* Fix for Safari rendering issues */
    /* Ensure modal is positioned correctly */
    margin: 0;
    padding: 0;
    /* Fix for IE11 */
    -ms-flex-align: center;
    -ms-flex-pack: center;
}

.inquiry-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    min-height: 400px;
    /* Ensure minimum height for proper display */
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin: auto;
    position: relative;
    z-index: 10001;
    /* Ensure it's above the overlay */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    -webkit-transform: translate3d(0, 0, 0);
    /* Fix for Safari rendering issues */
    transform: translateZ(0);
    /* Fix for Chrome rendering issues */
    -webkit-backface-visibility: hidden;
    /* Fix for Safari rendering issues */
    /* Ensure content is positioned correctly */
    margin: 0 auto;
    /* Fix for IE11 */
    -ms-flex: 0 1 auto;
}

.inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.inquiry-modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.inquiry-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.inquiry-modal-close:hover {
    color: #333;
}

.inquiry-modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-inquiry-container {
        bottom: 100px;
        /* Move up from bottom to avoid overlapping with footer */
        left: 15px;
        animation: none;
        /* Disable animation on mobile for better performance */
    }

    .floating-inquiry-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .inquiry-modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 85vh;
        min-height: 350px;
    }

    .inquiry-modal-header,
    .inquiry-modal-body {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    /* Ensure modal is properly centered on mobile */
    .inquiry-modal {
        align-items: center;
        justify-content: center;
        /* Fix for IE11 */
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .floating-inquiry-container {
        bottom: 90px;
        /* Move up from bottom to avoid overlapping with footer */
        left: 10px;
    }

    .floating-inquiry-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .inquiry-modal-content {
        width: 98%;
        margin: 10px auto;
        min-height: 300px;
    }

    .inquiry-modal-header,
    .inquiry-modal-body {
        padding: 12px;
    }

    /* Ensure modal is properly centered on extra small screens */
    .inquiry-modal {
        align-items: center;
        justify-content: center;
        /* Fix for IE11 */
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/* Medium screens */
@media (min-width: 769px) and (max-width: 1199px) {
    .inquiry-modal-content {
        margin: 6vh auto;
        min-height: 400px;
    }

    /* Ensure modal is properly centered on medium screens */
    .inquiry-modal {
        align-items: center;
        justify-content: center;
        /* Fix for IE11 */
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .inquiry-modal-content {
        max-width: 550px;
        margin: 8vh auto;
        min-height: 450px;
    }

    /* Ensure modal is properly centered on large screens */
    .inquiry-modal {
        align-items: center;
        justify-content: center;
        /* Fix for IE11 */
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-us-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.why-choose-us-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.why-choose-us-item h3 {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.why-choose-us-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive styles for Why Choose Us */
@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 40px 0;
    }

    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .why-choose-us-item {
        padding: 20px 15px;
    }
}

/* Tour Itinerary Page Styles */
.tour-overview h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.tour-overview-content {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tour-highlights {
    margin-bottom: 2rem;
}

.tour-highlights h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tour-highlights ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.tour-highlights li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tour-itinerary {
    margin-bottom: 2rem;
}

.tour-itinerary h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.itinerary-day {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.itinerary-day:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.itinerary-day h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.itinerary-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.itinerary-image {
    margin-top: 1rem;
}

.itinerary-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.tour-price {
    margin-bottom: 2rem;
}

.tour-price h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tour-includes-excludes {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.includes-section h3,
.excludes-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.includes-section ul,
.excludes-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.includes-section li,
.excludes-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tour-inquiry {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.tour-inquiry h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.inquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.contact-options label {
    font-weight: normal;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.contact-options input {
    width: auto;
    margin-right: 0.5rem;
}

.inquiry-form .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive styles for Tour Itinerary */
@media (max-width: 768px) {
    .tour-overview h1 {
        font-size: 1.75rem;
    }

    .tour-itinerary h2,
    .tour-price h2,
    .tour-inquiry h2 {
        font-size: 1.35rem;
    }

    .itinerary-day h3 {
        font-size: 1.15rem;
    }

    .tour-includes-excludes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tour-inquiry {
        padding: 1.5rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
}

/* Tour Navigation Styles */
.tour-navigation {
    margin-bottom: 2rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tour-nav-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.tour-nav-menu li {
    margin: 0;
    flex-shrink: 0;
}

.tour-nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.tour-nav-menu a:hover {
    background-color: var(--primary-hover);
}

/* Responsive styles for Tour Navigation */
@media (max-width: 768px) {
    .tour-navigation {
        padding: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    .tour-nav-menu {
        gap: 0.5rem;
        flex-wrap: nowrap;
        padding: 0 0.5rem;
    }

    .tour-nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Floating Tour Navigation Styles */
.floating-tour-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.floating-tour-nav-menu {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    min-width: min-content;
}

.floating-tour-nav-menu li {
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.floating-tour-nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.floating-tour-nav-menu a:hover {
    background-color: #dc2626;
    color: white;
}

/* Active section highlight */
.floating-tour-navigation .floating-tour-nav-menu a.active,
.floating-tour-nav-menu a.active,
.tour-nav-menu a.active {
    background-color: #dc2626 !important;
    color: white !important;
    font-weight: bold !important;
}

/* Responsive styles for Floating Tour Navigation */
@media (max-width: 768px) {
    .floating-tour-navigation {
        padding: 0.4rem;
        justify-content: flex-start;
    }

    .floating-tour-nav-menu {
        gap: 0.4rem;
        justify-content: flex-start;
    }

    .floating-tour-nav-menu a {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
        min-height: 32px;
    }

    .floating-tour-nav-menu a.active {
        padding: 0.35rem 0.7rem !important;
    }
}

/* Current shared footer and drawer overrides */
.mobile-drawer .mobile-menu {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

.mobile-drawer .mobile-submenu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    background: transparent;
    border: 0;
    color: #333;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    text-align: left;
}

.mobile-drawer .mobile-submenu-toggle:hover {
    background: #f8f8f8;
}

.mobile-drawer .mobile-submenu-toggle i {
    flex: 0 0 auto;
    font-size: 12px;
    transition: transform 0.25s;
}

.mobile-drawer .mobile-submenu {
    display: none;
    background: #f8f8f8;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-drawer .mobile-submenu.active {
    display: block;
}

.mobile-drawer .mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.article-meta i,
.footer-section li i,
.footer-destinations h4 i {
    margin-right: 8px;
}

.footer-destinations .footer-destinations-content {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-destinations h4 {
    flex: 0 0 260px;
    min-width: 260px;
    margin: 0;
    white-space: nowrap;
}

.footer-destinations .destinations-links {
    flex: 1 1 520px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-destinations .footer-destinations-content {
        display: block;
    }

    .footer-destinations h4 {
        min-width: 0;
        margin-bottom: 16px;
    }

    .footer-destinations .destinations-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
    }

    .footer-destinations .destinations-links a {
        display: block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .template-hero,
    .tour-detail-hero,
    .city-hero {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .template-hero .container,
    .tour-detail-hero .container,
    .city-hero .container {
        max-width: 100%;
        min-width: 0;
    }

    .template-hero h1,
    .tour-hero-content h1,
    .city-hero h1 {
        max-width: 100%;
        font-size: 28px;
        line-height: 1.18;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .template-hero p,
    .tour-hero-content p,
    .city-hero p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .page-content,
    .page-article,
    .content-section,
    .content-layout {
        min-width: 0;
        max-width: 100%;
    }
}
