/* Modern Enhancements for JerryCards - 2024 */
/* Clean, professional e-commerce styling */

/* ============================================
   MODERN FONTS - Google Fonts
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --color-primary: #1E3A8A;      /* Deep Blue */
    --color-secondary: #F97316;    /* Orange */
    --color-success: #059669;      /* Emerald Green */
    --color-accent: #3B82F6;       /* Bright Blue */
    --color-text: #1F2937;         /* Dark Gray */
    --color-text-muted: #6B7280;   /* Medium Gray */
    --color-bg: #F9FAFB;           /* Light Gray */
    --color-card-border: #E5E7EB;  /* Border Gray */

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.2s ease;
}

/* ============================================
   GLOBAL TYPOGRAPHY
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   MODERN LOGO STYLING
   ============================================ */
.header-bg {
    overflow: visible !important;
    min-height: auto !important;
}

.header-bg .container {
    overflow: visible !important;
}

.menu-margin {
    overflow: visible !important;
}

.logo {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    overflow: visible !important;
    white-space: nowrap;
}

.logo span {
    color: var(--color-secondary) !important;
    font-weight: 800 !important;
}

.logo a {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* ============================================
   MODERN SOCIAL ICONS
   ============================================ */
.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px !important;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--color-card-border);
    transition: var(--transition);
    cursor: pointer;
}

