/* ===== BUTTON FIX ===== */
.gallery-btn-fix {
    display: inline-block;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 50px;

    position: relative;
    z-index: 99999 !important;   /* force top */
    pointer-events: auto !important;
}

/* Hover */
.gallery-btn-fix:hover {
    background: #333;
    color: #fff;
}

/* ===== TEXT AREA ABOVE ===== */
.left-text {
    position: relative;
    z-index:99 !important;
}

/* ===== SLIDER BELOW ===== */
.right-scroll {
    position: relative;
    z-index: 1 !important;
}

/* ===== CONTAINER ===== */
.single-box {
    width: 100%;
    height: 480px; /* 🔥 desktop height increase */
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    background: #f5f5f5;
}

/* ===== IMAGE ===== */
.single-box img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover effect (desktop only) */
@media (min-width: 992px) {
    .single-box:hover img {
        transform: scale(1.05);
    }
}

/* ===== TABLET ===== */
@media (max-width: 991px) {
    .single-box {
        height: 300px; /* 🔥 increased */
    }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
    .single-box {
        height: 220px; /* 🔥 increased */
        border-radius: 8px;
    }
}
@media (max-width: 768px) {

    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: none !important;
        opacity: 1 !important;
    }
}


.new-btn {
    display: inline-block;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

#splash-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
    color: #fff;
}

.splash-content .logo {
    width: 220px;
    margin-bottom: 15px;
    animation: zoomIn 1.5s ease;
}

