/* ===========================
   Global Styles & Variables
   =========================== */
:root {
    --navy-dark: #1a2332;
    --navy-medium: #2d3e50;
    --charcoal: #3a4555;
    --gold-muted: #c9a961;
    --gold-light: #d4b87a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --grey-light: #e8eaed;
    --grey-medium: #6c757d;
    --text-dark: #2c3e50;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;  /* Initial offset - dynamically updated by JS */
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy-dark);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-light));
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--charcoal);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* ===========================
   Layout & Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    scroll-margin-top: 130px;  /* Match header height */
}

/* ===========================
   Header Navigation
   =========================== */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding-bottom: 0;
    margin-bottom: 0;
}

.main-header .container {
    max-width: 1000px;  /* Make container smaller (default is 1200px) */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0 0.1rem 0;  /* Top: 0.6rem, Bottom: 0.1rem */
}

.logo-link {
    display: flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.8;
}

.header-logo-text {
    color: var(--navy-dark);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    font-family: var(--font-serif);
}

.header-logo-img {
    height: 120px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header-logo-img:hover {
    opacity: 0.8;
}

/* Dual logo layout */
.header-logos {
    display: flex;
    align-items: flex-end;  /* Align logos to bottom for same baseline */
    gap: 2rem;  /* Increased gap without separator */
}

/* Move Effi Capital logo up for better visual balance */
.header-logos .logo-link:first-child .header-logo-img {
    margin-bottom: 59px;  /* Reduced from 62px to bring logo down 3px */
}

/* Make Cohen Group logo larger */
.cohen-logo {
    height: 115px;  /* Reduced from 120px */
    margin-top: 0;
    margin-bottom: 40px;  /* Increased from 35px to move logo up 5px */
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

.nav-link {
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-muted);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-nav {
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 132px; /* Exact header height: Cohen 120px + 10px margin + 2px buffer */
    justify-content: center;
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    scroll-margin-top: 130px;  /* Match header height */
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 35, 50, 0.7) 0%, rgba(26, 35, 50, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 2rem 4rem 2rem;  /* Increased top padding from 4rem to 8rem */
}

.hero-title {
    font-size: 4.5rem;  /* Increased from 3.5rem */
    font-weight: 700;  /* Increased from 600 for more boldness */
    margin-top: 4rem;  /* Add top margin to push title down */
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.9rem;  /* Increased from 1.5rem */
    margin-bottom: 2rem;
    font-weight: 400;  /* Increased from 300 for better visibility */
    color: var(--gold-light);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

.hero-quote {
    margin: 2.5rem auto;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--gold-muted);
    background: rgba(255, 255, 255, 0.05);
    max-width: 600px;
}

.hero-quote p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.quote-reference {
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 400;
}

.admission-note {
    color: var(--gold-light);
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-dates {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
}

.date-item i {
    color: var(--gold-muted);
    font-size: 1.3rem;
}

/* ===========================
   CTA Buttons
   =========================== */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-muted));
}

.primary-cta {
    margin: 2rem 0;
}

/* ===========================
   Event Section
   =========================== */
.event-section {
    background: var(--white);
}

.event-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 35, 50, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--gold-muted);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.feature-card p {
    font-size: 1rem;
    color: var(--grey-medium);
    line-height: 1.6;
}

/* ===========================
   Why Israel Section
   =========================== */
.why-section {
    background: var(--off-white);
}

.why-subtitle {
    font-size: 2rem;
    text-align: center;
    color: var(--navy-dark);
    margin: -1rem auto 2rem;
    font-weight: 600;
    font-family: var(--font-serif);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.why-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(26, 35, 50, 0.08);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(26, 35, 50, 0.12);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-box i {
    font-size: 2rem;
    color: var(--white);
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
    text-align: center;
}

.why-card p {
    font-size: 1rem;
    color: var(--grey-medium);
    line-height: 1.7;
    text-align: center;
}

/* ===========================
   Coverage Section
   =========================== */
.coverage-section {
    background: var(--white);
}

.coverage-list {
    max-width: 900px;
    margin: 0 auto;
}

.coverage-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--off-white);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--gold-muted);
}