.social-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.social-icon-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Icon specific colors on hover */
.social-icon-link.sms-icon:hover {
    background: linear-gradient(135deg, #059669, #10B981);
}
.social-icon-link.sms-icon:hover svg {
    color: white;
    fill: white;
}

.social-icon-link.email-icon:hover {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}
.social-icon-link.email-icon:hover svg {
    color: white;
    stroke: white;
}

.social-icon-link.facebook-icon:hover {
    background: linear-gradient(135deg, #1877F2, #3B82F6);
}
.social-icon-link.facebook-icon:hover svg {
    color: white;
    fill: white;
}

.social-icon-link.linkedin-icon:hover {
    background: linear-gradient(135deg, #0A66C2, #0EA5E9);
}
.social-icon-link.linkedin-icon:hover svg {
    color: white;
    fill: white;
}

.social-icon-link.twitter-icon:hover {
    background: linear-gradient(135deg, #000000, #333333);
}
.social-icon-link.twitter-icon:hover svg {
    color: white;
    fill: white;
}

.social-icon-link.cart-icon {
    background: linear-gradient(135deg, var(--color-secondary), #FB923C);
    border: none;
    padding: 8px 16px;
    width: auto;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: white;
}

.social-icon-link.cart-icon:hover {
    background: linear-gradient(135deg, #EA580C, var(--color-secondary));
    transform: translateY(-2px);
}

.social-icon-link.cart-icon svg {
    color: white;
    stroke: white;
}

/* ============================================
   HERO BANNER CONTAINER
   ============================================ */
.innerbody-bgs {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-headline {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(1.5em, 4vw, 2em) !important;
    color: var(--color-primary) !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(0.9em, 2vw, 1.05em) !important;
    color: var(--color-text-muted) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px !important;
}

@media screen and (max-width: 991px) {
    .hero-headline {
        font-size: 1.8em !important;
    }
    .hero-subtext {
        font-size: 1em !important;
    }
}

@media screen and (max-width: 775px) {
    .hero-headline {
        font-size: 1.5em !important;
        text-align: center;
    }
    .hero-subtext {
        font-size: 0.95em !important;
        text-align: center;
    }
    .banner-text {
        padding: 25px 20px !important;
    }
}

/* ============================================
   MODERN NAVIGATION
   ============================================ */
.navbar-defaults {
    background: linear-gradient(135deg, #1E3A8A, #2563EB) !important;
    border: none !important;
}

.top-nav {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A) !important;
    border: none !important;
}

.top-menu > li > a {
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.top-menu > li > a:hover {
    background: rgba(255,255,255,0.1) !important;
    border-radius: var(--radius-sm);
}

/* ============================================
   MODERN BUTTONS - Compact side by side
   ============================================ */
.two-button .green,
.two-button .blue {
    display: inline-block;
    padding: 0.35em 1em !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    border-radius: 2em !important;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.two-button .green {
    background: linear-gradient(135deg, #059669, #10B981) !important;
    color: white !important;
}

.two-button .green:hover {
    background: linear-gradient(135deg, #047857, #059669) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.two-button .blue {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6) !important;
    color: white !important;
}

.two-button .blue:hover {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A) !important;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.4);
}

/* ============================================
   MODERN CARDS
   ============================================ */
.each-cards {
    background: white !important;
    border: 2px solid var(--color-card-border) !important;
    border-radius: var(--radius-md) !important;
    transition: var(--transition);
    overflow: hidden;
}

/* Hide zigzag decoration */
.each-cards .top-image {
    display: none !important;
}

/* Ensure buttons are clickable */
.two-button {
    position: relative;
    z-index: 10;
}

.two-button a {
    position: relative;
    z-index: 10;
}


.each-cards:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.each-cards h5 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--color-text) !important;
    margin: 12px 0 8px !important;
}

.each-cards .free {
    font-size: 14px !important;
    color: var(--color-text-muted) !important;
}

.each-cards .free span {
    color: #DC2626 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* ============================================
   MODERN ACCORDION
   ============================================ */
#accordion h3 {
    background: linear-gradient(135deg, #1E3A8A, #2563EB) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    margin: 4px 0 !important;
    padding: 14px 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

#accordion h3:hover {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A) !important;
    transform: translateX(2px);
}

#accordion h3.ui-accordion-header-active {
    background: linear-gradient(135deg, #059669, #10B981) !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

.panel-icon {
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* ============================================
   SIDEBAR - OUR CARDS
   ============================================ */
.our-cards ul {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    border: 1px solid var(--color-card-border) !important;
    box-shadow: var(--shadow-sm);
}

.our-cards li {
    transition: var(--transition);
    border-bottom: 1px solid var(--color-card-border) !important;
}

.our-cards li:hover {
    background: var(--color-bg);
}

.our-cards li a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: var(--color-text) !important;
    transition: var(--transition);
}

.our-cards li a:hover {
    color: var(--color-primary) !important;
}

/* ============================================
   MODERN FOOTER
   ============================================ */
.foo-final {
    background: linear-gradient(135deg, #1E3A8A, #1E40AF) !important;
}

.footer {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.01em;
}

.footer a {
    font-weight: 600 !important;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 0.8;
}

/* ============================================
   REASONS SECTION
   ============================================ */
.reasons-bg {
    background: linear-gradient(135deg, #DBEAFE, #EFF6FF) !important;
}

.reason-to-buy {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
}

#circle, #circle1, #circle2 {
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

#circle:hover, #circle1:hover, #circle2:hover {
    transform: scale(1.05);
}

/* ============================================
   US-UK BANNER
   ============================================ */
.us-uk {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--color-card-border) !important;
    font-family: 'Inter', sans-serif !important;
}

/* ============================================
   MODERN CONTACT BUTTONS
   ============================================ */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-right: 5px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.contact-btn svg {
    flex-shrink: 0;
}

/* WhatsApp - Green */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}
.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: white;
}

/* FaceTime - Gray/Blue */
.facetime-btn {
    background: linear-gradient(135deg, #5856D6, #007AFF);
    color: white;
}
.facetime-btn:hover {
    background: linear-gradient(135deg, #4745B5, #0056B3);
    color: white;
}

/* SMS/Text - Blue */
.sms-btn {
    background: linear-gradient(135deg, #34C759, #30B350);
    color: white;
}
.sms-btn:hover {
    background: linear-gradient(135deg, #28A745, #1E7E34);
    color: white;
}

/* Hide old live-chat styles */
.live-chat {
    display: none !important;
}

/* ============================================
   CLEAN CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 30px;
    text-align: center;
}

.contact-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8em !important;
    color: var(--color-primary) !important;
    margin: 0 0 8px 0 !important;
}

.contact-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.95em !important;
    color: var(--color-text-muted) !important;
    margin: 0 0 25px 0 !important;
}

.contact-buttons-clean {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-phone {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1em !important;
    color: var(--color-text) !important;
    margin: 0 !important;
    letter-spacing: 0.02em;
}

/* Responsive */
@media screen and (max-width: 775px) {
    .contact-buttons {
        justify-content: center;
    }

    .contact-label {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    .contact-btn {
        padding: 12px 20px;
    }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    border: 1px solid var(--color-card-border) !important;
}

.videos1 {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9) !important;
}

.purple {
    font-family: 'Inter', sans-serif !important;
    color: #7C3AED !important;
}

.purple1 {
    font-family: 'Inter', sans-serif !important;
    color: var(--color-primary) !important;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */

/* Large screens */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium screens - tablets */
@media screen and (max-width: 991px) {
    .header-bg .container {
        padding: 10px 15px;
    }

    .logo {
        font-size: 24px !important;
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 6px;
    }

    .social-icon-link {
        width: 34px;
        height: 34px;
    }

    .social-icon-link svg {
        width: 16px;
        height: 16px;
    }

    .social-icon-link.cart-icon {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Fix card grid */
    .each-cards {
        margin-bottom: 20px;
    }

    /* Accordion text */
    #accordion h3 {
        font-size: 13px !important;
        padding: 12px 14px !important;
    }
}

/* Small screens - mobile */
@media screen and (max-width: 775px) {
    /* Header layout */
    .header-bg .col-md-12 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jerry-width {
        width: 100% !important;
        text-align: center;
    }

    .logo {
        font-size: 28px !important;
        padding: 15px 0 !important;
    }

    .logo .iframes {
        display: block;
        margin: 10px auto 0;
    }

    /* Social icons centered */
    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px 0 15px !important;
    }

    .social-icon-link {
        width: 40px;
        height: 40px;
    }

    .social-icon-link svg {
        width: 18px;
        height: 18px;
    }

    .social-icon-link.cart-icon {
        width: auto;
        padding: 10px 18px;
        font-size: 12px;
    }

    /* Cards full width on mobile */
    .col-md-4 {
        padding: 0 10px;
    }

    .each-cards {
        margin-bottom: 15px;
    }

    /* Banner text */
    .banner-text {
        padding: 20px 15px !important;
        font-size: 16px !important;
    }

    /* Sidebar menu */
    .our-cards {
        margin-bottom: 20px;
    }

    .our-cards li a {
        font-size: 13px !important;
    }

    /* Accordion */
    #accordion h3 {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

    /* Reasons section */
    .reason-to-buy {
        font-size: 1.3em !important;
        padding: 15px !important;
    }

    /* Video section */
    .video {
        margin-bottom: 20px;
    }

    .videos1 {
        padding: 15px !important;
    }

    /* Live chat buttons */
    .live-chat {
        text-align: center;
    }

    .whtsapps, .fax, .skype {
        display: inline-block;
        margin: 5px !important;
        padding: 8px 20px !important;
    }
}

/* ============================================
   LANGUAGE FLAGS
   ============================================ */
.lang-flag {
    width: 22px;
    height: 15px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .logo {
    direction: rtl;
}

[dir="rtl"] .social-icons {
    flex-direction: row-reverse;
}

[dir="rtl"] .pull-left {
    float: right !important;
}

[dir="rtl"] .pull-rights {
    float: left !important;
}

[dir="rtl"] .navbar-header .home-ic {
    float: right !important;
}

[dir="rtl"] .contact-buttons-clean {
    flex-direction: row-reverse;
}

[dir="rtl"] #accordion h3:hover {
    transform: translateX(-2px);
}

[dir="rtl"] .reason {
    text-align: right;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .logo {
        font-size: 24px !important;
    }

    .social-icon-link {
        width: 36px;
        height: 36px;
    }

    .social-icon-link.cart-icon {
        padding: 8px 14px;
        font-size: 11px;
    }

    .each-cards h5 {
        font-size: 13px !important;
    }

    .each-cards .free span {
        font-size: 16px !important;
    }

    .two-button .green,
    .two-button .blue {
        padding: 0.3em 0.8em !important;
        font-size: 11px !important;
    }
}
