/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-dropdown: #111111;
    --text-main: #ffffff;
    --text-muted: #888888;
    --gold: #A98C46;
    --gold-hover: #c4a65c;
    --border-color: #333333;
    --font-primary: 'Nunito Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.5;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Header --- */
.site-header {
    background-color: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid #8D7635;
}

.site-header .scrolled{
     background-color: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
}

.site-header-trans {
    background-color: transparent;
    border-bottom: 1px solid #8D7635; /* Start with a transparent border */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header-trans.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
}

#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header-placeholder-trans {
    position: sticky; /* Make the transparent header sticky */
    top: 0;
    z-index: 1000; /* Ensure it stays on top */
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--gold);
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-dropdown);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mega-menu {
    min-width: 650px;
}

.has-dropdown > .nav-link[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.mega-menu-grid {
    display: flex;
    gap: 2rem;
}

.divider-vertical {
    width: 1px;
    background-color: var(--border-color);
}

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.dropdown-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dropdown-col a:hover {
    color: var(--gold-hover);
}

.btn-primary {
    background-color: var(--gold);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* =========================================
   FOOTER STYLES - SIMPLE AND WORKING
   ========================================= */

.site-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 1rem 2rem;
    width: 100%;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-widget {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--text-main);
    font-size: 1rem;
    text-align: center;
;
}

/* =========================================
   CORE CAPABILITIES SECTION
   ========================================= */
.core-capabilities {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.capabilities-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Section Header --- */
.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.subtitle {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

/* Draws the golden line next to the subtitle */
.subtitle::before {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Grid Layout --- */
.capabilities-grid {
    display: grid;
    /* 3 equal columns */
    grid-template-columns: repeat(3, 1fr);
    /* Fixed height for all cards so they align perfectly */
    grid-auto-rows: 400px; 
    gap: 1.5rem;
}

/* --- Individual Cards --- */
.cap-card {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden; /* Keeps the zooming image inside the box */
    text-decoration: none;
    background-color: #1a1a1a; /* Fallback before image loads */
    border: 2px solid transparent; /* Add transparent border to prevent layout shift */
    transition: border-color 0.4s ease; /* Add transition for the border */
}

/* Makes the SOC/THREAT card stretch across 2 columns */
.cap-card.span-2 {
    grid-column: span 2;
}

.cap-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark gradient to ensure white text is always readable */
.cap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
    transition: background 0.4s ease;
}

.cap-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    z-index: 2; /* Keeps text above the overlay */
    transition: all 0.4s ease;
}

/* --- Hover Effects --- */

.cap-card:hover {
    border-color: var(--gold);
}

.cap-card:hover img {
    transform: scale(1.08); /* Slow zoom effect */
}

.cap-card:hover .cap-overlay {
    /* Adds a very subtle gold tint on hover */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(169, 140, 70, 0.15) 100%);
}

.cap-card:hover .cap-title {
    color: var(--gold);
    transform: translateX(8px); /* Slides text slightly right */
}

/* =========================================
   WHO WE SERVE (INDUSTRIES) SECTION
   ========================================= */
.who-we-serve {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.serve-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Grid Layout --- */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 420px; /* Slightly taller to fit the extra text/tags */
    gap: 1.5rem;
}

/* --- Individual Cards --- */
.serve-card {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    background-color: #1a1a1a;
}

.serve-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Taller gradient to ensure all text is readable against busy images */
.serve-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes content to the bottom */
    padding: 2rem;
    transition: background 0.4s ease;
}

.serve-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.serve-content p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Compliance Tags --- */
.serve-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.serve-tags span {
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* --- Hover Effects --- */
.serve-card:hover img {
    transform: scale(1.08);
}

.serve-card:hover .serve-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(169, 140, 70, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
}

.serve-card:hover .serve-content h3 {
    color: var(--gold);
}

/* Fills in the tags on hover for a premium interactive feel */
.serve-card:hover .serve-tags span {
    background-color: var(--gold);
    color: white;
}

/* =========================================
   WHO WE PROTECT SECTION
   ========================================= */
.who-we-protect {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.protect-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Makes the image slightly wider than text */
    gap: 4rem;
    align-items: center;
}

.protect-content .section-header {
    margin-bottom: 3rem;
}

/* --- Tabs Navigation --- */
.protect-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    padding: 0 0 1rem 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: #ffffff;
}

