/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #faf9f6 0%, #2788cc 100%);
    color: #0d1543;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: #0d1543;
    color: #faf9f6;
    box-shadow: 0 2px 8px rgba(13, 21, 67, 0.08);
    position: relative;
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.2rem 2rem;
    position: relative;
}

.header-side {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.header-side--right {
    justify-content: flex-end;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.header-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.header-logo {
    height: 100px;
    display: block;
}

/* Contact Link Styles */
.contact-link {
    color: #2788cc;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s;
}

.contact-link:hover {
    color: #22455e;
    text-decoration: none;
}

/* Waffle Icon Button */
.waffle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 20;
    margin-left: 1.5rem;
}

.waffle-btn:hover, .waffle-btn:focus {
    background: rgba(39, 136, 204, 0.12);
    outline: none;
}

.waffle-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    gap: 5px;
    align-items: center;
    justify-items: center;
    width: max-content;
    height: max-content;
}

.waffle-dot {
    display: block;
    width: 8px;
    height: 8px;
    background: #faf9f6;
    border-radius: 50%;
}

/* Waffle Menu Dropdown */
.waffle-menu {
    display: none;
    position: absolute;
    top: 3.5rem;
    right: 0;
    background: #faf9f6;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(13, 21, 67, 0.18);
    padding: 1.2rem;
    z-index: 100;
    min-width: 260px;
}

.waffle-menu.open {
    display: block;
    animation: fadeIn 0.18s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.waffle-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    gap: 50px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.waffle-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0d1543;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
    border-radius: 0.7rem;
    padding: 0.3rem 0.1rem;
}

.waffle-app:hover {
    background: #f0f7ff;
    color: #2788cc;
}

.waffle-app img {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    margin-bottom: 0.3rem;
    background: #faf9f6;
}

.waffle-app span {
    margin-top: 0.1rem;
    font-size: 0.92rem;
}

/* Main Content Styles */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1rem;
}

section {
    background: #faf9f6;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(39, 136, 204, 0.07);
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

section h2 {
    color: #2788cc;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

section p {
    font-size: 1.15rem;
    color: #0d1543;
    line-height: 1.7;
}

/* Footer Styles */
footer {
    background: #0d1543;
    color: #faf9f6;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: auto;
    box-shadow: 0 -2px 8px rgba(13, 21, 67, 0.08);
}

/* Accent example (add to elements as needed) */
.accent {
    color: #faff12;
    background: #0d1543;
}

/* Responsive Design */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    .header-inner {
        padding: 0.7rem 1rem;
    }

    .header-logo {
        height: 60px;
    }

    section {
        padding: 1.5rem 1rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    .waffle-app img {
        width: 36px;
        height: 36px;
    }
}