.coverage-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(26, 35, 50, 0.1);
    transform: translateX(5px);
}

.item-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-muted);
    min-width: 60px;
    line-height: 1;
}

.item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--navy-dark);
}

.item-content p {
    font-size: 1rem;
    color: var(--grey-medium);
    line-height: 1.6;
}

/* ===========================
   Speakers Section
   =========================== */
.speakers-section {
    background: var(--navy-dark);
    color: var(--white);
    padding: 6rem 0;
}

.speakers-section .section-title {
    color: var(--white);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.speaker-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--grey-light);
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-muted);
}

.speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-muted);
}

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

.photo-placeholder.nefesh {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a9fd8, #6bb5e3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder.nefesh i {
    font-size: 3rem;
    color: var(--white);
}

.speaker-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
    font-weight: 600;
    white-space: normal;
    min-width: 0;
    line-height: 1.3;
}

.speaker-position {
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.speaker-title {
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.speaker-org {
    font-size: 0.85rem;
    color: var(--grey-medium);
    font-weight: 600;
    margin-bottom: 0;
    margin-top: auto;
}

/* ===========================
   SPEAKER LOGO FIX - Consistent Logo Display
   =========================== */

.speaker-logoBox {
    /* Fixed height container - all logos get same footprint */
    height: 64px;
    margin-top: auto;  /* Push logo to bottom for consistent alignment */
    padding: 10px 14px;
    
    /* Center logo both ways */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Visual treatment */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.speaker-card:hover .speaker-logoBox {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Logo image itself - never stretch, always contain */
.speaker-logoBox img,
img.speaker-logo {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;  /* KEY RULE: never distort aspect ratio */
    display: block;
}

/* Text-based logo styling */
.speaker-logo-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

/* Maximize Effi Capital logo - remove padding for larger display */
.speaker-card:nth-child(1) .speaker-logoBox {
    padding: 4px;  /* Minimal padding instead of 10px 14px */
}

/* Legacy classes (for backwards compatibility) */
.speaker-org-logo {
    height: 60px;
    width: auto;
    margin-top: auto;
    object-fit: contain;
    align-self: center;
}

.speaker-org-logo-large {
    height: 90px;
}

/* ===========================
   Audience Section
   =========================== */
.audience-section {
    background: var(--off-white);
}

.audience-list {
    max-width: 900px;
    margin: 0 auto;
}

.audience-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--gold-muted);
    transition: var(--transition);
}

.audience-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(26, 35, 50, 0.1);
}

.audience-icon {
    flex-shrink: 0;
}

.audience-icon i {
    font-size: 2.5rem;
    color: var(--gold-muted);
}

.audience-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--navy-dark);
}

.audience-text p {
    font-size: 1.05rem;
    color: var(--grey-medium);
    line-height: 1.7;
}

.audience-closing {
    margin-top: 3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--navy-dark);
}

/* ===========================
   Important Information Section
   =========================== */
.important-section {
    background: var(--white);
}

.important-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.important-item {
    background: var(--off-white);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--gold-muted);
}

.important-item i {
    font-size: 2rem;
    color: var(--navy-dark);
    margin-bottom: 0.8rem;
}