/* The Golden Underline */
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Overlaps the border-bottom */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.4s ease;
}

.tab-btn.active::after {
    width: 100%;
}

/* --- Tab Text Content --- */
.tab-pane {
    display: none;
    animation: fadeInText 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

.tab-pane p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Image Container --- */
.protect-images {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 6px;
    overflow: hidden;
}

.protect-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 1.5s ease;
    transform: scale(1.02);
}

/* Active image fades in and slowly scales down slightly for motion */
.protect-img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.why-choose-us {
    padding: 8rem 0; /* Extra padding for breathing room */
    background-color: var(--bg-dark);
}

.choose-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    /* Left column is slightly narrower than the right grid */
    grid-template-columns: 1fr 1.3fr; 
    gap: 5rem;
}

/* --- Left Column Layout --- */
.choose-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes header up, statement down */
    height: 100%;
}

.choose-content .section-header {
    margin-bottom: 2rem; /* Reduces default margin since flexbox handles spacing */
}

/* The large statement text */
.choose-statement h3 {
    font-size: 2.2rem; /* Reduced font size for better balance */
    font-weight: 400; /* Matching the lighter weight in the design */
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 2rem; /* Reduced spacing to the button below */
    max-width: 90%;
}

/* --- Right Column 2x2 Grid --- */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background-color: rgba(25, 25, 25, 0.4); /* Very subtle dark grey */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
}

/* Premium hover state */
.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    background-color: rgba(30, 30, 30, 0.6);
    box-shadow: 0 10px 25px rgba(169, 140, 70, 0.1);
}

