/*
Theme Name: Kei Tours & Safaris
Theme URI: https://keitoursandsafaris.com/
Author: Safari Marketing PRO
Author URI: https://safarimarketingpro.com/
Description: Custom Tanzania safari experiences tailored to your expectations.
Version: 1.0.0
Text Domain: kei
*/

/* Design Tokens */
:root {
    --primary: #00A651;
    --primary-dark: #007A3D;
    --bg-light: #F9F7F4;
    --bg-dark: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hanken Grotesk", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.2);
}

.btn-outline {
    background-color: transparent !important;
    border: 1.5px solid var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.social-links a {
    margin-left: 15px;
}

/* Header & Nav */
header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header nav {
    height: 70px;
}

.nav-links,
.nav-links ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li,
.nav-links ul li {
    position: relative;
}

.nav-links a,
.nav-links ul li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links ul li a:hover {
    color: var(--primary);
}

/* Underline Animation */
.nav-links a::after,
.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links .current-menu-item a,
.nav-links .current_page_item a {
    color: var(--primary);
}

.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
    width: 100%;
}

#logo-img,
.custom-logo {
    height: 60px;
    width: auto;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-nav-toggle.active .bar-1 {
    transform: translateY(9px) rotate(45deg);
    background-color: white;
}

.mobile-nav-toggle.active .bar-2 {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-nav-toggle.active .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: white;
}

/* Modern Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(12, 12, 12, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 30px 40px;
}

.mobile-menu-header {
    margin-bottom: 60px;
}

.mobile-menu-logo,
.mobile-menu-header .custom-logo {
    width: 120px;
    height: auto;
}

.mobile-menu-nav {
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-list a {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    line-height: 1.2;
}

.mobile-nav-list a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-nav-list a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.mobile-nav-list a:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.mobile-nav-list .current-menu-item a,
.mobile-nav-list .current_page_item a {
    color: var(--primary);
}

.mobile-menu-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.mobile-contact-item:hover {
    color: var(--primary);
}

.mobile-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 175, 121, 0.15);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1rem;
}

.mobile-social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.mobile-cta {
    width: 100%;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
}

.overflow-hidden {
    overflow: hidden;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none;
    }
}

@media (max-width: 576px) {
    .mobile-nav-list a {
        font-size: 2rem;
    }

    .mobile-menu-content {
        padding: 80px 20px 30px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 140px);
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 120px;
}

/* Plane Decoration */
.plane-decoration {
    position: absolute;
    top: -50px;
    right: 35%;
    color: var(--primary);
    opacity: 0.8;
}

.dotted-path {
    position: absolute;
    top: 10px;
    left: 30px;
}

/* Packages Circle */
.packages-circle {
    position: absolute;
    width: 110px;
    height: 110px;
    background: #4A2C1D;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 100px;
    left: 42%;
    z-index: 5;
}

.packages-circle strong {
    font-size: 2rem;
    line-height: 1;
}

.packages-circle span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Video Preview */
.video-preview {
    position: relative;
    width: 280px;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
}

.video-preview img,
.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-iframe-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 150%;
    transform: translate(-50%, -50%);
    aspect-ratio: 16/9;
    pointer-events: none;
    border: none;
}

