@font-face {
    font-family: 'Clear Sans';
    src: url('assets/fonts/ClearSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Clear Sans';
    src: url('assets/fonts/ClearSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Clear Sans';
    src: url('assets/fonts/ClearSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS Custom Properties (Brand Colors) 
======================================== */
:root {
    --brand-blue: #234aff;
    --brand-blue-dark: #1a3acc;
    --brand-blue-light: #e8ecff;
    --brand-blue-lighter: #f4f6ff;
    --brand-black: #000000;
    --text-dark: #1a1a1a;
    --text-body: #444444;
    --text-muted: #666666;
    --text-light: #888888;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f3f4f6;
    --bg-cream: #faf7f2;
    --bg-blue-tint: #eef2ff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* ========================================
   Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Clear Sans', 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

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

a:hover {
    color: var(--brand-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Decorative Background Patterns
======================================== */
.bg-pattern-dots {
    background-image: radial-gradient(circle, var(--brand-blue) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.bg-pattern-grid {
    background-image: 
        linear-gradient(rgba(35, 74, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 74, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.bg-gradient-subtle {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-blue-tint) 50%, var(--bg-white) 100%);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--bg-blue-tint) 0%, var(--bg-white) 50%, var(--bg-cream) 100%);
}

.bg-gradient-warm {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-white) 100%);
}

/* Floating shapes decoration */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.floating-shapes::before {
    width: 400px;
    height: 400px;
    background: var(--brand-blue);
    top: -100px;
    right: -100px;
}

.floating-shapes::after {
    width: 300px;
    height: 300px;
    background: var(--brand-blue);
    bottom: -50px;
    left: -100px;
}

/* ========================================
   Hero Carousel Slide Backgrounds
======================================== */
/* Slide 1 uses inline background-image, no changes needed */

/* Slide 2: Main Hero - Soft blue gradient */
.hero-carousel .carousel-item:nth-child(2) {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f8ff 100%);
}

/* Slide 3: Philosophy - Warm cream gradient */
.hero-carousel .carousel-item:nth-child(3) {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 50%, #fdfbf8 100%);
}

/* Slide 4: Risk Awareness - Subtle rose/alert tint */
.hero-carousel .carousel-item:nth-child(4) {
    background: linear-gradient(135deg, #fef8f8 0%, #fdf0f0 50%, #fff8f8 100%);
}

/* ========================================
   Utility Classes
======================================== */
.section-padding {
    padding: 70px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.text-brand {
    color: var(--brand-blue) !important;
}

.btn-brand {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-brand:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-brand {
    background-color: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 10px 26px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-outline-brand:hover {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-2px);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.text-start p {
    margin: 0;
}

/* ========================================
   Navbar
======================================== */
.navbar {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-blue) !important;
}

.navbar-brand img {
    max-height: 54px;
    height: auto;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue) !important;
    background-color: var(--brand-blue-light);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23234aff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Social Links */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-light);
}

.navbar-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.navbar-social a:hover {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
}

.navbar-cta {
    margin-left: 16px;
}

.navbar-cta .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   Hero Carousel Section
======================================== */
#home {
    padding-top: 50px;
}

.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-tint) 50%, var(--bg-cream) 100%);
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(35, 74, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(35, 74, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-carousel .carousel-item {
    min-height: calc(100vh - 78px);
    max-height: calc(100vh - 78px);
    overflow: hidden;
}

.hero-carousel .carousel-item .container {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
}

.hero-carousel .carousel-item .container > .row {
    width: 100%;
}

.hero-carousel .carousel-inner {
    min-height: calc(100vh - 78px);
    max-height: calc(100vh - 78px);
}

.hero-content {
    padding: 50px 40px 50px 0;
    position: relative;
    z-index: 2;
}

.hero-content .tagline {
    display: inline-block;
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Clear Sans', 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content h1 span {
    color: var(--brand-blue);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Transparent image blending */
.hero-image-blend {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -60px;
}

.hero-image-blend img {
    width: 90%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--brand-blue-light), #fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1rem;
    text-align: center;
    padding: 40px;
    border: 2px dashed var(--brand-blue);
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Tagline Hero Slide */
.hero-tagline-slide {
    text-align: center;
    padding: 60px 0;
}

.hero-tagline-slide .tagline-main {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-tagline-slide .tagline-word {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.hero-tagline-slide .tagline-word.defend {
    color: var(--brand-blue);
}

.hero-tagline-slide .tagline-word.protect {
    color: var(--text-dark);
}

.hero-tagline-slide .tagline-word.react {
    color: var(--brand-blue);
}

.hero-tagline-slide .tagline-dot {
    color: var(--text-muted);
    font-weight: 400;
}

/* Hero Byline - Icon Layout */
.byline-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 28px;
    text-align: center;
}

.byline-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.byline-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.byline-item i {
    font-size: 1.3rem;
    color: var(--brand-blue);
}

.byline-item strong {
    color: var(--text-dark);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--brand-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    position: absolute;
    z-index: 10;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--brand-blue-dark);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    opacity: 0.4;
    margin: 0 6px;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* 4th Slide Styles */
.risk-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.risk-stat-item {
    background: #fff;
    padding: 20px 24px;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
    box-shadow: var(--shadow-sm);
}

.risk-stat-item .number {
    font-size: 1.70rem;
    font-weight: 700;
    color: #dc3545;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 6px;
}

.risk-stat-item .label {
    font-size: 1.0rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========================================
   About Section
======================================== */
.bio-toggle {
    color: var(--brand-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.bio-toggle:hover {
    text-decoration: underline;
}

.bio-more p {
    margin-bottom: 10px;
}

#about {
    position: relative;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-section) 30%, var(--bg-blue-tint) 70%, var(--bg-white) 100%);
}

.about-intro {
    margin-bottom: 80px;
}

.about-intro .section-header {
    margin-bottom: 40px;
}

.about-image {
    width: 90%;
    border-radius: 16px;
}

.about-intro p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, var(--brand-blue-light), #fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 0.9rem;
    text-align: center;
    padding: 30px;
    border: 2px dashed var(--brand-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-blue-light);
}

.stat-item .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-item .label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* OPSEC Callout */
.opsec-callout {
    margin-top: 40px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--bg-blue-tint) 0%, var(--brand-blue-light) 100%);
    border-left: 4px solid var(--brand-blue);
    border-radius: 0 12px 12px 0;
}

.opsec-callout h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.opsec-callout h4 i {
    color: var(--brand-blue);
}

.opsec-callout p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 10px;
}

.opsec-callout p:last-child {
    margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, var(--bg-blue-tint) 0%, var(--bg-white) 100%);
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(35, 74, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 74, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.philosophy-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-dark));
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.philosophy-card .icon {
    width: 60px;
    height: 60px;
    background: var(--brand-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.philosophy-card .icon i {
    font-size: 1.75rem;
    color: var(--brand-blue);
}

.philosophy-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Company Story Section */
.company-story {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 16px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -54px;
    width: 2px;
    background: var(--border-light);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.timeline-item h5 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.timeline-item p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.journey-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-blue-tint);
    border-radius: 8px;
    font-size: 1.0rem;
    color: var(--text-body);
}

.highlight-item i {
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-top: 2px;
}

.journey-outcome {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--bg-blue-tint) 100%);
    border-left: 3px solid var(--brand-blue);
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    font-size: 1.0rem;
    color: var(--text-dark);
}

.journey-outcome i {
    color: var(--brand-blue);
    font-size: 1.3rem;
}

/* Founders Section */
.founders-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-cream) 100%);
    position: relative;
}

