/* ========================================
   FINJAN VC - Final Refined Design
   WCAG AA Compliant | Professional UX/UI
   ======================================== */

/* ----------------------------------------
   CSS Variables / Design Tokens
   ---------------------------------------- */
:root {
    /* Brand Colors - From Brand Guidelines */
    --coffee: #7b4a1d;
    --coffee-dark: #5a3614;
    --coffee-light: #9b6a3d;
    --saffron: #cda22a;
    --saffron-light: #e5c04d;
    --saffron-dark: #b8910f;
    --cardamom: #a1b480;

    /* Neutral Colors */
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --white: #ffffff;
    --text-dark: #2c1810;
    --text-muted: #6b5d52;

    /* Accessibility - Enhanced contrast */
    --focus-ring: 3px solid var(--saffron);
    --focus-offset: 2px;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-padding: 5%;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    /* Container */
    --container-max: 1300px;
}

/* ----------------------------------------
   Reset & Base Styles
   ---------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Cairo", sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--coffee);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles - WCAG Compliant */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(123, 74, 29, 0.08);
    transition: all var(--transition-medium);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
    max-width: 1600px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo Structure - Separated Cup & Text */
.nav-logo {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-medium);
}

.nav-logo:hover,
.nav-logo:focus {
    transform: scale(1.02);
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-cup {
    height: 45px;
    width: 45px;
    object-fit: contain;
    transition: all var(--transition-medium);
}

.nav-logo:hover .nav-logo-cup {
    transform: translateY(-2px);
}

.nav-logo-text {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition-medium);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--coffee);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--saffron);
    transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--saffron);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-cta {
    background: var(--coffee);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    border: 2px solid var(--coffee);
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 74, 29, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--coffee);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--cream);
    border-top: 1px solid var(--cream-dark);
    padding: 1.5rem var(--container-padding);
    box-shadow: 0 10px 30px rgba(123, 74, 29, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    display: flex;
    flex-direction: column;
}

.mobile-links li {
    border-bottom: 1px solid var(--cream-dark);
}

.mobile-links a {
    display: block;
    padding: 1rem 0;
    color: var(--coffee);
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.mobile-links a:hover,
.mobile-links a:focus {
    color: var(--saffron);
}

.mobile-cta {
    display: block;
    text-align: center;
    background: var(--coffee);
    color: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.mobile-cta:hover,
.mobile-cta:focus {
    background: var(--coffee-dark);
}

.mobile-lang-toggle {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid var(--coffee);
    color: var(--coffee);
    padding: 1rem;
    margin-top: 1rem;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-lang-toggle:hover,
.mobile-lang-toggle:focus {
    background: var(--coffee);
    color: var(--white);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(
        135deg,
        var(--cream) 0%,
        var(--cream-dark) 100%
    );
    overflow: hidden;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    object-fit: cover;
    will-change: transform;
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
}

.hero-main {
    max-width: 900px;
}

/* Hero Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--coffee);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--saffron);
    border-radius: 50%;
}

.tag-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Heading */
.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--coffee);
    opacity: 0;
    transform: translateY(50px);
}

.hero-line:nth-child(1) {
    animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-line:nth-child(2) {
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-highlight {
    color: var(--saffron);
    position: relative;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
    flex-shrink: 0;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.hero-cta.primary {
    background: var(--coffee);
    color: var(--white);
}

.hero-cta.primary:hover {
    background: var(--coffee-dark);
}

.hero-cta.primary svg {
    transition: transform var(--transition-fast);
}

.hero-cta.primary:hover svg {
    transform: translateX(5px);
}

.hero-cta.secondary {
    background: transparent;
    color: var(--coffee);
    border: 2px solid var(--coffee);
}

.hero-cta.secondary:hover {
    background: var(--coffee);
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease forwards 1s;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--saffron), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* ----------------------------------------
   Section Common Styles
   ---------------------------------------- */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* View All Articles Wrapper - RIGHT ALIGNED */
.view-all-articles-wrapper {
    text-align: right;
    margin-bottom: 2rem;
}

.view-all-articles-wrapper .view-all-btn {
    display: inline-flex;
}

/* Tighter spacing for insights section header */
.insights .section-header {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--saffron);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
    content: "";
    width: 35px;
    height: 1px;
    background: var(--saffron);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ----------------------------------------
   About Section
   ---------------------------------------- */
.about {
    background: var(--coffee);
    position: relative;
    overflow: hidden;
}

.about-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.05;
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    order: 2;
}

.about-content {
    order: 1;
}

.about-image-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 4/3;
}

/* Tablet size */
@media (max-width: 1024px) {
    .about-image-wrapper {
        max-width: 350px;
    }
}

/* Mobile size */
@media (max-width: 600px) {
    .about-image-wrapper {
        max-width: 280px;
    }
}

.about-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--saffron);
}

