/* Base reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

/* THEME TOKENS */
:root {
    --color-primary: #FFFFFF;          		/* White buttons */
    --color-primary-hover: #E5E5E5;    		/* Light hover */

    --color-text: #323232;             		/* White text */
    --color-text-muted-gray: #D1D5DB;       /* Light gray muted text */
    --color-text-muted-blue: #1699BE;       /* Light blue muted text */
    --color-text-muted-black-soft: #1A1A1A; /* Light black muted text */
    --color-text-muted-black: #000000;      /* Black muted text */
    --color-section-muted-white: #FFFFFF; 	/* White sections background */
    --color-section-muted-pink: #E8E6E6; 	/* Pink sections background */

    /*--color-bg: #15428A;               	/* Full page background */
    --color-bg: #FFFFFF;               		/* Full page background */
    --color-bg-alt: #15428A;           		/* Cards / sections also same */


    --color-border: rgba(255,255,255,0.2);
    --color-border-muted: rgba(255,255,255,0.1);

    --color-success: #22C55E;
    --color-warning: #FACC15;
    --color-error: #EF4444;

    --radius-md: 8px;
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.25);
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #17305b;
}

h1,
.h1 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h1,
  .h1 {
    font-size: 1.5rem;
  }
}

h2,
.h2 {
  font-size: calc(1.265rem + 0.18vw);
}
@media (min-width: 1200px) {
  h2,
  .h2 {
    font-size: 1.4rem;
  }
}

h3,
.h3 {
  font-size: calc(1.255rem + 0.06vw);
}
@media (min-width: 1200px) {
  h3,
  .h3 {
    font-size: 1.3rem;
  }
}

h4,
.h4 {
  font-size: 1.2rem;
}

h5,
.h5 {
  font-size: 1.1rem;
}

h6,
.h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* PAGE LAYOUT */
.page {
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
}


/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #FFFFFF;
    padding: 18px 0;
    margin-left: 12px;
}

.logo-img {
    max-width: 220px; /* optional: keeps logo tidy */  
    width: auto;
    display: block;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}


/* HEADER */
header {
    background: #17305B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}


/* HERO */
.hero {
    margin: auto;
    padding: 0 24px;
    align-items: left;
    text-align: left;
}

.hero-kicker-left {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted-gray);
    margin-bottom: 12px;
    text-align: left;
}

.hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted-gray);
    margin-bottom: 12px;
    text-align: center;
}


.hero-title-left {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-align: left;
}

.hero-title {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-align: center;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: normal;
    color: #FFFFFF;
    max-width: 520px;
    margin-bottom: 28px;
    text-align: left;
line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

/* HERO-TOP BACKGROUND */
.hero-top {
    padding: 24px 40px;
    border-radius: 1px;
    background: #17305B;
    display: flex;               /* enable centering */
    justify-content: center;     /* center horizontally */
    flex-direction: column;      /* stack content naturally */
    align-items: left;
    text-align: left;
}

.hero-top-home {
    background: url('../assets/img/homepage-hero.jpg') center/cover no-repeat;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.hero-top-densper {
    background: url('../assets/img/densper-hero.jpg') center/cover no-repeat;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.hero-top-privacy {
    background: url('../assets/img/privacy-hero.png') center/cover no-repeat;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.hero-top-company {
    background: url('../assets/img/company-locations.png') center/cover no-repeat;
    padding-top: 33vh;
    padding-bottom: 33vh;
}

@media (max-width: 768px) {

    /* Base hero container */
    .hero-top {
        padding: 16px 24px; /* tighter mobile spacing */
        text-align: left;
        align-items: flex-start;
    }

    /* Standard hero images */
    .hero-top-home,
    .hero-top-densper,
    .hero-top-privacy 
    .hero-top-company {
        padding-top: 6vh;   /* reduced from 10vh */
        padding-bottom: 6vh;
        background-position: center top; /* better crop on tall phones */
    }
}

.makes-us-different {
    background: url('../assets/img/makes-us-different.jpg') center/cover no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 24px;
    color: var(--color-text-muted-gray);	
    align-items: left;
    text-align: left;
}

/* Left text column */
.makes-us-different .text-col {
    flex: 1;
}

/* Right button column */
.makes-us-different .actions-col {
    display: flex;
    flex-direction: column; /* stack buttons vertically */
    gap: 16px;
    align-items: flex-end; /* align buttons to the right */
}

/* Mobile: stack everything */
@media (max-width: 768px) {
    .makes-us-different {
        flex-direction: column;
        text-align: left;
    }

    .makes-us-different .actions-col {
        align-items: flex-start; /* buttons align left on mobile */
        width: 100%;
    }
}


/* HEADER LAYOUT */
#header-include {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* NAV WRAPPER */
#nav-include {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1; /* push to the right */
	min-width: 0;
}

/* NAV BASE */
nav {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-end;
}

/* NAV LIST */
nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
}

/* NAV LINKS */
nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
}

nav a:hover {
    color: var(--color-primary-hover);
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
	
	#nav-include {
        justify-content: flex-end;
    }
	
    nav {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    /* Hide menu by default */
    nav ul {
        display: none;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        text-align: right;
    }

    /* Show when toggled */
    nav ul.open {
        display: flex;
    }

    /* Show hamburger */
    .nav-toggle {
        display: block;
    }

    .nav-toggle.open {
        display: none;
    }

    /* Mobile link sizing */
    nav a {
        font-size: 16px;
    }
 }


/* SUBMENU */
.menu-label {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 25px;
    cursor: pointer;
    display: inline-block;
    padding: 0; /* matches your <a> */
    text-decoration: none;
}

.menu-label:hover {
    color: var(--color-primary-hover);
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0A0A0A; /* match your dark theme */
    padding: 12px 0;
    list-style: none;
    min-width: 160px;
    border-radius: 6px;
}

.submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 20px;
    color: #FFFFFF;
    white-space: nowrap;
}