.founder-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--brand-blue-light), #e0e5ff);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 0.8rem;
    border: 4px solid var(--brand-blue);
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.founder-card .title {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.founder-card .bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-card .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 500;
}

.founder-card .social-link:hover {
    color: var(--brand-blue-dark);
}

/* Case Studies Section */
.case-studies-section {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, var(--brand-blue) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.04;
    pointer-events: none;
}

.case-study-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.case-study-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.case-study-card .industry-tag {
    display: inline-block;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-card h5 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.case-study-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.case-study-card .outcome {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Clients Section (Hidden by default) */
.clients-section {
    padding: 60px 0;
    background-color: var(--bg-section);
    display: none; /* Hidden - uncomment display to show */
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    height: 100px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   Experience Section (Industries + Our Work)
======================================== */
.experience-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-blue-tint) 50%, var(--bg-section) 100%);
}

/* Industries */
.industry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    height: 100%;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.industry-card i {
    font-size: 1.75rem;
    color: var(--brand-blue);
}

.industry-card strong {
    font-size: 1rem;
    color: var(--text-dark);
}

.industry-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Our Work Wrapper */
.our-work-wrapper {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.highlight-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.highlight-tag {
    display: inline-block;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.highlight-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.highlight-outcome {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #16a34a;
    font-weight: 500;
}

.highlight-outcome i {
    font-size: 1rem;
}

/* Subsection Headers */
.subsection-header {
    margin-bottom: 40px;
}

.subsection-header h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.subsection-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ========================================
   Services Section
======================================== */
#services {
    position: relative;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-section) 50%, var(--bg-blue-tint) 100%);
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(35, 74, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 74, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 28px;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--brand-blue);
}

