/* ============================================
   SKYAIR Elementor Custom Styles
   Matches the custom-developed theme design
   ============================================ */

/* ── Global Resets ────────────────────────── */

.elementor-page body,
body.elementor-page {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1A1A2E;
    line-height: 1.7;
}

.elementor-page h1,
.elementor-page h2,
.elementor-page h3,
.elementor-page h4,
.elementor-page h5,
.elementor-page h6 {
    font-family: 'Montserrat', sans-serif;
    color: #0A1F3F;
    line-height: 1.3;
}

/* ── Buttons ─────────────────────────────── */

.elementor-button {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    transition: all 250ms ease !important;
    letter-spacing: 0.2px;
    text-decoration: none !important;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 31, 63, 0.2);
}

/* Primary (orange) buttons */
.elementor-button-wrapper .elementor-button {
    border-radius: 8px !important;
}

/* ── Icon Box Widget (Services, Features, Pillars) ── */

.elementor-widget-icon-box .elementor-icon-box-wrapper {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 2px rgba(10, 31, 63, 0.06);
    transition: all 250ms ease;
    height: 100%;
}

.elementor-widget-icon-box .elementor-icon-box-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.12);
}

.elementor-widget-icon-box .elementor-icon-box-icon {
    margin-bottom: 16px;
}

.elementor-widget-icon-box .elementor-icon-box-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0A1F3F;
    margin-bottom: 8px;
}

.elementor-widget-icon-box .elementor-icon-box-description {
    font-family: 'Inter', sans-serif;
    color: #6B7280;
    line-height: 1.6;
    font-size: 14px;
}

/* Icon box on dark backgrounds */
.elementor-section[data-settings*='"background_color":"#0A1F3F"'] .elementor-widget-icon-box .elementor-icon-box-wrapper,
.elementor-element > .elementor-background-overlay ~ .elementor-container .elementor-widget-icon-box .elementor-icon-box-wrapper {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.elementor-element > .elementor-background-overlay ~ .elementor-container .elementor-widget-icon-box .elementor-icon-box-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* ── Section Title Pattern ───────────────── */

.elementor-widget-heading .elementor-heading-title {
    font-family: 'Montserrat', sans-serif;
}

.elementor-widget-text-editor {
    font-family: 'Inter', sans-serif;
}

/* ── Counter Widget (Stats) ──────────────── */

.elementor-widget-counter {
    background: #F5F7FA;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
    transition: all 250ms ease;
}

.elementor-widget-counter:hover {
    box-shadow: 0 4px 12px rgba(10, 31, 63, 0.1);
    transform: translateY(-2px);
}

.elementor-widget-counter .elementor-counter-number-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #0A1F3F;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.elementor-widget-counter .elementor-counter-title {
    font-family: 'Inter', sans-serif;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

/* Last stat card accent */
.elementor-widget-counter:last-child {
    background: #00AEEF;
}

.elementor-widget-counter:last-child .elementor-counter-number-wrapper {
    color: #FFFFFF;
}

.elementor-widget-counter:last-child .elementor-counter-title {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Icon List Widget (Checklists, Footer) ── */

.elementor-widget-icon-list .elementor-icon-list-items {
    list-style: none;
    padding: 0;
}

.elementor-widget-icon-list .elementor-icon-list-item {
    padding: 6px 0;
    transition: color 150ms ease;
}

.elementor-widget-icon-list .elementor-icon-list-item:hover {
    color: #00AEEF;
}

.elementor-widget-icon-list .elementor-icon-list-text {
    font-family: 'Inter', sans-serif;
}

/* ── Slides Widget (Hero) ────────────────── */

.elementor-widget-slides .elementor-slides .slick-slide {
    height: 660px !important;
}

.elementor-widget-slides .elementor-slide-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.25rem !important;
    line-height: 1.1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.elementor-widget-slides .elementor-slide-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 550px;
}

.elementor-widget-slides .elementor-slide-button {
    background: #FF6B00 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 250ms ease !important;
}

.elementor-widget-slides .elementor-slide-button:hover {
    background: #E55F00 !important;
    transform: translateY(-2px);
}

.elementor-widget-slides .slick-dots li button:before {
    color: #FFFFFF;
    font-size: 12px;
}

.elementor-widget-slides .slick-dots li.slick-active button:before {
    color: #00AEEF;
}

.elementor-widget-slides .slick-prev,
.elementor-widget-slides .slick-next {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    transition: background 250ms ease !important;
}

.elementor-widget-slides .slick-prev:hover,
.elementor-widget-slides .slick-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* ── WooCommerce Products Grid ───────────── */

.elementor-widget-woocommerce-products ul.products li.product,
.elementor-widget-wc-archive-products ul.products li.product {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(10, 31, 63, 0.06);
    transition: all 250ms ease;
    border: 1px solid #E2E8F0;
}

.elementor-widget-woocommerce-products ul.products li.product:hover,
.elementor-widget-wc-archive-products ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.12);
}

.elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-wc-archive-products ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #0A1F3F !important;
    padding: 0 16px;
}

.elementor-widget-woocommerce-products ul.products li.product .price,
.elementor-widget-wc-archive-products ul.products li.product .price {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #0A1F3F !important;
    padding: 0 16px;
}