.submenu li a:hover {
    color: var(--color-primary-hover);
}

/* Show on hover (desktop only) */
.has-submenu:hover .submenu {
    display: block;
}

/* Mobile: submenu appears inline */
@media (max-width: 768px) {
    .submenu {
        position: static;
        background: transparent;
        padding: 0;
        border-radius: 0;
        display: none;
        margin-left: 16px;
    }

    .has-submenu.open .submenu {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}


/* CONTAINER */
.container {
    width: 75%;
    max-width: 1400px; /* optional safety cap */
    margin: 0 auto;    /* center horizontally */
}

/* Mobile: full width */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }
}


/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;      /* reduced ~30% from 12px 22px*/
    border-radius: 8px;
    font-size: 14px;        /* reduced ~20% from 16px*/
    align-items: center;    
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-toolbar {
    background: var(--color-text-muted-blue);
    color: #FFFFFF;
    align-items: center;
}

.btn-toolbar:hover {
    background: #FFFFFF;
    color: #17305b;
}

.btn-primary {
    background: var(--color-text-muted-blue);
    color: #FFFFFF;
    align-items: center;
}

.btn-primary:hover {
    background: #17305b;
    color: #FFFFFF;
}

.btn-outline {
    border-color: #17305b;
    color: #17305b;
    background: transparent;
}

.btn-outline-white {
    border-color: #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}

.btn-outline:hover {
    background: #dbe8fd;
}

.btn-outline-white:hover {
    background: #0a5ce0;
}


/* CARDS & GRIDS */
.section {
    margin: 40px auto;
    padding: 0 24px;
    display: flex;               /* enable centering */
    justify-content: center;     /* center horizontally */
    align-items: center;         /* center vertically */
    flex-direction: column;      /* stack content naturally */
    text-align: center;          /* optional: center text */
}

.section-background-white {
    background-color: var(--color-section-muted-white);
}

.section-background-pink {
    background-color: var(--color-section-muted-pink);
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #17305B;
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-text-muted-blue);
    max-width: 800px;   /* prevents wide stretching */
    margin: 0 auto;     /* centers the block */
}

.section-content {
    font-size: 16px;
    color: #323232;
    text-align: center;
}

.section-body {
    font-size: 16px;
    color: #323232;
    text-align: center;
    max-width: 800px;   /* prevents wide stretching */
    margin: 0 auto;     /* centers the block */
}

.section-content-footnote {
    font-size: 18px;
    color: var(--color-text-muted-black-soft);
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
}

.card-light {
    background: #1699BE;
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #17305b;
}

.card-body {
    font-size: 14px;
    color: #323232;
}