.service-card:hover .service-icon {
    background: var(--brand-blue);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-cta-card {
    background: linear-gradient(135deg, var(--bg-blue-tint) 0%, var(--brand-blue-light) 100%);
    border: 2px dashed var(--brand-blue);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-cta-card .service-icon {
    background: var(--brand-blue);
}

.service-cta-card .service-icon i {
    color: #fff;
}

.service-cta-card h4 {
    margin: 20px 0 12px;
}

.service-cta-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-cta-card .btn {
    margin-top: auto;
}

/* ========================================
   Resources Section (Carousel)
======================================== */
#resources {
    position: relative;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-white) 100%);
}

.resources-carousel {
    padding: 0 60px;
    position: relative;
}

.resource-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
}

.resource-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.resource-image {
    height: 180px;
    background: linear-gradient(145deg, var(--brand-blue-light), #e0e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 3rem;
}

.resource-content {
    padding: 25px;
}

.resource-type {
    display: inline-block;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.resource-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.resource-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.resource-card .read-more:hover {
    gap: 10px;
}

/* Resources Carousel Controls */
.resources-carousel .carousel-control-prev,
.resources-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--brand-blue);
    top: 50%;
}

.resources-carousel .carousel-control-prev {
    left: 0;
}

.resources-carousel .carousel-control-next {
    right: 0;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.resource-author {
    font-weight: 500;
}

.resource-date {
    color: #888;
}

/* ========================================
   Contact Section
======================================== */
#contact {
    position: relative;
    background: linear-gradient(180deg, var(--bg-blue-tint) 100%, var(--bg-white) 0%);
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, var(--brand-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    pointer-events: none;
}

/* Contact Section - 2 Column Layout */
.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.contact-card h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-card .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-card .contact-item i {
    color: var(--brand-blue);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-card .contact-item a {
    color: var(--text-body);
}

.contact-card .contact-item a:hover {
    color: var(--brand-blue);
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-size: 0.95rem;
}

.contact-social a:hover {
    color: var(--brand-blue);
}

.contact-social a i {
    font-size: 1.1rem;
    width: 22px;
    color: var(--brand-blue);
}

.contact-cta {
    margin-top: 25px;
}

/* ========================================
   CTA Banner
======================================== */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-blue-tint) 0%, var(--bg-cream) 100%);
    position: relative;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.cta-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #111 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand .tagline-footer {
    font-family: 'Clear Sans', 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--brand-blue);
    color: #fff;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-tagline-slide .tagline-main {
        font-size: 3rem;
    }
    
    .byline-intro {
        font-size: 1.1rem;
    }
    
    .byline-icons {
        gap: 24px;
    }
    
    .byline-item {
        font-size: 0.95rem;
    }
    
    .byline-item i {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .resources-carousel {
        padding: 0;
    }

    .navbar-social {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .cta-content {
        text-align: center;
        justify-content: center;
    }

    .cta-text {
        text-align: center;
    }

    #resourcesCarousel .carousel-item,
    #resourcesCarousel .carousel-inner {
        min-height: 450px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-carousel .carousel-item {
        min-height: 800px;
        max-height: none;
        overflow: visible;
        padding: 30px 0 40px;
    }

    .hero-carousel .carousel-item .container {
        min-height: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-carousel .carousel-inner {
        min-height: 800px;
        max-height: none;
    }

    .hero-content {
        text-align: center;
        padding: 30px 0 10px 0;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-image-blend {
        margin-left: 0;
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .hero-image-blend img {
        width: 70%;
        max-width: 280px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-tagline-slide {
        padding: 40px 0;
    }
    
    .hero-tagline-slide .tagline-main {
        font-size: 3.5rem;
        margin-bottom: 24px;
    }
    
    .hero-tagline-slide .tagline-word {
        margin: 0 8px;
    }
    
    .byline-intro {
        font-size: 1.1rem;
        margin: 0 16px 20px;
    }
    
    .byline-icons {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        margin-bottom: 28px;
    }
    
    .byline-item {
        font-size: 1.1rem;
    }
    
    .byline-item i {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item .number {
        font-size: 1.75rem;
    }

    .risk-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }

    .risk-stat-item {
        padding: 14px 16px;
    }

    .risk-stat-item .number {
        font-size: 1.0rem;
    }

    .risk-stat-item .label {
        font-size: 0.8rem;
    }

    .founder-card {
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .navbar-brand img {
        height: 36px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 1rem;
    }

    #resourcesCarousel .carousel-item,
    #resourcesCarousel .carousel-inner {
        min-height: 480px;
    }

    #resourcesCarousel .resource-card {
        min-height: 320px;
    }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========================================
   Legal Pages (Privacy Policy, Terms of Use)
======================================== */
.legal-page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-blue-tint) 50%, var(--bg-section) 100%);
    text-align: center;
}

.legal-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-page-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.legal-content {
    background: var(--bg-white);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-meta {
    padding: 20px 24px;
    background: var(--bg-section);
    border-radius: 8px;
    margin-bottom: 40px;
}

.legal-meta p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.legal-meta p + p {
    margin-top: 6px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 16px;
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--brand-blue);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Third-party services table */
.third-party-table {
    overflow-x: auto;
    margin: 20px 0;
}

.third-party-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.third-party-table th,
.third-party-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-light);
}

.third-party-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--text-dark);
}

