* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #335590;
    color: white;
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 12px;
}

.navbar .nav-title {
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    font-size: 20px;
}

.navbar a.nav-title {
    font-weight: 700;
    font-size: 26px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
}

.nav-logo img {
    width: 30px;
    height: 30px;
    display: block;
}

/* Apply font to the h1 tag */
h1 {
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-top: 20px;
}

h3 {
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.container img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

a {
    color: red;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    font-weight: bold;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 850px) {
    .container {
        flex-direction: column;
    }
    .navbar-inner {
        flex-wrap: wrap;
    }
    .nav-links {
        gap: 20px;
    }
}

/* Hero section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: min(75vh, 680px);
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 10%;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 680px;
    width: min(680px, 95vw);
    z-index: 1;
}

.hero-brand {
    background: rgba(255, 255, 255, 0.85);
    color: #2f5291;
    font-family: 'Rubik One', Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 400;
    font-size: 70px;
    line-height: 1;
    letter-spacing: 0;
    padding: 28px 40px;
    border-radius: 28px 0 0 0;
    margin: 0;
}

.hero-headline {
    background: #2f5291;
    color: white;
    border-radius: 0 0 0 28px;
    padding: 28px 40px;
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    font-size: 45px;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

.hero-cta {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-right: 20px;
    justify-content: flex-end;
}

.hero-cta-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 28px 0 0 0;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 16px;
    min-height: 44px;
    box-sizing: border-box;
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 2.2vw, 18px);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.02s ease;
}

.btn-primary {
    background: #1C8EB4;
    border: 3px solid transparent;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #177FA1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.btn-outline {
    background: transparent;
    color: #335590;
    border: 3px solid #335590;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(17, 54, 118, 0.08);
    border-color: #113676;
    color: #113676;
}

.btn:active {
    transform: translateY(1px);
}

.hero-subnote {
    color: #2f5291;
    opacity: 0.9;
    font-style: italic;
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    margin: 6px 0 0 0;
}

.cta-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-overlay {
        top: 8%;
        right: 0;
        max-width: 100vw;
        width: 100vw;
    }
    .hero-cta-panel {
        width: 100vw;
        border-radius: 24px 0 0 0;
    }
    .hero-brand {
        padding: 20px 24px;
    }
    .hero-headline {
        padding: 20px 24px;
    }
    .hero-cta {
        gap: 12px;
    }
}

/* Info split section */
.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
}

#overview {
    position: relative;
    margin-top: 18px; /* space above the top teal line */
    margin-bottom: 18px; /* space below the bottom teal line */
}

#overview::before,
#overview::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 4px;
    background: #1C8EB4;
}

#overview::before { top: 0; }
#overview::after { bottom: 0; }

/* Ensure anchor scroll stops a bit earlier to account for navbar */
#overview { scroll-margin-top: 50px; }
#glance { scroll-margin-top: 50px; }

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.image-frame {
    display: block;
    border: 3px solid #9a9a9a;
    border-radius: 18px;
    padding: 12px;
    background: #ffffff;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.about-box {
    border: 0;
    border-radius: 0;
    padding: 28px 16px 28px 56px;
    background: rgba(255, 255, 255, 0.95);
    height: 100%;
    display: flex;
    align-items: center;
}

.about-text {
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.4;
    color: #3d3d3d;
    font-weight: 300;
}

.about-strong {
    font-weight: 700;
    color: #335590;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px;
    }
    .about-box {
        padding: 22px 12px 22px 40px;
        height: auto;
    }
}

/* Glance section */
.glance-section {
    background: #3b5c92;
    color: #ffffff;
    margin-top: 32px;
    padding-top: 24px;
}

.glance-banner {
    background: #113676;
    text-align: center;
    padding: 28px 16px;
}

.glance-title {
    font-family: 'Rubik One', Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.glance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 56px 24px;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 88px;
}

.glance-col-title {
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2.4vw, 28px);
    margin-bottom: 8px;
    text-align: center;
}

.glance-underline {
    height: 6px;
    width: 100%;
    background: #1C8EB4;
    border-radius: 3px;
    margin-bottom: 18px;
    transform: translateY(0);
}

.glance-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.glance-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 0;
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.2;
}

.glance-bullet {
    width: 30px;
    height: 30px;
    display: block;
    line-height: 1;
    align-self: start;
    margin-top: 0;
    margin-right: -8px;
    font-size: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4l8 8-8 8'/%3E%3C/svg%3E");
}

