html, body { overflow-x: hidden; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fafafa;
    color: #0a1628;
    margin: 0;
}

/* ── Fixed Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0a1628;
    padding: 12px 0;
}

.site-header a { text-decoration: none; }

.inside-header {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 6px 20px;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo { display: block; max-height: 44px; width: auto; }
.header-brand-text { display: none; }

.main-nav { display: none; flex: 1; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav ul li a {
    text-transform: uppercase;
    color: #0a1628;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: 8px;
    display: block;
    transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover { color: #1a3a6b; background: rgba(10,22,40,0.06); }
.main-nav ul li a.active { background: #e8ecf0; color: #0a1628; }

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #0a1628;
    line-height: 1;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 6px 0;
    margin: 6px auto;
    max-width: 1240px;
    width: calc(100% - 24px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 12px 20px;
    color: #0a1628;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(10,22,40,0.05); }
.mobile-nav a.active { background: #e8ecf0; }

/* ── Content Push ── */
.site-content { padding-top: 100px; min-height: 100vh; }


/* ── Home Hero ── */
.home-hero {
    max-width: 1240px;
    margin: 20px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}
.hero-inner {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #1a3a6b;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(10,22,40,0.78) 0%, rgba(10,22,40,0.3) 100%);
}
.hero-content {
    max-width: 640px;
    margin-left: 8%;
    margin-right: 5%;
    color: #fff;
}
.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 24px;
    line-height: 1.6;
}
.hero-btn {
    display: inline-block;
    background: #fff;
    color: #0a1628;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover { background: #e8ecf0; color: #0a1628; transform: translateY(-1px); }

.hero-logo-watermark {
    position: absolute;
    right: 4%;
    bottom: 50%;
    transform: translateY(50%);
    width: 460px;
    height: auto;
    opacity: 0.12;
    pointer-events: none;
}

/* ── Home Content ── */
.home-section {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}
.home-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }

.home-news {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 24px 28px;
}
.home-news-heading {
    font-size: 18px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a1628;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Domain Cards (Home) ── */
.domain-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.domain-card-h {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
    display: block;
}
.domain-card-h:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.domain-card-h .icon { font-size: 40px; margin-bottom: 16px; }
.domain-card-h h3 { font-size: 18px; font-weight: 700; color: #0a1628; margin: 0 0 8px; }
.domain-card-h p { font-size: 14px; color: #575760; margin: 0; line-height: 1.6; }


/* ── CTA Section ── */
.cta-section {
    background: #f9fafb;
    border-top: 1px solid #e8ecf0;
    border-bottom: 1px solid #e8ecf0;
    padding: 60px 20px;
    text-align: center;
}
.cta-title { font-size: 28px; font-weight: 700; color: #0a1628; margin: 0 0 12px; }
.cta-desc { color: #575760; max-width: 600px; margin: 0 auto 24px; font-size: 16px; line-height: 1.6; }

/* ── Page Titles ── */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #0a1628;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0a1628;
}

/* ── Footer ── */
.custom-footer { background: #0a1628; padding: 12px 0 0; margin: 0; }
.footer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 48px 40px;
    max-width: 1240px;
    margin: 0 auto 12px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { display: block; max-width: 280px; height: auto; margin-bottom: 16px; }
.footer-legal { font-size: 13px; color: #575760; margin-top: 8px; font-weight: 600; }
.footer-address { font-size: 14px; color: #575760; line-height: 1.7; margin: 0; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; justify-content: center; flex-shrink: 0; }
.contact-row { display: flex; align-items: center; gap: 10px; color: #0a1628; font-size: 14px; }
.contact-row svg { flex-shrink: 0; color: #0a1628; }
.contact-row a { color: #0a1628; text-decoration: none; transition: color 0.2s; word-break: break-all; }
.contact-row a:hover { color: #1a3a6b; }
.footer-bottom {
    background: #070f1d;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
}

/* ── Empty State ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: #8c8c8c;
}
.empty-state svg { margin-bottom: 16px; color: #d1d5db; }
.empty-state h2 { font-size: 20px; font-weight: 700; color: #0a1628; margin: 0 0 8px; }
.empty-state p { font-size: 14px; margin: 0; }

/* ── Utility ── */
.container { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* ── Responsive: md (≥769px) ── */
@media (min-width: 769px) {
    .main-nav { display: flex; }
    .mobile-menu-btn { display: none; }
    .inside-header { padding: 6px 24px; }
}

/* ── Tablet (769–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .domain-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .domain-card-h { padding: 28px 24px; }
}

/* ── Desktop (≥1025px) ── */
@media (min-width: 1025px) {
    .domain-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .domain-card-h { padding: 36px 28px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    .site-header { padding: 6px 0; }
    .inside-header { padding: 6px 12px; max-width: calc(100% - 24px); border-radius: 10px; flex-wrap: wrap; }
    .header-logo { max-height: 36px; }
    .site-content { padding-top: 80px; }

    .home-hero { padding: 0 12px; margin-top: 0; }
    .hero-inner { border-radius: 8px; }
    .hero-content { margin-left: 20px; margin-right: 20px; max-width: 100%; }
    .hero-title { font-size: 20px; margin-bottom: 6px; }
    .hero-subtitle { font-size: 13px; margin-bottom: 12px; }
    .hero-btn { padding: 8px 20px; font-size: 12px; }
    .hero-logo-watermark { width: 280px; right: -20px; opacity: 0.08; }

    .domain-cards { grid-template-columns: 1fr; gap: 12px; }

    .footer-card { padding: 32px 16px; max-width: 100%; border-radius: 0; flex-direction: column; gap: 24px; margin: 0 0 8px; }
    .footer-bottom { padding: 16px 20px; font-size: 12px; }
    .page-title { font-size: 20px; margin-bottom: 16px; padding-bottom: 10px; }

    .home-section { padding: 20px 12px; }
    .home-news { padding: 18px 20px; }
    .cta-section { padding: 40px 16px; }
    .cta-title { font-size: 22px; }

}

@media (max-width: 480px) {
    .page-title { font-size: 18px; }
    .hero-title { font-size: 18px; }
    .hero-subtitle { font-size: 12px; }
    .domain-card-h { padding: 20px 16px; }
    .domain-card-h .icon { font-size: 32px; margin-bottom: 12px; }
    .domain-card-h h3 { font-size: 16px; }
    .hero-logo-watermark { width: 200px; right: -30px; opacity: 0.06; }
    .footer-logo { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
