/*
Theme Name: SWAPIPTV
Theme URI: https://swapiptv.com
Author: SWAPIPTV Team
Author URI: https://swapiptv.com
Description: Premium IPTV streaming service theme.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swapiptv
Tags: iptv, streaming, entertainment, custom-menu
*/
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.6;color:#222;background:#fff;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
h1,h2,h3,h4{color:#111;line-height:1.25}
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #eef0f4}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;max-width:1200px;margin:0 auto}
.logo{display:flex;align-items:center;gap:2px;font-weight:800;font-size:22px;letter-spacing:-0.5px}
.logo .swap{color:#1a2b5f}
.logo .iptv{color:#e63946}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:14px;color:#333;font-weight:500;transition:color .2s}
.nav-links a:hover,.nav-links .current-menu-item a{color:#DD0000}
.menu-toggle{display:none;background:none;border:none;font-size:26px;cursor:pointer;color:#1a2b5f}
.btn-primary{display:inline-block;padding:14px 32px;background:#2563eb;color:#fff;border-radius:8px;font-weight:600;font-size:15px;transition:all .2s;border:none;cursor:pointer;text-align:center}
.btn-primary:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,99,235,.3)}
.btn-outline{display:inline-block;padding:14px 32px;background:#fff;color:#2563eb;border:2px solid #2563eb;border-radius:8px;font-weight:600;font-size:15px;transition:all .2s;cursor:pointer;text-align:center}
.btn-outline:hover{background:#2563eb;color:#fff}
.hero{padding:70px 0 60px;background:#fff}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.hero h1{font-size:clamp(30px,4.2vw,48px);font-weight:800;line-height:1.18;color:#111;margin-bottom:22px}
.hero p{font-size:17px;color:#555;margin-bottom:32px;max-width:540px;line-height:1.7}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap}
.hero-img img{width:100%;border-radius:12px}
.featured{padding:44px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;background:#fafbfc}
.featured-label{text-align:center;font-size:13px;color:#888;margin-bottom:22px;font-style:italic}
.featured-logos{display:flex;align-items:center;justify-content:center;gap:48px;flex-wrap:wrap}
.brand-logo{font-weight:800;font-size:22px;letter-spacing:-0.5px;opacity:.85;transition:opacity .2s}
.brand-logo:hover{opacity:1}
.brand-logo.netflix{color:#e50914;font-size:28px}
.brand-logo.prime{color:#00a8e1;font-size:18px}
.brand-logo.prime span{color:#111}
.brand-logo.bein{color:#7b2d8e;font-style:italic;font-size:20px}
.brand-logo.disney{color:#113ccf;font-size:22px;font-family:Georgia,serif}
.brand-logo.sky{color:#0072c9;font-size:18px}
.brand-logo.sky span{color:#e63946}
.about{padding:70px 0;background:#fff}
.about h2{text-align:center;font-size:clamp(22px,3vw,32px);font-weight:800;color:#111;margin-bottom:28px;letter-spacing:1px;text-transform:uppercase}
.about-box{background:#f4f5f7;border-left:4px solid #2563eb;padding:28px 32px;border-radius:4px;margin-bottom:50px}
.about-box p{color:#444;font-size:15px;line-height:1.7}
.about-box strong{color:#111}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.feature-box{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:36px 28px;text-align:center;transition:all .3s;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.feature-box:hover{transform:translateY(-6px);box-shadow:0 12px 28px rgba(37,99,235,.1);border-color:#2563eb}
.feature-icon{width:72px;height:72px;margin:0 auto 20px;display:flex;align-items:center;justify-content:center;background:#f0f4ff;border-radius:50%}
.feature-icon svg{width:40px;height:40px}
.feature-box h3{font-size:14px;font-weight:800;color:#111;margin-bottom:12px;text-transform:uppercase;letter-spacing:0.8px}
.feature-box p{font-size:14px;color:#666;line-height:1.65}
.pricing{padding:80px 0;background:#fff}
.pricing-head{text-align:center;max-width:700px;margin:0 auto 36px}
.pricing-head h2{font-size:clamp(26px,3.5vw,40px);font-weight:800;color:#111;margin-bottom:12px}
.pricing-head h2 .accent{color:#DD0000}
.pricing-head p{color:#666;font-size:15px;line-height:1.6}
.device-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:32px;flex-wrap:wrap;background:#f4f5f7;padding:6px;border-radius:50px;max-width:560px;margin:0 auto}
.device-tab{padding:12px 22px;border-radius:50px;font-size:14px;font-weight:600;color:#555;cursor:pointer;border:none;background:transparent;transition:all .25s;display:flex;align-items:center;gap:8px}
.device-tab:hover{color:#111}
.device-tab.active{background:#DD0000;color:#fff;box-shadow:0 4px 14px rgba(221,0,0,.35)}
.device-tab .flag{font-size:16px}
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.price-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px 22px;position:relative;transition:all .3s;display:flex;flex-direction:column}
.price-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.08)}
.price-card.featured{border:2px solid #DD0000;background:linear-gradient(180deg,#fff5f5 0%,#fff 30%);box-shadow:0 12px 32px rgba(221,0,0,.15)}
.popular-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#DD0000,#a30000);color:#fff;font-size:11px;font-weight:800;padding:6px 18px;border-radius:50px;letter-spacing:1px;white-space:nowrap;box-shadow:0 4px 12px rgba(221,0,0,.3)}
.price-card .plan{font-size:12px;color:#666;font-weight:700;letter-spacing:1.5px;margin-bottom:10px;text-transform:uppercase;margin-top:8px}
.price-card .price-row{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}
.price-card .price{font-size:40px;font-weight:800;color:#111;line-height:1}
.price-card .price sup{font-size:18px;vertical-align:top;margin-right:2px;color:#555}
.price-card .old-price{font-size:16px;color:#999;text-decoration:line-through;font-weight:500}
.price-card .save-tag{display:inline-block;background:#fef3c7;color:#92400e;font-size:11px;font-weight:700;padding:4px 12px;border-radius:50px;margin:8px 0 18px;width:100%}
.price-card ul{margin-bottom:20px;text-align:left;flex-grow:1}
.price-card li{padding:6px 0;color:#444;font-size:13px;display:flex;align-items:flex-start;gap:8px;line-height:1.4}
.price-card li .ck{color:#DD0000;font-weight:700;flex-shrink:0;font-size:14px}
.price-card .btn-buy{width:100%;padding:13px 20px;font-size:14px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;border-radius:8px;font-weight:700;cursor:pointer;transition:all .2s}
.price-card .btn-buy:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(37,99,235,.3)}
.price-card.featured .btn-buy{background:linear-gradient(135deg,#DD0000,#a30000)}
.price-card.featured .btn-buy:hover{box-shadow:0 8px 20px rgba(221,0,0,.3)}
.price-card.fading{opacity:0;transform:translateY(12px)}
.sports{padding:70px 0;background:#f8f9fb}
.sports-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.sports h2{font-size:clamp(22px,3vw,30px);font-weight:800;color:#111;margin-bottom:16px;line-height:1.3}
.sports p{color:#555;font-size:15px}
.sports-logos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sport-logo{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:18px 12px;text-align:center;font-weight:700;font-size:14px;color:#333;transition:transform .2s}
.sport-logo:hover{transform:translateY(-2px)}
.sport-logo.peacock{color:#0077c8}
.sport-logo.directv{color:#0057b8}
.sport-logo.fubo{color:#e63946}
.sport-logo.nba{color:#c9082a}
.sport-logo.espn{color:#d00}
.testimonials{padding:70px 0;background:#fff}
.testimonials h2{text-align:center;font-size:clamp(24px,3vw,34px);font-weight:800;color:#111;margin-bottom:40px}
.testimonial-slider{position:relative;max-width:1000px;margin:0 auto;overflow:hidden}
.testimonial-track{display:flex;transition:transform .5s ease}
.testimonial-slide{min-width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:0 4px}
.testimonial-slide img{width:100%;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08);transition:transform .3s;background:#f5f5f5;aspect-ratio:2/3;object-fit:cover}
.testimonial-slide img:hover{transform:translateY(-6px)}
.testimonial-dots{display:flex;justify-content:center;gap:8px;margin-top:32px}
.testimonial-dots span{width:10px;height:10px;border-radius:50%;background:#ddd;cursor:pointer;transition:background .2s}
.testimonial-dots span.active{background:#DD0000}
.faq{padding:70px 0;background:#fff}
.faq h2{text-align:center;font-size:clamp(22px,3vw,30px);font-weight:800;color:#111;margin-bottom:36px}
.faq-list{max-width:800px;margin:0 auto;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
.faq-item{border-bottom:1px solid #e5e7eb}
.faq-item:last-child{border-bottom:none}
.faq-q{padding:18px 24px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#111;font-weight:600;font-size:15px;background:#fff;transition:background .2s}
.faq-q:hover{background:#f9fafb}
.faq-q .plus{font-size:22px;color:#2563eb;font-weight:300;transition:transform .3s}
.faq-item.active .faq-q .plus{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;padding:0 24px;color:#555;font-size:14px;line-height:1.7;background:#fff}
.faq-item.active .faq-a{max-height:300px;padding:0 24px 20px}
.site-footer{background:#fff;border-top:1px solid #eef0f4;padding:60px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-col h4{color:#111;font-size:13px;font-weight:700;margin-bottom:16px;text-transform:uppercase;letter-spacing:1px}
.footer-col a{display:block;color:#666;font-size:14px;padding:4px 0;transition:color .2s}
.footer-col a:hover{color:#DD0000}
.footer-about p{color:#666;font-size:13px;margin-top:14px;max-width:320px;line-height:1.6}
.footer-social{display:flex;gap:14px;margin-top:16px}
.footer-social a{width:34px;height:34px;border-radius:50%;background:#f0f2f5;display:flex;align-items:center;justify-content:center;color:#555;font-size:14px;transition:all .2s}
.footer-social a:hover{background:#DD0000;color:#fff}
.footer-bottom{border-top:1px solid #eef0f4;padding-top:20px;text-align:center;color:#999;font-size:13px}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (max-width:1024px){.pricing-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.hero-grid,.sports-grid{grid-template-columns:1fr}.features-grid,.testimonial-slide{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.nav-links{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#fff;padding:20px;gap:16px;border-bottom:1px solid #eef0f4;box-shadow:0 4px 12px rgba(0,0,0,.05)}.nav-links.open{display:flex}.menu-toggle{display:block}.featured-logos{gap:24px}}
@media (max-width:560px){.features-grid,.testimonial-slide,.pricing-grid,.sports-logos{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero{padding:40px 0 30px}section{padding:50px 0}.hero-ctas{flex-direction:column}.btn-primary,.btn-outline{width:100%}.device-tabs{gap:4px;padding:4px}.device-tab{padding:8px 12px;font-size:12px}}
/* ===== PRICING TABLE ===== */
.pricing-section {
    padding: 80px 0 40px;
    background: #fff;
}

.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
}

.pricing-header h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

.pricing-header h2 .accent {
    color: #DD0000;
}

.pricing-header p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.device-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    background: #f4f5f7;
    padding: 6px;
    border-radius: 50px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.device-tab {
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.25s ease;
}

.device-tab:hover {
    color: #111;
}

.device-tab.active {
    background: #DD0000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(221, 0, 0, 0.35);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.price-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
    border: 2px solid #DD0000;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 30%);
    box-shadow: 0 12px 32px rgba(221, 0, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #DD0000, #a30000);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(221, 0, 0, 0.3);
}

.plan-name {
    font-size: 12px;
    color: #666;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 8px 0 10px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 40px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.price-amount sup {
    font-size: 18px;
    vertical-align: top;
    margin-right: 2px;
    color: #555;
}

.price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.save-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin: 8px 0 18px;
}

.features-list {
    margin-bottom: 20px;
    flex-grow: 1;
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 6px 0;
    color: #444;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.features-list li .check {
    color: #DD0000;
    font-weight: 700;
    flex-shrink: 0;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    font-size: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.price-card.featured .buy-btn {
    background: linear-gradient(135deg, #DD0000, #a30000);
}

.price-card.featured .buy-btn:hover {
    box-shadow: 0 8px 20px rgba(221, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CHECKOUT PAGE ===== */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce-checkout #payment {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 24px;
}

.woocommerce-checkout #payment .payment_methods {
    border-bottom: none;
}

.woocommerce-checkout #payment .payment_method {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all .2s;
}

.woocommerce-checkout #payment .payment_method:hover {
    border-color: #2563eb;
}

.woocommerce-checkout #payment .payment_method input[type="radio"] {
    accent-color: #DD0000;
    width: 18px;
    height: 18px;
}

.woocommerce-checkout #payment .payment_box {
    background: #f0f4ff;
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
    color: #555;
    font-size: 13px;
}

.woocommerce-checkout #payment .payment_box::before {
    display: none;
}

.woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #DD0000, #a30000);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
    transition: all .25s;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(221,0,0,.3);
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
}

.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #DD0000;
    box-shadow: 0 0 0 3px rgba(221,0,0,.1);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    border: none;
    padding: 12px 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    border-top: 2px solid #e5e7eb;
    font-weight: 700;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px;
    color: #111;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td {
    font-size: 14px;
}
/* FORCE mobile order - Order summary FIRST, Billing SECOND */
@media (max-width: 900px) {
    .swapiptv-checkout .checkout-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    
    .swapiptv-checkout .billing-col {
        order: 2 !important;
    }
    
    .swapiptv-checkout .order-summary-col {
        order: 1 !important;
    }
}

/* ===== MOBILE RESPONSIVE FIX ===== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Hero section mobile fix */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .hero h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
    }
    
    .hero p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    .hero-img {
        order: -1;
    }
    
    .hero-img img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-ctas {
        flex-direction: column !important;
        width: 100%;
    }
    
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline {
        width: 100% !important;
        text-align: center;
    }
}

/* Sports section mobile fix */
@media (max-width: 768px) {
    .sports-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .sports h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .sports-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .sport-logo {
        padding: 14px 10px !important;
        font-size: 13px !important;
    }
}

/* Features grid mobile fix */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .feature-box {
        padding: 24px 20px !important;
    }
}

/* Pricing grid mobile fix */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .pricing-head h2 {
        font-size: 24px !important;
    }
    
    .device-tabs {
        flex-direction: column !important;
        border-radius: 12px !important;
        padding: 8px !important;
    }
    
    .device-tab {
        width: 100% !important;
        justify-content: center;
    }
}

/* Testimonials mobile fix */
@media (max-width: 768px) {
    .testimonial-slide {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .testimonials h2 {
        font-size: 24px !important;
    }
}

/* FAQ mobile fix */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 24px !important;
    }
    
    .faq-q {
        font-size: 14px !important;
        padding: 14px 16px !important;
    }
}

/* Footer mobile fix */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* General mobile typography */
@media (max-width: 768px) {
    h1, h2, h3, h4 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .container {
        padding: 0 16px !important;
    }
    
    section {
        padding: 40px 0 !important;
    }
    
    .about h2 {
        font-size: 22px !important;
    }
    
    .about-box {
        padding: 20px !important;
    }
}

/* Fix for all images */
@media (max-width: 768px) {
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Fix for buttons on mobile */
@media (max-width: 768px) {
    .btn-primary, .btn-outline {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

/* Prevent text overflow everywhere */
* {
    max-width: 100%;
}

/* Fix for long words */
p, h1, h2, h3, h4, h5, h6, li, a, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}