.feature-icon {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.feature-card:hover .feature-icon {
    color: var(--gold);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.take-action {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #0A0A0A 0%, #2A1E08 40%, #0A0A0A 72.71%, #2A1E08 100%);

    text-align: center;
    border-top: 1px var(--gold-hover) solid;
}

.action-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Gold label with lines */
.action-label {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.action-label .line {
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.take-action h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.take-action p {
    color: #aaaaaa;
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-solid {
    background-color: var(--gold);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-solid:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: white;
    transform: translateY(-2px);
}

/* --- Breadcrumb --- */
.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--text-main);
}

.breadcrumb a:hover {
    color: var(--gold);
}

/* =========================================
   ABOUT US HERO / BREADCRUMB AREA
   ========================================= */
.about-hero {
    position: relative;
    min-height: 80vh; /* Reduced height for a more compact look */
    display: flex;
    align-items: center;
    background-image: url('../img/about-breadcrumb.jpg'); /* Replace with your code screen image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 50px; /* Accounts for the transparent header sitting on top */
    overflow: hidden;
}

.doing-hero {
    position: relative;
    min-height: 80vh; /* Reduced height for a more compact look */
    display: flex;
    align-items: center;
    background-image: url('../img/doing-hero.jpg'); /* Replace with your code screen image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 50px; /* Accounts for the transparent header sitting on top */
    overflow: hidden;
}

.cloud{
    background-image: url(../img/cloud.png);
}

.devops{
    background-image: url(../img/devops.png);
}

.cybersec{
    background-image: url(../img/cybersec.png);
}

.aisec{
    background-image: url(../img/aisec.png);
}

.grc{
    background-image: url(../img/grchero.jpg);
}

.elect{
    background-image: url(../img/electher.jpg);
}

.insight{
    background-image: url(../img/insight-back.jpg);
}


.contact-hero {
    position: relative;
    min-height: 80vh; /* Reduced height for a more compact look */
    display: flex;
    align-items: center;
    background-image: url('../img/contact-breadcrumb.jpg'); /* Replace with your code screen image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 50px; /* Accounts for the transparent header sitting on top */
    overflow: hidden;
}


/* Dark tint overlay to keep text ultra-sharp against code graphics */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.8) 40%, 
        rgba(10, 10, 10, 0.5) 100%
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2; /* Keeps content above overlay */
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem; /* Generous breathing room */
}

.hero-text-content {
    max-width: 650px;
}

.hero-text-content h1 {
    font-size: 3.8rem; /* Reduced font size for better balance */
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-text-content p {
    color: #cccccc;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 550px;
}

/* --- Action Buttons Alignment --- */
.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Reusing button styles with adjustments for this hero wrapper */
.hero-actions .btn-solid,
.hero-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-actions .btn-solid {
    background-color: var(--gold);
    /* color: var(--bg-dark); */
}

.hero-actions .btn-solid:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.hero-actions .btn-outline {
    background-color: transparent;
    border: 1px solid rgba(169, 140, 70, 0.4); /* Faded gold border matches mockup */
    color: #ffffff;
}

.hero-actions .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* =========================================
   OUR MISSION SECTION (Unique Classes)
   ========================================= */
.mission-statement-wrapper {
    padding: 5rem 0;
    background-color: #050505; /* Slightly darker than main bg for contrast */
}

.mission-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exact 50/50 split */
    gap: 5rem;
    align-items: center; /* Vertically center both columns */
}

/* --- Text Block --- */
.mission-label-bar {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.mission-accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.mission-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.mission-body-copy p {
    color: #bbbbbb; /* Softer white for readability */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* --- Visual Asset --- */
.mission-visual-asset {
    border-radius: 4px;
    max-height: 500px; /* Constrain the height of the image container */
    overflow: hidden;
}

.mission-visual-asset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Founder Led Section  */
.founder-led-wrapper {
    padding: 8rem 0;
    background-color: #050505;
    border-bottom: #8D763580;
}

.founder-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch; /* Stretch items to fill the grid cell height */
}

/* --- Left Visual --- */
.founder-visual-asset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* --- Right Content --- */
.founder-label-bar {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.founder-accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.founder-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 2rem;
}

.founder-intro-text {
    color: #bbbbbb;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* --- Feature Panel --- */
.founder-feature-panel {
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.founder-list {
    list-style: none;
    padding: 0;
}

.founder-list li {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    position: relative;
}

/* Gold Dot Indicator */
.founder-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
}

.founder-list strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.founder-list span {
    color: #888888;
    font-size: 0.95rem;
}

/* =========================================
   CORE CAPABILITIES SECTION (Unique Classes)
   ========================================= */
.capabilities-overview-section {
    padding: 8rem 0;
    background-color: #111111;
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.overview-header {
    max-width: 600px;
    margin-bottom: 5rem;
}

.overview-label-bar {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.overview-accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.overview-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.overview-subtext {
    color: #bbbbbb;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- The Grid --- */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.overview-card {
    display: flex;
    flex-direction: column;
    background-color: black;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

/* On Hover Effect */
.overview-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background-color: #121212;
}

.overview-card:hover h3{
    color: var(--gold);

}


.card-icon {
    margin-bottom: 2rem;
}
.card-icon img:hover{
    border-color: var(--gold-hover);
}
.card-icon img {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    margin: 0 auto;
}

.overview-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.overview-card p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-explore {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.overview-card:hover .card-explore {
    color: var(--gold);
    gap: 15px; /* Subtle slide interaction */
}

/* What we secure on about page  */
.secure-focus-section {
    padding: 6rem 0;
    background-color: #050505;
}

.secure-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.secure-image img {
    width: 100%;
    border-radius: 4px;
}

.secure-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.secure-label .line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.secure-content h2 {
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.secure-content p {
    color: #aaaaaa;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Tag buttons layout */
.secure-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.secure-tags button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.secure-tags button:hover {
    background: var(--gold);
    color: white;
}

/* =========================================
   THEMATIC FRONTIER STATEMENT
   ========================================= */
.frontier-statement-section {
    padding: 8rem 2rem;
   background: linear-gradient(180deg, #0A0A0A 0%, rgba(42, 30, 8, 0.6) 40%, rgba(10, 10, 10, 0.6) 72.71%, rgba(42, 30, 8, 0.6) 100%);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.frontier-container {
    max-width: 850px;
    margin: 0 auto;
}

.frontier-lead-text {
    color: #aaaaaa;
    font-size: 1.5rem; /* Large, readable weight */
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.frontier-highlight-text {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.absam{
    position: relative; /* Needed for the overlay */
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), /* Dark overlay */
        url('../img/about-cta.png'); /* Your background image */
    background-size: cover;
    background-position: center;
}

.absam2{
    position: relative; /* Needed for the overlay */
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), /* Dark overlay */
        url('../img/doing-cta.jpg'); /* Your background image */
    background-size: cover;
    background-position: center;
}

.partner-orgs-section {
    padding: 8rem 0;
    background-color: #151515; /* Slightly lighter than the absolute black cards */
}

.partner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header Area --- */
.partner-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.partner-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.partner-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.partner-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.partner-subtext {
    color: #888888;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- 2x2 Grid Layout --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.partner-card {
    background-color: #040404; /* Deep black to contrast with the section bg */
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid transparent;
}

.partner-card:hover {
    border-color: var(--gold-hover);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(169, 140, 70, 0.1);
}

.partner-icon-box {
    width: 54px;
    height: 54px;
    background-color: #151515;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 2rem;
}

.partner-card:hover .partner-icon-box {
    color: var(--gold);
}

.partner-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partner-card:hover h3{
    color: var(--gold);
}


.partner-card p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1; /* Pushes the divider and tags to the bottom uniformly */
}

/* --- Dividers and Tags --- */
.partner-divider {
    border: 0;
    border-top: 1px solid #222222;
    margin-bottom: 1.5rem;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.partner-tags span {
    border: 1px solid #333333;
    color: #888888;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.partner-card:hover .partner-tags span {
    border-color: var(--gold-hover);
    color: #aaaaaa;
}

/* =========================================
   PARTNER EXPECTATIONS SECTION
   ========================================= */
.expectations-section {
    padding: 8rem 0;
    background-color: #050505;
}

.expectations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch; /* Forces both columns to be equal height */
}

/* --- Left Column: Stretched Image --- */
.expectations-image-wrapper {
    width: 100%;
    height: 100%; /* Fills the stretched grid track */
    border-radius: 6px;
    overflow: hidden;
}

.expectations-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents image distortion */
    display: block;
}

/* --- Right Column: Content --- */
.expectations-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the text block */
    padding: 1rem 0;
}

.expectations-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.expectations-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.expectations-headline {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.expectations-intro {
    color: #aaaaaa;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* --- List Items --- */
.expectations-list {
    display: flex;
    flex-direction: column;
}

.expectation-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #8D7635;
}

.expectation-item:hover h3{
    color: var(--gold);
    cursor: pointer;
}

.expectation-icon:hover {
    color: var(--gold-hover);
} 



/* Removes the border from the very last item */
.expectation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* First item needs no top padding if we want it flush */
.expectation-item:first-child {
    padding-top: 0;
}

.expectation-icon {
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    padding-top: 2px; /* Slight nudge to align with the heading text */
}

.expectation-text h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.expectation-text p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   HOW IT WORKS SECTION
   ========================================= */
.how-it-works-section {
    padding: 12rem 0;
    background-color: #1c1b1b;
}

.works-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
.works-header {
    margin-bottom: 6rem;
}

.works-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.works-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.works-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
}

/* --- Timeline Grid Layout --- */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.cloudgrid{
    grid-template-columns: repeat(5, 1fr);
}

/* The subtle background line connecting the steps */
.timeline-track {
    position: absolute;
    top: 45px; /* Perfectly centered behind the 90px circles */
    left: 5%; /* Indented slightly from the edges */
    right: 5%;
    height: 1px;
    background-color: #222222;
    z-index: 1;
}

/* --- Individual Steps --- */
.timeline-step {
    position: relative;
    z-index: 2; /* Sits above the track line */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #050505; /* Matches section bg to hide the line behind it */
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.timeline-step h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-step p {
    color: #888888;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* Hover Interaction */
.timeline-step:hover .step-circle {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(169, 140, 70, 0.1);
    transform: scale(1.05);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 8rem 0;
    background-color: #050505;
}

.contact-container {
    max-width: 1200px; /* Slightly narrower to keep inputs from getting too wide */
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

/* --- Left: Form Box --- */
.contact-form-box {
    border: 1px solid rgba(169, 140, 70, 0.3); /* Subtle gold border */
    border-radius: 6px;
    padding: 3rem;
    background-color: transparent;
}

.form-row {
    margin-bottom: 1.5rem;
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group label {
    display: block;
    color: #bbbbbb;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Form Inputs */
.corvynt-form input[type="text"],
.corvynt-form input[type="email"],
.corvynt-form input[type="tel"],
.corvynt-form select,
.corvynt-form textarea {
    width: 100%;
    background-color: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 4px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    transition: var(--transition);
    outline: none;
}

.corvynt-form textarea {
    resize: vertical;
}

/* Customizing the select dropdown arrow */
.corvynt-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23bbbbbb%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

/* Focus states */
.corvynt-form input:focus,
.corvynt-form select:focus,
.corvynt-form textarea:focus {
    border-color: var(--gold);
    background-color: #111111;
}

/* Invalid state for form fields */
.corvynt-form .invalid {
    border-color: #ef4444; /* Red border for invalid fields */
    background-color: rgba(239, 68, 68, 0.05);
}

/* Checkbox Alignment */
.checkbox-row {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--gold);
    background-color: transparent;
    cursor: pointer;
}

.consent-text {
    color: #888888;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background-color: var(--gold);
    color: var(--bg-dark);
    border: none;
    padding: 1.1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #c4a65c;
    transform: translateY(-2px);
}

/* --- Right: Contact Information --- */
.contact-info-box {
    padding-top: 1rem;
}

.contact-headline {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight-gold {
    color: var(--gold);
}

.contact-subtext {
    color: #aaaaaa;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-divider {
    border: 0;
    border-top: 1px solid #333333;
    margin-bottom: 2.5rem;
}

.email-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.email-list a {
    color: var(--gold);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 900;
}

.email-list a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* Address Card */
.address-card {
    background-color: #7B662EA3; /* Olive-gold tint to match image */
    padding: 2.5rem;
    border-radius: 6px;
}

.address-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.address-card p {
    color: #e0e0e0;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* =========================================
   SECURITY DOMAINS SECTION
   ========================================= */
.security-domains-section {
    padding: 4rem 0;
    margin-bottom: 2rem;
    background-color: #050505;
    font-family: 'Nunito Sans', sans-serif;
}

.domains-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
.domains-header {
    margin-bottom: 2rem;
}

.domains-label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.domains-line {
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.domains-headline {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

/* --- Tabs Navigation --- */
.domains-tabs-nav {
    display: flex;
    gap: 6rem;
    border-bottom: 1px solid #333333;
    margin-bottom: 0; /* Flush with the content box */
}

.domain-tab-btn {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Nunito Sans', sans-serif;
}

.domain-tab-btn:hover {
    color: #dddddd;
}

.domain-tab-btn.active {
    color: #ffffff;
}

/* White active underline */
.domain-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.domain-tab-btn.active::after {
    width: 100%;
}

/* --- Content Box --- */
.domains-content-box {
    background-color: #e9e9e9;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.domain-pane {
    display: none; /* Hidden by default */
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    padding: 4rem;
    animation: fadeSlideIn 0.4s ease forwards;
}

.domain-pane.active {
    display: grid;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Left Column Layout (Text & Numbers) --- */
.domain-text-col {
    display: grid;
    grid-template-columns: 80px 1fr; /* Isolates the numbers from the paragraph */
    gap: 4rem;
}

.domain-indicators {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.domain-fraction {
    font-size: 1rem;
    font-weight: 700;
    color: #555555;
}

.domain-large-num {
    font-size: 6.5rem;
    font-weight: 900;
    line-height: 0.8;
    color: #444444;
    letter-spacing: -3px;
}

.domain-main-text {
    padding-top: 0.2rem;
}

.domain-main-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-main-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555555;
    font-weight: 500;
}

/* --- Right Column (Image) --- */
.domain-image-col {
    display: flex;
    align-items: center;
}

.domain-image-col img {
    width: 100%;
    max-width: 448px;
    height: 100%;
    max-height: 254px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* =========================================
   THREAT LANDSCAPE SECTION STYLES (ct- prefix)
   ========================================= */
 
.ct-threat-landscape {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 15, 10, 0.9) 100%);
    padding: 6rem 2rem;
}
 
.ct-threat-container {
    max-width: 1400px;
    margin: 0 auto;
}
 
/* --- HEADER --- */
.ct-threat-header {
    margin-bottom: 4rem;
}
 
.ct-threat-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
 
.ct-threat-label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--gold);
}
 
.ct-threat-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
}
 
.ct-threat-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}
 
/* --- CONTENT AREA --- */
.ct-threat-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem; /* Reduced gap for a tighter layout */
    align-items: stretch; /* Make columns equal height */
}
 
/* --- THREAT LIST (LEFT) --- */
.ct-threat-list {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}
 
.ct-threat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 3.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
 
.ct-threat-item:last-child {
    border-bottom: none;
}
 
.ct-threat-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
 
.ct-threat-item.active {
    background-color: rgba(169, 140, 70, 0.1);
    border-radius: 4px;
}
 
.ct-threat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}
 
.ct-threat-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    transition: color 0.3s ease;
}
 
.ct-threat-item:hover .ct-threat-name {
    color: var(--gold);
}
 
.ct-threat-item.active .ct-threat-name {
    color: var(--text-main);
}
 
.ct-threat-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    display: none;
    flex-shrink: 0;
    margin-left: auto;
    box-shadow: 0 0 8px rgba(169, 140, 70, 0.6);
}
 
.ct-threat-item.active .ct-threat-indicator {
    display: block;
}
 
/* --- THREAT DETAILS (RIGHT) --- */
.ct-threat-details {
    position: relative; /* For positioning child elements */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    overflow-y: auto; /* Allow this column to scroll internally */
    max-height: 600px; /* Set a fixed max-height */
}
 
.ct-threat-content-item {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}
 
.ct-threat-content-item.active {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
 
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
.ct-threat-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}
 
.ct-threat-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden; 
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}
 
.ct-threat-image img {
    width: 100%;
    max-width: 692px;
    height: 100%;
    max-height: 433px;
    /* display: block; */
    transition: transform 0.3s ease;
}
 
.ct-threat-image:hover img {
    transform: scale(1.05);
}

/* =========================================
   TABBED RESOURCES SECTION
   ========================================= */
.resources-section {
    padding: 6rem 0;
    background-color: #1a1a1a; /* Dark gray background matching images */
    font-family: 'Nunito Sans', sans-serif;
}

.resources-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Tab Navigation --- */
.resources-tabs-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #444444;
    margin-bottom: 3rem;
    overflow-x: auto;
    white-space: nowrap;
}

.resources-tabs-nav::-webkit-scrollbar {
    display: none;
}

.resource-tab-btn {
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.resource-tab-btn:hover {
    color: var(--gold);
}

.resource-tab-btn.active {
    color: #ffffff;
}

/* Gold active underline */
.resource-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold); /* Uses your root gold variable */
    transition: width 0.3s ease;
}

.resource-tab-btn.active::after {
    width: 100%;
}

/* --- Content Panes --- */
.resource-pane {
    display: none;
    animation: fadeInPane 0.4s ease forwards;
}

.resource-pane.active {
    display: block;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Intro Text */
.resource-intro {
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.resource-intro p {
    color: #999999;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 0;
}

/* --- Grid & Cards --- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background-color: #080808;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.resource-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(229, 189, 12, 0.25);
}

.resource-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Normal Text Category (Tabs 1 & 2) */
.card-category {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Outlined Pill Badge Category (Tabs 3, 4, 5, 6) */
.card-badge {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid var(--gold);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
}

.card-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222222;
    padding-top: 1.5rem;
    color: #666666;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-footer .arrow {
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.resource-card:hover .card-footer .arrow {
    transform: translateX(5px);
}




/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .header-action {
        display: none;
    } 
    .mobile-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    /* Give transparent header a solid background when mobile menu is open */
    .site-header-trans.nav-open {
        background-color: rgba(10, 10, 10, 0.8);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 2rem 4rem 2rem;
        gap: 1.5rem;
    }

    .nav-list > li {
        width: 100%; /* Ensure list items take full width */
    }

    .has-dropdown.active {
        position: relative; /* Create a new stacking context */
        z-index: 1; /* Lift it above sibling elements */
    }

    .nav-link {
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        padding: 1rem 0 0 1rem;
        width: 100%; /* Ensure dropdown takes full width */
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-title {
        margin-bottom: 1rem;
    }

    .dropdown-col a {
        font-size: 0.8rem;
        color: var(--text-main);
        padding: 0.5rem 0;
        display: block;
    }

    .mega-menu-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .divider-vertical {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .mega-menu {
        min-width: 100%;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 350px;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }

    .serve-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 400px;
    }
    .protect-inner {
        grid-template-columns: 1fr; /* Stacks image below text */
        gap: 3rem;
    }

    .protect-images {
        height: 400px;
    }
    .choose-inner {
        grid-template-columns: 1fr; /* Stack columns on tablet */
        gap: 4rem;
    }

    .choose-statement {
        margin-top: 3rem;
    }

    .choose-statement h3 {
        font-size: 2.5rem;
    }
    .hero-text-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-inner {
        padding: 0 2rem;
    }

    .mission-container-fluid {
        grid-template-columns: 1fr;
    }
    
    .mission-visual-asset {
        height: 400px; /* Force height on mobile */
    }
    .founder-container-fluid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .secure-container {
        grid-template-columns: 1fr; /* Stack columns on tablet/mobile */
        gap: 3rem;
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-headline {
        font-size: 2.5rem;
    }
    
    .partner-card {
        padding: 2rem;
    }

    .expectations-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .expectations-image-wrapper {
        height: 400px; /* Fixed height for mobile since it can't stretch horizontally */
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 5rem; /* Increase row gap when stacked */
    }
    
    .timeline-track {
        display: none; /* Hide the horizontal line when layout stacks */
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-info-box {
        order: -1; /* Puts the contact info above the form on mobile */
}
.domain-pane {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
    
    .domain-text-col {
        grid-template-columns: 60px 1fr;
    }
    
    .domains-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 2px;
        gap: 2.5rem;
    }
    
    .domains-tabs-nav::-webkit-scrollbar {
        height: 0px; /* Hide scrollbar for cleaner look */
    }

     .ct-threat-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
 
    .ct-threat-title {
        font-size: 2.5rem;
    }
 
    .ct-threat-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
 
    /* .ct-threat-item {
        flex: 1;
        min-width: 50%;
        padding: 1rem;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.7rem;
    } */
 
    .ct-threat-item:nth-child(even) {
        border-right: none;
    }
 
    .ct-threat-indicator {
        display: none !important;
    }
 
    .ct-threat-item.active {
        background-color: rgba(169, 140, 70, 0.1);
        border-bottom: 2px solid var(--gold);
    }

     .ct-threat-landscape {
        padding: 3rem 1.5rem;
    }
 
    .ct-threat-title {
        font-size: 2rem;
    }
 
    .ct-threat-list {
        flex-direction: column;
        border-bottom: none;
    }
 
    .ct-threat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
    }
 
    .ct-threat-item.active {
        background-color: transparent;
        border-bottom: 2px solid var(--gold);
    }
 
    .ct-threat-description {
        font-size: 0.95rem;
    }
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

/* --- Desktop Responsive --- */

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr; /* Single column for footer widgets */
        gap: 2.5rem;
    }

    .footer-desc {
        max-width: 100%;
    }


    .footer-bottom {
        text-align: center;
    }

    .capabilities-grid {
        grid-template-columns: 1fr; /* Switch to a single column layout */
        grid-auto-rows: 300px; /* Adjust row height for a single column */
    }

    /* Override the span-2 class on mobile */
    .cap-card.span-2 {
        grid-column: span 1;
    }
    .section-header h2 {
        font-size: 2.5rem; /* Adjust heading size for mobile */
    }
    .serve-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 380px;
    }
    .protect-tabs {
        gap: 1rem;
        overflow-x: auto; /* Allows swiping tabs on small screens */
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .tab-btn {
        font-size: 1rem;
    }
    
    .protect-images {
        height: 300px;
    }
    .choose-grid {
        grid-template-columns: 1fr; /* 1 column grid on mobile */
    }
    
    .choose-statement h3 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }

    .take-action h2{
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }
    .about-hero {
        min-height: auto; /* Let content define height */
        padding-top: 120px; /* Space for sticky header */
        padding-bottom: 80px; /* Add space at the bottom */
    }

    .hero-text-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-text-content p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn-solid,
    .hero-actions .btn-outline {
        width: 100%; /* Full-width tap targets on phones */
    }
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .secure-content h2 {
        font-size: 2.2rem; /* Scale down heading for smaller screens */
    }

    .secure-tags {
        justify-content: center; /* Center the tags on mobile */
    }

    .secure-tags button {
        padding: 0.5rem 0.8rem; /* Slightly tighter padding for mobile */
    }
    frontier-statement-section {
        padding: 5rem 1.5rem;
    }
    
    .frontier-lead-text {
        font-size: 1.25rem;
    }
    
    .frontier-highlight-text {
        font-size: 1.6rem;
    }

    .expectations-headline {
        font-size: 2.5rem;
    }

    .works-headline {
        font-size: 2.5rem;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        row-gap: 4rem;
    }

    .split-row {
        grid-template-columns: 1fr; /* Stack First/Last name on small screens */
    }

    .contact-headline {
        font-size: 2.5rem;
    }

    .contact-form-box {
        padding: 2rem 1.5rem;
    }
    .domains-headline {
        font-size: 2.2rem;
    }

    .domain-large-num {
        font-size: 5rem;
    }
    
    .domain-main-text h3 {
        font-size: 1.2rem;
    }
    
    .domain-pane {
        padding: 2rem 1.5rem;
    }
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-tabs-nav {
        gap: 2rem; /* Add breathing room for mobile scrolling */
    }
}

/* --- Scroll Animation Utility --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* --- Back to Top Button --- */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--gold-hover);
}

/* --- Form Success Popup --- */
.form-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-success-popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #1a1a1a;
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.form-success-popup.visible .popup-content {
    transform: scale(1);
}

.popup-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.popup-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.popup-content .btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Accessible dropdown controls and reviewable commercial navigation. */
button.nav-link{background:none;border:0;cursor:pointer;font:inherit;color:var(--text-main);padding:0} .nav-list{gap:1.35rem}.dropdown-menu.active{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}.nav-link:focus-visible,.dropdown-col a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.dropdown-menu{max-height:75vh;overflow-y:auto}.dropdown-col{gap:.75rem}@media(max-width:1024px){.dropdown-menu.active{transform:none}.dropdown-menu{max-height:none}}
