/* -------------------------
   RESET & BASE STYLES
---------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #111822;
    color: #f2f6ff;
    font-family: 'Roboto', Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: #C6A14A;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #fff;
    outline: none;
}
ul, ol {
    margin-left: 1.2em;
}
strong, b {
    font-weight: 700;
}
hr {
    border: 0;
    height: 1px;
    background: #27344a;
    margin: 32px 0;
}

/* -------------------------
      TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.19;
    letter-spacing: 0.02em;
    color: #fff;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; color: #C6A14A; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 6px; }

p, ul, ol, li {
    font-size: 1rem;
    color: #f2f6ff;
    margin-bottom: 16px;
    line-height: 1.7;
}
p:last-child, ul:last-child, ol:last-child {
    margin-bottom: 0;
}

/* Typography Responsive */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
}

/* -------------------------
    LAYOUT & CONTAINER
---------------------------- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}
.section:last-child {
    margin-bottom: 0;
}

/* -------------------------
      HEADER & NAVIGATION
---------------------------- */
header {
    background: #1B3556;
    position: relative;
    z-index: 200;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 20px 20px;
    gap: 24px;
}
header img {
    height: 42px;
    width: auto;
}
nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
header nav a {
    color: #f2f6ff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
    background: #27344a;
    color: #C6A14A;
}

.cta.primary {
    background: #C6A14A;
    color: #1B3556;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 30px;
    padding: 12px 34px;
    box-shadow: 0 2px 8px rgba(198,161,74,0.15);
    border: none;
    outline: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
    transition: box-shadow 0.22s, background 0.2s, color 0.2s;
}
.cta.primary:hover, .cta.primary:focus {
    background: #fff;
    color: #1B3556;
    box-shadow: 0 4px 18px 1px rgba(198,161,74,0.20);
}

