/**
 * Taaber Custom CSS
 * Additional styles for Elementor integration
 */

/* ============================================
   ELEMENTOR SECTION STYLES
   ============================================ */

/* Hero Section */
.elementor-section.taaber-hero-section {
    background: linear-gradient(135deg, #2d3e50 0%, #34495e 100%) !important;
    position: relative;
    overflow: hidden;
}

.elementor-section.taaber-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="1440" height="600" fill="url(%23dots)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.elementor-section.taaber-hero-section > .elementor-container {
    position: relative;
    z-index: 2;
}

/* Partners Section */
.elementor-section.taaber-partners-section {
    background-color: #f9f9f9 !important;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.elementor-section.taaber-partners-section .elementor-image img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.elementor-section.taaber-partners-section .elementor-image img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Features Section */
.elementor-section.taaber-features-section {
    background-color: #ffffff !important;
}

/* WhatsApp Features Section */
.elementor-section.taaber-whatsapp-section {
    background-color: #f9f9f9 !important;
}

/* Industries Section */
.elementor-section.taaber-industries-section {
    background-color: #ffffff !important;
}

/* Testimonials Section */
.elementor-section.taaber-testimonials-section {
    background-color: #ffffff !important;
}

/* Pricing Section */
.elementor-section.taaber-pricing-section {
    background-color: #f9f9f9 !important;
}

/* CTA Section */
.elementor-section.taaber-cta-section {
    background: linear-gradient(135deg, #f37721 0%, #d66a1a 100%) !important;
}

/* Footer Section */
.elementor-section.taaber-footer-section {
    background-color: #2d3e50 !important;
}

/* ============================================
   ICON BOX WIDGET STYLES
   ============================================ */
.elementor-widget-icon-box.taaber-feature-box-widget {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.elementor-widget-icon-box.taaber-feature-box-widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.elementor-widget-icon-box.taaber-feature-box-widget .elementor-icon {
    background: linear-gradient(135deg, #f37721 0%, #d66a1a 100%) !important;
    border-radius: 15px !important;
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
}

.elementor-widget-icon-box.taaber-feature-box-widget .elementor-icon i {
    color: #ffffff !important;
    font-size: 32px !important;
}

.elementor-widget-icon-box.taaber-feature-box-widget .elementor-icon svg {
    fill: #ffffff !important;
    width: 40px !important;
    height: 40px !important;
}

/* Small Feature Box */
.elementor-widget-icon-box.taaber-small-feature-box {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.elementor-widget-icon-box.taaber-small-feature-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #f37721;
}

.elementor-widget-icon-box.taaber-small-feature-box .elementor-icon {
    background: linear-gradient(135deg, #f37721 0%, #d66a1a 100%) !important;
    border-radius: 12px !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
}

/* ============================================
   TESTIMONIAL WIDGET STYLES
   ============================================ */
.elementor-widget-testimonial.taaber-testimonial {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.elementor-widget-testimonial.taaber-testimonial:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.elementor-widget-testimonial.taaber-testimonial .elementor-testimonial-image img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
}

/* ============================================
   PRICE TABLE WIDGET STYLES
   ============================================ */
.elementor-widget-price-table.taaber-price-card {
    background-color: #ffffff;
    border-radius: 15px;
    border: 2px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.elementor-widget-price-table.taaber-price-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.elementor-widget-price-table.taaber-price-card.featured {
    border-color: #f37721;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(243, 119, 33, 0.2);
}

.elementor-widget-price-table.taaber-price-card .elementor-price-table__price {
    color: #f37721 !important;
}

/* ============================================
   BUTTON WIDGET STYLES
   ============================================ */
.elementor-widget-button.taaber-btn-primary .elementor-button {
    background-color: #f37721 !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-button.taaber-btn-primary .elementor-button:hover {
    background-color: #d66a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 119, 33, 0.3);
}

.elementor-widget-button.taaber-btn-secondary .elementor-button {
    background-color: transparent !important;
    border: 2px solid #f37721 !important;
    color: #f37721 !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-button.taaber-btn-secondary .elementor-button:hover {
    background-color: #f37721 !important;
    color: #ffffff !important;
}

/* White button for CTA section */
.elementor-widget-button.taaber-btn-white .elementor-button {
    background-color: #ffffff !important;
    color: #f37721 !important;
    border-radius: 25px !important;
}

.elementor-widget-button.taaber-btn-white .elementor-button:hover {
    background-color: #f9f9f9 !important;
}

/* ============================================
   HEADING WIDGET STYLES
   ============================================ */
.elementor-widget-heading.taaber-hero-title .elementor-heading-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.elementor-widget-heading.taaber-hero-subtitle .elementor-heading-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #f37721 !important;
}

.elementor-widget-heading.taaber-section-title .elementor-heading-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #13283d !important;
    text-align: center !important;
}

/* ============================================
   FORM WIDGET STYLES
   ============================================ */
.elementor-widget-form.taaber-cta-form .elementor-field-textual {
    border-radius: 25px !important;
    border: none !important;
    padding: 12px 20px !important;
    font-family: 'Cairo', sans-serif !important;
}

.elementor-widget-form.taaber-cta-form .elementor-button {
    background-color: #ffffff !important;
    color: #f37721 !important;
    border-radius: 25px !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
}

/* ============================================
   IMAGE CAROUSEL STYLES
   ============================================ */
.elementor-widget-image-carousel.taaber-partners-carousel .swiper-slide img {
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.elementor-widget-image-carousel.taaber-partners-carousel .swiper-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   ACCORDION WIDGET STYLES
   ============================================ */
.elementor-widget-accordion.taaber-industry-accordion .elementor-accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}

.elementor-widget-accordion.taaber-industry-accordion .elementor-tab-title {
    padding: 15px 20px !important;
}

.elementor-widget-accordion.taaber-industry-accordion .elementor-tab-title.elementor-active {
    background-color: rgba(243, 119, 33, 0.05);
    border-color: #f37721;
}

/* ============================================
   NAV MENU STYLES
   ============================================ */
.elementor-widget-nav-menu.taaber-main-menu .elementor-nav-menu a {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 500 !important;
    color: #333333 !important;
    transition: color 0.3s ease !important;
}

.elementor-widget-nav-menu.taaber-main-menu .elementor-nav-menu a:hover {
    color: #f37721 !important;
}

/* ============================================
   SOCIAL ICONS STYLES
   ============================================ */
.elementor-widget-social-icons.taaber-social-icons .elementor-social-icon {
    background-color: transparent !important;
    color: #bbb !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-social-icons.taaber-social-icons .elementor-social-icon:hover {
    color: #f37721 !important;
}

/* ============================================
   DIVIDER STYLES
   ============================================ */
.elementor-widget-divider.taaber-footer-divider .elementor-divider-separator {
    border-color: #444 !important;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .elementor-widget-heading.taaber-hero-title .elementor-heading-title {
        font-size: 2.5rem !important;
    }
    
    .elementor-widget-heading.taaber-section-title .elementor-heading-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-heading.taaber-hero-title .elementor-heading-title {
        font-size: 2rem !important;
    }
    
    .elementor-widget-heading.taaber-section-title .elementor-heading-title {
        font-size: 1.8rem !important;
    }
    
    .elementor-widget-price-table.taaber-price-card.featured {
        transform: scale(1);
    }
    
    .elementor-widget-icon-box.taaber-feature-box-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .elementor-widget-heading.taaber-hero-title .elementor-heading-title {
        font-size: 1.5rem !important;
    }
    
    .elementor-widget-heading.taaber-section-title .elementor-heading-title {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.taaber-fade-in {
    opacity: 0;
    animation: taaberFadeIn 0.6s ease forwards;
}

.taaber-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: taaberFadeInUp 0.6s ease forwards;
}

.taaber-fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: taaberFadeInLeft 0.6s ease forwards;
}

.taaber-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: taaberFadeInRight 0.6s ease forwards;
}

@keyframes taaberFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes taaberFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes taaberFadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes taaberFadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Delay classes */
.taaber-delay-100 { animation-delay: 0.1s; }
.taaber-delay-200 { animation-delay: 0.2s; }
.taaber-delay-300 { animation-delay: 0.3s; }
.taaber-delay-400 { animation-delay: 0.4s; }
.taaber-delay-500 { animation-delay: 0.5s; }

/* ============================================
   FEATURES PAGE V2 - ICON BOX STYLES
   ============================================ */

/* Feature Card V2 - Icon Box Widget */
.elementor-widget-icon-box.taaber-feature-card-v2 {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 30px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    height: 100%;
}

.elementor-widget-icon-box.taaber-feature-card-v2:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon {
    background: linear-gradient(135deg, #f37721 0%, #d66a1a 100%) !important;
    border-radius: 12px !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    margin-bottom: 15px !important;
}

.elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon i {
    color: #ffffff !important;
    font-size: 24px !important;
}

.elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon svg {
    fill: #ffffff !important;
    width: 28px !important;
    height: 28px !important;
}

.elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon-box-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #13283d !important;
    margin-bottom: 10px !important;
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

.elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon-box-description {
    font-size: 0.95rem !important;
    color: #606060 !important;
    line-height: 1.8 !important;
    text-align: right !important;
    font-family: 'Cairo', sans-serif !important;
}

/* Features Hero Section */
.elementor-section.taaber-features-hero {
    background: linear-gradient(180deg, #13283d 0%, #1a3a54 100%) !important;
    position: relative;
    overflow: hidden;
}

.elementor-section.taaber-features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="1440" height="600" fill="url(%23dots)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.elementor-section.taaber-features-hero > .elementor-container {
    position: relative;
    z-index: 2;
}

/* Features Sidebar */
.elementor-section.taaber-features-sidebar,
.elementor-inner-section.taaber-features-sidebar {
    background-color: #f37721 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    position: relative;
}

.elementor-section.taaber-features-sidebar::after,
.elementor-inner-section.taaber-features-sidebar::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -5px;
    width: 3px;
    height: 210px;
    background-color: #ffffff;
    border-radius: 2px;
    opacity: 0.8;
}

/* Features CTA Section */
.elementor-section.taaber-features-cta {
    background: linear-gradient(135deg, #13283d 0%, #1a3a54 100%) !important;
    position: relative;
    overflow: hidden;
}

.elementor-section.taaber-features-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 250px,
        rgba(255,255,255,0.05) 251px,
        rgba(255,255,255,0.05) 252px
    );
    pointer-events: none;
    z-index: 1;
}

.elementor-section.taaber-features-cta > .elementor-container {
    position: relative;
    z-index: 2;
}

/* WhatsApp CTA Button */
.elementor-widget-button.taaber-whatsapp-cta-btn .elementor-button {
    background: linear-gradient(15deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.elementor-widget-button.taaber-whatsapp-cta-btn .elementor-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}

/* Features Page Responsive */
@media (max-width: 1024px) {
    .elementor-widget-icon-box.taaber-feature-card-v2 {
        padding: 25px !important;
    }
}

@media (max-width: 768px) {
    .elementor-widget-icon-box.taaber-feature-card-v2 {
        padding: 20px !important;
    }
    
    .elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon {
        width: 50px !important;
        height: 50px !important;
        line-height: 50px !important;
    }
    
    .elementor-widget-icon-box.taaber-feature-card-v2 .elementor-icon i {
        font-size: 20px !important;
    }
}