.important-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.important-item strong {
    display: block;
    font-size: 1rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

/* ===========================
   Event Details Section
   =========================== */
.details-section {
    background: var(--off-white);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.detail-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(26, 35, 50, 0.1);
}

.detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.detail-icon i {
    font-size: 2.5rem;
    color: var(--gold-light);
}

.detail-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.detail-date {
    font-size: 1.3rem;
    color: var(--gold-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-time {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.venue-note {
    text-align: center;
    font-size: 1.05rem;
    color: var(--charcoal);
    margin: 2rem auto 2rem;
    max-width: 700px;
    font-style: italic;
    font-weight: 500;
}

.organizer-info {
    text-align: center;
    margin-top: 2rem;
}

.organizer-info p {
    font-size: 1.1rem;
    color: var(--charcoal);
}

.organizer-info strong {
    color: var(--navy-dark);
    font-weight: 600;
}

/* ===========================
   About Section
   =========================== */
.about-section {
    background: var(--white);
    padding-bottom: 3rem;
}

.about-philosophy {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    border-left: 4px solid var(--gold-muted);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.philosophy-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 400;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.mission-highlight {
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    padding: 2.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    border-left: 5px solid var(--gold-muted);
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
    position: relative;
    overflow: hidden;
}

.mission-highlight::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    font-family: var(--font-serif);
    color: var(--gold-muted);
    opacity: 0.2;
    line-height: 1;
}

.mission-highlight p {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.9;
    font-weight: 400;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--off-white);
    border-radius: 8px;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--navy-dark);
    transform: translateY(-5px);
}

.stat-card:hover .stat-number {
    color: var(--gold-light);
}

.stat-card:hover p {
    color: var(--white);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.stat-card p {
    font-size: 1rem;
    color: var(--grey-medium);
    font-weight: 500;
    transition: var(--transition);
}

.credentials {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
}

.credentials-text {
    font-size: 1.3rem;
    color: var(--navy-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.credentials-text i {
    color: var(--gold-muted);
    font-size: 1.2rem;
    margin: 0 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.credential-badge {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    line-height: 0;
}

.credential-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.credential-badge img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: none;
    transition: var(--transition);
}

/* ===========================
   Projects Showcase Section
   =========================== */
.projects-showcase-section {
    background: var(--off-white);
    padding-top: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(26, 35, 50, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 35, 50, 0.15);
}

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: #28a745;
    color: var(--white);
}

.status-badge.under-construction {
    background: #ffc107;
    color: var(--navy-dark);
}

.project-content {
    padding: 2rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.project-location i {
    font-size: 1rem;
}

.project-name {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: var(--grey-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===========================
   Registration Section
   =========================== */
.registration-section {
    position: relative;
    background-image: 
        linear-gradient(rgba(26, 35, 50, 0.65), rgba(26, 35, 50, 0.65)),
        url('https://www.genspark.ai/api/files/s/ztCAIUuv');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.registration-section .section-title {
    color: var(--white);
}

.registration-section .section-title::after {
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-light));
}

.registration-section .lead-text {
    color: var(--gold-light);
}

/* Reduce space between consecutive lead-text paragraphs */
.registration-section .lead-text + .lead-text {
    margin-top: -2rem;  /* Pull up second paragraph */
}

.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 1rem;
}

.required {
    color: var(--gold-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-muted);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.confirmation-message {
    max-width: 700px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 5px solid #28a745;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirmation-content {
    text-align: center;
}

.confirmation-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-content h3 {
    font-size: 1.8rem;
    color: #155724;
    margin-bottom: 0.5rem;
}

.confirmation-content p {
    font-size: 1.1rem;
    color: #155724;
}

/* Form Disclaimer */
.form-disclaimer {
    margin: 2rem 0 2.5rem;
    padding: 1.5rem;
    background: rgba(201, 169, 97, 0.08);
    border-left: 4px solid var(--gold-muted);
    border-radius: 4px;
}

.form-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.form-disclaimer strong {
    color: var(--navy-dark);
}

/* Consent Section */
.consent-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(26, 35, 50, 0.03);
    border: 1px solid rgba(26, 35, 50, 0.1);
    border-radius: 8px;
}

.consent-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consent-group {
    margin-bottom: 1.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
}

.consent-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--gold-muted);
}

.consent-text {
    color: var(--charcoal);
}

.consent-notice {
    margin: 2rem 0 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border: 1px solid rgba(26, 35, 50, 0.08);
}

.consent-notice p {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.95rem;
}

.consent-notice ul {
    margin: 0.8rem 0 0 1.2rem;
    padding: 0;
    list-style-type: disc;
}

.consent-notice li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--charcoal);
}

.privacy-policy-link {
    color: var(--gold-muted);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

/* HubSpot Form Container */
.hubspot-form-container {
    max-width: 850px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* HubSpot Form 2-Column Layout */
.hs-form fieldset.form-columns-2 .hs-form-field {
    width: 48%;
    float: left;
    margin-right: 4%;
    box-sizing: border-box;
}

.hs-form fieldset.form-columns-2 .hs-form-field:nth-child(2n) {
    margin-right: 0;
}

/* Ensure specific rows start on a new line */
.hs-form .hs_firstname,
.hs-form .hs_email {
    clear: both;
}

/* Ensure message is full width */
.hs-form .hs_event_message {
    width: 100%;
    float: none;
    clear: both;
}

/* General spacing */
.hs-form .hs-form-field {
    margin-bottom: 14px;
}

/* Style HubSpot form inputs to match site design */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form select,
.hs-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
}

.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
    outline: none;
    border-color: var(--gold-muted);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Style HubSpot labels */
.hs-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 1rem;
}

/* Style HubSpot submit button */
.hs-form input[type="submit"],
.hs-form .hs-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    color: var(--navy-dark);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.hs-form input[type="submit"]:hover,
.hs-form .hs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* Style HubSpot error messages */
.hs-form .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.hs-form .hs-error-msg {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Style HubSpot checkboxes */
.hs-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--gold-muted);
}

