:root {
    --primary-blue: #0055ff;
    --secondary-blue: #000b4d;
    --accent-light: #4d8fff;
    --text-dark: #1a1a2e;
    --text-white: #ffffff;
    --bg-light: #f5f7fc;
    --card-shadow: 0 10px 30px rgba(0, 11, 77, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --gradient-blue: linear-gradient(135deg, #0055ff 0%, #000b4d 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 2.5rem;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.22;
}

.shape-1 {
    top: -5%;
    right: -5%;
    width: 60%;
    height: 60%;
    background-color: var(--primary-blue);
    animation: bounce 8s infinite ease-in-out;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background-color: var(--secondary-blue);
}

@keyframes bounce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 5%); }
}

.card-container {
    background-color: var(--glass-bg);
    width: 100%;
    max-width: 420px;
    border-radius: 0;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 85, 255, 0.08);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-img-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 12px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 85, 255, 0.18);
    position: relative;
    z-index: 10;
}

.img-accent-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 3px dashed var(--primary-blue);
    animation: rotate 12s linear infinite;
    z-index: 1;
    opacity: 0.5;
}

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

.org-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    color: var(--secondary-blue);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.org-title {
    font-size: 0.88rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.45;
    padding: 0 0.5rem;
}

.org-location {
    font-size: 0.78rem;
    color: #6b6b7a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-light));
    margin: 0 auto;
}

.quick-icons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-btn-circle {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#qcCall { color: var(--primary-blue); }
#qcWa { color: #25D366; }
#qcEmail { color: #f59e0b; }

.icon-btn-circle:hover {
    transform: translateY(-5px);
    color: white !important;
}

#qcCall:hover { background: var(--primary-blue); }
#qcWa:hover { background: #25D366; }
#qcEmail:hover { background: #f59e0b; }

.actions-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 0;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-align: center;
}

.primary-action {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.25);
}

.secondary-action {
    background: #fff;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.accent-action {
    background: rgba(0, 85, 255, 0.08);
    color: var(--primary-blue);
    border: 2px solid rgba(0, 85, 255, 0.25);
}

.action-btn-large:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.web-fb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.action-btn-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 85, 255, 0.1);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-blue);
    text-align: center;
    transition: all 0.3s;
}

.action-btn-small i {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.action-btn-small:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 85, 255, 0.1);
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid rgba(0, 85, 255, 0.08);
    animation: fadeIn 0.8s ease-in;
}

#qrcode {
    min-height: 180px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode canvas,
#qrcode img,
#qrcode svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.qr-loading,
.qr-fallback {
    font-size: 0.8rem;
    color: var(--text-muted, #6b6b7a);
    margin: 0;
}

.qr-hint {
    font-size: 0.75rem;
    color: var(--secondary-blue);
    margin-top: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.card-footer {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
}

.card-footer p {
    font-size: 0.85rem;
    color: #666;
}

.footer-tagline {
    font-size: 0.72rem !important;
    color: #999 !important;
    margin-top: 0.25rem;
}

.brand-accent {
    color: var(--primary-blue);
    font-weight: 800;
}

.dev-badge {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.dev-badge strong {
    color: #888;
    font-weight: 700;
}

.dev-badge:hover {
    color: #ff7800;
    text-shadow: 0 0 12px rgba(255, 120, 0, 0.4);
}

.dev-badge:hover strong {
    color: #ff7800;
}

@media (max-width: 480px) {
    body { padding: 1rem; }
    .card-container { padding: 1.5rem 1.2rem; }
    .org-name { font-size: 1.55rem; }
    .profile-img-wrapper { width: 150px; height: 150px; }
}
