/* Homepage Custom Styles */

/* Service cards */
.single-service.service__style--2 {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 30px;
    text-align: center;
    height: 100%;
}

.single-service.service__style--2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.single-service .service-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.single-service .service-content .title {
    color: #1f1f25;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.single-service .service-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.single-service .service-btn {
    color: #f9004d;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.single-service .service-btn:hover {
    color: #d6003f;
}

/* Blog portfolio items */
.im_portfolio {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.im_portfolio .content .inner {
    padding: 25px;
}

.im_portfolio .content .inner p {
    color: #f9004d;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.im_portfolio .content .inner h4 {
    margin-bottom: 15px;
}

.im_portfolio .content .inner h4 a {
    color: #1f1f25;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.im_portfolio .content .inner h4 a:hover {
    color: #f9004d;
}

/* Contact form styling */
.rn-contact-form-area .contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.rn-contact-form-area .rn-address {
    background: #1f1f25;
    padding: 40px;
    border-radius: 10px;
    color: #fff;
}

.rn-contact-form-area .rn-address .title {
    color: #fff;
    margin-bottom: 30px;
}

.rn-address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.rn-address .rn-address-item .icon {
    position: relative;
    top: auto;
    left: auto;
    width: 50px;
    height: 50px;
    background: #f9004d;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    line-height: normal;
    font-size: 18px;
}

.rn-address-item .icon i {
    color: #fff;
    font-size: 18px;
}

.rn-address-item .inner h6 {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.rn-address-item .inner p {
    color: #ccc;
    margin: 0;
}

.rn-address-item .inner p br {
    display: inline !important;
}

/* Form elements */
.rn-form-group {
    margin-bottom: 25px;
}

.rn-form-group input,
.rn-form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.rn-form-group input:focus,
.rn-form-group textarea:focus {
    outline: none;
    border-color: #f9004d;
    box-shadow: 0 0 10px rgba(249, 0, 77, 0.1);
}

.rn-form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Hero Slideshow */
.rn-slider-area {
    margin: 0 !important;
    padding: 0 !important;
}

.rn-slider-area .slide {
    height: 85vh;
    min-height: 550px;
    max-height: 850px;
    overflow: hidden;
}

.rn-slider-area .inner span {
    color: #f9004d;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.rn-slider-area .inner h1.title {
    font-size: 60px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.rn-slider-area .inner h2 {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
}

/* Override fullscreen and slide-style-2 defaults */
.rn-slider-area .slide.fullscreen {
    min-height: 550px;
    max-height: 850px;
    height: 85vh;
}

.rn-slider-area .slide.slide-style-2 {
    padding-top: 150px;
    padding-bottom: 150px;
}

/* Slideshow dots */
.rn-slider-area.rn-slick-dot .slick-dots {
    bottom: 40px;
}

.rn-slider-area.rn-slick-dot.dot-light .slick-dots li button::after {
    background: rgba(255, 255, 255, 0.5);
}

.rn-slider-area.rn-slick-dot.dot-light .slick-dots li.slick-active button::after {
    background: #f9004d;
}

/* Slide text — always visible, Slick handles the fade between slides */
.rn-slider-area .inner span,
.rn-slider-area .inner h1,
.rn-slider-area .inner h2,
.rn-slider-area .inner .slide-btn {
    opacity: 1;
}

/* Hide any stray slick arrow buttons */
.rn-slider-area button.slick-arrow {
    display: none !important;
}

/* Counter section - suffix span (e.g. "K") sits inline before the CSS ::after "+" */
.counterup_style--1 h5.counter .suffix {
    font-size: inherit;
}

/* Brand logos section */
.brand-item {
    text-decoration: none;
    padding: 25px 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.brand-item img {
    max-width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item .brand-name {
    color: #1f1f25;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

/* About section enhancements */
.rn-about-area .about-us-list .title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1f1f25;
}

.rn-about-area .about-us-list p {
    color: #666;
    line-height: 1.6;
}

/* Section titles */
.section-title h2 {
    color: #1f1f25;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* View more buttons */
.view-more-btn {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .rn-slider-area .inner h1.title {
        font-size: 42px;
    }

    .rn-slider-area .slide,
    .rn-slider-area .slide.fullscreen {
        height: 70vh;
        min-height: 450px;
        max-height: 700px;
    }
}

@media (max-width: 768px) {
    .rn-slider-area .inner h1.title {
        font-size: 32px;
    }

    .rn-slider-area .inner h2 {
        font-size: 16px;
    }

    .rn-slider-area .slide,
    .rn-slider-area .slide.fullscreen {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
        background-position: center center !important;
    }

    .rn-slider-area .slide.slide-style-2 {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .single-service.service__style--2,
    .rn-contact-form-area .contact-form,
    .rn-contact-form-area .rn-address {
        padding: 25px;
    }
}