.about-image {
    position: relative;
    background: transparent;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(123, 74, 29, 0.15));
}

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-highlight {
    background: var(--white);
    padding: 1.5rem;
    border-left: 4px solid var(--saffron);
    margin-top: 1.5rem;
}

.about-highlight p {
    margin: 0;
    font-style: italic;
    color: var(--coffee);
    font-size: 0.95rem;
}

/* ----------------------------------------
   Finjan Story Section
   ---------------------------------------- */
.finjan-story {
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.finjan-story-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.05;
}

.finjan-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.finjan-story-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.finjan-story-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(123, 74, 29, 0.15));
}

.finjan-story-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.story-element {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.story-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    overflow: hidden;
    background: transparent;
}

.story-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-icon:hover {
    transform: scale(1.05);
}

.story-icon svg {
    width: 30px;
    height: 30px;
}

.coffee-icon {
    background: rgba(123, 74, 29, 0.1);
    color: var(--coffee);
}

.cardamom-icon {
    background: rgba(161, 180, 128, 0.2);
    color: var(--cardamom);
}

.saffron-icon {
    background: rgba(205, 162, 42, 0.2);
    color: var(--saffron);
}

.story-element:hover .story-icon {
    transform: scale(1.1) rotate(5deg);
}

.story-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.5rem;
}

.story-text p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .finjan-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .finjan-story-visual {
        order: -1;
    }

    .finjan-story-visual img {
        max-width: 350px;
    }
}

@media (max-width: 600px) {
    .finjan-story-content {
        gap: 2rem;
    }

    .story-element {
        gap: 1rem;
    }

    .story-icon {
        width: 50px;
        height: 50px;
    }

    .story-icon svg {
        width: 25px;
        height: 25px;
    }

    .story-text h3 {
        font-size: 1.2rem;
    }

    .story-text p {
        font-size: 0.95rem;
    }

    .finjan-story-visual img {
        max-width: 250px;
    }
}

/* ----------------------------------------
   What We Do Section
   ---------------------------------------- */
.what-we-do {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.what-we-do::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0C50 27.6 27.6 50 0 50C27.6 50 50 72.4 50 100C50 72.4 72.4 50 100 50C72.4 50 50 27.6 50 0Z' fill='%237B4A1D'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    z-index: 0;
}

.what-we-do-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 380px 380px;
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.what-we-do .container {
    position: relative;
    z-index: 2;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: none;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-medium);
    box-shadow:
        0 2px 10px rgba(123, 74, 29, 0.08),
        0 10px 30px rgba(123, 74, 29, 0.1),
        0 18px 50px rgba(123, 74, 29, 0.06);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    box-shadow:
        0 4px 16px rgba(123, 74, 29, 0.1),
        0 14px 40px rgba(123, 74, 29, 0.14),
        0 26px 64px rgba(123, 74, 29, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #f0ebe3;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coffee);
}

.card-tag {
    background: var(--saffron);
    color: var(--white);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 1px;
}

.card-body {
    padding: 2rem 2.5rem;
    flex-grow: 1;
}

.card-body ul li {
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    list-style: none;
}

.card-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid #f0ebe3;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--coffee);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
}

.card-btn:hover,
.card-btn:focus {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 74, 29, 0.3);
}

.card-btn svg {
    transition: transform var(--transition-fast);
}

.card-btn:hover svg,
.card-btn:focus svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1100px) {
    .vision-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 1.5rem 2rem;
    }

    .card-body,
    .card-footer {
        padding: 1.5rem 2rem;
    }
}

/* ----------------------------------------
   Vision Section
   ---------------------------------------- */
.vision {
    background: var(--coffee);
    position: relative;
    overflow: hidden;
}

.vision-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.vision .section-tag {
    color: var(--saffron);
}

.vision .section-tag::before,
.vision .section-tag::after {
    background: var(--saffron);
}

.vision .section-title {
    color: var(--white);
}

