/*
Theme Name: Triply - Tours & Safari
Theme URI: https://buddyptours.co.tz
Author: Dulshan AS Rajabu
Author URI: https://dulshanrerg.onrender.com
Description: A professional Travel & Tour Operator WordPress theme for Zanzibar and Tanzania safari tours. Built for use with Elementor page builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: triply
Tags: travel, tour, safari, elementor, custom-menu, featured-images, responsive-layout
*/

/* =============================================
   CSS CUSTOM PROPERTIES / VARIABLES
============================================= */
:root {
    --primary:        #F59F26;
    --primary-hover:  #956506;
    --secondary:      #956506;
    --secondary-hover:#F59F26;
    --text:           #666666;
    --accent:         #000000;
    --lighter:        #999999;
    --border:         #e5e5e5;
    --white:          #ffffff;
    --dark:           #1a1a1a;
    --font-main:      'Segoe UI', Arial, sans-serif;
    --transition:     0.3s ease;
    --radius:         8px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.3;
    color: var(--accent);
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   LAYOUT
============================================= */
.container,
.col-full {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1;
}

/* =============================================
   HEADER
============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: box-shadow var(--transition);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.site-logo a {
    display: inline-block;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

/* =============================================
   NAVIGATION
============================================= */
.primary-navigation {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
}

.menu > li > a:hover,
.menu > li.current-menu-item > a,
.menu > li.current-menu-parent > a {
    color: var(--primary);
    background: rgba(245, 159, 38, 0.08);
}

/* Dropdown */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 100;
    border-top: 3px solid var(--primary);
    padding: 8px 0;
}

.menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    transition: color var(--transition), padding var(--transition), background var(--transition);
}

.sub-menu li a:hover {
    color: var(--primary);
    background: rgba(245,159,38,0.06);
    padding-left: 26px;
}

/* Contact Button in Nav */
.btn-contact-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background var(--transition), transform var(--transition);
    margin-left: 15px;
    white-space: nowrap;
}

.btn-contact-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-contact-nav i {
    font-size: 12px;
}

/* =============================================
   MOBILE NAV TOGGLE
============================================= */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
}

/* =============================================
   MOBILE NAVIGATION DRAWER
============================================= */
.triply-mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 99999;
    overflow-y: auto;
    transition: left var(--transition);
    box-shadow: 5px 0 30px rgba(0,0,0,0.15);
    padding: 20px 0;
}

.triply-mobile-nav.open {
    left: 0;
}

.mobile-nav-close {
    display: block;
    text-align: right;
    padding: 0 20px 15px;
    font-size: 20px;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.triply-mobile-nav .menu {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.triply-mobile-nav .menu > li {
    width: 100%;
}

.triply-mobile-nav .menu > li > a {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 14px;
    width: 100%;
}

.triply-mobile-nav .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--primary);
    margin-left: 20px;
    background: #fafafa;
    padding: 0;
}

.triply-mobile-nav .sub-menu li a {
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

/* Overlay */
.triply-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
}

.triply-overlay.show {
    display: block;
}

/* =============================================
   SECTION BASE
============================================= */
.section {
    padding: 80px 0;
}

.section-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Thea Amelia", Sans-serif;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 40px;
}

.section-title span {
    color: var(--primary);
}

/* =============================================
   TOUR CATEGORY CARDS
============================================= */
.tour-categories {
    background: var(--white);
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    text-align: center;
    transition: transform var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card .card-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.category-card .card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.category-card .card-btn {
    display: block;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background var(--transition);
}

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

/* =============================================
   ABOUT / FEATURES SECTION
============================================= */
.features-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.feature-icon i {
    color: var(--white);
}

.feature-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--accent);
}

.feature-content p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

.features-image {
    position: relative;
}

.features-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.counter-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.counter-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.counter-badge .label {
    font-size: 12px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   TOUR PACKAGES GRID
============================================= */
.tours-section {
    padding: 80px 0;
    background: var(--white);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.tour-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.tour-card .card-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.tour-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .card-thumb img {
    transform: scale(1.08);
}

.tour-card .card-body {
    padding: 18px;
}

.tour-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--lighter);
}

.tour-card .card-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.tour-card .card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1.4;
}

.tour-card .card-title a {
    color: inherit;
}

.tour-card .card-title a:hover {
    color: var(--primary);
}

.tour-card .card-location {
    font-size: 13px;
    color: var(--lighter);
    margin-bottom: 12px;
}

.tour-card .card-location i {
    color: var(--primary);
    margin-right: 4px;
}

.tour-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.tour-card .price {
    font-size: 13px;
    color: var(--text);
}

.tour-card .price strong {
    font-size: 16px;
    color: var(--primary);
    font-weight: 800;
}

.tour-card .explore-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition);
}

.tour-card .explore-link:hover {
    gap: 8px;
}

/* =============================================
   SAFARI CTA BANNER
============================================= */
.safari-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.safari-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.safari-cta .inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.safari-cta .section-label {
    color: var(--primary);
}

.safari-cta .section-title {
    color: var(--white);
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.cta-badge .title {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.cta-badge .desc {
    font-size: 12px;
    opacity: 0.8;
    display: block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), transform var(--transition);
}

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

/* =============================================
   WHY US / BOOKING PROCESS SECTION
============================================= */
.why-us-section {
    padding: 80px 0;
    background: var(--white);
}

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

.why-us-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.why-us-card:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.why-us-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    margin-bottom: 18px;
}

