/* ============================================
   AGRISKY - Ultra Compact Premium Design
   ============================================ */

:root {
    --dark-green: #021e14;
    --dark-green-deep: #010f0a;
    --gold: #b4a07d;
    --gold-light: #c9b896;
    --gold-dark: #9d8865;
    --white: #e8e8e8;
    --cream: #d4ccc0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    width: 100vw;
    overflow: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    background:
        radial-gradient(circle at 30% 40%, rgba(2, 30, 20, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(2, 30, 20, 0.6) 0%, transparent 45%),
        linear-gradient(135deg, var(--dark-green-deep) 0%, var(--dark-green) 40%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(157, 136, 101, 0.06), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(157, 136, 101, 0.04), transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(157, 136, 101, 0.02), transparent 60%);
    animation: ambientPulse 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ambientPulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Language Switcher - Expanding Circles */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-toggle {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(2, 30, 20, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(157, 136, 101, 0.4);
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(157, 136, 101, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.lang-toggle:hover {
    background: rgba(157, 136, 101, 0.25);
    transform: scale(1.1);
    box-shadow:
        0 12px 40px rgba(157, 136, 101, 0.4),
        inset 0 1px 0 rgba(157, 136, 101, 0.3);
    border-color: rgba(157, 136, 101, 0.6);
}

.lang-circles {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0;
    pointer-events: none;
}

.lang-circle {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(2, 30, 20, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(157, 136, 101, 0.4);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(157, 136, 101, 0.2);
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.lang-circles.show .lang-circle {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.lang-circles.show .lang-circle:nth-child(1) {
    animation: expandCircle1 0.4s ease-out forwards;
}

.lang-circles.show .lang-circle:nth-child(2) {
    animation: expandCircle2 0.4s ease-out 0.05s forwards;
}

.lang-circles.show .lang-circle:nth-child(3) {
    animation: expandCircle3 0.4s ease-out 0.1s forwards;
}

@keyframes expandCircle1 {
    to {
        transform: translateY(48px) scale(1);
    }
}

@keyframes expandCircle2 {
    to {
        transform: translateY(96px) scale(1);
    }
}

@keyframes expandCircle3 {
    to {
        transform: translateY(144px) scale(1);
    }
}

.lang-circle:hover {
    background: rgba(157, 136, 101, 0.25);
    transform: translateY(var(--ty)) scale(1.12) !important;
    box-shadow:
        0 12px 40px rgba(157, 136, 101, 0.5),
        inset 0 1px 0 rgba(157, 136, 101, 0.3);
    border-color: rgba(157, 136, 101, 0.6);
}

.lang-circle:nth-child(1):hover {
    --ty: 48px;
}

.lang-circle:nth-child(2):hover {
    --ty: 96px;
}

.lang-circle:nth-child(3):hover {
    --ty: 144px;
}

.lang-circle.active {
    background: linear-gradient(135deg, var(--gold) 0%, #a08865 100%);
    color: var(--dark-green);
    box-shadow:
        0 8px 32px rgba(157, 136, 101, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(157, 136, 101, 0.8);
}

/* Card Container */
.card-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 env(safe-area-inset-bottom, 0) 0;
    overflow: hidden;
}

.business-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(135deg, rgba(2, 30, 20, 0.95) 0%, rgba(2, 30, 20, 0.97) 50%, rgba(1, 15, 10, 0.98) 100%);
    backdrop-filter: blur(60px) saturate(110%);
    overflow: hidden;
    border: 1px solid rgba(180, 160, 125, 0.2);
    box-shadow:
        inset 0 1px 3px rgba(180, 160, 125, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

.business-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(180, 160, 125, 0.12);
    pointer-events: none;
}

/* Header - Ultra Compact */
.card-header {
    padding: 28px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(180, 160, 125, 0.25);
    background:
        linear-gradient(180deg, rgba(180, 160, 125, 0.12) 0%, rgba(180, 160, 125, 0.06) 40%, rgba(180, 160, 125, 0.03) 70%, transparent 100%);
    flex-shrink: 0;
    position: relative;
    box-shadow:
        0 3px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(180, 160, 125, 0.1);
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 160, 125, 0.25), transparent);
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(180, 160, 125, 0.3) 20%, rgba(180, 160, 125, 0.5) 50%, rgba(180, 160, 125, 0.3) 80%, transparent 100%);
    box-shadow: 0 0 12px rgba(180, 160, 125, 0.45);
}

.logo-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    background:
        radial-gradient(circle at 30% 30%, rgba(180, 160, 125, 0.25), rgba(180, 160, 125, 0.15) 50%, rgba(180, 160, 125, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 2px solid rgba(180, 160, 125, 0.55);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(180, 160, 125, 0.25),
        0 0 0 4px rgba(180, 160, 125, 0.12),
        inset 0 2px 6px rgba(180, 160, 125, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    animation: logoGlow 8s ease-in-out infinite;
    position: relative;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(180, 160, 125, 0.5) 0%, transparent 30%, rgba(180, 160, 125, 0.3) 60%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes logoGlow {

    0%,
    100% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(180, 160, 125, 0.25),
            0 0 0 4px rgba(180, 160, 125, 0.12),
            inset 0 2px 6px rgba(180, 160, 125, 0.25),
            inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow:
            0 12px 45px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(180, 160, 125, 0.35),
            0 0 0 5px rgba(180, 160, 125, 0.18),
            0 0 30px rgba(180, 160, 125, 0.45),
            inset 0 2px 8px rgba(180, 160, 125, 0.3),
            inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    }
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg,
        #9d8865 0%,
        var(--gold-light) 15%,
        #a89876 30%,
        var(--gold) 50%,
        #a89876 70%,
        var(--gold-light) 85%,
        #9d8865 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 10px rgba(180, 160, 125, 0.5));
    position: relative;
    text-transform: uppercase;
}

.brand-name::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(180, 160, 125, 0.2), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px auto 14px;
    position: relative;
}

.divider .line {
    width: 50px;
    height: 2px;
    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(180, 160, 125, 0.3) 20%,
            var(--gold) 50%,
            rgba(180, 160, 125, 0.3) 80%,
            transparent 100%);
    box-shadow:
        0 0 8px rgba(180, 160, 125, 0.45),
        0 1px 3px rgba(180, 160, 125, 0.3);
    position: relative;
}

.divider .line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(180, 160, 125, 0.25), transparent);
    transform: translateY(-0.5px);
}

.divider i {
    color: var(--gold);
    font-size: 14px;
    filter:
        drop-shadow(0 0 8px rgba(180, 160, 125, 0.6))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
    animation: leafPulse 4s ease-in-out infinite;
    position: relative;
}

@keyframes leafPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.slogan {
    font-size: 14px;
    color: rgba(180, 160, 125, 0.9);
    line-height: 1.6;
    font-weight: 500;
    text-shadow:
        0 2px 10px rgba(180, 160, 125, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.8px;
    font-style: italic;
}

/* Card Body - Compact with scroll */
.card-body {
    flex: 1;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* Scrollbar styling */
.card-body::-webkit-scrollbar {
    width: 5px;
}

.card-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: rgba(180, 160, 125, 0.9);
}

/* Contact Items - Compact */
.website-item,
.phone-item {
    background:
        linear-gradient(135deg, rgba(180, 160, 125, 0.14) 0%, rgba(180, 160, 125, 0.09) 50%, rgba(180, 160, 125, 0.05) 100%);
    backdrop-filter: blur(35px) saturate(120%);
    border: 1px solid rgba(180, 160, 125, 0.28);
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(180, 160, 125, 0.12),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    position: relative;
}

.website-item::before,
.phone-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(180, 160, 125, 0.25), transparent 50%, rgba(180, 160, 125, 0.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.35;
}

.website-item:hover,
.phone-item:hover {
    background:
        linear-gradient(135deg, rgba(180, 160, 125, 0.22) 0%, rgba(180, 160, 125, 0.15) 50%, rgba(180, 160, 125, 0.1) 100%);
    border-color: rgba(180, 160, 125, 0.45);
    transform: translateY(-4px) scale(1.015);
    box-shadow:
        0 14px 50px rgba(180, 160, 125, 0.3),
        0 0 20px rgba(180, 160, 125, 0.18),
        inset 0 2px 5px rgba(180, 160, 125, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
}

.contact-row .contact-item {
    background:
        linear-gradient(135deg, rgba(180, 160, 125, 0.12) 0%, rgba(180, 160, 125, 0.08) 50%, rgba(180, 160, 125, 0.05) 100%);
    backdrop-filter: blur(35px) saturate(120%);
    border: 1px solid rgba(180, 160, 125, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(180, 160, 125, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    position: relative;
}

.contact-row .contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(180, 160, 125, 0.22), transparent 50%, rgba(180, 160, 125, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
}

.contact-row .contact-item:hover {
    background:
        linear-gradient(135deg, rgba(180, 160, 125, 0.18) 0%, rgba(180, 160, 125, 0.13) 50%, rgba(180, 160, 125, 0.08) 100%);
    border-color: rgba(180, 160, 125, 0.42);
    transform: translateY(-4px) scale(1.015);
    box-shadow:
        0 14px 50px rgba(180, 160, 125, 0.28),
        0 0 18px rgba(180, 160, 125, 0.15),
        inset 0 2px 5px rgba(180, 160, 125, 0.18),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Make entire card clickable */
.contact-link {
    text-decoration: none;
    cursor: pointer;
}

.contact-link .value {
    pointer-events: none;
}

.icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background:
        linear-gradient(135deg, #b4a07d 0%, #a89876 25%, #9d8865 50%, #8a7960 75%, #776a55 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    font-size: 20px;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.8),
        0 3px 12px rgba(0, 0, 0, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(180, 160, 125, 0.3);
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 40%, rgba(255, 255, 255, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.contact-item:hover .icon-box {
    transform: scale(1.05) rotate(5deg);
    box-shadow:
        0 8px 30px rgba(180, 160, 125, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.7),
        inset 0 2px 5px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(180, 160, 125, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.value {
    font-size: 14px;
    font-weight: 600;
    color: rgba(232, 232, 232, 0.95);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    word-break: break-word;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

.value:hover,
.contact-link:hover .value {
    color: rgba(180, 154, 122, 1);
    text-shadow:
        0 0 12px rgba(157, 136, 101, 0.45),
        0 0 6px rgba(157, 136, 101, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.8);
    transform: translateX(3px);
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background:
        linear-gradient(135deg, rgba(2, 30, 20, 0.6) 0%, rgba(2, 30, 20, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(120%);
    border: 1px solid rgba(180, 160, 125, 0.22);
    border-radius: 14px;
    text-decoration: none;
    color: rgba(232, 232, 232, 0.9);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.7),
        inset 0 1px 3px rgba(180, 160, 125, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    justify-content: center;
    position: relative;
}

.phone-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(180, 160, 125, 0.18), transparent 60%, rgba(180, 160, 125, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.25;
}

.phone-link:hover {
    background:
        linear-gradient(135deg, rgba(180, 160, 125, 0.25) 0%, rgba(180, 160, 125, 0.18) 100%);
    border-color: rgba(180, 160, 125, 0.4);
    transform: translateX(5px) scale(1.025);
    box-shadow:
        0 8px 30px rgba(180, 160, 125, 0.32),
        0 0 15px rgba(180, 160, 125, 0.15),
        inset 0 2px 5px rgba(180, 160, 125, 0.18),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.phone-link .flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.75),
        0 2px 7px rgba(0, 0, 0, 0.55),
        inset 0 1px 2px rgba(255, 255, 255, 0.25);
    border: 2.5px solid rgba(180, 160, 125, 0.75);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.phone-link:hover .flag {
    transform: scale(1.1);
    border-color: rgba(180, 160, 125, 0.95);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.85),
        0 3px 9px rgba(0, 0, 0, 0.65),
        inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .phone-link {
    direction: ltr;
}

/* Card Footer - Compact */
.card-footer {
    padding: 20px 24px 22px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 14px;
    border-top: 1px solid rgba(180, 160, 125, 0.28);
    background:
        linear-gradient(0deg, rgba(180, 160, 125, 0.1) 0%, rgba(180, 160, 125, 0.05) 50%, transparent 100%);
    flex-shrink: 0;
    box-shadow:
        0 -4px 35px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(180, 160, 125, 0.1);
    position: relative;
}

.card-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(180, 160, 125, 0.3) 20%, rgba(180, 160, 125, 0.5) 50%, rgba(180, 160, 125, 0.3) 80%, transparent 100%);
    box-shadow: 0 0 10px rgba(180, 160, 125, 0.4);
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
}

.btn:hover::before {
    opacity: 1;
}

.btn-whatsapp {
    background:
        linear-gradient(135deg, #1F8E4A 0%, #1A7D40 20%, #166C36 50%, #125B2D 75%, #0E4A24 100%);
    color: rgba(232, 232, 232, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.7),
        0 3px 12px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(157, 136, 101, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 10px 35px rgba(31, 142, 74, 0.35),
        0 5px 18px rgba(0, 0, 0, 0.6),
        inset 0 2px 5px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.btn-save {
    background:
        linear-gradient(135deg, #b4a07d 0%, #a89876 20%, #9d8865 40%, #8a7960 60%, #776a55 80%, #655b4a 100%);
    color: var(--dark-green);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.7),
        0 3px 12px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(180, 160, 125, 0.4);
}

.btn-save:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 10px 35px rgba(180, 160, 125, 0.5),
        0 5px 18px rgba(0, 0, 0, 0.6),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.btn i {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Desktop Layout */
@media (min-width: 900px) {
    .lang-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lang-circle {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    @keyframes expandCircle1 {
        to {
            transform: translateY(52px) scale(1);
        }
    }

    @keyframes expandCircle2 {
        to {
            transform: translateY(104px) scale(1);
        }
    }

    @keyframes expandCircle3 {
        to {
            transform: translateY(156px) scale(1);
        }
    }

    .lang-circle:nth-child(1):hover {
        --ty: 52px;
    }

    .lang-circle:nth-child(2):hover {
        --ty: 104px;
    }

    .lang-circle:nth-child(3):hover {
        --ty: 156px;
    }

    .card-container {
        padding: 20px;
    }

    .business-card {
        width: auto;
        max-width: 1400px;
        height: auto;
        max-height: calc(100vh - 40px);
        display: grid;
        grid-template-columns: 340px 1fr;
        grid-template-rows: 1fr auto;
        border-radius: 24px;
        box-shadow:
            0 18px 60px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(180, 160, 125, 0.22);
        border: 1px solid rgba(180, 160, 125, 0.2);
    }

    .card-header {
        grid-column: 1;
        grid-row: 1 / -1;
        border-bottom: none;
        border-right: 1px solid rgba(180, 160, 125, 0.25);
        padding: 30px 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(135deg, rgba(180, 160, 125, 0.1) 0%, transparent 50%, rgba(180, 160, 125, 0.05) 100%);
    }

    .logo-wrapper {
        width: 85px;
        height: 85px;
        margin-bottom: 15px;
        padding: 12px;
    }

    .brand-name {
        font-size: 32px;
        letter-spacing: 7px;
        margin-bottom: 10px;
    }

    .divider {
        margin: 14px auto;
    }

    .divider .line {
        width: 45px;
    }

    .divider i {
        font-size: 11px;
    }

    .slogan {
        font-size: 13px;
    }

    .card-body {
        grid-column: 2;
        grid-row: 1;
        padding: 30px 38px;
        gap: 12px;
    }

    .website-item,
    .phone-item {
        padding: 15px 18px;
    }

    .contact-row {
        gap: 12px;
    }

    .contact-row .contact-item {
        padding: 15px 18px;
    }

    .icon-box {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .label {
        font-size: 9px;
    }

    .value {
        font-size: 13px;
    }

    .phone-link {
        padding: 9px 12px;
        font-size: 12px;
    }

    .phone-link .flag {
        width: 20px;
        height: 20px;
    }

    .card-footer {
        grid-column: 2;
        grid-row: 2;
        padding: 18px 38px 24px;
        gap: 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .btn i {
        font-size: 15px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
    .business-card {
        max-width: 1500px;
        grid-template-columns: 360px 1fr;
    }

    .card-body {
        padding: 38px 50px;
        gap: 14px;
    }

    .website-item,
    .phone-item {
        padding: 17px 20px;
    }

    .contact-row {
        gap: 14px;
    }

    .contact-row .contact-item {
        padding: 17px 20px;
    }

    .card-footer {
        padding: 20px 50px 28px;
    }
}

/* Tablet */
@media (min-width: 600px) and (max-width: 899px) {
    .card-container {
        padding: 12px;
    }

    .business-card {
        border-radius: 18px;
        box-shadow:
            0 12px 45px rgba(0, 0, 0, 0.85),
            0 0 0 1px rgba(180, 160, 125, 0.22);
        border: 1px solid rgba(180, 160, 125, 0.2);
        max-height: calc(100vh - 24px);
    }

    .card-header {
        padding: 20px 22px 14px;
    }

    .logo-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .brand-name {
        font-size: 24px;
        letter-spacing: 6px;
    }

    .card-body {
        padding: 15px 22px;
        gap: 9px;
    }

    .website-item,
    .phone-item {
        padding: 11px 14px;
    }

    .contact-row .contact-item {
        padding: 11px 14px;
    }

    .card-footer {
        padding: 12px 22px 16px;
    }
}

/* Small Mobile */
@media (max-width: 599px) {
    .lang-switcher {
        top: 12px;
        right: 12px;
    }

    .lang-toggle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .lang-circle {
        width: 30px;
        height: 30px;
        font-size: 9px;
    }

    @keyframes expandCircle1 {
        to {
            transform: translateY(38px) scale(1);
        }
    }

    @keyframes expandCircle2 {
        to {
            transform: translateY(76px) scale(1);
        }
    }

    @keyframes expandCircle3 {
        to {
            transform: translateY(114px) scale(1);
        }
    }

    .lang-circle:nth-child(1):hover {
        --ty: 38px;
    }

    .lang-circle:nth-child(2):hover {
        --ty: 76px;
    }

    .lang-circle:nth-child(3):hover {
        --ty: 114px;
    }

    .card-header {
        padding: 20px 18px 18px;
    }

    .logo-wrapper {
        width: 65px;
        height: 65px;
        padding: 11px;
        margin-bottom: 10px;
    }

    .brand-name {
        font-size: 22px;
        letter-spacing: 6px;
        margin-bottom: 8px;
    }

    .divider {
        gap: 10px;
        margin: 10px auto 12px;
    }

    .divider .line {
        width: 40px;
    }

    .divider i {
        font-size: 12px;
    }

    .slogan {
        font-size: 12px;
    }

    .card-body {
        padding: 16px 18px;
        gap: 10px;
    }

    .website-item,
    .phone-item {
        padding: 12px 14px;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-row .contact-item {
        padding: 12px 14px;
    }

    .icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 17px;
        border-radius: 12px;
    }

    .label {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .value {
        font-size: 12px;
    }

    .phone-list {
        gap: 8px;
    }

    .phone-link {
        padding: 11px 13px;
        font-size: 11px;
        gap: 10px;
    }

    .phone-link .flag {
        width: 18px;
        height: 18px;
        border: 2px solid rgba(201, 184, 150, 0.7);
    }

    .card-footer {
        padding: 16px 18px 18px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .btn {
        padding: 12px;
        font-size: 11px;
        gap: 7px;
        border-radius: 14px;
    }

    .btn i {
        font-size: 15px;
    }
}

/* RTL Support */
@media (min-width: 900px) {
    [dir="rtl"] .card-header {
        border-right: none;
        border-left: 1px solid rgba(157, 136, 101, 0.22);
    }
}