.vision .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.vision .container {
    position: relative;
    z-index: 1;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card {
    background: var(--white);
    padding: 2.5rem;
    transition: all var(--transition-medium);
}

.vision-card:hover,
.vision-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.vision-icon {
    width: 55px;
    height: 55px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.vision-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--saffron);
}

.vision-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.75rem;
}

.vision-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   CSR Section
   ========================================== */

.csr-section {
    background: var(--cream);
    position: relative;
}

.csr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.csr-card {
    text-align: center;
    transition: transform var(--transition-fast);
}

.csr-card:hover {
    transform: translateY(-5px);
}

.csr-icon {
    width: 70px;
    height: 70px;
    background: var(--coffee);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-fast);
}

.csr-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.csr-card:hover .csr-icon {
    background: var(--saffron);
    transform: scale(1.1);
}

.csr-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 1rem;
}

.csr-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .csr-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .csr-icon {
        width: 60px;
        height: 60px;
    }

    .csr-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ----------------------------------------
   Insights & Articles - DARKER & FULLY CLICKABLE
   ---------------------------------------- */
.insights {
    background: linear-gradient(135deg, var(--cream) 0%, #f5f0e8 100%);
    position: relative;
}

.insights::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0C50 27.6 27.6 50 0 50C27.6 50 50 72.4 50 100C50 72.4 72.4 50 100 50C72.4 50 50 27.6 50 0Z' fill='%237B4A1D'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    z-index: 0;
}

.insights-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.insights .container {
    position: relative;
    z-index: 2;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.article-card {
    background: #ffffff;
    padding: 0;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.article-card:hover,
.article-card:focus {
    border-color: var(--saffron);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(123, 74, 29, 0.2);
    background: #fff7ec;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-card .article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-tag {
    display: inline-block;
    background: var(--coffee);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    flex-grow: 1;
}

.article-link-text {
    color: var(--saffron);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.article-card:hover .article-link-text,
.article-card:focus .article-link-text {
    color: var(--coffee);
    gap: 0.75rem;
}

.article-link-text svg {
    transition: transform var(--transition-fast);
}

.article-card:hover .article-link-text svg,
.article-card:focus .article-link-text svg {
    transform: translateX(3px);
}

/* Article View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--coffee);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.view-all-btn:hover,
.view-all-btn:focus {
    background: var(--coffee-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 74, 29, 0.3);
}

.view-all-btn svg {
    transition: transform var(--transition-fast);
}

.view-all-btn:hover svg,
.view-all-btn:focus svg {
    transform: translateX(5px);
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact {
    background: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: center;
}

/* Contact Info */
.contact-info {
    padding: 2.5rem 0;
    background: transparent;
    color: var(--coffee);
    position: relative;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-details {
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--saffron);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-item span {
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--coffee);
    transition: color var(--transition-fast);
}

.contact-item a:hover,
.contact-item a:focus {
    color: var(--saffron);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 2.5rem;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--saffron) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.contact-form > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--coffee);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--cream-dark);
    background: var(--cream);
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
    color: var(--text-dark);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B4A1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    padding-right: 3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--saffron);
    background-color: var(--white);
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B4A1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-submit {
    background: var(--coffee);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.form-submit:hover,
.form-submit:focus {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 74, 29, 0.3);
}

.form-submit svg {
    transition: transform var(--transition-fast);
}

.form-submit:hover svg,
.form-submit:focus svg {
    transform: translateX(5px);
}

/* ----------------------------------------
   Deal Flow Modals - RTL Support
   ---------------------------------------- */

/* Close button positioning */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--coffee);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

/* ==========================================
   File Upload Styling
   ========================================== */

input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed var(--coffee);
    background: var(--white);
    border-radius: 1px;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    width: 100%;
}

input[type="file"]:hover {
    border-color: var(--saffron);
    background: var(--cream);
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(205, 162, 42, 0.1);
}

