/* =========================
   Wiracenter — Professional Blue Theme
   Clean, Solid, Consistent
   ========================= */

/* Page base */
body {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s ease;
    position: relative;
}

/* Subtle animated background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.12), 0 4px 16px rgba(59, 130, 246, 0.08);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeIn 1.2s ease;
    position: relative;
    z-index: 1;
}

/* =========================
   STICKY LANGUAGE SWITCHER
   ========================= */
.lang-switcher-wrapper {
    width: 100%;
    text-align: right;
    margin-bottom: 8px;
}

#lang-switch {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    font-size: 0.95rem;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

#lang-switch:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

#lang-switch:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* =========================
   PROFILE IMAGE WITH PULSE
   ========================= */
.profile-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    margin-top: 0;
    border: 3px solid #1e40af;
    background: #f1f5f9;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2), 0 0 0 0 rgba(59, 130, 246, 0.3);
    animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2), 0 0 0 0 rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 28px rgba(30, 64, 175, 0.3), 0 0 0 8px rgba(59, 130, 246, 0.08);
        transform: scale(1.02);
    }
}

/* Headings & description */
.container h1 {
    font-size: 2.1rem;
    margin: 0 0 8px 0;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 1px;
}

.desc {
    color: #475569;
    margin-bottom: 16px;
    font-size: 1.08rem;
    line-height: 1.5;
    text-align: center;
}

/* =========================
   FEATURED SECTION
   ========================= */
.featured-section {
    width: 100%;
    max-width: 380px;
    margin: 8px 0 20px 0;
    position: relative;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.featured-badge i {
    font-size: 0.9rem;
}

.featured-link {
    display: grid;
    grid-template-columns: 50px 1fr 24px;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 24px rgba(30, 64, 175, 0.25), 0 2px 8px rgba(30, 58, 138, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.featured-link:hover::before {
    left: 100%;
}

.featured-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(30, 64, 175, 0.35), 0 4px 12px rgba(30, 58, 138, 0.25);
}

.featured-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.featured-content {
    flex: 1;
}

.featured-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #fff;
}

.featured-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.featured-arrow {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s;
}

.featured-link:hover .featured-arrow {
    transform: translateX(4px);
}

/* =========================
   SOCIAL LINKS GRID (2x3)
   ========================= */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-bottom: 16px;
}

.grid-link {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    padding: 16px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-link i {
    font-size: 1.8rem;
    color: #1e40af;
    transition: all 0.25s ease;
}

.grid-link span {
    color: #334155;
    font-size: 0.9rem;
}

.grid-link:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-color: #1e40af;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.25), 0 4px 12px rgba(30, 58, 138, 0.15);
}

.grid-link:hover i,
.grid-link:hover span {
    color: #fff;
}

/* Specific icon adjustments - Keep brand colors */
.grid-link .fa-linkedin-in {
    color: #0077b5;
}

.grid-link .fa-blog {
    color: #1e40af;
}

.grid-link .fa-instagram {
    color: #e4405f;
}

.grid-link .fa-threads {
    color: #000;
}

.grid-link .fa-whatsapp {
    color: #25d366;
}

.grid-link .fa-envelope {
    color: #ea4335;
}

.grid-link:hover .fa-linkedin-in,
.grid-link:hover .fa-blog,
.grid-link:hover .fa-instagram,
.grid-link:hover .fa-threads,
.grid-link:hover .fa-whatsapp,
.grid-link:hover .fa-envelope {
    color: #fff;
}

/* =========================
   FEATURE LIST (About Section)
   ========================= */
.feature-list {
    width: 100%;
    max-width: 420px;
    margin: 16px auto 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    background: #f3f4f6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.06);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 14px 18px;
    transition: background 0.2s, box-shadow 0.2s;
    gap: 12px;
}

.feature-item:hover {
    background: #dbeafe;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.12);
}

.feature-item i {
    font-size: 1.5em;
    color: #1e40af;
    transition: transform 0.2s, color 0.2s;
}

.feature-item:hover i {
    color: #1e3a8a;
    transform: scale(1.15);
}

.feature-title {
    font-weight: 700;
    color: #1e3a8a;
    font-size: 1.08em;
    margin-bottom: 2px;
}

.feature-desc {
    color: #334155;
    font-size: 1em;
    margin: 0;
}

/* Bio / other content */
.bio {
    width: 100%;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0;
}

.bio ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: left;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.bio ul li {
    margin-bottom: 14px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.bio ul li i {
    font-size: 1.15em;
    color: #1e40af;
    min-width: 28px;
    text-align: left;
    margin-top: 2px;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 32px;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 500px) {
    .container {
        max-width: 96vw;
        padding: 24px 16px 16px 16px;
        border-radius: 12px;
    }

    .profile-img {
        width: 90px;
        height: 90px;
    }

    .container h1 {
        font-size: 1.8rem;
    }

    .desc {
        font-size: 1rem;
    }

    /* Featured Section Mobile */
    .featured-section {
        max-width: 100%;
    }

    .featured-link {
        grid-template-columns: 44px 1fr 20px;
        padding: 14px 16px;
        gap: 12px;
    }

    .featured-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .featured-title {
        font-size: 1rem;
    }

    .featured-desc {
        font-size: 0.85rem;
    }

    /* Grid Links Mobile */
    .links-grid {
        max-width: 100%;
        gap: 10px;
    }

    .grid-link {
        padding: 14px 10px;
        font-size: 0.88rem;
    }

    .grid-link i {
        font-size: 1.6rem;
    }

    .grid-link span {
        font-size: 0.85rem;
    }

    /* Feature List Mobile */
    .feature-list {
        max-width: 100%;
        gap: 12px;
    }

    .feature-item {
        grid-template-columns: 36px 1fr;
        padding: 12px 14px;
    }

    .feature-item i {
        font-size: 1.3em;
    }

    .feature-title {
        font-size: 1em;
    }

    .feature-desc {
        font-size: 0.92em;
    }

    .bio ul {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 20px 12px 12px 12px;
    }

    .links-grid {
        gap: 8px;
    }

    .grid-link {
        padding: 12px 8px;
    }

    .featured-link {
        padding: 12px 14px;
    }
}