@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;500;600;700&display=swap');

/* Custom Renax Dark Theme Styles for Heavy Equipment */
body {
    background-color: #1b1b1b;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

/* Typography & Titles */
.section-subtitle {
    color: #f5b754;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title span {
    color: #f5b754;
}

/* Buttons */
.button-1,
.button-2,
.btn-book {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-1,
.btn-book {
    background-color: transparent;
    border: 1px solid #f5b754;
    color: #f5b754;
}

.button-1:hover,
.btn-book:hover {
    background-color: #f5b754;
    color: #1b1b1b;
}

.button-2 {
    background-color: #f5b754;
    color: #1b1b1b;
    margin-left: 10px;
}

.button-2:hover {
    background-color: #fff;
    color: #1b1b1b;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 27, 27, 0.6);
}

.hero-section .caption {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section h6 {
    color: #f5b754;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.hero-section h5 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-section h5 span {
    color: #f5b754;
}

.hero-section h5 span i {
    font-size: 14px;
    color: #aaa;
    font-style: normal;
}

/* Features/About Section */
.section-padding {
    padding: 100px 0;
}

.about .list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ccc;
}

/* Product Cards */
.card-dark {
    background: #222;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

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

.card-dark .img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.card-dark .con {
    padding: 25px;
}

.fleet-info .title a {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.fleet-info .title a:hover {
    color: #f5b754;
}

.fleet-info .details {
    margin-top: 15px;
    color: #aaa;
}

.fleet-info .details span {
    margin-right: 15px;
    font-size: 14px;
}

.fleet-book {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fleet-book .price {
    font-size: 24px;
    color: #f5b754;
    font-weight: 600;
}

.fleet-book span:last-child {
    color: #aaa;
    font-size: 14px;
}

/* Layout Utilities Fix */
.style-row {
    align-items: center;
}

@media (max-width: 768px) {
    .fleet-book {
        text-align: left;
        margin-top: 15px;
    }
}

/* Banner Header Custom Texts */
.banner-header .rx-df-page-banner-subtitle {
    font-size: 10px;
    line-height: 10px;
    font-family: Outfit, sans-serif;
    font-weight: 300;
    color: rgb(245, 183, 84);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.banner-header .rx-df-page-banner-title {
    font-size: 42px;
    position: relative;
    line-height: 1.25em;
    margin-bottom: 0;
}

/* Blog List Card & Widget Styling (Match Renax Demo 12) */
.blog2 .item,
.blog2-sidebar .widget {
    background: #222;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog2 .item .post-img img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.blog2 .item .post-cont {
    padding: 40px;
}

.blog2 .item .post-cont .category a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

.blog2 .item .post-cont .calendar a {
    color: #999;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.blog2 .item .post-cont h5 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.blog2 .item .post-cont h5 a {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog2 .item .post-cont h5 a:hover {
    color: #f5b754;
}

.blog2 .item .post-cont p {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog2 .item .post-cont .button-1 {
    display: inline-block;
    background: #f5b754;
    color: #1b1b1b;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog2 .item .post-cont .button-1:hover {
    background: #fff;
    color: #1b1b1b;
}

/* Sidebar Fixes */
.blog2-sidebar .widget {
    padding: 35px;
}

.blog2-sidebar .widget-title {
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
}

.blog2-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog2-sidebar .widget ul li {
    margin-bottom: 15px;
}

.blog2-sidebar .widget ul li a {
    color: #999;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.blog2-sidebar .widget ul li a:hover {
    color: #f5b754;
}

/* Specific Search Widget & Block Support */
.blog2-sidebar .widget.widget_search input,
.blog2-sidebar .widget.widget_block .wp-block-search__input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 15px 20px;
    color: #fff;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
}

.blog2-sidebar .widget.widget_search input:focus,
.blog2-sidebar .widget.widget_block .wp-block-search__input:focus {
    outline: none;
}

.blog2-sidebar .widget.widget_search form,
.blog2-sidebar .widget.widget_block .wp-block-search__inside-wrapper {
    position: relative;
    display: flex;
    width: 100%;
}

.blog2-sidebar .widget.widget_search button,
.blog2-sidebar .widget.widget_block .wp-block-search__button {
    position: absolute;
    right: 15px;
    top: 15px;
    background: transparent;
    border: none;
    color: #f5b754;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.blog2-sidebar .widget.widget_search button i {
    font-size: 18px;
}

.blog2-sidebar .widget.widget_block .wp-block-search__label {
    display: none;
}

.blog2-sidebar .widget.widget_block .wp-block-latest-comments li {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.blog2-sidebar .widget.widget_block .wp-block-latest-comments li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

/* Specific Recent Posts Widget */
.blog2-sidebar .widget .recent li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.blog2-sidebar .widget .recent li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.blog2-sidebar .widget .recent li .thum img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.blog2-sidebar .widget .recent li a {
    color: #999;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    display: block;
}

.blog2-sidebar .widget .recent li a:hover {
    color: #f5b754;
}

/* Specific Categories Widget */
.blog2-sidebar .widget.widget_categories ul li {
    position: relative;
    padding-left: 15px;
}

.blog2-sidebar .widget.widget_categories ul li a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #999;
    font-size: 14px;
    top: 2px;
}

/* Specific Tags Widget */
.blog2-sidebar .widget.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 8px 20px;
    background: #333;
    color: #999;
    border-radius: 30px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 20px !important;
}

/* Enhanced WhatsApp Chat Component */
.whatsapp-chat-wrapper {
    position: fixed;
    bottom: 90px; /* Lifted to avoid overlap with scroll-to-top */
    right: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-btn {
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    border: none;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-left: auto;
}

.whatsapp-float-btn.d-none {
    display: none !important;
}

.whatsapp-float-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.6);
}

.whatsapp-chat-window {
    width: 350px;
    background: #111;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.whatsapp-chat-window.wa-show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.whatsapp-chat-window.d-none {
    display: none !important;
}

.whatsapp-chat-header {
    background-color: #075e54;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.whatsapp-chat-header-info {
    display: flex;
    align-items: center;
}

.wa-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    margin-right: 15px;
}

.wa-header-text h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.wa-header-text span {
    font-size: 12px;
    color: #e5ddd5;
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 5px #25d366;
}

.wa-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.wa-close-btn:hover {
    opacity: 1;
}

.whatsapp-chat-body {
    background-color: #e5ddd5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: cover;
    padding: 20px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.wa-message {
    background-color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    border-top-left-radius: 0;
    max-width: 90%;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.wa-sender {
    color: #075e54;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.wa-message p {
    color: #303030;
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.wa-time {
    display: block;
    text-align: right;
    color: #999;
    font-size: 10px;
    margin-top: 5px;
}

.whatsapp-chat-footer {
    padding: 15px 20px;
    background: #f0f0f0;
}

.wa-start-chat-btn {
    display: block;
    width: 100%;
    background-color: #25d366;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s;
}

.wa-start-chat-btn:hover {
    background-color: #128C7E;
    color: #fff;
}

/* Pulsing effect */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-pulse {
    animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 768px) {
    .whatsapp-chat-wrapper {
        bottom: 80px; /* Lifted slightly for mobile */
        right: 20px;
    }
    
    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .whatsapp-chat-window {
        width: 300px;
    }
}

.blog2-sidebar .widget.widget_tag_cloud .tagcloud a {
    font-size: 13px !important;
    text-decoration: none;
    transition: all 0.3s;
}

.blog2-sidebar .widget.widget_tag_cloud .tagcloud a:hover {
    background: #f5b754;
    color: #111;
}

/* Pagination Wrapper Styling */
.renax-pagination-wrap .pagination-wrap,
.renax-pagination-wrap .nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.renax-pagination-wrap .nav-links .page-numbers {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background: #222;
    color: #fff;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.renax-pagination-wrap .nav-links .page-numbers.current,
.renax-pagination-wrap .nav-links .page-numbers:hover {
    background: #f5b754;
    color: #1b1b1b;
}

/* User Requested Post Styles */
.banner-header .post-wrapper a {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
}

.version-dark .button-4, .button-4 {
    display: inline-block;
    height: auto;
    padding: 14px 42px;
    border: 1px solid #f5b754;
    border-radius: 30px;
    background-color: #f5b754;
    color: #1b1b1b;
    font-weight: 300;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
}
.version-dark .button-4:hover, .button-4:hover {
    background-color: transparent;
    color: #f5b754;
}

/* User Requested Comment Styling */
.comment-body.wrap { display: flex; align-items: flex-start; margin-bottom: 30px; }
.comment-body.wrap .user { margin-right: 25px; }
.comment-body.wrap .user img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }
.comment-body.wrap .cont { flex: 1; }
.comment-body.wrap .cont h6 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.comment-body.wrap .cont h6 span { color: #aaa; font-size: 14px; font-weight: 400; }
.comment-body.wrap .cont p { color: #999; line-height: 1.8; margin-top: 10px; margin-bottom: 15px; font-size: 15px; }
.comment-body.wrap .cont .replys a { color: #f5b754; font-size: 13px; text-transform: uppercase; font-weight: 600; text-decoration: none; letter-spacing: 1px; transition: 0.3s; }
.comment-body.wrap .cont .replys a:hover { color: #fff; }

.post-prev-next-left a, .post-prev-next-right a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.post-prev-next-left a:hover, .post-prev-next-right a:hover {
    color: #f5b754;
}

/* Contact Page Enhancements */
.contact-info-box:hover {
    transform: translateY(-5px);
    border-color: #f5b754;
}

/* User Requested Responsive Fixes */
@media (max-width: 768px) {
    /* Logo adjustments */
    .logo-wrapper {
        margin-top: -10px;
    }
    .logo img {
        max-height: 70px !important; 
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Hamburger Menu adjustments */
    .navbar-toggler {
        margin-top: -10px;
        border: none;
        outline: none;
        padding: 5px 10px;
    }
    .navbar-toggler-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.5em;
        height: 1.5em;
    }
    .navbar-toggler-icon i {
        font-size: 28px;
        color: #fff; /* Ensure icon is visible on dark bg */
    }
    
    /* Typography adjustments to make text smaller */
    .banner-header .rx-df-page-banner-title {
        font-size: 32px !important;
    }
    .section-title {
        font-size: 28px !important;
    }
    body, p, .blog2 .item .post-cont p {
        font-size: 14px !important;
    }
    .blog2 .item .post-cont h5 a {
        font-size: 22px !important;
    }
}