:root {
    --accent: #004974;
    --accent-rgb: 0, 73, 116;
    --sub-accent: #0079c1;
    --sub-accent-rgb: 0, 121, 193;
    --color-1: #e65100;
    --color-2: #fbc02d;
    --color-3: #007c53;
    --content-bg: #f4f7f6;
    --card-bg: #ffffff;
    --text-dark: #222222;
    --text-light: #ffffff;
    --transition-smooth: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg), var(--content-bg));
    color: var(--text-dark);
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    background: var(--content-bg);
    background-image: url(../img/grid.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        margin: auto;
        height: 94vh;
    }
}

.header-section {
    background: linear-gradient(145deg, rgb(0, 31, 60), var(--accent), rgb(0, 31, 60));
    color: var(--text-light);
    padding: 2.2rem 1rem 3.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}

.header-section::after {
    content: '';
    position: absolute;
    bottom: 16%;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--sub-accent), transparent);
    box-shadow: 0 0 12px var(--sub-accent);
    opacity: 0.8;
}

.logo-circle {
    width: 90px;
    height: 90px;
    padding: 3px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--sub-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.75rem;
    overflow: hidden;
    position: relative;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
}

.logo-fallback {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.header-section h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    -webkit-overflow-scrolling: touch;
}

.info-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.info-card:hover,
.info-card:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.08);
    border-color: rgba(var(--sub-accent-rgb), 0.3);
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.icon-address {
    background: var(--sub-accent);
}

.icon-phone {
    background: #e65100;
}

.icon-email {
    background: #fbc02d;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-details h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-details p,
.card-details a {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.35;
    font-weight: 500;
    word-break: break-word;
    transition: var(--transition-smooth);
}

.card-details a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.dot-grid {
    position: absolute;
    right: 12px;
    top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 4px);
    gap: 4px;
    opacity: 0.25;
    pointer-events: none;
}

.dot-grid span {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 50%;
}

.social-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 0.9rem 1.15rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.social-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons-row {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #cc0000, #ff1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(204, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-btn:hover,
.social-btn:active {
    transform: scale(1.08);
}