*, *::before, *::after {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

body {
    font-family: 'Syne', sans-serif;
    color: #343434;
    font-weight: 400; 
    padding-top: 60px;
}

html {
    scroll-behavior: smooth;
}

#partners {
    scroll-margin-top: 100px;
}

#walkingtours {
    background-color: #F2FBFF;
    scroll-margin-top: 120px;
}



/* Global Heading Defaults */
h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Specific Override for h5 */
h5 {
    font-weight: 600; /* Makes h5 noticeably lighter than h4 */
    font-size: 1.1rem; /* Adjusts scale */
}

.text-primary { color: #226db4 !important; }
.bg-primary { background-color: #226db4 !important; }
.text-danger { color: #e11d48 !important; }
.text-warning { color: #F5E364 !important; }
.text-orange { color: #fc7f03 !important; }
.text-lightblue { color: #00ffff !important; }
.text-grey { color: #3f434a !important; }
.text-darkblue { color: #0d4579 !important; }

.solid-blue-nav {
    background-color: #226db4;
    padding: 16px 0 !important; /* Controls overall navbar height */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

#mainNav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.05rem !important; /* Larger nav text */
    margin: 0 0.8rem;
    position: relative;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #facc15;
    transition: width 0.3s ease;
}

#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after {
    width: 100%;
}

#mainNav .nav-link:hover {
    color: #facc15 !important;
}

.nav-logo-center {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 1050;
}

.nav-logo-img {
    height: 60px !important;    /* Adjust this value up/down to set logo size */
    max-height: none !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}



.logo-circle {
    background-color: #1C71C2; 
    width: 90px;
    height: 90px;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); 
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.walks-list {
    list-style: none;
    padding-left: 0;
}

.walks-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 0;
    line-height: 1.5;
}

.walks-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 35px;
    background-image: url('images/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar-day {
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.calendar-day:hover:not(.disabled) {
    background-color: #f0f7ff;
    border-color: #1C71C2;
}

.calendar-day.selected {
    background-color: #1C71C2 !important;
    color: white !important;
    border-color: #1C71C2;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #fafafa;
}

/* ==========================================================================
   Modern Hero Landing Section — Full-Bleed Photo Hero
   (Inspired by editorial travel-site heroes: full photo, bottom-anchored
   content, numbered kicker tag, glass chip row, scroll cue)
   ========================================================================== */
.hero-landing-section {
    position: relative;
    padding-top: 140px !important;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4.5rem 0 6.5rem 0; /* Reduced top padding from 7rem to shift content higher */
    background:
    linear-gradient(to top, rgba(18, 18, 18, 0.45) 0%, rgba(18, 18, 18, 0.20) 45%, rgba(18, 18, 18, 0.05) 75%, rgba(255, 255, 255, 0.0) 100%),
    linear-gradient(100deg, rgba(18, 18, 18, 0.30) 0%, rgba(18, 18, 18, 0.0) 60%),
       
    url('images/home/shero.jpg') center 30% / cover no-repeat;
}

/* Slightly larger lead text for hero subtext */


.hero-landing-inner {
    position: relative;
    z-index: 2;
}

.hero-landing-content {
    max-width: 100%; /* Changed from 780px so the flexbox row can stretch to the right margin */
    text-align: left;
}

/* Numbered location kicker, editorial style */
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #F5E364;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.hero-kicker-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: #F5E364;
}

.hero-landing-title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgb(0, 0, 0);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

}

/* Container handles block layout, yellow bar anchor, and left padding for ALL lines */
.hero-landing-subtext {
    position: relative;
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 640px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.75rem; 
    border-left: none;
}

/* Inner span strictly controls text styling (prevents extra padding on line 1) */
.hero-landing-subtext .hero-lead-words {
    padding-left: 0 !important;
    text-shadow: 3px 2px 3px rgba(56, 0, 31, 0.918) !important;
}


/* Custom Yellow Accent Bar */
.hero-landing-subtext::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.38em;           /* Snaps to top of 'D' */
    bottom: 0.45em;        /* Snaps to bottom of 'p' */
    width: 5px;
    background-color: #F5E364;
    border-radius: 2px;
}

.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #0284c7;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Compact Glass Chip Row (replaces the old large feature cards) */
.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    max-width: 720px;
}

.hero-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    max-width: 650px;
    margin-bottom: 1.5rem;
}

.hero-feature-chip {
    display: inline-flex;
    align-items: left;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    color: #ffd000;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Rounded Square Feature Cards */
.hero-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px; /* Rounded square corners */
    padding: 1rem 0.75rem;
    color: #ffd000;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    aspect-ratio: 1 / 1; /* Makes each card a true square */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(245, 227, 100, 0.6);
    transform: translateY(-4px);
}

.hero-feature-card .hero-icon-box-sm {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Scaled-Down Book a Walk Button */
.btn-hero-cta {
    background: #0284c7;
    color: white;
    font-weight: 800;
    padding: 12px 28px; /* Reduced vertical & horizontal padding */
    border-radius: 50px;
    font-size: 0.88rem; /* Reduced font size */
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

/* Mobile responsive handling */
@media (max-width: 576px) {
    .hero-chip-grid {
        grid-template-columns: repeat(2, 1fr); /* Switches to 2 per row on small phones so text stays readable */
        gap: 0.65rem;
    }
}


.hero-feature-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(245, 227, 100, 0.6);
    transform: translateY(-3px);
}

/* Icon Containers (shared with chip row; -sm variant is compact) */
.hero-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-icon-box-sm {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.85rem;
}

.hero-feature-chip:hover .hero-icon-box-sm {
    transform: scale(1.1) rotate(-4deg);
}

/* Pastel Icon Colors */
.icon-box-blue    { background: rgba(224, 242, 254, 0.95); color: #0284c7; }
.icon-box-yellow  { background: rgba(254, 249, 195, 0.95); color: #ca8a04; }
.icon-box-rose    { background: rgba(255, 228, 230, 0.95); color: #e11d48; }
.icon-box-purple  { background: rgba(243, 232, 255, 0.95); color: #9333ea; }
.icon-box-emerald { background: rgba(220, 252, 231, 0.95); color: #16a34a; }
.icon-box-amber   { background: rgba(254, 215, 170, 0.95); color: #ea580c; }

.btn-book-walk {
    transform: translateY(15px); /* Increase px value to move lower */
}



.btn-hero-cta:hover {
    background: #ffffff;
    color: #1C71C2;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

/* Scroll Cue */
.hero-scroll-cue {
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    animation: heroScrollBounce 2.2s ease-in-out infinite;
}

.hero-scroll-cue-line {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.5);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 767px) {
    .hero-landing-section {
        min-height: auto;
        align-items: flex-start;
        /* Snaps title directly under fixed banner (~88px combined header height) */
        padding-top: 55px !important; 
        padding-bottom: 2.5rem !important;
        background-position: center center;
        background-size: cover;
    }

    .hero-landing-content {
        max-width: 100%;
    }
    
    .hero-chip-row {
        justify-content: center;
    }
    
    .hero-scroll-cue {
        display: none;
    }

    .hero-feature-chip {
        font-size: 0.88rem !important;
        padding: 6px 14px 6px 6px;
    }

    .hero-icon-box-sm {
        width: 26px;
        height: 26px;
        font-size: 0.78rem;
    }

    .hero-feature-chip span:last-child {
        max-width: 220px;
    }

    .btn-hero-cta {
        font-size: 0.78rem !important;
        padding: 8px 20px !important;
        letter-spacing: 0.5px !important;
    }
}

.hero-carousel {
    height: 80vh;
    background-color: #F2FBFF; /* Changed from #CFEEFF */
    margin-top: 0px;
}

.hero-carousel .carousel-control-next {
    right: 15px;
    width: 5%;
    justify-content: flex-end;
}

.hero-carousel .carousel-control-prev {
    left: 15px;
    width: 5%;
    justify-content: flex-start;
}

/* Change Carousel Arrow Size */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 3rem !important; /* Default is 2rem */
    height: 3rem !important;
}

/* Change Previous Arrow Color (Replace %23000000 with your hex color, e.g. %23ff0000 for red) */
#heroCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

/* Change Next Arrow Color */
#heroCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-item {
    height: 80vh;
}

.carousel-split {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    align-items: center;
}

.carousel-img-side {
    width: 50%;
    height: 100%;
    background-color: #cccccc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-text-side {
    width: 50%;
    padding: 3% 5%;
    background-color: #F2FBFF; /* Changed from #CFEEFF */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.why-text {

 font-size: clamp(0.875rem, 1.1vw, 1.1rem) !important;
    
}

.partner-logo-muara {
    transform: scale(1.42);
}

.partner-logo-img.partner-logo-muara:hover {
    transform: scale(1.54);
    filter: grayscale(0%);
}

.carousel-text-side h1,
.carousel-text-side .display-4 {
    font-size: clamp(1.5rem, 2.5vw, 2.8rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
}

.carousel-text-side p,
.carousel-text-side .lead {
    font-size: clamp(0.875rem, 1.1vw, 1.1rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(30%) sepia(100%) saturate(500%) hue-rotate(190deg);
    width: 3rem;
    height: 3rem;
}

.slide-img-1 { background-image: url('images/home/tipbased.jpg'); }
.slide-img-2 { background-image: url('images/home/newelcome.jpeg'); }
.slide-img-3 { background-image: url('images/home/guido.png'); }
.slide-img-4 { background-image: url('images/home/bam.jpg'); }
.slide-img-5 { background-image: url('images/home/slide5.jpg'); }

.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
}

.tracking-wide {
    letter-spacing: 2px;
}

.blue-banner {
    background-image: none !important;
    background-color: rgba(212, 212, 212, 0.808); /* Uses your primary site blue */
}

.diagonal-line {
    width: 2px;
    height: 60px;
    background-color: #fff;
    transform: rotate(30deg);
}

.grey-placeholder {
    background-color: #e5e7eb;
    height: 350px;
    width: 100%;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.hover-lift {
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cursor-pointer {
    cursor: pointer;
}

.tours-section {
    background-color: #f3efe6;
}

.walkingtours-section {
    background-color: #CFEEFF;
}

.tour-img {
    border: 4px solid #fff;
}

.learn-more-link {
    display: inline-block;
    transition: all 0.2s ease;
}

.learn-more-link:hover {
    color: #1d4ed8 !important;
    transform: translateX(5px);
}

.testimonials-wrapper {
    background-color: #4385d8;
    background-image: linear-gradient(rgba(255, 255, 255, 0.07) 50px, transparent 50px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.07) 50px, transparent 50px);
    background-size: 100px 100px;
    min-height: 100vh;
}

.testimonial-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #1C71C2;
}

.read-more-toggle {
    cursor: pointer;
}

.read-more-toggle:hover {
    color: #1C71C2 !important;
}

.footer {
    background-color: #1C71C2;
    position: relative; 
    z-index: 20;
}

.footer-link {
    transition: color 0.2s;
}

.footer-link:hover {
    color: #facc15 !important;
    text-decoration: underline !important;
}

.about-page-wrapper {
    background-color: #f4f8fc;
    background-image: 
        linear-gradient(white 2px, transparent 2px),
        linear-gradient(90deg, white 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: -2px -2px;
}

.yellow-highlight-heading {
    display: inline-block;
    position: relative;
    z-index: 1;
    color: #333;
}

.yellow-highlight-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background-color: #F5E364;
    z-index: -1;
    opacity: 0.8;
}

.team-image-wrapper {
    width: 100%;
    display: block;
    line-height: 0;
}

.team-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.overlap-text-area {
    position: relative;
    margin-top: -800px; 
    padding-bottom: 100px;
    z-index: 10;
}

.overlap-text-area p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.partner-logo-img {
    width: 140px; 
    height: 160px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo-img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.media-card {
    transition: transform 0.3s ease;
    text-align: center;
}

.media-card img {
    border: 1px solid #ddd;
    background: white;
    padding: 5px;
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-8px);
}

.media-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.2;
    text-transform: none;
    font-weight: 600;
}

.transition-layout {
    transition: all 0.4s ease-in-out;
}

.tour-poster {
    transition: transform 0.4s ease-in-out, max-width 0.4s ease-in-out;
    max-width: 100%;
}

.expanded-tour-img {
    max-width: 85%; 
    margin: 0 auto;
    display: block;
    transform: scale(1.02);
}

.fade-in-section {
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-pic-card {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.tour-pic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tour-pic-card:hover img {
    transform: scale(1.06);
}

#lightboxModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
}

#lightboxModal .modal-content {
    outline: none;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 9999; /* Ensures it stays on top of all elements */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}


.founder-quote-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .founder-quote-img {
        width: 140px;
        height: 140px;
    }
}





@media (max-width: 1440px) {
    #mainNav .nav-link {
        font-size: 0.85rem;
        margin: 0 0.6rem;
    }

    .carousel-text-side {
        padding: 2.5rem 2rem;
    }

    p, .lead {
        font-size: 0.95rem;
    }
}


@media (max-width: 991.98px) {
    .hero-landing-section {
        background:
            linear-gradient(to top, rgba(15, 15, 15, 0.8) 0%, rgba(25, 25, 25, 0.45) 50%, rgba(0, 0, 0, 0.25) 100%),
            url('images/home/mobilehome.jpg') center center / cover no-repeat;
    }
}

@media (max-width: 991px) {
    .hero-carousel, .carousel-item {
        height: auto !important;
    }
    
    .carousel-split {
        flex-direction: column;
    }
    
    .carousel-img-side {
        width: 100%;
        height: 300px;
    }
    
    .carousel-text-side {
        width: 100%;
        height: auto;
        padding: 3rem 1.5rem;
        text-align: left !important;    
    }

    .carousel-text-side h1, 
    .carousel-text-side .display-4 {
        font-size: 1.8rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;    


    }
    
    .carousel-text-side p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
        text-align: left !important;    
       
    }

    .text-lead, 
    .lead {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        text-align: left !important;    

    }
}

/* Tablet & Desktop Override */
@media (min-width: 768px) {
    .nav-logo-img {
        height: 48px;
    }
}


@media (max-width: 767px) {
    .testimonial-card .walk-info, 
    .testimonial-card .review-meta,
    .testimonial-card p.small,
    .testimonial-card small {
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
        padding-bottom: 0 !important;
    }

    .testimonial-card .review-date,
    .testimonial-card .date-text {
        margin-top: 0 !important;
        line-height: 1.1 !important;
    }

    .testimonial-card h6,
    .testimonial-card p,
    .testimonial-card div {
        line-height: 1.15 !important;
    }

    .blue-banner {
        text-align: center;
    }
    
    .blue-banner .center {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

/* Reduce partner logo sizes on mobile screens */
@media (max-width: 767.98px) {
    #partners img,
    .partner-img,
    .partner-logo {
        max-height: 45px !important;  /* Controls maximum height */
        max-width: 120px !important; /* Controls maximum width */
        width: auto !important;
        object-fit: contain;
        margin: 0 auto;
    }

    #heroCarousel .carousel-control-prev-icon,
    #heroCarousel .carousel-control-next-icon {
    width: 3rem !important; /* Default is 2rem */
    height: 3rem !important;
    }
}

/* Mobile sizing */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    /* Scale down the logos for smaller screens */
    .nav-logo-img {
        height: 38px !important;
    }

    .logo-circle {
        width: 60px !important;
        height: 60px !important;
    }

    /* Reduce vertical navbar padding */
    .solid-blue-nav {
        padding: 8px 0 !important;
    }

    /* Tighten vertical spacing between collapsed menu items */
    #mainNav .nav-link {
        margin: 0.5rem 0 !important;
    }
}

@media (max-width: 767px) {
    .hero-landing-title {
        font-size: clamp(1.8rem, 4.2vw, 3.6rem);
        text-align: left !important;
    }
}

@media (max-width: 767px) {
    #walkingtours {
        /* Slightly smaller offset for the compact mobile header */
        scroll-margin-top: 90px; 
    }
}

@media (max-width: 767px) {
    /* Reduce subtext size on mobile */
    .hero-landing-content p,
    .hero-landing-subtext,
    .hero-landing-subtext .hero-lead-words {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
}

@media (max-width: 767.98px) {
    /* Adjust body top padding to match reduced mobile header height */
    body {
        padding-top: 54px !important;
    }

    .nav-logo-img {
        height: 38px !important;
    }

    .logo-circle {
        width: 60px !important;
        height: 60px !important;
    }

    .solid-blue-nav {
        padding: 8px 0 !important;
    }

    #mainNav .nav-link {
        margin: 0.5rem 0 !important;
    }
}

/* Disable dragging and mobile long-press menus on all images */
img {
    -webkit-touch-callout: none !important; /* Mobile iOS/Android long-press menu */
    -webkit-user-drag: none !important;    /* Safari/Chrome image dragging */
}

.fixed-top .text-danger, 
header .text-danger {
    font-size: clamp(0.72rem, 3.1vw, 0.95rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    /* Footer overall container compression */
    footer, .footer-section {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* Force all 2x2 split grid columns into a clean 100% full-width stack */
    footer .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }

    /* Tighten gap under headings */
    footer h4, footer h5, footer .footer-title, footer strong {
        margin-top: 0 !important;
        margin-bottom: 0.2rem !important;
        font-size: 0.9rem !important;
    }

    /* Reduce spacing for contact info & lists */
    footer p, footer ul {
        margin-bottom: 0.35rem !important;
    }

    footer ul li {
        margin-bottom: 0.2rem !important;
    }

    /* Social icons spacing */
    footer .social-links, footer .footer-social {
        margin-bottom: 0.5rem !important;
    }

    /* Divider line and copyright section */
    footer hr {
        margin: 0.6rem 0 !important;
    }

    footer .copyright-text, 
    footer p.small {
        margin-bottom: 0.25rem !important;
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
    }
}