.file-help {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

/* RTL adjustments */
[dir="rtl"] .file-help {
    text-align: right;
}

/* File input button styling */
input[type="file"]::file-selector-button {
    padding: 0.5rem 1rem;
    background: var(--coffee);
    color: var(--white);
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    margin-right: 1rem;
    transition: all var(--transition-fast);
}

[dir="rtl"] input[type="file"]::file-selector-button {
    margin-right: 0;
    margin-left: 1rem;
}

input[type="file"]::file-selector-button:hover {
    background: var(--saffron);
}

/* Mobile responsive */
@media (max-width: 768px) {
    input[type="file"]::file-selector-button {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Custom File Input Wrapper */
.custom-file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: 2px dashed var(--coffee);
    background: var(--white);
    border-radius: 1px;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    width: 100%;
}

.custom-file-input-wrapper:hover {
    border-color: var(--saffron);
    background: var(--cream);
}

.file-choose-btn {
    padding: 0.5rem 1rem;
    background: var(--coffee);
    color: var(--white);
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.file-choose-btn:hover {
    background: var(--saffron);
}

.file-name {
    flex: 1;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-name.has-file {
    color: var(--text-dark);
}

/* RTL Support for Custom File Input */
[dir="rtl"] .custom-file-input-wrapper {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .custom-file-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .file-choose-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        text-align: center;
    }

    .file-name {
        text-align: center;
    }

    [dir="rtl"] .custom-file-input-wrapper {
        flex-direction: column;
    }
}

/* RTL mode - move close button to left */
[dir="rtl"] .modal-close {
    right: auto;
    left: 1rem;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--saffron);
    transform: scale(1.1);
}

/* RTL mode - form alignment */
[dir="rtl"] .deal-flow-form {
    text-align: right;
}

[dir="rtl"] .deal-flow-form .form-group label {
    text-align: right;
}

[dir="rtl"] .deal-flow-form input,
[dir="rtl"] .deal-flow-form textarea,
[dir="rtl"] .deal-flow-form select {
    text-align: right;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--coffee);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Footer Logo Structure - Text Only */
.footer-logo-container {
    display: flex;
    align-items: flex-start;
}

.footer-logo-text {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-medium);
}

.footer-brand:hover .footer-logo-text {
    opacity: 0.85;
    transform: translateX(3px);
}

.footer-brand p {
    opacity: 0.9;
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.7;
    margin: 0;
}

.footer-founder {
    opacity: 0.7;
    font-size: 0.85rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--saffron);
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--saffron);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    align-items: center;
}