/* -------------------------
           HERO
---------------------------- */
.hero {
    background: linear-gradient(120deg, #1B3556 65%, #373B44 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 60px 0 60px 0;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 4px 24px #18253a80;
}
.hero p {
    color: #dfedfd;
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 540px;
}
.hero .cta.primary {
    margin-top: 6px;
}

@media (max-width: 900px) {
    .hero {
      padding: 40px 0 40px 0;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 20px 0 20px 0;
        min-height: unset;
    }
    .hero .container {
        gap: 18px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* -------------------------
        FEATURE GRID (HOMEPAGE)
---------------------------- */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    justify-content: space-between;
}
.feature {
    background: #18253a;
    border-radius: 18px;
    padding: 28px 22px 22px 22px;
    flex: 1 1 220px;
    min-width: 224px;
    max-width: 300px;
    box-shadow: 0 4px 24px 0 rgba(27,53,86,0.16);
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 15px;
    border: 2px solid #252e45;
    transition: box-shadow 0.18s, border-color 0.18s;
}
.feature img {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 5px #C6A14A88);
}
.feature:hover, .feature:focus-within {
    border-color: #C6A14A;
    box-shadow: 0 6px 28px 4px #C6A14A22;
}

/* -------------------------
          CTA SECTION
---------------------------- */
.cta-section {
    background: #27344a;
    padding: 40px 0 40px 0;
    margin-bottom: 60px;
}
.cta-section h2 {
    color: #C6A14A;
}
.cta-section p {
    margin-bottom: 18px;
    font-size: 1.15rem;
    color: #eae6da;
}

/* -------------------------
        TESTIMONIALS
---------------------------- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 24px;
    box-shadow: 0 4px 18px 4px #C6A14A22, 0 2px 7px 0 #050c1436;
    color: #18253a;
    margin-bottom: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
    position: relative;
    min-width: 0;
}
.testimonial-card p {
    color: #222f44;
    font-size: 1.08rem;
    margin-bottom: 0;
}
.testimonial-card strong {
    color: #1B3556;
    margin-left: 14px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 600px) {
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 14px;
    }
    .testimonial-card strong {
        margin-left: 0;
        margin-top: 14px;
    }
}

/* -------------------------
    FOOTER & CONTACT ROW
---------------------------- */
footer {
    background: #1B3556;
    padding: 44px 0 18px 0;
    color: #fff;
    font-size: 1rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.footer-brand img {
    width: 46px;
    height: 46px;
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    color: #C6A14A;
}
footer nav a {
    color: #C6A14A;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.99rem;
    margin-right: 0;
    transition: color 0.18s;
    padding: 4px 10px;
}
footer nav a:hover, footer nav a:focus {
    color: #fff;
}
.footer-contact {
    margin-top: 18px;
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #dfedfd;
    margin-bottom: 6px;
    font-size: .97rem;
}
.footer-contact img {
    width: 18px;
    height: 18px;
}

/* -------------------------
    TEXT SECTION & CARD PATTERNS
---------------------------- */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #18253a;
    border-radius: 14px;
    box-shadow: 0 2px 8px 0 #1B355620;
    overflow: hidden;
    color: #fff;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* List style */
.text-section ul, .text-section ol {
    padding-left: 18px;
}
.text-section li {
    margin-bottom: 8px;
    color: #dae9f3;
    font-size: 1rem;
}
.text-section li strong {
    color: #C6A14A;
}

/* -------------------------
       MOBILE NAVIGATION
---------------------------- */
.mobile-menu-toggle {
    display: none;
    background: #27344a;
    color: #C6A14A;
    font-size: 2rem;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2500;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #C6A14A;
    color: #1B3556;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #131e2b;
    z-index: 3000;
    box-shadow: 0 8px 24px 8px #1B355688;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 40px;
    transform: translateX(100%);
    transition: transform 0.44s cubic-bezier(.55,.08,.63,.99);
    overflow-y: auto;
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}
.mobile-menu-close {
    background: transparent;
    color: #C6A14A;
    font-size: 2.3rem;
    border: none;
    position: absolute;
    top: 26px; right: 28px;
    cursor: pointer;
    z-index: 3100;
    padding: 4px 15px 4px 15px;
    border-radius: 8px;
    transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
    background: #C6A14A22;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 44px;
    margin-left: 44px;
    width: 100%;
}
.mobile-nav a {
    color: #fff;
    background: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    padding: 12px 20px;
    border-radius: 8px;
    width: calc(100vw - 110px);
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
    display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #27344a;
    color: #C6A14A;
}

@media (max-width: 1060px) {
    header .container nav {
        display: none;
    }
    .cta.primary {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .content-wrapper, .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    nav {
        gap: 10px;
    }
}

/* Hamburger overlays main content when open */
.mobile-menu.open {
    box-shadow: 0 0 0 100vw #131e2bcc;
}

/* -------------------------
    RESPONSIVE FLEX PATTERNS
---------------------------- */
@media (max-width: 900px) {
    .feature-grid {
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
    }
    .content-grid, .card-container {
      flex-direction: column;
      gap: 20px;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 28px 5px;
    }
    .content-wrapper {
        padding: 0;
        gap: 20px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .feature {
        max-width: unset;
        min-width: 0;
        width: 100%;
    }
}

/* -------------------------
      BUTTONS & EFFECTS
---------------------------- */
button {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.cta, .btn {
    background: #C6A14A;
    color: #1B3556;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    border: none;
    border-radius: 32px;
    padding: 12px 34px;
    transition: background 0.2s, color 0.2s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(198,161,74,0.09);
    cursor: pointer;
    letter-spacing: 0.01em;
    margin-top: 10px;
    outline: none;
    box-sizing: border-box;
    display: inline-block;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus {
    background: #fff;
    color: #1B3556;
    box-shadow: 0 4px 24px 4px #C6A14A33;
}

/* Neon accent effect for tech_futuristic elements */
.cta.primary, .cta-section, .feature, .mobile-menu-toggle, .mobile-menu-close {
    box-shadow: 0 0 12px 0 #C6A14A33, 0 0 24px 0px #1B355622;
}

/* Subtle glows to accentuate tech_futuristic */
.feature h3, .cta.primary, .footer-brand img, .mobile-menu-toggle {
    text-shadow: 0 0 8px #C6A14A55, 0 1px 0 #fff2;
}

/* -------------------------
     COOKIE CONSENT BANNER
---------------------------- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #222e3a;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 20px 20px 22px 20px;
    box-shadow: 0 -4px 32px #1B355655;
    z-index: 4000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    justify-content: center;
    transition: transform 0.35s;
}
.cookie-consent-banner.hide {
    transform: translateY(110%);
}
.cookie-consent-banner p {
    flex: 1 1 320px;
    color: #fff;
    margin: 0;
    font-size: 1rem;
}
.cookie-btn, .cookie-settings-btn {
    background: #C6A14A;
    color: #18253a;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 24px;
    padding: 11px 24px;
    margin-left: 8px;
    border: none;
    outline: none;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 2px 8px 0 #C6A14A33;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
    background: #fff;
    color: #C6A14A;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(19,30,43,0.96);
    z-index: 5000;
    align-items: center;
    justify-content: center;
}
.cookie-modal.active {
    display: flex;
}
.cookie-modal-content {
    background: #1B3556;
    color: #fff;
    padding: 34px 28px 26px 28px;
    border-radius: 18px;
    min-width: 290px;
    max-width: 98vw;
    box-shadow: 0 8px 32px #C6A14A55;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}
.cookie-modal-content h3 {
    color: #C6A14A;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.22rem;
}
.cookie-modal-content .cookie-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.01rem;
}
.cookie-toggle input[type="checkbox"] {
    width: 22px; height: 22px;
    accent-color: #C6A14A;
    margin-right: 6px;
}
.cookie-toggle label {
    color: #fff;
    font-weight: 500;
    user-select: none;
}
.cookie-modal-content .modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}
.cookie-modal-content .btn {
    padding: 10px 24px;
    border-radius: 24px;
    background: #C6A14A;
    color: #1B3556;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px 0 #C6A14A33;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.cookie-modal-content .btn:hover, .cookie-modal-content .btn:focus {
    background: #fff;
    color: #1B3556;
}
.cookie-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    color: #C6A14A;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    padding: 2px 10px;
    transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
    background: #C6A14A22;
}
.cookie-modal-content .cookie-desc {
    color: #eae6da;
    font-size: .97rem;
}

@media (max-width: 540px) {
    .cookie-modal-content {
        padding: 16px 6px 14px 10px;
        max-width: 97vw;
    }
    .cookie-modal-content .modal-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}

/* -------------------------
    ANIMATIONS & MICRO-INTERACTIONS
---------------------------- */
.cta.primary, .cookie-btn, .cookie-settings-btn, .btn {
    transition: box-shadow 0.22s, background 0.2s, color 0.2s, transform 0.14s;
}
.cta.primary:active, .btn:active {
    transform: translateY(2px) scale(0.98);
}
.testimonial-card {
    transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 7px 36px 6px #C6A14A42, 0 2px 14px 1px #050c1436;
    transform: scale(1.02);
}

/* Focus rings for a11y */
a:focus-visible, button:focus-visible, .cta:focus-visible, .btn:focus-visible {
    outline: 2px solid #C6A14A;
    outline-offset: 1px;
    box-shadow: 0 0 1px 1px #C6A14A66;
}

/* -------------------------
     SCROLLBAR STYLES
---------------------------- */
::-webkit-scrollbar {
  width: 7px;
  background: #222e3a;
}
::-webkit-scrollbar-thumb {
  background: #C6A14A55;
  border-radius: 8px;
}

/* -------------------------
      MISCELLANEOUS
---------------------------- */
body {
  /* Add optional animated background pattern */
  /* background: linear-gradient(110deg, #1B3556 80%, #181F2E 100%); */
}

/* Hide elements visually but keep accessible (for cookie modal etc) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Utility classes for spacing */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.pt-24 { padding-top: 24px; }
.pb-24 { padding-bottom: 24px; }

/* -------------------------
        PRINT ADJUSTMENTS
---------------------------- */
@media print {
    header, footer, .mobile-menu, .cookie-consent-banner, .cta, .btn { display: none !important; }
    body { color: #000; background: #fff; }
}
