/* =========================
   RESET
========================= */
body, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #111;
    line-height: 1.6;
}

/* =========================
   WRAPPER
========================= */
#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}

/* =========================
   TITLE / HERO SECTION
========================= */
#wrapper #title {
    min-height: 240px;
    padding: 20px 24px;
    clear: both;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f4c81 0%, #114e7a 45%, #0b3d66 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    margin-bottom: 10px;
    
}

/* Decorative overlay */
#wrapper #title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 35%);
    pointer-events: none;
}

/* =========================
   LOGO box-shadow: 0 10px 24px rgba(0,0,0,0.2);
========================= */
#logo {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

#logo img {
    display: block;
    width: 135px;
    height: 135px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    padding: 6px;
    border-radius: 14px;
    
}

/* =========================
   HEADING text-shadow: 0 3px 10px rgba(0,0,0,0.3);
========================= */
#wrapper #title h1 {
    flex: 1;
    min-width: 280px;
    font-size: clamp(1.4rem, 1.7vw, 1.9rem);
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    text-align: left;
    position: relative;
    z-index: 2;
    text-shadow: 3px 3px 3px #000;
    max-width: 560px;
}

/* =========================
   TOP MENU BUTTONS
========================= */
#buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}

#buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding:1px 9px;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: bold;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    text-shadow: 2px 2px 2px #000;
}

#buttons a:hover {
    background: #008080;
    transform: translateY(-2px);
    text-decoration: none;
    text-shadow: 2px 2px 2px #000;
    color: #fff;
    border: 2px solid #FFF;
}

/* =========================
   HERO INTRO
========================= */
.hero-intro {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 5px;
    padding-top: 0px;
    color: #eaf4ff;
}

.hero-intro p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #eaf4ff;
}

/* =========================
   QUICK LINKS
========================= */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.quick-links a {
    display: inline-block;
    padding:1px 9px;
    border-radius: 999px;
    background:  #0099cc;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid #666;
    text-shadow: 1px 1px 1px #000;
}

.quick-links a:hover {
    background: #f59e0b;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
    text-shadow: 2px 2px 2px #000;
    border: 2px solid #FFF;
}

/* =========================
   HEADER
========================= */
#header {
    clear: both;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #0f4c81, #1d78c1);
}

/* =========================
   CONTENT AREA
========================= */
#contentarea {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5em;
    margin-top: 0.5em;
}

h3 {
    font-weight: bold;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 0.5em;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1em;
}

a {
    color: #0f62fe;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   CARD / THUMBS
========================= */
.thumbs {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe5f0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumbs:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

@media (min-width: 600px) {
    .thumbs {
        width: calc(50% - 10px);
    }
}

@media (min-width: 992px) {
    .thumbs {
        width: calc(33.333% - 12px);
    }
}

/* =========================
   CARD CONTENT
========================= */
.content {
    padding: 16px;
}

.content h3 {
    text-align: center;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.content a {
    text-decoration: none;
    color: inherit;
}

.content img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 14px;
    padding: 8px;
    transition: transform 0.3s ease;
}

.content img:hover {
    transform: scale(1.03);
}

.section-note {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================
   FOOTER DOWNLOAD BUTTONS
========================= */
.column {
    float: left;
    width: 15%;
    padding: 1px;
    margin-bottom: 10px;
    text-align: center;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================
   FOOTER
========================= */
#footer {
    width: 100%;
    clear: both;
    padding: 30px 20px;
    margin-top: 30px;
    font-family: Verdana, Geneva, sans-serif;
    color: #d1d5db;
    background: #0b1220;
    border-radius: 14px;
    line-height: 1.9;
}

#footer a {
    color: #fbbf24;
}

#footer a:hover {
    color: #fff;
}

/* =========================
   PWA INSTALL BANNER
========================= */
.pwa-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: -120px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #111827;
    border-radius: 16px;
    border: 1px solid #f59e0b;
    transition: bottom 0.4s ease;
}

.pwa-banner.show {
    bottom: 20px;
}

.pwa-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-left img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.pwa-text h3 {
    margin: 0;
    color: #facc15;
}

.pwa-text p {
    margin: 0;
    font-size: 13px;
    color: #cbd5e1;
}

.pwa-actions button {
    margin-left: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    color: #fff;
}

.install-btn {
    background: #f59e0b;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
}

.later-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #555;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 767px) {
    .content img {
        height: 160px;
        object-fit: contain;
    }
}

    #wrapper #title h1 {
        text-align: center;
        max-width: 100%;
    }

    #buttons {
        justify-content: center;
        width: 100%;
    }

    .hero-intro {
        text-align: center;
    }

    .quick-links {
        justify-content: center;
    }
}

@media (max-width: 767px) {

    #wrapper {
        padding: 8px;
    }

    #logo img {
        width: 95px;
        height: 95px;
    }

    #wrapper #title {
        min-height: auto;
        gap: 18px;
    }

    #wrapper #title h1 {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    #buttons a {
        padding: 9px 14px;
        font-size: 0.9rem;
    }

    .hero-intro p {
        font-size: 0.95rem;
    }

    .quick-links a {
        font-size: 0.88rem;
        padding: 9px 14px;
    }

    .content img {
        height: auto;
    }

    .column {
        width: 40%;
    }

    .pwa-banner {
        left: 10px;
        right: 10px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* Hide PWA banner on tablets and mobiles */

@media (max-width:1024px){

    .pwa-banner{
        display:none !important;
    }

}