:root {
    --accent: #281474;
    --sub-accent: #6A5ACD;
    --color-1: #DC1077;
    --color-2: #D8261D;
    --color-3: #008080;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --brand-fb: #4267B2;
    --brand-ig-gradient: linear-gradient(45deg, #405de6, #833ab4, #c13584, #e1306c, #fd1d1d);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url(../img/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* "Flag Unfurling" Animation - Updated for Wrapping */
.title-container {
    overflow: hidden;
    /* Increased height to comfortably fit 2-3 lines */
    height: 4rem;
    margin-bottom: 0.5rem;
}

h1 {
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1.2;
    transform-origin: left;
    animation: unfurl 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: block;
    /* Changed to block to respect width constraints */
    width: 100%;
    /* Ensures it fills the container width */
    text-align: center;
    word-wrap: break-word;
    /* Allows text to wrap */
}

@keyframes unfurl {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    50% {
        transform: scaleX(1.05);
        opacity: 0.5;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.sub {
    color: #4b5563;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-list {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #1f2937;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-item:hover,
.contact-item:active {
    background: rgba(255, 255, 255, 0.5);
}

.contact-item:active {
    transform: scale(0.98);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.map-icon {
    color: var(--sub-accent);
}

.email-icon {
    color: var(--color-1);
}

.phone-icon {
    color: var(--color-3);
}

.label {
    display: block;
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 700;
}

.social-btns {
    display: flex;
    gap: 16px;
}

.btn {
    flex: 1;
    padding: 12px;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.95);
}

.fb {
    background: var(--brand-fb);
}

.ig {
    background: var(--brand-ig-gradient);
}