.card-single-row {
    font-size: 16px;
    color: #323232;
    width: 100%;
    max-width: 800px;             	/* optional: prevents it from getting too huge */
    margin: 20px auto;             /* center horizontally */
    padding: 20px 28px;            /* internal spacing */

    background: #f0f4fc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.card-single-row-left {
    font-size: 16px;
    color: #323232;
    width: 100%;
    max-width: 800px;             	/* optional: prevents it from getting too huge */
    margin: 20px auto;             /* center horizontally */
    padding: 20px 28px;            /* internal spacing */

    background: #f0f4fc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

/* Container */
.glance-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
    padding: 40px 0;
    text-align: center;
}

/* Card wrapper */
.glance-card {
    flex: 0 1 45%;            /* THIS makes each card ~half the screen */
    max-width: 45%;           /* prevents them from shrinking too much */
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hover glow */
.glance-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.25),
        0 0 60px rgba(0, 120, 255, 0.35);
}

/* Image */
.glance-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    justify-content: center;
    align-items: center;
}

/* Avatar */
.avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem; /* spacing before the title */
}

.avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* optional: makes it circular */
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .glance-section {
        flex-direction: column;
        gap: 24px;
    }

    .glance-card {
        max-width: 100%;      /* full width on mobile */
        flex: 1 1 100%;
        align-items: center;
    }
}


/* VIDEO */
.video-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.video-embed {
    width: 100%;
    max-width: 800px; /* or whatever size you want */
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden; /* required for rounded corners */
    /* Soft glow */
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.25),
        0 0 60px rgba(0, 120, 255, 0.25);
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* PDF */
.pdf-card {
    background: #17305B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 12px;
    max-width: 320px;
    margin: 20px auto; /* centers the card */
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.pdf-card a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.pdf-card a:hover {
    text-decoration: underline;
}


/* FAQ */
.faq-item {
    font-size: 24px;
    color: var(--color-text-muted-gray);
    width: 100%;
    max-width: 800px;             	/* optional: prevents it from getting too huge */
    margin: 20px auto;             /* center horizontally */
    padding: 20px 28px;            /* internal spacing */

    background: #dbe8fd;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    color: #323232;
}

.faq-answer {
    display: none;
    margin-top: 8px;
    font-size: 14px;
    color: #323232;
}


/* BOTTOM HERO */
.bottom-hero {
    position: relative;
    background: #17305B;
    background-size: cover;	/* stretches the PNG */
    padding: 24px;
    /*padding: 24px 24px 24px 24px; /* extra bottom padding so text doesn't overlap */
    border-radius: 16px;	/* optional, matches your design language */

    display: flex;               /* enable centering */
    justify-content: center;     /* center horizontally */
    align-items: center;         /* center vertically */
    flex-direction: column;      /* stack content naturally */
    text-align: center;          /* optional: center text */

}

.bottom-hero-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.bottom-hero-subtitle {
    font-size: 16px;
    color: var(--color-text-muted-gray);
    max-width: 480px;
    margin-bottom: 18px;
}

.bottom-hero-actions {
    display: flex;
    justify-content: center;   /* centers horizontally */
    gap: 16px;                 /* space between buttons */
    margin-top: 24px;          /* optional spacing */
}

.bottom-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Mobile */
@media (max-width: 768px) {
    .bottom-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}


/* TERMS & POLICIES */
.terms {
    margin: 40px;
    font-size: 16px;
    color: #323232;
    text-align: left;
}

/* FOOTER */
footer {
    margin-top: 60px;
    padding: 24px 40px;
    background: #17305B;
    font-size: 14px;
    color: var(--color-text-muted-gray);
}

/* Footer inner layout */
#footer-include {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    box-sizing: border-box;
}

/* Logo alignment */
#footer-include .logo {
    display: flex;
    align-items: center;
    padding: 18px 0;
    margin-left: 12px;
}

/* Footer links */
#footer-include a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 15px;
}

/* Mobile layout */
@media (max-width: 600px) {
    #footer-include {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    #footer-include a {
        margin-left: 0;
        margin-right: 0;
        display: block;
        padding: 4px 0;
    }

    #footer-include .logo img {
        max-width: 140px; /* optional: keeps logo tidy */  
        padding: 18px 0;
        margin-left: 12px;
    }
}
