/* =========================
   BASE / GLOBAL STYLES
   ========================= */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    color: #333;
    line-height: 1.5;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Sections */
section {
    padding: 20px 20px;
    max-width: 1000px;
    margin: auto;
}

.section-title {
    font-size: 1.8em;
    margin: 0 0 10px 0;
    color: #1f2933;
}

/* App grid */
.apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* App cards */
.app-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.app-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-card-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #0f172a;
}

/* 3-dot menu */
.menu-wrapper {
    position: relative;
}

.menu-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    font-size: 1.4em;
    cursor: pointer;
    color: #555;
}

.menu-btn:hover {
    color: #000;
}

.menu-popup {
    display: none;
    position: absolute;
    right: 0;
    top: 28px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 100;
}

.menu-popup a {
    display: block;
    padding: 10px 14px;
    color: #333;
    white-space: nowrap;
}

.menu-popup a:hover {
    background-color: #f1f1f1;
}

/* Contact card */
.contact {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* FOOTER */
.footer {
    background-color: #1f2933;
    margin-top: 40px;
}

.footer-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 60px;
    padding: 30px 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-left {
    display: contents;
}

.footer-group h4 {
    margin: 0 0 10px;
    font-size: 0.95em;
    color: #F8FAFC;
    font-weight: 600;
}

.footer-group a {
    display: block;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.85em;
    margin-bottom: 6px;
}

.footer-group a:hover {
    text-decoration: underline;
	color: #F8FAFC;
}

.footer-copy {
	width: 100%;
    background-color: #273544;  /* slightly lighter than footer */
    padding: 12px 20px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
	box-sizing: border-box;
	letter-spacing: 0.02em;
}

@media (max-width: 600px) {

    .footer-groups {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
	
	.footer-group a {
		font-size: 0.82em;
	}
}