.why-us-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.why-us-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   POPULAR SAFARIS SECTION
============================================= */
.safaris-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.safaris-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.safari-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.safari-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.safari-card:hover .bg {
    transform: scale(1.08);
}

.safari-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
}

.safari-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 25px;
}

.safari-card .card-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.safari-card .card-desc {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.safari-card .explore-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: background var(--transition);
}

.safari-card .explore-btn:hover {
    background: var(--primary-hover);
    color: var(--white);
}

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: box-shadow var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.testimonial-card .stars {
    color: #f59f26;
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card .review-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .review-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 5px;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.testimonial-card .reviewer img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .reviewer-info .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    display: block;
}

.testimonial-card .reviewer-info .date {
    font-size: 12px;
    color: var(--lighter);
}

/* =============================================
   BLOG / TRAVEL GUIDES
============================================= */
.blog-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-card .card-thumb {
    overflow: hidden;
    height: 200px;
}

.blog-card .card-thumb img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .card-thumb img {
    transform: scale(1.06);
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-meta {
    font-size: 12px;
    color: var(--lighter);
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-card .card-meta a {
    color: var(--primary);
    font-weight: 600;
}

.blog-card .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
    line-height: 1.4;
}

.blog-card .card-title a {
    color: inherit;
}

.blog-card .card-title a:hover {
    color: var(--primary);
}

.blog-card .card-excerpt {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}

.blog-card .read-more:hover {
    gap: 10px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background: #111111;
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .logo {
    /* max-height: 55px; */
    width: auto;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1); */
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--primary);
    font-weight: 600;
}

.footer-contact a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    transition: background var(--transition), transform var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.payment-logos {
    margin-top: 20px;
}

.payment-logos img {
    max-width: 200px;
    /* opacity: 0.7; */
    /* filter: brightness(0) invert(1); */
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 13px;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 15px;
    transition: background var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-hover);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    transition: color var(--transition);
}

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

/* =============================================
   SCROLL TO TOP BUTTON
============================================= */
.scrollup {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: 0 4px 15px rgba(245,159,38,0.4);
}

.scrollup.visible {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    color: var(--white);
}

/* =============================================
   WHATSAPP FLOAT BUTTON
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 9990;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
    color: var(--white);
}

.whatsapp-float i {
    font-size: 20px;
}

/* =============================================
   SINGLE PAGE / POST CONTENT
============================================= */
.page-hero {
    background: linear-gradient(135deg, #0a2342, #1a4a6e);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
}

.page-hero .breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 10px;
}

.page-hero .breadcrumb a {
    color: var(--primary);
}

.entry-content {
    padding: 60px 0;
}

.entry-content .col-full {
    max-width: 900px;
}

/* =============================================
   ARCHIVE / BLOG LIST PAGE
============================================= */
.archive-page {
    padding: 60px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text);
    transition: all var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* =============================================
   CONTACT FORM (WP CF7)
============================================= */
.wpcf7 form {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    margin-bottom: 15px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    background: #fafafa;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245,159,38,0.15);
    background: var(--white);
}

.wpcf7 textarea {
    height: 120px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background: var(--primary);
    color: var(--white);
    padding: 13px 30px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* =============================================
   ELEMENTOR COMPATIBILITY
============================================= */
body.elementor-page .site-content {
    padding: 0;
}

.elementor-section-stretched {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Fix Elementor button overrides */
.elementor-button {
    border-radius: 30px !important;
}

.elementor-button-link,
.elementor-button {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

.elementor-button-link:hover,
.elementor-button:hover {
    background-color: var(--primary-hover) !important;
    color: var(--white) !important;
}

/* Triply custom icon font class */
.triply-icon-:before { font-family: 'triply-icon'; }

/* =============================================
   UTILITY CLASSES
============================================= */
.text-primary  { color: var(--primary); }
.text-center   { text-align: center; }
.text-white    { color: var(--white); }
.bg-light      { background: #f9f9f9; }
.mt-5          { margin-top: 20px; }
.mb-5          { margin-bottom: 20px; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-between { justify-content: space-between; }

/* Screen reader only */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .categories-grid       { grid-template-columns: repeat(3, 1fr); }
    .tours-grid            { grid-template-columns: repeat(2, 1fr); }
    .safaris-grid          { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid           { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid     { grid-template-columns: repeat(2, 1fr); }
    .blog-grid             { grid-template-columns: repeat(2, 1fr); }
    .features-grid         { grid-template-columns: 1fr; }
    .footer-grid           { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .primary-navigation    { display: none; }
    .mobile-nav-toggle     { display: block; }
    .categories-grid       { grid-template-columns: repeat(2, 1fr); }
    .tours-grid            { grid-template-columns: 1fr; }
    .safaris-grid          { grid-template-columns: 1fr; }
    .why-us-grid           { grid-template-columns: 1fr; }
    .testimonials-grid     { grid-template-columns: 1fr; }
    .blog-grid             { grid-template-columns: 1fr; }
    .footer-grid           { grid-template-columns: 1fr; gap: 30px; }
    .hero-content          { padding: 0 20px; }
    .footer-bottom-inner   { flex-direction: column; text-align: center; }
    .section               { padding: 50px 0; }
    .posts-grid            { grid-template-columns: 1fr; }
    .counter-badge         { left: 0; }
}