.third-party-table td {
    color: var(--text-body);
}

.third-party-table a {
    color: var(--brand-blue);
}

/* Legal pages mobile responsive */
@media (max-width: 767.98px) {
    .legal-page-header {
        padding: 120px 0 40px;
    }
    
    .legal-page-header h1 {
        font-size: 2rem;
    }
    
    .legal-container {
        padding: 0 16px;
    }
    
    .legal-section h2 {
        font-size: 1.35rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .third-party-table th,
    .third-party-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Cookie Notice
======================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-notice-content span {
    flex: 1;
    min-width: 200px;
}

.cookie-link {
    color: var(--brand-blue-light);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-link:hover {
    color: #fff;
    text-decoration: underline;
}

.cookie-btn {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--brand-blue-dark);
}

@media (max-width: 576px) {
    .cookie-notice {
        padding: 10px 12px;
    }
    
    .cookie-notice-content {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .cookie-notice-content span {
        font-size: 0.75rem;
        flex: 1 1 100%;
        line-height: 1.4;
    }
    
    .cookie-link {
        font-size: 0.75rem;
    }
    
    .cookie-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}

/* ========================================
   Map Lazy Load Placeholder
======================================== */
.map-placeholder {
    min-height: 400px;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.map-placeholder:hover {
    background: var(--bg-blue-tint);
    border-color: var(--brand-blue-light);
}

.map-placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.map-placeholder-content i {
    font-size: 3rem;
    color: var(--brand-blue);
    display: block;
    margin-bottom: 12px;
}

.map-placeholder-content span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.map-placeholder-content small {
    font-size: 0.85rem;
    color: var(--text-muted);
}