.splash-content h2 {
    font-weight: 800;
    font-size: 42px;
    letter-spacing: 1px;
    animation: fadeIn 2s ease;
    color: #d66008;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* call us button */
/* ===== HEADER RIGHT CONTAINER ===== */
.header__main-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ===== CALL BUTTON ===== */
.call-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff5e14, #ff8c42);
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

/* REMOVE DEFAULT LINK BLUE COLOR */
.call-btn,
.call-btn:hover,
.call-btn:focus,
.call-btn:active,
.call-btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ===== ICON BOX ===== */
.icon-box {
    position: relative;
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: #ff5e14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 15px;
}

/* ===== WIFI / RING EFFECT ===== */
.ring {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: ringWave 1.5s infinite;
}

/* Animation */
@keyframes ringWave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ===== TEXT SECTION ===== */
.text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.call-text {
    font-size: 13px;
    font-weight: 500;
}

.call-number {
    font-size: 14px;
    font-weight: 700;
}

/* ===== HOVER EFFECT ===== */
.call-btn:hover {
    background: linear-gradient(135deg, #e14d00, #ff6a00);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Hover pe animation fast */
.call-btn:hover .ring {
    animation-duration: 0.8s;
}

/* MOBILE FIXED BUTTON (TRANSPARENT) */
@media (max-width: 768px) {

    .header__main-right {
        position: fixed;
        bottom: 15px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 9999;

        background: transparent;
        /* ✅ remove white bg */
        box-shadow: none;
        /* ✅ remove shadow */
        padding: 0;
        /* ✅ remove extra space */
    }

    .call-btn {
        width: 75%;
        max-width: 322px;
        justify-content: center;
        border-radius: 50px;
        padding: 5px 37px;
        transform: none !important;
        display:none;
    }

    /* Optional: animation off for clean look */
    .ring {
        display: none;
    }
}

#videoPlayer {
    width: 100%;
    max-width: 1280px;
    /* jitna chaho utna set karo */
    height: 500px;
    /* fixed height */
    object-fit: cover;
    /* video stretch na ho */
    border-radius: 6px;
}


/* testonomial section */
/* Swiper specific styling to keep it clean */
.swiper {
    width: 100%;
    padding-bottom: 50px !important;
    /* Space for pagination dots */
    padding-top: 10px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.modern-t-card {
    width: 100%;
    max-width: 550px;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Pagination Dot Color Customization */
.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Baki purani CSS waisi hi rahegi jo upar di gayi thi */
:root {
    --primary-color: #ff641a;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f3f4f6;
    --card-bg: #ffffff;
}

.modern-t-section {
    padding: 60px 15px;
    background-color: var(--bg-light);
}

.modern-t-container {
    max-width: 1200px;
    margin: 0 auto;
}

.modern-t-header {
    text-align: center;
    margin-bottom: 40px;
}

.modern-t-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 15px;
}

.modern-t-text {
    font-size: 17px;
    line-height: 1.6;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 25px;
}

.modern-t-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.modern-t-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.modern-t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* cta section */
/* Base Styles */
.rto-product-cta {
    padding: 80px 20px;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: #f9f9f9;
}

.rto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rto-cta-card {
    display: flex;
    align-items: center;
    /* Vertically center content */
    background-color: #d1e2cf;
    /* Professional Light Green */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Content Section */
.rto-cta-content {
    flex: 1.2;
    /* Content takes a bit more space */
    padding: 60px;
    z-index: 2;
}

.rto-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.rto-description {
    font-size: 18px;
    color: #333;
    max-width: 450px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Button Styling */
.rto-btn-contact {
    display: inline-block;
    padding: 16px 40px;
    background-color: #1a1a1a;
    /* Dark for better contrast */
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.rto-btn-contact:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image Section - The "Fix" */
.rto-cta-image {
    flex: 1;
    position: relative;
    align-self: stretch;
    /* Makes image height match text height */
    min-height: 400px;
}

.rto-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This prevents the image from looking squashed */
    display: block;
    /* Optional: Smooth fade into the green background */
    mask-image: linear-gradient(to left, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 80%, transparent 100%);
}

.rto-star-icon {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 991px) {
    .rto-title {
        font-size: 32px;
    }

    .rto-cta-content {
        padding: 40px;
    }

    .rto-cta-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .rto-cta-card {
        flex-direction: column;
        text-align: center;
        border-radius: 16px;
        /* Mobile par thoda kam round achha lagta hai */
    }

    .rto-cta-content {
        padding: 40px 20px;
        /* Padding thodi kam ki hai */
        order: 1;
    }

    .rto-cta-image {
        order: 2;
        width: 100%;
        /* Fix: Height ko auto ya chota karein */
        min-height: auto;
        height: 220px;
        /* Isse height control mein rahegi */
        overflow: hidden;
    }

    .rto-title {
        font-size: 28px;
        /* Mobile ke liye font thoda chota */
    }

    .rto-description {
        margin: 0 auto 25px;
        font-size: 16px;
    }

    .rto-main-img {
        mask-image: none;
        -webkit-mask-image: none;
        object-position: center;
        /* Image center mein dikhegi */
    }

    .rto-star-icon {
        display: none;
        /* Mobile par clutter kam karne ke liye icon hata sakte hain */
    }
}


/* Unique Prefixes to avoid conflicts */
.rto-footer-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0px 10px;
    font-family: 'Poppins', sans-serif;
    /* Ya jo bhi aap use kar rahe ho */
}

.footer-title {
    color: #fff;
    /* Electrical Gold/Yellow Theme */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #d66008;
}

.footer-description {
    color: #bbbbbb;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: #d66008;
    padding-left: 5px;
}

.phone-link {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-top: 5px;
}

.phone-link:hover {
    color: #fff;
    padding-left: 5px;
}

.address-text {
    margin-top: 15px;
    color: #bbb;
    font-size: 0.9rem;
}

/* Social Icons */
.rto-social-icons {
    margin-top: 20px;
}

.rto-social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.rto-social-icons a:hover {
    background: #d66008;
    color: #fff;
    transform: translateY(-3px);
}

/* Bottom Footer */
.footer-divider {
    border-color: #333;
    margin: 40px 0 20px;
}

.footer-legal-links a {
    color: #888;
    text-decoration: none;
    margin-right: 15px;
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: #fff;
}

.copyright-text {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Vertical Contact Box Fix */
.rto-vertical-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: right bottom;
    z-index: 1000;
}

.rto-vertical-contact a {
    background: #000;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .rto-footer-section {
        text-align: center;
        padding: 40px 0 20px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-legal-links {
        margin-bottom: 10px;
    }
}