/* No negative margin needed; arrow overlaps slightly via margin-right */

@media (max-width: 900px) {
    .glance-grid {
        grid-template-columns: 1fr;
    }
}

/* Why choose section */
.why-section {
    background: #ffffff;
    color: #2b2b2b;
    padding: 40px 0 48px 0;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.why-title {
    font-family: 'Rubik One', Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    color: #335590;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-align: center;
}

.why-underline {
    height: 4px;
    width: 60%;
    max-width: 640px;
    background: #1C8EB4;
    border-radius: 3px;
    margin: 0 auto 20px auto;
}

.why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    justify-items: start;
    width: 60%;
    max-width: 640px;
    margin: 0 auto;
}

.why-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: start;
    width: 100%;
}

.why-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid #335590;
    color: #335590;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    background: #ffffff;
}

.why-text {
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    color: #335590;
    max-width: 33vw;
    text-align: left;
    word-wrap: break-word;
    display: flex;
    align-items: center; /* center single-line text vertically */
    min-height: 44px;    /* match badge height for centering space */
}

@media (max-width: 900px) {
    .why-underline { width: 100%; }
    .why-item { grid-template-columns: 44px 1fr; gap: 10px; }
    .why-badge { width: 40px; height: 40px; font-size: 18px; border-width: 3px; }
    .why-text { max-width: 100%; min-height: 40px; }
    .why-list { width: 100%; max-width: none; }
}

/* Contact section */
.contact-section {
    background: #ffffff;
    padding: 40px 0 64px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-box {
    border: 6px solid #1C8EB4;
    border-radius: 0;
    background: #ffffff;
    padding: 28px 32px;
}

.contact-title {
    font-family: 'Rubik One', Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    color: #335590;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 56px);
    line-height: 1.05;
    margin-bottom: 12px;
}

.contact-subtext {
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    color: #5b5b5b;
    font-weight: 400;
    font-size: clamp(16px, 2.2vw, 24px);
    line-height: 1.25;
    margin-bottom: 24px;
}

.contact-email {
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    color: #335590;
    font-weight: 600;
    font-size: clamp(18px, 2.4vw, 28px);
    text-decoration: underline;
}

.hero-brand-logo {
    display: block;
    height: 120px;
    width: auto;
    margin-left: -28px;
}

/* Footer */
.site-footer {
    background: #335590;
    color: #ffffff;
    padding: 28px 0 36px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    font-family: Poppins, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.footer-brand-logo {
    display: block;
    height: 112px;
    width: auto;
}

@media (max-width: 900px) {
    .footer-brand-logo { height: 32px; }
}

.footer-prompt {
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    font-size: clamp(14px, 1.8vw, 20px);
    font-style: italic;
    letter-spacing: 0.2px;
    line-height: 1.3;
    margin-right: 8px;
}

.btn-footer-primary {
    background: #1C8EB4;
    color: #ffffff;
    border: 3px solid transparent;
}

.btn-footer-primary:hover,
.btn-footer-primary:focus-visible { background: #177FA1; }

.btn-footer-outline {
    background: transparent;
    color: #ffffff;
    border: 3px solid #ffffff;
}

.btn-footer-outline:hover,
.btn-footer-outline:focus-visible {
    background: rgba(255,255,255,0.08);
}

.footer-divider {
    border: none;
    border-top: 2px solid rgba(255,255,255,0.7);
    margin: 20px 0 16px 0;
}

.footer-legal {
    text-align: center;
    font-family: Lato, -apple-system, system-ui, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

@media (max-width: 900px) {
    .footer-top { flex-wrap: wrap; gap: 12px; }
    .footer-actions { width: 100%; }
    .footer-buttons { flex-wrap: wrap; justify-content: flex-start; }
    .footer-prompt { margin-right: 0; }
}

@media (max-width: 900px) {
    /* Mobile hero: show image first (no overlay), then stack content */
    .hero { overflow: visible; }
    .hero-image { height: auto; object-position: left top; }
    .hero-overlay {
        position: static;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 100%;
        z-index: auto;
        padding: 0 16px;
    }
    .hero-brand { padding: 16px 20px; border-radius: 16px 16px 0 0; }
    .hero-headline { padding: 16px 20px; border-radius: 0 0 16px 16px; }
    .hero-cta-panel {
        position: static;
        background: transparent;
        border-radius: 0;
        padding: 12px 16px 0 16px;
    }
    .hero-cta { justify-content: flex-start; gap: 12px; padding-right: 0; }
}


