/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-slate-dark: #374559;   /* Primary Dark Slate */
    --color-blue-gray: #6B8AA6;    /* Accent Blue-Gray */
    --color-green: #5A731F;        /* Accent Green */
    --color-white: #FFFFFF;
    --color-offwhite: #F7F9FB;
    
    /* Text Colors */
    --color-text-dark: #1E2733;
    --color-text-body: #3E4B5E;
    --color-text-light: #6A7E97;
    --color-text-white: #FFFFFF;
    
    /* UI States & Focus */
    --color-focus: rgba(90, 115, 31, 0.2);
    
    /* Shadows */
    --shadow-soft: 0 24px 64px rgba(30, 39, 51, 0.06), 0 8px 24px rgba(30, 39, 51, 0.03);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #F7F9FB 0%, #E6EEF4 100%);
    color: var(--color-text-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.25rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide heading visually but keep for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Layout (Card System)
   ========================================================================== */
.card-container {
    width: 100%;
    max-width: 440px;
    perspective: 1000px;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card {
    background: var(--color-white);
    border-radius: 28px;
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(107, 138, 166, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtler background decor mimicking the wave movement */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 138, 166, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   Components
   ========================================================================== */
.logo-wrapper {
    width: 100%;
    max-width: 280px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.logo {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(55, 69, 89, 0.04));
}

.divider {
    width: 40px;
    height: 3px;
    background-color: var(--color-green);
    border-radius: 2px;
    margin-bottom: 2.25rem;
    z-index: 2;
    opacity: 0.8;
}

.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

/* ==========================================================================
   Interactive Links
   ========================================================================== */
.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-slate-dark);
    background-color: var(--color-offwhite);
    border: 1px solid rgba(107, 138, 166, 0.05);
    padding: 1.125rem 1.25rem;
    border-radius: 18px;
    transition: var(--transition-base);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.contact-link:hover {
    background-color: var(--color-white);
    color: var(--color-green);
    border-color: rgba(90, 115, 31, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 69, 89, 0.04);
}

.contact-link:active {
    transform: translateY(0);
}

.contact-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus);
}

/* Icons */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: var(--color-white);
    border-radius: 12px;
    margin-right: 1rem;
    color: var(--color-blue-gray);
    box-shadow: 0 2px 6px rgba(107, 138, 166, 0.06);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.contact-link:hover .icon-wrapper {
    background-color: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(90, 115, 31, 0.2);
}

.icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.25;
}

/* Text Content styling inside links */
.contact-text {
    text-align: left;
    white-space: nowrap;
}

.address-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.35;
}

.address-text .street {
    font-size: 0.95rem;
}

.address-text .city {
    font-size: 0.85rem;
    color: var(--color-text-light);
    transition: var(--transition-base);
}

.contact-link:hover .address-text .city {
    color: rgba(90, 115, 31, 0.8);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive adjustments (Mobile-First)
   ========================================================================== */
@media (max-width: 360px) {
    .card {
        padding: 2.25rem 1.5rem;
        border-radius: 24px;
    }
    
    .logo-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .divider {
        margin-bottom: 1.75rem;
    }
    
    .contact-link {
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
    }
    
    .icon-wrapper {
        width: 34px;
        height: 34px;
        margin-right: 0.75rem;
    }
}