.hero-iframe-video-short {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    aspect-ratio: 9/16;
    pointer-events: none;
    border: none;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #FFD200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Portrait Card */
.portrait-card {
    position: absolute;
    bottom: -60px;
    left: 28%;
    width: 250px;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Content */
.hero-right {
    padding-left: 60px;
}

.hero-right h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.heading-underline {
    position: relative;
    width: 280px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='280' height='10' viewBox='0 0 280 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C50 2 150 2 278 8' stroke='%2300A651' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    margin-top: -15px;
    margin-bottom: 30px;
}

.hero-right p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 550px;
}

.btn-book-now {
    gap: 15px;
    font-size: 1.2rem;
    padding: 10px 10px 10px 30px;
    background: #00A651 !important;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: white;
    color: #00A651;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Stats Bar */
.hero-stats-bar {
    background: #4AAF79;
    /* A slightly lighter, more vibrant emerald */
    padding: 25px 0;
    margin-top: auto;
}

.stats-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.portrait-card {
    position: absolute;
    bottom: -40px;
    left: 28%;
    width: 280px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.customer-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.customer-text span {
    font-size: 1rem;
    opacity: 0.9;
}

.stats-cards {
    display: flex;
    gap: 30px;
}

.stat-white-box {
    background: white;
    color: #000;
    padding: 15px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon-bg {
    width: 50px;
    height: 50px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #00A651;
}

.stat-content strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
}

.stat-content span {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.avatar-group {
    display: flex;
    margin-right: 15px;
}

.avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Hero Responsiveness */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-right {
        padding-left: 0;
    }

    .hero-right h1 {
        font-size: 2.8rem;
    }

    .heading-underline {
        margin: -15px auto 30px;
    }

    .hero-right p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-left {
        display: none;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .portrait-card {
        display: none;
    }

    .packages-circle {
        top: 20px;
        left: auto;
        right: 20px;
        width: 80px;
        height: 80px;
    }

    .packages-circle strong {
        font-size: 1.5rem;
    }

    .hero-stats-bar {
        padding: 30px 0;
    }

    .stats-flex {
        flex-direction: column;
        gap: 30px;
    }

    .stats-cards {
        flex-direction: column;
        width: 100%;
    }

    .stat-white-box {
        min-width: unset;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-right h1 {
        font-size: 2.2rem;
    }

    .btn-book-now {
        font-size: 1rem;
        padding: 8px 8px 8px 20px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
    }
}

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 100px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

.feature-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.icon-rocket {
    color: #4AAF79;
}

.icon-gear {
    color: #E8AB43;
}

.icon-parking {
    color: #4AAF79;
}

.feature-text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.feature-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    max-width: 280px;
}

/* Features Bar Responsiveness */
@media (max-width: 991px) {
    .features-bar {
        flex-direction: column;
        padding: 60px 0;
        gap: 50px;
    }

    .feature-item {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .feature-text p {
        max-width: unset;
    }
}

/* Tour Events Refined */
.tour-events {
    padding-bottom: 120px;
}

.section-title-refined {
    margin-bottom: 60px;
}

.section-title-refined h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-align: center;
}

.title-underline {
    width: 240px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='240' height='10' viewBox='0 0 240 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C50 2 150 2 238 8' stroke='%2300A651' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    margin: 0 auto;
}

.tour-grid-refined {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr;
    gap: 25px;
    min-height: 700px;
}

.tour-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tour-card-refined {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    background: #000;
}

.tour-card-refined.tall {
    height: 100%;
}

.split-row {
    display: flex;
    gap: 25px;
    flex: 1;
}

.tour-card-refined img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card-refined:hover img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: #000;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    z-index: 5;
}

.card-footer h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.read-more:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
    text-decoration: none;
    color: white;
}

/* Tour Events Responsiveness */
@media (max-width: 991px) {
    .tour-grid-refined {
        grid-template-columns: 1fr;
        height: auto;
        min-height: unset;
    }

    .tour-col {
        gap: 25px;
    }

    .tour-card-refined {
        height: 400px;
        flex: none;
    }

    .split-row {
        flex-direction: column;
    }

    .mini .card-footer h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .section-title-refined h2 {
        font-size: 2.2rem;
    }

    .tour-card-refined {
        height: 350px;
    }
}

.mini .card-footer h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Animal Gallery Section */
.animal-gallery-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    overflow: hidden;
    padding: 100px 0;
}

.gallery-container {
    max-width: 100% !important;
    padding: 0 80px;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(2px);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.gallery-sub {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.header-left h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1;
}

.gallery-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-stats .avatar-group img {
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.stats-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.stats-text span {
    font-size: 1rem;
    opacity: 0.9;
}

.stats-text i {
    color: #FFD200;
}

/* Marquee Styles */
.gallery-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animal-card {
    position: relative;
    width: 320px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.animal-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card {
    display: block;
    text-decoration: none;
    color: white;
}

.category-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: padding-bottom 0.3s ease;
}

.category-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tour-count {
    font-size: 0.9rem;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.category-card:hover .category-overlay {
    padding-bottom: 25px;
}

/* Animal Gallery Responsiveness */
@media (max-width: 1200px) {
    .gallery-container {
        padding: 0 40px;
    }

    .header-left h1 {
        font-size: 3rem;
    }

    .gallery-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        margin-bottom: 50px;
    }

    .gallery-stats {
        justify-content: center;
    }

    .gallery-marquee {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .header-left h1 {
        font-size: 2.22rem;
    }

    .animal-card {
        width: 260px;
        height: 350px;
    }
}

.animal-card:hover img {
    transform: scale(1.1);
}



/* Final Adventure Section */
.adventure-staggered-section {
    padding: 140px 0;
    position: relative;
    background: #fff;
    overflow: hidden;
    /* Important for containing the explosion animation */
}

.adventure-staggered-grid {
    position: relative;
    height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.adventure-central-text {
    position: relative;
    z-index: 10;
    max-width: 600px;
    text-align: center;
}

.adventure-central-text h2 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.script-font {
    font-family: 'Covered By Your Grace', cursive;
    color: var(--primary);
    font-size: 4.2rem;
    font-weight: 400;
    margin-left: 10px;
}

.adventure-central-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 480px;
}

/* Precise Floating Boxes */
.float-box {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, opacity;
}

.float-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.float-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Staggering according to screenshot */
/* fb-1: Tiger top left */
.fb-1 {
    width: 180px;
    height: 180px;
    top: 5%;
    left: 8%;
}

/* fb-2: Monkey top center-ish */
.fb-2 {
    width: 160px;
    height: 160px;
    top: 2%;
    left: 45%;
}

/* fb-3: Lion left middle large */
.fb-3 {
    width: 340px;
    height: 340px;
    top: 40%;
    left: 2%;
}

/* fb-4: Deer right center large */
.fb-4 {
    width: 340px;
    height: 340px;
    top: 10%;
    right: 2%;
}

/* fb-5: Giraffe bottom center */
.fb-5 {
    width: 180px;
    height: 180px;
    bottom: 2%;
    left: 35%;
}

/* fb-6: Leopard bottom right */
.fb-6 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 8%;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
    .adventure-staggered-grid {
        height: auto;
        flex-direction: column;
        gap: 60px;
        padding: 40px;
    }

    .float-box {
        position: relative;
        inset: auto !important;
        width: 100% !important;
        height: 300px !important;
    }

    .adventure-central-text {
        text-align: center;
        margin: 0;
    }

    .adventure-central-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .adventure-central-text h2 {
        font-size: 2.5rem;
    }

    .script-font {
        font-size: 3rem;
        display: block;
        margin-left: 0;
    }

    .adventure-central-text p {
        font-size: 1rem;
    }

    .float-box {
        height: 250px !important;
    }
}

/* Dynamic Category Tabs Section */
.category-tabs-section {
    padding: 100px 0;
    background: #fff;
}

.category-tabs-nav {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.category-tabs-nav .nav-pills {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tabs-nav .nav-link {
    background: #f4f4f4;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.category-tabs-nav .nav-link:hover {
    background: #e9e9e9;
}

.category-tabs-nav .nav-link.active {
    background: #4AAF79;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 175, 121, 0.3);
}

.category-tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.slider-nav-buttons button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid #eee;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.slider-nav-buttons button:hover {
    background: #4AAF79;
    color: #fff;
    border-color: #4AAF79;
    box-shadow: 0 5px 15px rgba(74, 175, 121, 0.3);
    transform: translateY(-2px);
}

.slider-nav-buttons button:active {
    transform: translateY(0);
}

.tours-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0 40px;
}

.tour-card-grid {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tour-card-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tour-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card-grid:hover .tour-card-img img {
    transform: scale(1.1);
}

.tour-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.tour-meta.duration {
    font-size: 0.85rem;
    color: #4AAF79;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
    min-height: 3.4rem;
    /* For alignment */
}

.btn-outline-read {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    border: 1.5px solid #eee;
    border-radius: 50px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline-read:hover {
    background: #4AAF79;
    color: white;
    border-color: #4AAF79;
}

.btn-outline-read i {
    font-size: 1rem;
}

.no-tours-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #888;
    background: #f9f9f9;
    border-radius: 20px;
    border: 1px dashed #ddd;
}

/* Related Tours Section */
.related-tours-section {
    padding: 80px 0;
}

.related-tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .related-tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .related-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-tours-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Tabs */
@media (max-width: 1200px) {
    .tours-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .tours-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tours-grid-4 {
        grid-template-columns: 1fr;
    }

    .category-tabs-nav .nav-link {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Custom Experience Section */
.custom-experience-section {
    padding: 120px 0;
    background: #F9F7F4;
    overflow: hidden;
}

.custom-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.custom-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.custom-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 45px;
}

.custom-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-info-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #4AAF79;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 175, 121, 0.3);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.contact-number {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Custom Visual composition */
.custom-visual {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terracotta-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    background: #C17D62;
    border-radius: 50%;
    opacity: 0.9;
}

.family-img {
    position: relative;
    z-index: 2;
    height: 100%;
    width: auto;
    object-fit: contain;
    /* Use a mask or just ensure the image has a transparent background if possible */
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-mountain {
    top: 10%;
    left: 0;
    color: #A3C954;
}

.icon-landscape {
    top: 15%;
    right: 0;
    background: #A3C954;
    color: white;
}

.icon-palm {
    bottom: 5%;
    right: 15%;
    background: #A3C954;
    color: white;
}

/* Responsive Custom Section */
@media (max-width: 1200px) {
    .custom-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .custom-content h1 {
        font-size: 2.8rem;
    }

    .custom-actions {
        justify-content: center;
    }

    .custom-visual {
        height: 450px;
    }

    .terracotta-circle {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .custom-content h1 {
        font-size: 2.2rem;
    }

    .custom-actions {
        flex-direction: column;
        gap: 30px;
    }

    .custom-visual {
        height: 350px;
    }

    .terracotta-circle {
        width: 280px;
        height: 280px;
    }

    .floating-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Refined Testimonials Section */
.refined-testimonials-section {
    padding: 100px 0 160px;
    /* Extra bottom padding for floating card */
    background: #fff;
}

.overflow-visible {
    overflow: visible !important;
}

.refined-testimonials-wrapper {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1543946207-39bd91e70ca7?q=80&w=1920') no-repeat center center;
    background-size: cover;
    padding: 140px 0;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonials-inner-layout {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonials-content {
    max-width: 550px;
}

.testimonials-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.testimonials-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.testimonials-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #eee;
}

/* Floating Testimonial Card */
.floating-testimonial-card {
    position: absolute;
    bottom: -150px;
    right: 0;
    width: 600px;
    background: #0C0C0C;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.quote-body {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 35px;
    font-weight: 400;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.userlocation {
    font-size: 0.95rem;
    color: #888;
}

.quote-symbol {
    font-size: 3rem;
    color: #4AAF79;
    line-height: 1;
}

/* Responsive Testimonials */
@media (max-width: 1200px) {
    .refined-testimonials-wrapper {
        padding: 80px 40px;
        border-radius: 30px;
    }

    .testimonials-inner-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .floating-testimonial-card {
        width: 100%;
        position: relative;
        bottom: 0;
        margin-top: 0;
        right: auto;
    }

    .testimonials-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .refined-testimonials-section {
        padding: 60px 0 80px;
    }

    .refined-testimonials-wrapper {
        padding: 50px 25px;
        border-radius: 20px;
    }

    .testimonials-content h2 {
        font-size: 2.2rem;
    }

    .floating-testimonial-card {
        padding: 35px 25px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .quote-body {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .testimonial-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .refined-testimonials-wrapper {
        padding: 40px 20px;
    }

    .testimonials-content h2 {
        font-size: 1.8rem;
    }

    .testimonials-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .floating-testimonial-card {
        padding: 30px 20px;
    }

    .quote-body {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }

    .quote-symbol {
        font-size: 2.22rem;
    }
}

/* Refined Footer Styling */
.refined-footer {
    background: #0C0C0C;
    color: #fff;
    padding: 10px;
    /* Gallery is full-width at top */
    overflow: hidden;
    position: relative;
    margin-top: 60px;
}

/* 1. Footer Instagram Marquee */
.footer-gallery-marquee {
    width: 100%;
    background: #fff;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    border-top: 1px solid #eee;
}

.footer-marquee-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: footerMarquee 60s linear infinite;
    padding-bottom: 20px;
}

.footer-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes footerMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.gallery-item.insta-post {
    flex: 0 0 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item.insta-post:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Main Footer Content */
.footer-main-content {
    padding: 100px 0 60px;
    position: relative;
    z-index: 5;
}

.footer-grid-refined {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 25px;
}

.footer-col-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 320px;
}

.footer-grid-refined h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.footer-grid-refined ul {
    list-style: none;
    padding: 0;
}

.footer-grid-refined ul li {
    margin-bottom: 12px;
}

.footer-grid-refined ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-grid-refined ul li a:hover {
    color: #4AAF79;
}

/* Newsletter & Socials */
.footer-col-newsletter p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 35px;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.btn-subscribe {
    background: #111;
    color: #4AAF79;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    border-left: 1px solid #333;
}

.btn-subscribe:hover {
    background: #1a1a1a;
}

.footer-contact-details {
    margin-bottom: 30px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-line i {
    color: #fff;
    font-size: 1.1rem;
}

.contact-line span {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #4AAF79;
    transform: translateY(-5px);
}

/* 3. Backdrop Large Text */
.footer-backdrop-text {
    width: 100%;
    text-align: left;
    font-size: 8.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-top: 40px;
    pointer-events: none;
    text-transform: none;
    white-space: nowrap;
    transition: opacity 0.5s ease;
}

/* 4. Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #1a1a1a;
    padding: 25px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid-refined {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-backdrop-text {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid-refined {
        grid-template-columns: 1fr;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-backdrop-text {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-main-content {
        padding: 60px 0 40px;
        text-align: left;
    }

    .footer-col-brand p {
        margin: 0 0 25px;
    }

    .footer-logo {
        margin: 0 0 25px;
    }

    .footer-backdrop-text {
        font-size: 2.2rem;
    }

    .footer-marquee-track {
        gap: 10px;
    }

    .gallery-item {
        flex: 0 0 130px;
        height: 130px;
    }
}

/* --- About Us Page Styles --- */

/* Inner Page Hero */
.inner-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* Prevent overflow for parallax */
}

.inner-hero-bg img {
    width: 100%;
    height: 120%;
    /* Extra height for move */
    object-fit: cover;
    opacity: 0.6;
    will-change: transform;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
}

.inner-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.7);
}

/* Story Section */
.story-section {
    padding: 120px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.story-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Values Section */
.values-section {
    padding: 120px 0;
    background-color: #fcfbf7;
    /* Slight warm tint to match safari theme */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    will-change: transform, opacity;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.8rem;
    margin-bottom: 30px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotate(0deg) scale(1.1);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.value-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Fixes for Inner Pages */
@media (max-width: 1024px) {
    .story-grid {
        gap: 40px;
    }

    .story-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 60px auto 0;
    }

    .inner-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .inner-hero h1 {
        font-size: 2.8rem;
    }

    .story-section,
    .values-section {
        padding: 80px 0;
    }
}

/* --- Safaris Page Styles --- */

.safari-intro {
    padding: 100px 0 60px;
    text-align: center;
}

.safari-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.safari-intro p {
    /* max-width: 800px; */
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Filter Bar */
.filter-container {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Safari Grid */
.safari-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.safari-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    will-change: transform, opacity;
}

.safari-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.safari-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.safari-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.safari-card:hover .safari-card-img img {
    transform: scale(1.1);
}

.safari-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.safari-card-content {
    padding: 30px;
}

.safari-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.safari-meta span i {
    color: var(--primary);
    margin-right: 5px;
}

.safari-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.safari-card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.safari-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.safari-card-actions {
    display: flex;
    gap: 10px;
}

.safari-price {
    font-size: 1.25rem;
    font-weight: 800;
}

.safari-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
}

/* Redesigned Featured Safari Section */
.featured-safari {
    background: #0a0a0a;
    color: #fff;
    padding: 140px 0;
    margin: 100px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.featured-safari::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.featured-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.featured-text {
    padding-right: 20px;
}

.featured-text h2 {
    font-size: 4.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Tours Page Styles --- */

/* Custom Experience Section for Tours */
.tours-custom-experience {
    background: var(--bg-dark);
    color: #fff;
    padding: 120px 0;
    border-radius: 80px;
    margin: 100px 0;
    overflow: hidden;
}

.tours-custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tours-custom-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.tours-custom-experience:hover .tours-custom-image img {
    transform: scale(1.02);
}

.tours-custom-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.tours-custom-content p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .tours-custom-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .tours-custom-content h2 {
        font-size: 2.8rem;
    }

    .tours-custom-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .tours-custom-experience {
        padding: 80px 20px;
        border-radius: 40px;
    }

    .tours-custom-content h2 {
        font-size: 2.2rem;
    }
}


.featured-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.7;
    font-weight: 400;
}

.featured-image-stack {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-img {
    position: absolute;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: cover;
}

.f-img-1 {
    width: 100%;
    height: 450px;
    top: 50%;
    transform: translateY(-50%) translateX(-15%);
    z-index: 1;
    filter: brightness(0.8);
}

.f-img-2 {
    width: 70%;
    height: 380px;
    top: 50%;
    transform: translateY(-40%) translateX(25%);
    z-index: 2;
    border: 8px solid #0a0a0a;
}

.featured-safari:hover .f-img-1 {
    transform: translateY(-50%) translateX(-20%) scale(1.05);
}

.featured-safari:hover .f-img-2 {
    transform: translateY(-30%) translateX(30%) rotate(3deg);
}

@media (max-width: 1200px) {
    .featured-text h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .featured-text {
        padding-right: 0;
    }

    .featured-image-stack {
        height: 500px;
        margin-top: 40px;
    }

    .f-img-1 {
        width: 80%;
        transform: translateY(-50%) translateX(-10%);
    }

    .f-img-2 {
        width: 60%;
        transform: translateY(-40%) translateX(20%);
    }

    .featured-safari:hover .f-img-1 {
        transform: translateY(-50%) translateX(-10%) scale(1.05);
    }

    .featured-safari:hover .f-img-2 {
        transform: translateY(-40%) translateX(20%) rotate(3deg);
    }
}

@media (max-width: 768px) {
    .featured-safari {
        padding: 80px 30px;
        border-radius: 40px;
    }

    .featured-text h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .safari-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .featured-image-stack {
        height: 400px;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .safari-grid {
        grid-template-columns: 1fr;
    }

    .safari-intro h2 {
        font-size: 2.5rem;
    }
}

/* --- Climbing Page Styles --- */

.route-success-tag {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.gear-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.gear-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.climbing-difficulty {
    font-family: 'Covered By Your Grace', cursive;
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Zanzibar Page Styles --- */

.tropical-title {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.island-motif {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    color: var(--accent-gold);
    pointer-events: none;
    z-index: 0;
}

.zanzibar-activity-card {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zanzibar-activity-card:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* --- Day Trip Page Styles --- */

.nature-accent {
    color: #2ecc71;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.excursion-highlight {
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Contact Page Styles --- */

.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-refined h2,
.contact-form-refined h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-card-refined {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.contact-card-refined:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-muted);
}

.contact-socials-large {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.contact-socials-large a {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-socials-large a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Form Styles */
.contact-form-refined {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Animations Support --- */

/* Initial state for GSAP reveals - Moved to JS for safety */
.reveal {
    /* opacity: 0; Removed to prevent blank pages if JS fails */
    will-change: transform, opacity;
}

/* Specific card styles for 3D and magnetic effects */
.tour-card-refined,
.animal-card,
.float-box,
.floating-testimonial-card,
.refined-testimonials-wrapper {
    will-change: transform, box-shadow;
}

/* Parallax Containers */
.hero,
.animal-gallery-section {
    position: relative;
    overflow: hidden;
    /* Important for parallax bg containment */
}

/* Ensure bg images have enough scale for parallax movement */
.hero-bg img,
.gallery-bg img {
    height: 120% !important;
    top: -10%;
    position: absolute;
    will-change: transform;
}

/* Magnetic Button Utility */
.btn-primary,
.btn-book-now {
    position: relative;
    z-index: 10;
}

/* Lenis Smooth Scroll Recommended Styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Event Details Page Styles */
.event-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.event-hero .hero-bg {
    height: 100%;
}

.event-hero-content {
    max-width: 800px;
    padding: 60px;
    position: relative;
    z-index: 10;
}

.category-tag {
    display: inline-block;
    background: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.event-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.event-meta i {
    color: var(--primary);
    margin-right: 8px;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding: 80px 20px;
}

.details-left {
    min-width: 0;
    /* Prevent grid breakout */
}

.details-right {
    position: relative;
}

.section-block {
    margin-bottom: 60px;
}

.section-block h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.section-block p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.itinerary-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-left: 3px solid rgba(0, 166, 81, 0.1);
    padding-left: 40px;
    margin-left: 20px;
    position: relative;
}

.itinerary-list::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform-origin: top;
    /* This creates a more visual line */
}

.itinerary-item {
    position: relative;
}

.itinerary-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
}

.day-count {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.itinerary-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--primary);
}

.booking-card {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.booking-card.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.booking-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.booking-card>p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
    width: 15px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.assistance-block {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tel-link {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.event-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.sticky-element {
    position: sticky;
    top: 120px;
}

.w-100 {
    width: 100%;
    justify-content: center;
}

@media (max-width: 992px) {
    .event-details-grid {
        grid-template-columns: 1fr;
    }

    .details-right {
        order: -1;
    }

    .sticky-element {
        position: relative;
        top: 0;
    }

    .event-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact AJAX Feedback */
#contact-response span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Newsletter Form */
.newsletter-form {
    margin-top: 25px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 50px;
    transition: var(--transition);
}

.newsletter-form .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 166, 81, 0.2);
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 10px 15px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
}

.newsletter-message {
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
    transition: var(--transition);
}

.newsletter-message.success {
    color: #4AAF79;
}

.newsletter-message.error {
    color: #E74C3C;
}

.newsletter-message.loading {
    color: #FFD200;
}

/* Trustindex Google Reviews Section */
.trustindex-reviews-section {
    background-color: #f1f4f6;
    padding: 60px 0;
    font-family: 'Hanken Grotesk', sans-serif;
}

.reviews-header {
    margin-bottom: 40px;
}

.reviews-sub-title {
    display: block;
    color: #1a365d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.reviews-main-title {
    color: #f59e42;
    font-size: 32px;
    font-weight: 700;
}

.reviews-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.reviews-summary-block {
    flex: 0 0 200px;
    text-align: center;
}

.excellent-text {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.summary-stars {
    color: #fbbc04;
    font-size: 24px;
    margin-bottom: 5px;
}

.based-on-text {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.google-logo img {
    height: 30px;
    margin: 0 auto;
}

.reviews-cards-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    position: relative;
}

.trustindex-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.text-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reviewer-name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-date {
    font-size: 12px;
    color: #777;
}

.review-source-icon img {
    width: 20px;
    height: 20px;
}

.review-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fbbc04;
    font-size: 14px;
    margin-bottom: 15px;
}

.verified-icon {
    color: #1a73e8;
    margin-left: 5px;
    font-size: 12px;
}

.review-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.review-card-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.review-nav-btn {
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
}

.trustindex-footer-badge {
    text-align: right;
    margin-top: 20px;
    padding-right: 20px;
}

.verified-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #197b5e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none;
    }

    .reviews-content-wrapper {
        flex-direction: column;
    }

    .reviews-summary-block {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .reviews-cards-grid {
        flex-direction: column;
        padding: 0;
    }

    .review-nav-btn {
        display: none;
    }

    .trustindex-footer-badge {
        text-align: center;
    }
}

/* Partners Section */
.partners-section {
    background-color: #f8f9fa;
    /* Light gray to contrast with white sections */
}

.partners-section .section-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partners-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo-wrapper {
    flex: 0 1 calc(25% - 30px);
    /* 4 columns on desktop */
    min-width: 120px;
    max-width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.partner-logo-wrapper:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

.partner-logo-wrapper:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
}

/* Responsive adjustments for Partners Grid */
@media (max-width: 768px) {
    .partner-logo-wrapper {
        flex: 0 1 calc(33.333% - 20px);
        /* 3 columns on tablet */
    }
}

@media (max-width: 576px) {
    .partner-logo-wrapper {
        flex: 0 1 calc(50% - 15px);
        /* 2 columns on mobile */
    }
}

/* Section Titles with Curved Underline */
.section-title-refined {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section-title-refined h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-dark, #1A1A1A);
    margin-bottom: 0;
    line-height: 1.2;
}

.title-underline {
    width: 250px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 20" preserveAspectRatio="none"><path d="M5,15 Q125,0 245,15" stroke="%2300A651" stroke-width="4" fill="transparent" stroke-linecap="round"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    margin-top: 5px;
}

/* Instagram Marquee Extras */
.insta-icon-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E1306C;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.insta-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.insta-gradient-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(225, 48, 108, 0.2);
    margin: 20px auto;
    /* Centering fix */
    text-decoration: none !important;
}

.insta-gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.4);
    opacity: 0.9;
}

.insta-gradient-btn i {
    font-size: 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* Pulsing effect */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite;
    top: 0;
    left: 0;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* Tour Highlights & Features */
.tour-highlights-section {
    margin-bottom: 40px;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: #f0f7f4;
    border: 1px solid #d1e7dd;
    border-radius: 50px;
    color: #0f5132;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.highlight-pill i {
    font-size: 1.1rem;
    color: var(--primary);
}

.highlight-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 166, 81, 0.1);
    background: #fff;
    border-color: var(--primary);
}

/* Availability & Pricing Section */
#availability-section {
    margin-top: 50px;
}

.availability-tabs-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.year-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

.year-tab {
    padding: 15px 30px;
    border: none;
    background: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.year-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #fff;
}

.month-tabs-wrapper {
    display: none;
    padding: 20px;
}

.month-tabs-wrapper.active {
    display: block;
}

.month-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.month-tab {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.month-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.departure-list {
    display: none;
    animation: fadeInSch 0.4s ease;
}

.departure-list.active {
    display: block;
}

.departure-item {
    display: grid;
    grid-template-columns: 80px 1fr 150px 120px 150px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
    transition: background 0.2s ease;
}

.departure-item:last-child {
    border-bottom: none;
}

.departure-item:hover {
    background: #fafafa;
}

.dep-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
}

.dep-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #333;
}

.dep-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
}

.dep-info h4 {
    margin: 0 0 5px;
    font-size: 1.05rem;
    color: #333;
}

.dep-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.dep-price .price-val {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.dep-tag {
    font-size: 0.75rem;
    background: #fff1f2;
    color: #be123c;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
}

.dep-status {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.dep-status.available { color: #15803d; }
.dep-status.limited { color: #b45309; }
.dep-status.full { color: #be123c; }

.join-group-btn {
    width: 100%;
    padding: 10px 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.join-group-btn:hover {
    background: #008c44;
}

.full-btn {
    width: 100%;
    padding: 10px 15px;
    background: #eee;
    color: #999;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: not-allowed;
}

@keyframes fadeInSch {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .departure-item {
        grid-template-columns: 80px 1fr 120px;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .departure-item {
        grid-template-columns: 60px 1fr;
    }
}


/* Booking Sidebar Card (single-tours.php) */
.booking-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.booking-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.b-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
}

.b-feat i {
    width: 30px;
    height: 30px;
    background: #f0f7f4;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}




