/* GLOBAL BODY */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0a2a43;
    color: #ffffff;
    transition: background 0.3s ease, color 0.3s ease;
}

/* DARK MODE */
.dark {
    background: #111 !important;
    color: #eee !important;
}

.dark .topnav {
    background: #000;
}

.dark .module-card {
    background: rgba(255,255,255,0.08);
}

.dark .footer {
    background: #000;
}

/* FADE-IN PAGE TRANSITION */
.fade {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* STICKY TOP NAV */
.topnav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #062033;
    padding: 10px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

/* NAV LINKS */
.topnav a {
    color: #d0e8ff;
    text-decoration: none;
    font-size: 14px;
}

.topnav a.active {
    color: #ffffff;
    font-weight: bold;
}

/* DARK MODE BUTTON */
.darkToggle {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease;
}

.darkToggle:hover {
    transform: scale(1.2);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #0a2a43, #0f4c75, #3282b8);
    padding: 80px 20px;
    text-align: center;
}

.hero-logo {
    width: 120px;
    margin-bottom: 20px;
}

.tagline {
    font-size: 18px;
    color: #d0e8ff;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ffffff;
    color: #0a2a43;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* REVEAL ON SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* PURPOSE SECTION */
.purpose {
    padding: 40px 20px;
    max-width: 85%;
    margin: auto;
    text-align: center;
}

.purpose h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #bbe1fa;
}

.purpose p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e6f4ff;
}

.purpose-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.purpose-list li {
    background: rgba(255,255,255,0.1);
    margin: 10px auto;
    padding: 12px 20px;
    border-radius: 6px;
    max-width: 600px;
    font-size: 15px;
}

/* MODULES SECTION */
.modules {
    padding: 40px 20px;
    max-width: 85%;
    margin: auto;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.module-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
}

/* CONTACT HOME SECTION (2 COLUMNS) */
.contact-home {
    background: #0f3a55;
    padding: 50px 20px;
    color: #fff;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 85%;
    margin: auto;
    gap: 40px;
}

.contact-left, .contact-right {
    flex: 1;
}

.contact-right p {
    margin: 10px 0;
}

/* MULTI-COLUMN FOOTER */
.footer {
    background: #062033;
    padding: 40px 20px;
    color: #d0e8ff;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    max-width: 85%;
    margin: auto;
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 10px;
    color: #fff;
}

.footer-col a {
    color: #d0e8ff;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

/* SOCIAL ICON FIX */
.icon-svg {
    width: 28px;
    height: 28px;
    fill: #d0e8ff;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.social-icon:hover .icon-svg {
    transform: scale(1.2);
    fill: #ffffff;
}

.footer-copy {
    text-align: center;
    margin-top: 30px;
    color: #bbe1fa;
}