.elementor-widget-woocommerce-products ul.products li.product .button,
.elementor-widget-wc-archive-products ul.products li.product .button {
    background: #FF6B00 !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 8px 16px !important;
    margin: 8px 16px 16px !important;
    transition: background 150ms ease !important;
}

.elementor-widget-woocommerce-products ul.products li.product .button:hover,
.elementor-widget-wc-archive-products ul.products li.product .button:hover {
    background: #E55F00 !important;
}

.elementor-widget-woocommerce-products ul.products li.product img,
.elementor-widget-wc-archive-products ul.products li.product img {
    border-radius: 0;
}

/* ── Forms ────────────────────────────────── */

.elementor-widget-form .elementor-field-group .elementor-field {
    font-family: 'Inter', sans-serif;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: border-color 150ms ease;
    background: #FFFFFF;
}

.elementor-widget-form .elementor-field-group .elementor-field:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
    outline: none;
}

.elementor-widget-form .elementor-field-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #0A1F3F;
    margin-bottom: 6px;
}

.elementor-widget-form .elementor-button[type="submit"] {
    background: #FF6B00 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 250ms ease !important;
    width: auto;
}

.elementor-widget-form .elementor-button[type="submit"]:hover {
    background: #E55F00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.elementor-widget-form .elementor-message-success {
    background: #10B981;
    color: #FFFFFF;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.elementor-widget-form select.elementor-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ── Posts Widget (Blog) ─────────────────── */

.elementor-widget-posts .elementor-post {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(10, 31, 63, 0.06);
    transition: all 250ms ease;
    border: 1px solid #E2E8F0;
}

.elementor-widget-posts .elementor-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 31, 63, 0.12);
}

.elementor-widget-posts .elementor-post__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0A1F3F;
}

.elementor-widget-posts .elementor-post__title a {
    color: #0A1F3F;
    text-decoration: none;
}

.elementor-widget-posts .elementor-post__title a:hover {
    color: #00AEEF;
}

.elementor-widget-posts .elementor-post__excerpt {
    font-family: 'Inter', sans-serif;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
}

.elementor-widget-posts .elementor-post__read-more {
    color: #00AEEF !important;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* ── Section Spacing & Backgrounds ───────── */

.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards background for gray sections */
.elementor-section[style*="background-color: rgb(245, 247, 250)"] .elementor-widget-icon-box .elementor-icon-box-wrapper {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
}

/* ── Breadcrumbs ─────────────────────────── */

.elementor-widget-woocommerce-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.elementor-widget-woocommerce-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
}

.elementor-widget-woocommerce-breadcrumb a:hover {
    color: #00AEEF;
}

/* ── Single Product ──────────────────────── */

.elementor-widget-woocommerce-product-title .product_title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #0A1F3F !important;
}

.elementor-widget-woocommerce-product-price .price {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    color: #0A1F3F !important;
}

.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button {
    background: #FF6B00 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    transition: all 250ms ease !important;
}

.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button:hover {
    background: #E55F00 !important;
    transform: translateY(-2px);
}

/* ── Header Styles ───────────────────────── */

.elementor-location-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(10, 31, 63, 0.15);
}

.elementor-location-header .elementor-nav-menu .elementor-item {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    color: #FFFFFF !important;
    padding: 8px 16px !important;
    transition: color 150ms ease !important;
}

.elementor-location-header .elementor-nav-menu .elementor-item:hover,
.elementor-location-header .elementor-nav-menu .elementor-item.elementor-item-active {
    color: #00AEEF !important;
}

/* Mobile hamburger */
.elementor-location-header .elementor-menu-toggle {
    color: #FFFFFF;
}

/* ── Footer Styles ───────────────────────── */

.elementor-location-footer .elementor-icon-list-text {
    font-size: 14px;
}

.elementor-location-footer .elementor-icon-list-item a {
    transition: color 150ms ease;
}

.elementor-location-footer .elementor-icon-list-item a:hover {
    color: #00AEEF !important;
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 1024px) {
    .elementor-widget-slides .elementor-slide-heading {
        font-size: 2.5rem !important;
    }

    .elementor-widget-slides .slick-prev,
    .elementor-widget-slides .slick-next {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-slides .elementor-slides .slick-slide {
        height: 500px !important;
    }

    .elementor-widget-slides .elementor-slide-heading {
        font-size: 1.75rem !important;
    }

    .elementor-widget-slides .elementor-slide-description {
        font-size: 0.9rem !important;
    }

    .elementor-widget-icon-box .elementor-icon-box-wrapper {
        padding: 20px;
    }

    .elementor-widget-counter .elementor-counter-number-wrapper {
        font-size: 36px;
    }

    .elementor-section .elementor-container {
        padding: 0 16px;
    }

    .elementor-location-header .elementor-nav-menu--main {
        display: none;
    }
}

@media (max-width: 480px) {
    .elementor-widget-slides .elementor-slides .slick-slide {
        height: 420px !important;
    }

    .elementor-widget-slides .elementor-slide-heading {
        font-size: 1.5rem !important;
    }

    .elementor-widget-slides .elementor-slide-button {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    .elementor-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* ── WhatsApp Float (keep from custom theme) ── */

.skyair-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 250ms ease;
}

.skyair-whatsapp-float:hover {
    transform: scale(1.1);
}

.skyair-whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #FFFFFF;
}
