/* --------------------------------------------------
   BASE STYLES
-------------------------------------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #F6F7F8;
    color: #353333;
}

a {
    color: #6540F9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout helpers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.tmhq-header {
    background: #6540F9;
    padding: 1px 10px 1px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: box-shadow 0.25s ease;
}

.tmhq-header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tmhq-hamburger {
    display: none;
    font-size: 26px;
    color: #FFE625;
    cursor: pointer;
    margin-bottom: 2px;
}

.tmhq-header-menu {
    list-style: none;
    padding: 0;
    margin: 2px 0 2px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tmhq-header-menu li a {
    color: #FFE625;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s ease;
}

.tmhq-header-menu li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tmhq-logo {
    max-width: 105px;
    height: auto;
    margin: 1px 0;
}

@media (max-width: 768px) {
    .tmhq-logo { max-width: 85px; }
    .tmhq-header-menu { gap: 8px; }
}

@media (max-width: 480px) {
    .tmhq-logo { max-width: 75px; }
}

/* Mobile header behaviour */
@media (max-width: 768px) {
    .tmhq-hamburger {
        display: block;
    }

    .tmhq-header-menu {
        display: none;
        flex-direction: column;
        gap: 8px;
        background: #6540F9;
        padding: 6px 0;
    }

    .tmhq-header-menu.open {
        display: flex;
    }
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */

.hero {
    background: #6540F9;
    padding: 40px 20px; /* tighter */
    color: #FFFFFF;
}

.hero-title {
    font-size: 36px; /* tighter */
    font-weight: bold;
    margin-bottom: 6px;
}

.hero-sub {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-btn {
    background: #FFE625;
    color: #2F2F2F;
    padding: 12px 24px; /* tighter */
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
}

.cta-btn:hover {
    filter: brightness(0.95);
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.section {
    padding: 25px 0; /* ultra-tightened */
}

/* --------------------------------------------------
   CARDS + GRID SYSTEM
-------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px; /* tighter */
    margin-top: 10px; /* tighter */
}

.card {
    background: #FFFFFF;
    padding: 16px; /* tighter */
    border-radius: 8px;
}

/* --------------------------------------------------
   START EXPLORING — HORIZONTAL MENU
-------------------------------------------------- */

.start-exploring-horizontal {
    list-style: none;
    padding: 0;
    margin: 15px 0 0; /* tighter */
    display: flex;
    justify-content: center;
    gap: 18px; /* tighter */
    flex-wrap: wrap;
}

.start-exploring-horizontal li a {
    font-weight: 600;
    color: #6540F9;
    padding: 8px 12px; /* tighter */
    border-radius: 6px;
    border: 1px solid #DDD;
    background: #FFFFFF;
    transition: 0.25s ease;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.start-exploring-horizontal li a:hover {
    background: #6540F9;
    color: #FFFFFF;
}

/* Facebook Icon */
.start-exploring-horizontal .facebook-icon a {
    font-weight: 600;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #6540F9;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #DDD;
    background: #FFFFFF;
    transition: 0.25s ease;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.start-exploring-horizontal .facebook-icon a:hover {
    background: #6540F9;
    color: #FFFFFF;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.tmhq-footer {
    background: #F6F7F8;
    padding: 25px 0; /* tighter */
    font-size: 14px;
}

.tmhq-footer a {
    color: #6540F9;
}

/* --------------------------------------------------
   FLOATING BACK TO TOP BUTTON
-------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

.tmhq-back-to-top {
    position: fixed;
    bottom: 20px; /* tighter */
    right: 20px; /* tighter */
    background: #6540F9;
    color: #FFFFFF;
    padding: 9px 14px; /* tighter */
    border-radius: 6px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: 0.25s ease;
    opacity: 0.85;
    z-index: 99999;
}

.tmhq-back-to-top:hover {
    background: #FFE625;
    color: #2F2F2F;
    opacity: 1;
}










