/* Arun Elementor Addons Styles */

/* --- General Variables Override (Fallback) --- */
:root {
    --arun-primary: #007bff;
    --arun-text: #333;
}

/* --- Utilities --- */
.text-center {
    text-align: center;
}

/* --- Topbar (Astra Integration) --- */
.arun-addon-topbar {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.arun-addon-topbar svg {
    /* Reduced icons by ~30% (was default approx 24px/1em, setting strict small size) */
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.arun-addon-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.arun-addon-topbar .addon-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.arun-addon-topbar .addon-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arun-addon-topbar .addon-socials {
    display: flex;
    gap: 15px;
}

.arun-addon-topbar .addon-socials a {
    color: #fff;
    display: flex;
    align-items: center;
}

/* Responsive Topbar */
@media (max-width: 768px) {
    .arun-addon-topbar .container {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Buttons --- */
/* We target .btn inside our sections to attempt isolation */
section .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--arun-primary);
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

section .btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* --- Hero Slider --- */
.hero-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* Swiper Navigation Size */
    --swiper-navigation-size: 16px;
}

/* Common Arrow Styles for All Sliders */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev,
.brand-slider .swiper-button-next,
.brand-slider .swiper-button-prev,
.card-slider .swiper-button-next,
.card-slider .swiper-button-prev {
    width: 20px;
    height: 20px;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    --swiper-navigation-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover,
.brand-slider .swiper-button-next:hover,
.brand-slider .swiper-button-prev:hover,
.card-slider .swiper-button-next:hover,
.card-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .swiper-button-next,
.brand-slider .swiper-button-next,
.card-slider .swiper-button-next {
    right: 20px;
}

.hero-slider .swiper-button-prev,
.brand-slider .swiper-button-prev,
.card-slider .swiper-button-prev {
    left: 20px;
}

.hero-slider .swiper-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-slider .slide-content {
    text-align: center;
    background: transparent;
    /* Overlay removed as requested */
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
}

.hero-slider h1 {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.hero-slider p {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    margin-bottom: 25px;
    color: #fff;
    opacity: 0.95;
}

/* Modern Pagination Styling */
.hero-slider .swiper-pagination {
    bottom: 30px !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.hero-slider .swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 6px;
    background: #fff;
}

.hero-slider .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* --- Services Grid --- */
.service-section {
    padding: 60px 0;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.service-card h3 {
    margin-bottom: 15px;
}

/* --- Blog Cards --- */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* --- Brand Slider --- */
.brand-section {
    padding: 40px 0;
    position: relative;
}

.brand-slider {
    position: relative;
    padding: 20px 50px;
}

/* Card Slider Styles */
.card-slider-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.card-slider {
    position: relative;
    padding: 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-slider .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.card-slider .swiper-pagination {
    position: relative;
    margin-top: 30px;
    bottom: auto !important;
}

.card-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.card-slider .swiper-pagination-bullet-active {
    background: var(--arun-primary, #007bff);
    width: 30px;
    border-radius: 5px;
}

.brand-slider .swiper-slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card {
    width: 100%;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.brand-card:hover {
    border-color: var(--arun-primary, #007bff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-slider img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    max-height: 120px;
}

/* Brand Slider specific hover color */
.brand-slider .swiper-button-next:hover,
.brand-slider .swiper-button-prev:hover {
    background: var(--arun-primary, #007bff);
    color: #fff;
}

.brand-slider .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.brand-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.brand-slider .swiper-pagination-bullet-active {
    background: var(--arun-primary, #007bff);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .brand-slider,
    .card-slider {
        padding: 20px 40px;
    }
    
    .card-slider .swiper-pagination {
        margin-top: 20px;
    }
    
    .brand-card {
        min-height: 120px;
        padding: 15px;
    }
    
    .brand-slider img {
        max-height: 100px;
    }
    
    /* Hide arrows on mobile */
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev,
    .brand-slider .swiper-button-next,
    .brand-slider .swiper-button-prev,
    .card-slider .swiper-button-next,
    .card-slider .swiper-button-prev {
        display: none !important;
    }
    
    /* Hide pagination on mobile */
    .hero-slider .swiper-pagination,
    .brand-slider .swiper-pagination,
    .card-slider .swiper-pagination {
        display: none !important;
    }
}

/* --- Team Slider --- */
.team-member-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.team-member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-member-name {
    margin: 15px 0 5px;
    font-size: 1.25rem;
    font-weight: 600;
}

.team-member-position {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.team-member-bio {
    margin: 15px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-social-links a {
    transition: transform 0.3s ease;
    display: inline-flex;
}

.team-social-links a:hover {
    transform: scale(1.2);
}

/* --- Review Slider --- */
.review-card {
    text-align: center;
}

.review-rating {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.review-rating i {
    display: inline-block;
}

.review-text {
    font-style: italic;
    margin: 20px 0;
    line-height: 1.6;
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    text-align: left;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.reviewer-title {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #666;
}

/* --- WhatsApp Chat --- */
.whatsapp-chat-widget {
    position: fixed;
    z-index: 9999;
}

.whatsapp-chat-widget.bottom-right {
    bottom: 20px;
    right: 20px;
}

.whatsapp-chat-widget.bottom-left {
    bottom: 20px;
    left: 20px;
}

.whatsapp-chat-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
}

/* --- Back to Top --- */
.back-to-top-widget {
    position: fixed;
    z-index: 9998;
}

.back-to-top-widget.bottom-right {
    bottom: 90px;
    right: 20px;
}

.back-to-top-widget.bottom-left {
    bottom: 90px;
    left: 20px;
}

.back-to-top-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top-button:hover {
    transform: translateY(-3px);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* --- Google Map --- */
.google-map-container {
    width: 100%;
    overflow: hidden;
}

.google-map-container iframe {
    width: 100%;
    display: block;
    border: 0;
}

/* --- Statistics Counter Section --- */
.statistics-section {
    position: relative;
    width: 100%;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.statistics-item {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.statistics-item-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.statistics-item-scale:hover {
    transform: scale(1.05);
}

.statistics-item-shadow:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.statistics-icon {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 48px;
    color: #007bff;
}

.statistics-icon i,
.statistics-icon svg {
    display: block;
}

.statistics-number-wrapper {
    margin-bottom: 10px;
    line-height: 1.2;
}

.statistics-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    display: inline-block;
    line-height: 1;
}

.statistics-suffix {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    display: inline-block;
    line-height: 1;
}

.statistics-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    margin: 10px 0;
    line-height: 1.4;
}

.statistics-description {
    font-size: 0.95rem;
    color: #666666;
    margin: 10px 0 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .statistics-item {
        padding: 30px 20px;
    }
    
    .statistics-number,
    .statistics-suffix {
        font-size: 2rem;
    }
    
    .statistics-title {
        font-size: 1.1rem;
    }
    
    .statistics-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {

    .whatsapp-chat-widget.bottom-right,
    .back-to-top-widget.bottom-right {
        right: 15px;
    }

    .whatsapp-chat-widget.bottom-left,
    .back-to-top-widget.bottom-left {
        left: 15px;
    }

    .back-to-top-widget {
        bottom: 80px;
    }
}
/* Card Slider Image Zoom Animation */
.card-slider .card-image {
    overflow: hidden;
    display: inline-block;
}

.card-slider .card-image img {
    transition: transform 0.5s ease;
    display: block;
}

.card-slider .swiper-slide:hover .card-image img {
    transform: scale(1.1);
}