.social-links a {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus {
    background: var(--saffron);
    border-color: var(--saffron);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* Email icon fix */
.social-links .email-icon svg {
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
}

.social-links .email-icon:hover svg,
.social-links .email-icon:focus svg {
    stroke: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ----------------------------------------
   Scroll Reveal Animation
   ---------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */

@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: clamp(50px, 8vw, 80px);
    }

    .hero {
        padding: 120px 0 60px;
        min-height: 90vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper {
        max-width: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-left .nav-links {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Scale down logos on tablets */
    .nav-logo-cup {
        height: 40px;
        width: 40px;
    }

    .nav-logo-text {
        height: 28px;
    }

    .cards-grid,
    .vision-cards,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-image,
    .articles-listing .article-image {
        height: 160px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* View All Articles button on the right for mobile */
    .view-all-articles-wrapper {
        text-align: right;
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 50px;
        --container-padding: 6%;
    }

    .navbar-container {
        padding: 0.75rem var(--container-padding);
    }

    .nav-logo-cup {
        height: 36px;
        width: 36px;
    }

    .article-image,
    .articles-listing .article-image {
        height: 140px;
    }

    .article-content,
    .articles-listing .article-content {
        padding: 1.5rem;
    }

    .nav-logo-text {
        height: 26px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-line {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stats-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
    }

    .stats-row-second {
        margin-top: 0.5rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        height: 35px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-image-wrapper {
        max-width: 280px;
    }

    .about-image {
        padding: 0;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-frame {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }

    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 1.5rem 2rem;
    }

    .card-body,
    .card-footer {
        padding: 1.5rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem;
    }

    .footer-main {
        grid-template-columns: auto auto;
        gap: 2.5rem 3rem;
        text-align: left;
        justify-content: start;
    }

    .footer-brand {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 1rem;
    }

    .footer-logo-text {
        height: 50px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-column {
        text-align: left;
    }

    .footer-column h4 {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
        flex-wrap: nowrap;
    }

    .social-links a {
        width: 54px;
        height: 54px;
        border-width: 2px;
        border-radius: 1px;
        flex-shrink: 0;
    }

    .social-links svg {
        width: 23px;
        height: 23px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 400px) {
    .hero-line {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 56px;
        height: 56px;
    }

    .social-links svg {
        width: 24px;
        height: 24px;
    }
}

/* ----------------------------------------
   Articles Listing Page
   ---------------------------------------- */
.articles-hero {
    position: relative;
    padding: 180px 0 80px;
    background: linear-gradient(
        135deg,
        var(--cream) 0%,
        var(--cream-dark) 100%
    );
    text-align: center;
}

.articles-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.06;
}

.articles-hero-content {
    position: relative;
    z-index: 2;
}

.articles-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--coffee);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.articles-hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.articles-listing {
    padding: 80px 0;
    background: var(--white);
}

.articles-listing .articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.articles-listing .article-card {
    background: var(--white);
    padding: 0;
    border: 2px solid var(--cream-dark);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
}

.articles-listing .article-card:hover,
.articles-listing .article-card:focus {
    border-color: var(--saffron);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(123, 74, 29, 0.15);
}

.articles-listing .article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.articles-listing .article-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.articles-cta {
    padding: 80px 0;
    background: var(--coffee);
    text-align: center;
}

.articles-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.articles-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.articles-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.articles-cta .cta-btn {
    display: inline-block;
    background: var(--saffron);
    color: var(--white);
    padding: 1.2rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.articles-cta .cta-btn:hover,
.articles-cta .cta-btn:focus {
    background: var(--saffron-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(205, 162, 42, 0.4);
}

@media (max-width: 900px) {
    .articles-listing .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .articles-hero {
        padding: 140px 0 60px;
    }
}

@media (max-width: 600px) {
    .articles-hero {
        padding: 120px 0 50px;
    }

    .articles-listing {
        padding: 60px 0;
    }

    .articles-cta {
        padding: 60px 0;
    }
}

/* ----------------------------------------
   Deal Flow Modals
   ---------------------------------------- */
.deal-flow-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.deal-flow-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--coffee);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover,
.modal-close:focus {
    color: var(--saffron);
    transform: scale(1.1);
}

.modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.deal-flow-form .form-group {
    margin-bottom: 1.25rem;
}

.deal-flow-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--coffee);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.deal-flow-form input,
.deal-flow-form textarea,
.deal-flow-form select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--cream-dark);
    background: var(--cream);
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
    color: var(--text-dark);
}

.deal-flow-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B4A1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    padding-right: 3rem;
}

.deal-flow-form input:focus,
.deal-flow-form textarea:focus,
.deal-flow-form select:focus {
    border-color: var(--saffron);
    background-color: var(--white);
}

.deal-flow-form textarea {
    min-height: 100px;
    resize: vertical;
}

.deal-flow-form .form-submit {
    background: var(--coffee);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-family: "Cairo", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.deal-flow-form .form-submit:hover,
.deal-flow-form .form-submit:focus {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 74, 29, 0.3);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
    .navbar,
    .mobile-toggle,
    .mobile-menu,
    .hero-shapes,
    .scroll-indicator,
    .footer {
        display: none;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ----------------------------------------
   Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-video {
        display: none;
    }
}

/* Mobile video optimizations */
@media (max-width: 768px) {
    .hero-video {
        opacity: 0.15;
    }
}

/* ----------------------------------------
   Language Toggle Button
   ---------------------------------------- */
.lang-toggle {
    background: transparent;
    border: 2px solid var(--coffee);
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--coffee);
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.lang-toggle:hover,
.lang-toggle:focus {
    background: var(--coffee);
    color: var(--white);
    transform: translateY(-2px);
}

.lang-text {
    display: inline-block;
}

@media (max-width: 900px) {
    .lang-toggle {
        display: none;
    }
}

/* ----------------------------------------

/* ========================================
   ARTICLE PAGE - CLEAN & SIMPLE DESIGN
   ======================================== */

/* Article Page Container */
.article-page {
    padding: 140px 0 60px;
    background: var(--white);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Back Button */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.article-back:hover {
    color: var(--coffee);
    transform: translateX(-3px);
}

.article-back svg {
    transition: transform var(--transition-fast);
}

.article-back:hover svg {
    transform: translateX(-2px);
}

/* Category Pill */
.article-category-pill {
    display: inline-block;
    background: var(--saffron);
    color: var(--white);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Article Header */
.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
}

.article-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Article Meta Info */
.article-meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item svg {
    opacity: 0.6;
}

.meta-divider {
    color: var(--cream-dark);
}

/* Article Content Body */
.article-content-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.article-content-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--coffee);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.article-content-body p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.article-content-body ul,
.article-content-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.article-content-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.article-content-body ul li {
    list-style: disc;
}

.article-content-body ol li {
    list-style: decimal;
}

/* Article Figures */
.article-figure {
    margin: 3rem 0;
    text-align: center;
}

.article-figure img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.article-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* More Articles Section */
.more-articles {
    padding: 80px 0;
    background: var(--cream);
}

.more-articles h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 2.5rem;
    text-align: center;
}

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.more-article-card {
    background: var(--white);
    padding: 2rem;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.more-article-card:hover {
    border-color: var(--saffron);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(123, 74, 29, 0.1);
}

.more-article-tag {
    display: inline-block;
    color: var(--saffron);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.more-article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.more-article-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.more-article-link {
    color: var(--coffee);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.more-article-card:hover .more-article-link {
    color: var(--saffron);
}

/* More Articles CTA */
.more-articles-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: var(--coffee);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.view-all-btn:hover {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 74, 29, 0.3);
}

/* Responsive Design - Article Page */
@media (max-width: 1024px) {
    .more-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-page {
        padding: 100px 0 40px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-meta-info {
        gap: 0.75rem;
    }

    .more-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .more-articles {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .article-container {
        padding: 0 6%;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .article-content-body h2 {
        font-size: 1.4rem;
    }

    .article-content-body {
        font-size: 1rem;
    }

    .more-articles h2 {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------
   Simple Article Page - Clean Design
   ---------------------------------------- */

/* Article Container */
.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Simple Article */
.simple-article {
    padding: 140px 0 80px;
    background: var(--white);
}

/* Back Button */
.simple-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.simple-back:hover {
    color: var(--coffee);
    transform: translateX(-3px);
}

.simple-back svg {
    width: 18px;
    height: 18px;
}

/* Category Pill */
.simple-category {
    display: inline-block;
    background: var(--saffron);
    color: var(--white);
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* Article Title */
.simple-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* Article Meta */
.simple-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.meta-divider {
    color: var(--cream-dark);
}

/* Featured Image */
.simple-image {
    margin: 0 0 3rem;
    text-align: center;
}

.simple-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
}

.simple-image figcaption {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Article Content */
.simple-content {
    color: var(--text-dark);
}

.simple-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.simple-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--coffee);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.simple-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.simple-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.simple-content ul li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    list-style: none;
}

.simple-content figure {
    margin: 3rem 0;
}

/* Article Footer CTA */
.simple-cta {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--cream);
    text-align: center;
}

.simple-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.75rem;
}

.simple-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.simple-cta-btn {
    display: inline-block;
    background: var(--coffee);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.simple-cta-btn:hover {
    background: var(--coffee-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 74, 29, 0.3);
}

/* Related Articles Section */
.related-section {
    padding: 80px 0;
    background: var(--cream);
}

.related-section .article-container {
    max-width: 1300px;
}

.related-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--coffee);
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.related-card {
    background: var(--white);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    min-height: 320px;
}

.related-card:hover {
    border-color: var(--saffron);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(123, 74, 29, 0.1);
}

.related-cat {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.related-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.4;
}

.related-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

.related-read {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: auto;
}

/* Responsive - Simple Article */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .simple-article {
        padding: 100px 0 60px;
    }

    .simple-title {
        font-size: 1.8rem;
    }

    .simple-meta {
        font-size: 0.85rem;
    }

    .simple-content .lead-text {
        font-size: 1.1rem;
    }

    .simple-content h2 {
        font-size: 1.4rem;
    }

    .simple-content p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .article-container {
        padding: 0 6%;
    }

    .simple-title {
        font-size: 1.5rem;
    }

    .simple-meta {
        gap: 0.5rem;
    }

    .simple-cta {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================
   FOR STARTUPS PAGE STYLES
   ========================================== */

/* Startup Hero Section */
.startup-hero {
    position: relative;
    padding: 180px 0 80px;
    background: linear-gradient(
        135deg,
        var(--coffee) 0%,
        var(--coffee-dark) 100%
    );
    text-align: center;
    overflow: hidden;
}

.startup-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.06;
}

.startup-hero-content {
    position: relative;
    z-index: 2;
}

.startup-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.startup-hero-content p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

/* Application Section with Pattern */
.application-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.application-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.03;
}

.application-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.application-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.application-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 1rem;
}

.application-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.startup-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 1px;
    box-shadow: 0 4px 20px rgba(123, 74, 29, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ==========================================
   FOR INVESTORS PAGE STYLES
   ========================================== */

/* Investor Hero Section */
.investor-hero {
    position: relative;
    padding: 180px 0 80px;
    background: linear-gradient(
        135deg,
        var(--saffron) 0%,
        var(--saffron-dark) 100%
    );
    text-align: center;
    overflow: hidden;
}

.investor-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.06;
}

.investor-hero-content {
    position: relative;
    z-index: 2;
}

.investor-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.investor-hero-content p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

/* Registration Section with Pattern */
.registration-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.registration-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url("assets/images/Finjan-Pattern.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.03;
}

.registration-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.registration-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.registration-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 1rem;
}

.registration-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.investor-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 1px;
    box-shadow: 0 4px 20px rgba(205, 162, 42, 0.08);
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .startup-hero,
    .investor-hero {
        padding: 140px 0 60px;
    }

    .startup-hero-content h1,
    .investor-hero-content h1 {
        font-size: 2rem;
    }

    .startup-hero-content p,
    .investor-hero-content p {
        font-size: 1rem;
    }

    .startup-form,
    .investor-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .application-intro h2,
    .registration-intro h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .startup-hero,
    .investor-hero {
        padding: 120px 0 50px;
    }

    .startup-form,
    .investor-form {
        padding: 1.5rem 1rem;
    }
}

/* HubSpot Form Styling */
.hubspot-form-wrapper {
    max-width: 764px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    border: none;
}

.hubspot-form-wrapper::before {
    display: none;
}

.hubspot-form-wrapper iframe {
    display: block;
    border: none;
    width: 100%;
    height: 1129px;
    background: transparent;
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.application-section .hubspot-form-wrapper iframe {
    height: 1129px;
}

.registration-section .hubspot-form-wrapper iframe {
    height: 377px;
}

/* Responsive Heights for Startup Form */
@media (max-width: 768px) {
    .hubspot-form-wrapper {
        max-width: 684px;
        padding: 0;
        margin: 0 1rem;
        border-radius: 6px;
    }

    .hubspot-form-wrapper iframe {
        width: 100%;
        height: 1237px;
    }

    .application-section .hubspot-form-wrapper iframe {
        height: 1237px;
    }

    .registration-section .hubspot-form-wrapper iframe {
        height: 470px;
    }
}

@media (max-width: 480px) {
    .hubspot-form-wrapper {
        max-width: 337px;
        padding: 0;
        margin: 0 0.5rem;
        border-radius: 4px;
    }

    .hubspot-form-wrapper iframe {
        width: 100%;
        height: 1447px;
    }

    .application-section .hubspot-form-wrapper iframe {
        height: 1447px;
    }

    .registration-section .hubspot-form-wrapper iframe {
        height: 570px;
    }
}

/* Subtle watermark protection */
body::after {
    content: "© 2025 Finjan VC";
    position: fixed;
    bottom: 5px;
    right: 5px;
    font-size: 10px;
    color: rgba(123, 74, 29, 0.3);
    pointer-events: none;
    z-index: 999999;
    font-family: "Cairo", sans-serif;
}

/* ==========================================
   Force LTR for Technical Fields
   (Prevents BiDi issues with emails, phones, etc.)
   ========================================== */

/* Email fields - always LTR */
input[type="email"],
[dir="rtl"] input[type="email"] {
    direction: ltr !important;
    text-align: left !important;
}

/* Phone/Tel fields - always LTR */
input[type="tel"],
[dir="rtl"] input[type="tel"] {
    direction: ltr !important;
    text-align: left !important;
}

/* Phone number fields by ID (for both forms) */
#founderPhone,
#investorPhone,
#phone,
[dir="rtl"] #founderPhone,
[dir="rtl"] #investorPhone,
[dir="rtl"] #phone {
    direction: ltr !important;
    text-align: left !important;
}

/* Select dropdowns - keep values LTR but labels can be RTL */
select option {
    direction: ltr;
}

/* ==========================================
   Resources Section
   ========================================== */

.resources-section {
    background: var(--cream);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1px;
    box-shadow: 0 4px 20px rgba(123, 74, 29, 0.08);
    transition: all var(--transition-fast);
    text-decoration: none;
    color: inherit;
    display: block;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(123, 74, 29, 0.15);
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coffee);
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--saffron);
    font-weight: 600;
    font-size: 0.95rem;
}

.resource-card:hover .read-more {
    text-decoration: underline;
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--coffee);
    color: var(--white);
    text-decoration: none;
    border-radius: 1px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.view-all-btn:hover {
    background: var(--saffron);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