/* Clear floats after form fields */
.hs-form fieldset::after {
    content: "";
    display: table;
    clear: both;
}

.privacy-policy-link:hover {
    color: var(--gold-light);
    text-decoration: none;
}

.consent-contact-info {
    padding: 1.2rem;
    background: rgba(201, 169, 97, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.consent-contact-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.consent-contact-info p:first-child {
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left p,
.footer-right p {
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-right p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-right p:first-child {
    color: var(--gold-light);
}

.footer-right i {
    color: var(--gold-muted);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* ===========================
   Sticky CTA
   =========================== */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
    z-index: 1000;
    transition: var(--transition);
    display: none;
}

.sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(201, 169, 97, 0.5);
}

.sticky-cta.visible {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

/* ===========================
   Contact Modal
   =========================== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.9);
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideInUp 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.contact-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--grey-medium);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    line-height: 1;
}

.contact-modal-close:hover {
    color: var(--navy-dark);
    transform: rotate(90deg);
}

.contact-modal-content h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--grey-medium);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-muted);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-contact-btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-confirmation-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-confirmation-message .confirmation-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.contact-confirmation-message h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #155724;
    margin-bottom: 0.5rem;
}

.contact-confirmation-message p {
    color: #155724;
    font-size: 1rem;
}

/* HubSpot Contact Form in Modal */
.hubspot-contact-form-container {
    margin-top: 1.5rem;
}

/* Style HubSpot form in modal to match site design */
.contact-modal-content .hs-form input[type="text"],
.contact-modal-content .hs-form input[type="email"],
.contact-modal-content .hs-form input[type="tel"],
.contact-modal-content .hs-form select,
.contact-modal-content .hs-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--grey-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
}

.contact-modal-content .hs-form input:focus,
.contact-modal-content .hs-form select:focus,
.contact-modal-content .hs-form textarea:focus {
    outline: none;
    border-color: var(--gold-muted);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Style HubSpot labels in modal */
.contact-modal-content .hs-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 1rem;
}

/* Style HubSpot submit button in modal */
.contact-modal-content .hs-form input[type="submit"],
.contact-modal-content .hs-form .hs-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--gold-muted), var(--gold-light));
    color: var(--navy-dark);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.contact-modal-content .hs-form input[type="submit"]:hover,
.contact-modal-content .hs-form .hs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* Style HubSpot error messages in modal */
.contact-modal-content .hs-form .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.contact-modal-content .hs-form .hs-error-msg {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Style HubSpot form fields in modal */
.contact-modal-content .hs-form .hs-form-field {
    margin-bottom: 1.5rem;
}

/* Style HubSpot checkboxes in modal */
.contact-modal-content .hs-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--gold-muted);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet styles - 768px and below */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    /* Header stays horizontal on tablet */
    .header-logo-img {
        height: 65px;
    }
    
    .cohen-logo {
        height: 65px;
        margin-bottom: 30px;
    }
    
    .header-logos .logo-link:first-child .header-logo-img {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* Grids adjust to 2 columns on tablet */
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .event-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* Mobile styles - screens smaller than 768px */
@media (max-width: 767px) {
    /* Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    * {
        box-sizing: border-box;
    }
    
    /* Container full width with padding */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    /* HEADER - Keep logos on one line, shrink them */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        position: relative;
    }
    
    .header-logos {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
    }
    
    .header-logo-img {
        height: 35px !important;
    }
    
    .cohen-logo {
        height: 35px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .header-logos .logo-link:first-child .header-logo-img {
        margin-bottom: 0 !important;
    }
    
    /* Hide desktop navigation on mobile */
    .header-nav {
        display: none !important;
    }
    
    .header-nav.active {
        display: flex !important;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        gap: 0;
    }
    
    .header-nav .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
        font-size: 1rem;
    }
    
    .header-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--navy-dark);
        cursor: pointer;
        z-index: 10000;
    }
    
    /* HERO SECTION */
    .hero-section {
        padding-top: 60px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-quote {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* SECTION TITLES */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    /* EVENT FEATURES - 1 column on mobile */
    .event-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .feature-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .feature-icon i {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    /* COVERAGE GRID - 1 column */
    .coverage-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .coverage-item {
        padding: 1.5rem;
    }
    
    /* SPEAKERS GRID - 1 PER ROW, CENTERED */
    .speakers-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .speaker-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin: 0 auto;
        box-sizing: border-box;
        text-align: center;
    }
    
    .speaker-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .speaker-name {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        width: 100%;
    }
    
    .speaker-position {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        width: 100%;
    }
    
    /* Speaker logo box - MUST BE VISIBLE */
    .speaker-logoBox {
        width: 100%;
        max-width: 200px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .speaker-logoBox img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .speaker-logo-text {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--text-dark);
        text-align: center;
        line-height: 1.3;
    }
    
    /* AUDIENCE GRID - 1 column */
    .audience-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .audience-item {
        padding: 1.5rem;
    }
    
    /* EVENT DETAILS - 1 column */
    .event-details-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    /* PROJECTS GRID - 1 column */
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    /* REGISTRATION FORM */
    .hubspot-form-container {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
        width: 100%;
        max-width: 100%;
    }
    
    /* Force HubSpot form to single column */
    .hs-form fieldset.form-columns-2 .hs-form-field {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hs-form input,
    .hs-form select,
    .hs-form textarea {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* FOOTER */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
    }
    
    .footer-left p,
    .footer-right p {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* CONTACT MODAL */
    .contact-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .contact-modal-content h2 {
        font-size: 1.5rem;
    }
    
    /* STICKY CTA */
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* STATS GRID */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Touch targets */
    button,
    .cta-button,
    a.nav-link {
        min-height: 44px;
    }
    
    /* Ensure all text wraps */
    h1, h2, h3, h4, h5, h6, p, span, a, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Images scale properly */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-logo-text {
        font-size: 1rem;
    }
    
    /* Stack logos vertically on mobile */
    .header-logos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .header-logo-img {
        height: 40px; /* Smaller logos on mobile */
    }
    
    .cohen-logo {
        height: 40px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* Remove bottom margins from logos on mobile */
    .header-logos .logo-link:first-child .header-logo-img {
        margin-bottom: 0;
    }
    
    /* Stack header content vertically */
    .header-content {
        flex-direction: column;
        padding: 0.5rem 0;
        gap: 0.5rem;
    }

    /* Mobile menu toggle positioning */
    .mobile-menu-toggle {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
    }

    .header-nav {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .nav-link.cta-nav {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-section {
        margin-top: 0;
        padding-top: 120px;  /* Adjust for stacked mobile header */
    }
    
    .section {
        scroll-margin-top: 120px;  /* Mobile header offset */
        padding: 3rem 0;
    }

    .hero-video {
        object-fit: cover;
        object-position: center;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .why-subtitle {
        font-size: 1.4rem;
        margin: -0.5rem auto 1rem;
    }

    .about-philosophy {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
    }

    .philosophy-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left;
    }

    .mission-highlight {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    .mission-highlight p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .mission-highlight::before {
        font-size: 80px;
        top: -5px;
        left: 10px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .detail-card h3 {
        font-size: 1.5rem;
    }
    
    /* Speaker cards - 1 per row on mobile */
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .speaker-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .speaker-avatar {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .speaker-name {
        font-size: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .speaker-position {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Speaker logo box - ensure visibility */
    .speaker-logoBox {
        height: 50px;
        padding: 6px 10px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .speaker-logoBox img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }
    
    /* Text-based logo for speaker without image */
    .speaker-logo-text {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
        display: block;
    }
    
    /* Maximize Effi Capital logo on mobile */
    .speaker-card:nth-child(1) .speaker-logoBox {
        padding: 2px;
    }
    
    /* Mobile form and consent styling */
    .registration-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .consent-section {
        padding: 1.5rem;
    }
    
    .consent-title {
        font-size: 1rem;
    }
    
    .consent-label {
        font-size: 0.85rem;
    }
    
    .consent-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }
    
    .consent-notice {
        padding: 1rem;
    }
    
    .consent-notice p,
    .consent-notice li {
        font-size: 0.85rem;
    }
    
    .consent-contact-info {
        padding: 1rem;
    }
    
    .consent-contact-info p {
        font-size: 0.85rem;
    }
    
    .form-disclaimer {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .form-disclaimer p {
        font-size: 0.85rem;
    }
    
    /* Additional Mobile Enhancements */
    
    /* Ensure no horizontal scrolling */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    /* Hamburger Menu for Mobile */
    .header-nav {
        display: none;
        position: fixed;
        top: 120px; /* Below stacked mobile header */
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        gap: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-nav.active {
        display: flex;
    }
    
    .header-nav .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--grey-light);
        font-size: 1rem;
        box-sizing: border-box;
    }
    
    .header-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hamburger Menu Button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--navy-dark);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 10000;
    }
    
    .mobile-menu-toggle i {
        display: block;
    }
    
    /* Hero Section Mobile */
    .hero-content {
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
    
    /* Event Cards Mobile */
    .event-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        word-wrap: break-word;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    /* Coverage Grid Mobile */
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .coverage-item {
        width: 100%;
        box-sizing: border-box;
        padding: 1.5rem 1rem;
    }
    
    /* Audience Grid Mobile */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .audience-item {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Event Details Mobile */
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .detail-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* HubSpot Form Mobile */
    .hubspot-form-container {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* HubSpot 2-column layout becomes single column on mobile */
    .hs-form fieldset.form-columns-2 .hs-form-field {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }
    
    .hs-form input,
    .hs-form select,
    .hs-form textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer Mobile */
    .footer-content {
        gap: 2rem;
        width: 100%;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
        align-items: center;
    }
    
    .footer-left p,
    .footer-right p {
        text-align: center;
        word-wrap: break-word;
    }
    
    .footer-bottom {
        padding: 1.5rem 0 1rem;
        width: 100%;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* Contact Modal Mobile */
    .contact-modal-content {
        width: 95%;
        max-width: 95%;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    .hubspot-contact-form-container {
        margin-top: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Sticky CTA Mobile */
    .sticky-cta {
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Stats Section Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Credentials Mobile */
    .credentials-container {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    /* Projects Grid Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }
    
    .project-card {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Touch-friendly buttons */
    button,
    .cta-button,
    .submit-button,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
        box-sizing: border-box;
    }
    
    /* Prevent text from being too small */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Video responsive */
    .hero-video {
        width: 100%;
        height: 100%;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }
    
    /* Ensure all text wraps properly */
    h1, h2, h3, h4, h5, h6, p, span, a, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}