/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fc;
}

/* Breadcrumb Area */
.tm-breadcrumb-area {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.tm-breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.6), rgba(0, 153, 204, 0.4));
    z-index: 1;
}

.tm-breadcrumb {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin: 0 auto;
}

.tm-breadcrumb h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    margin: 0;
}

@media (max-width: 768px) {
    .tm-breadcrumb h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .tm-breadcrumb-area {
        padding: 60px 0;
    }
    .tm-breadcrumb h1 {
        font-size: 1.25rem;
    }
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Blog Area */
.blogs-area {
    background: #fff;
    padding: 50px 0;
}

.tm-blog {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 102, 153, 0.1);
    transition: transform 0.3s ease;
}

.tm-blog:hover {
    transform: translateY(-5px);
}

.tm-blog-top {
    position: relative;
    overflow: hidden;
}

.tm-blog-top img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: transform 0.3s ease;
}

.tm-blog-top img:hover {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .tm-blog-top img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .tm-blog-top img {
        height: 200px;
    }
}

.tm-blog-bottom {
    padding: 25px;
}

.tm-blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
}

.tm-blog-bottom p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Header Top Area */
.header-toparea {
    background: #006699;
    padding: 25px 0;
    border-radius: 10px;
    margin: 25px 0;
    color: #fff;
}

.header-topinfo {
    text-align: center;
}

.header-topinfo p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.header-topbutton {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tm-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #ff9900;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.tm-button:hover {
    background: #e68a00;
    transform: scale(1.03);
}

.tm-button-white {
    background: #fff;
    color: #003366;
}

.tm-button-white:hover {
    background: #f0f0f0;
}

/* Pricing Section */
.tm-pricing-left {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 25px;
}

.tm-pricing-left h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
    text-align: center;
}

.tm-pricing-left .nav {
    list-style: none;
    padding: 0;
}

.tm-pricing-left .nav-item {
    margin-bottom: 10px;
}

.tm-pricing-left .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.tm-pricing-left .nav-link:hover {
    background: #e6f0fa;
}

/* Sidebar Widgets */
.widgets-blog {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.widget-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #ff9900;
    margin: 8px auto;
}

/* ──────────────────────────────────────────────── */
/* Hide ONLY the "Book tour" widget (form + title)   */
/* Keep "Related tours" and everything below visible */
/* ──────────────────────────────────────────────── */

.single-widget.widget-search {
    display: none !important;
}

/* More specific / fallback selectors in case class names vary slightly */
div.single-widget:has(h3:contains("Book tour")),
div.widget-search,
div:has(> form#tm-contactform),
div:has(> form[action*="booking-received.php"]) {
    display: none !important;
}

/* Booking Form styles (hidden anyway) */
.tm-contact-form {
    background: #f0f6fb;
    padding: 20px;
    border-radius: 10px;
}

.tm-form-inner {
    display: grid;
    gap: 15px;
}

.tm-form-field input,
.tm-form-field textarea,
.tm-form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tm-form-field input:focus,
.tm-form-field textarea:focus,
.tm-form-field select:focus {
    outline: none;
    border-color: #ff9900;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.2);
}

.tm-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.tm-button-dark {
    background: #003366;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.tm-button-dark:hover {
    background: #002244;
    transform: scale(1.03);
}

/* Recent Posts Widget – remains visible */
.widget-recentpost ul {
    list-style: none;
    padding: 0;
}

.widget-recentpost li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.widget-recentpost li:hover {
    background: #f0f6fb;
}

.widget-recentpost-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}

.widget-recentpost-content h5 {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.widget-recentpost-content a {
    text-decoration: none;
    color: #003366;
    transition: color 0.3s ease;
}

.widget-recentpost-content a:hover {
    color: #ff9900;
}

/* Responsive Design */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }
    .header-topbutton {
        flex-direction: column;
        align-items: center;
    }
    .tm-pricing-left {
        margin-bottom: 30px;
    }
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .tm-blog-title {
        font-size: 1.3rem;
    }
    .tm-blog-bottom p {
        font-size: 0.9rem;
    }
    .header-topinfo p {
        font-size: 1rem;
    }
    .tm-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .tm-pricing-left h2 {
        font-size: 1.2rem;
    }
    .widget-title {
        font-size: 1.1rem;
    }
}

/* Contact details (if used somewhere) */
.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    text-align: center;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #16a34a;
}

@media (min-width: 640px) {
    .contact-details {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        text-align: left;
    }
}