/* ========================================
   MAIN WEBSITE STYLES
   ========================================
   This is the master stylesheet that controls the overall look of the website
   
   WHAT THIS FILE CONTROLS:
   - Overall page layout and structure
   - Color scheme and fonts
   - Button styles and hover effects
   - Responsive design (mobile/tablet/desktop)
   - Page transitions and animations
   
   SAFE TO ADJUST:
   - Color values in :root section (website color scheme)
   - Font sizes and families
   - Spacing values (padding, margin)
   - Animation timing (transition durations)
   
   BE VERY CAREFUL WITH:
   - Layout properties (display, position, flex)
   - Media queries (responsive breakpoints)
   - Z-index values (layering)
   
   COLOR SYSTEM:
   - Colors are defined in :root section using CSS variables
   - Format: --variable-name: #hexcode;
   - Used throughout site as: var(--variable-name)
   
   MEASUREMENT UNITS:
   - px = pixels (fixed size)
   - rem = relative to root font size (scalable)
   - % = percentage of parent element
   - vh = viewport height, vw = viewport width
*/

/* ==========================================
   SCROLLBAR AND PAGE FOUNDATION
   ==========================================
   These rules prevent page jumping and ensure smooth scrolling */
html {
    /* Allow scrolling for content below hero while keeping stable gutter */
    overflow-y: auto;          /* Enable vertical scrolling */
    scrollbar-gutter: stable both-edges;  /* Reserve space for scrollbar on both sides */
    min-height: 100%;
    max-height: none;
}

html, body {
    /* RESET BROWSER DEFAULTS */
    height: 100%;    /* Full height of browser window */
    margin: 0;       /* Remove default spacing around edges */
    padding: 0;      /* Remove default internal spacing */
}

* {
    /* APPLY TO ALL ELEMENTS */
    margin: 0;                    /* Remove all default margins */
    padding: 0;                   /* Remove all default padding */
    box-sizing: border-box;       /* Include padding/border in element size calculations */
}

/* ==========================================
   WEBSITE COLOR SCHEME
   ==========================================
   These are the main colors used throughout the site
   Change these values to update the entire color scheme */
:root {
    /* COLORS */
    --primary-color: #FF8C42;      /* Main orange - used for buttons, highlights */
    --primary-dark: #1A2F35;       /* Dark blue-green - backgrounds, text */
    --primary-light: #7FD1C7;      /* Light teal - accents, highlights */
    --accent-green: #4A6B63;       /* Medium green - secondary elements */
    --text-light: #F5E6D3;         /* Cream/beige - light text on dark backgrounds */
    --text-dark: #1A2F35;          /* Dark text - for light backgrounds */
    --background-dark: #1A2F35;    /* Dark background color */
    --background-light: #F5E6D3;   /* Light background color */
    
    /* CINEMATIC TYPOGRAPHY */
    --font-title: 'Cinzel', serif;           /* Classical, cinematic titles */
    --font-subtitle: 'Montserrat', sans-serif; /* Bold, modern subtitles */
    --font-body: 'Montserrat', sans-serif;     /* Clean body text */
    --font-nav: 'Montserrat', sans-serif;      /* Navigation text */
    --font-button: 'Montserrat', sans-serif;   /* Button text */
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-light);
    letter-spacing: 0.3px;
    background-color: var(--background-dark);
    overflow-x: hidden;
    text-align: center;
}

/* ==========================================
   CINEMATIC TYPOGRAPHY SYSTEM
   ==========================================
   Global typography rules for cinematic appearance */

/* HEADINGS - Classical Cinzel */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0px 0px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: 2px; }
h2 { font-size: 2.8rem; letter-spacing: 1.8px; }
h3 { font-size: 2.2rem; letter-spacing: 1.5px; }
h4 { font-size: 1.8rem; letter-spacing: 1.2px; }
h5 { font-size: 1.5rem; letter-spacing: 1px; }
h6 { font-size: 1.3rem; letter-spacing: 0.8px; }

/* PARAGRAPHS - Modern Montserrat */
p {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin-bottom: 1.2rem;
}

/* NAVIGATION TEXT */
nav, nav a, .nav-link, .brand-logo {
    font-family: var(--font-nav);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* BUTTON TEXT */
.btn, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-button);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* FORM ELEMENTS */
input, textarea, select {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* SMALL TEXT */
small, .small-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

/* Page container stability fix */
#page-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    /* Prevent horizontal shifts */
    box-sizing: border-box;
}

/* Prevent layout shifts during page navigation */
.no-transitions * {
    transition: none !important;
    animation: none !important;
}

/* Ensure stable scrollbar behavior */
body {
    scrollbar-gutter: stable;
}

/* Main content wrapper */
.main-content {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 0; /* Removed negative margin as body padding is now 0 */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 5; /* Ensure container content is always visible */
    overflow: visible;
}

/* Header Styles - Moved to navigation.css */

/* Logo styles - Moved to navigation.css */

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo .logo-diamond {
    width: 90px;
    height: 90px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 140, 66, 0.5);
}

.hero-logo .logo-diamond span {
    font-size: 24px;
    font-weight: bold;
}

/* Logo diamond styles - Moved to navigation.css */

/* Navigation links - Moved to navigation.css */

/* Auth buttons - Moved to navigation.css */

/* Mobile menu hamburger - Moved to navigation.css */

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 140, 66, 0.3);
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    overflow: hidden;
    width: 100%;
}

/* Simple Hero Section - Positioning handled by simple-hero.css */

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative; /* Added for proper positioning */
    z-index: 2; /* Ensure content appears above other elements */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-light) 50%, var(--text-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 140, 66, 0.5);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 6. ENHANCE NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    z-index: 1000;
    background: linear-gradient(to bottom,
        rgba(26, 47, 53, 0.95) 0%,
        rgba(26, 47, 53, 0.85) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(127, 209, 199, 0.3);
    box-shadow: 
        0 4px 20px rgba(26, 47, 53, 0.4),
        0 0 30px rgba(127, 209, 199, 0.1);
}

/* 1. FIX BROKEN LOGO IMAGES - Use text + emoji for now */
.logo img {
    display: none; /* Hide broken images */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #F5E6D3;
    text-decoration: none;
    background: linear-gradient(120deg, #F5E6D3, #7FD1C7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 2px 2px 10px rgba(26, 47, 53, 0.3);
}

.logo:hover {
    background: linear-gradient(120deg, #FF8C42, #7FD1C7);
    background-clip: text;
    -webkit-background-clip: text;
    transform: scale(1.02);
    text-shadow: 3px 3px 15px rgba(255, 140, 66, 0.2);
}

/* Logo styles - Moved to navigation.css */

/* Central logo fix */
.central-logo img {
    display: none;
}

.central-logo::before {
    content: "🔥";
    font-size: 80px;
    display: block;
    filter: drop-shadow(0 0 30px rgba(255, 140, 66, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Section Styles */
/* 2. ADD HERO BACKGROUND IMAGE */
.hero {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(27,94,32,0.4) 100%),
        url('https://images.unsplash.com/photo-1594069758873-e79e9075eb7d?w=1920&h=1080&fit=crop') center/cover;
    background-attachment: fixed;
    position: relative;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

/* 5. BETTER CTA BUTTONS */
.cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    padding: 16px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6);
}

.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 16px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 140, 66, 0.1);
    transition: width 0.5s;
}

.cta-secondary:hover::before {
    width: 100%;
}

.cta-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Node Animation Styles */
/* 3. ENHANCE YOUR FEATURE NODES */
.node {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(255, 140, 66, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 66, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.node:hover {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.2), rgba(255, 140, 66, 0.1));
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

/* Add icons to nodes */
.node1 .node-icon::before { content: "👥"; font-size: 24px; }
.node2 .node-icon::before { content: "🎓"; font-size: 24px; }
.node3 .node-icon::before { content: "📋"; font-size: 24px; }
.node4 .node-icon::before { content: "🚨"; font-size: 24px; }
.node5 .node-icon::before { content: "📜"; font-size: 24px; }
.node6 .node-icon::before { content: "🛠️"; font-size: 24px; }

.node-icon img {
    display: none; /* Hide broken images */
}

/* 7. ANIMATED NODE CONNECTIONS */
.node::before {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: flow 3s linear infinite;
}

@keyframes flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Stats Styling */
.stat-item h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}

.stat-item {
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 140, 66, 0.2);
    border-radius: 50%;
    z-index: -1;
}

/* Dual Platform Section */
.dual-platform {
    padding: 8rem 0;
    background-color: var(--background-dark);
    position: relative;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
    margin-top: 0; /* Ensure no unexpected margin */
    z-index: 2; /* Proper stacking context */
    overflow: visible;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.platform-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    max-width: 1200px;
    width: 100%;
}

.platform-card {
    flex: 1;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
    max-width: 450px;
}

.platform-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.platform-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.platform-icon i {
    font-size: 2rem;
}

.firefighter-side {
    border-left: 3px solid var(--primary-color);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
}

.firefighter-side .platform-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
}

.company-side {
    border-right: 3px solid #3498db;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.company-side .platform-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.platform-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.divider-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 140, 66, 0.3), rgba(255, 255, 255, 0.5));
}

.divider-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.8), rgba(52, 152, 219, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.platform-features {
    list-style: none;
    margin-top: 1rem;
}

.platform-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.platform-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.company-side .platform-features li::before {
    color: #3498db;
}

.platform-footer {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-style: italic;
}

/* Features Section */
.features {
    padding: 3rem 0 4rem;
    background-color: var(--background-dark);
    position: relative;
    margin-top: 0;
}

.section-header,
.features-header,
.pricing-header,
.testimonials-header,
.faq-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title,
.features-title,
.pricing-title,
.testimonials-title,
.faq-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title::after,
.features-title::after,
.pricing-title::after,
.testimonials-title::after,
.faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-subtitle,
.features-description,
.pricing-description,
.testimonials-description,
.faq-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.6;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.2);
    border-color: var(--primary-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(255, 140, 66, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 140, 66, 0.3);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.2);
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.feature-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    position: relative;
    border-top: 1px solid rgba(255, 140, 66, 0.3);
    border-bottom: 1px solid rgba(255, 140, 66, 0.3);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 1rem;
    box-sizing: border-box;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex: 1;
    max-width: 320px;
    min-height: 280px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.step-connector i {
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0.7;
    animation: pulse-horizontal 1.5s infinite ease-in-out;
}

/* Responsive styles for How It Works section */
@media (max-width: 992px) {
    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .step {
        max-width: 280px;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 320px;
        margin-bottom: 2rem;
    }
}

@keyframes pulse-horizontal {
    0% {
        transform: translateX(-3px);
        opacity: 0.5;
    }
    50% {
        transform: translateX(3px);
        opacity: 1;
    }
    100% {
        transform: translateX(-3px);
        opacity: 0.5;
    }
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 140, 66, 0.2);
    border-color: var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.95));
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.pricing-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    gap: 1rem;
}

.toggle-label {
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-label.active {
    color: var(--text-light);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 140, 66, 0.3);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.save-badge {
    background-color: rgba(255, 140, 66, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 1rem;
    box-sizing: border-box;
}

.pricing-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
    position: relative;
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0 10px 0 10px;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.2);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.plan-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.plan-price .annual-price,
.plan-price .monthly-price {
    transition: all 0.3s ease;
}

.plan-price span:last-child {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 4px;
    margin-bottom: 0.8rem;
}

.plan-best-for {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    background: rgba(255, 140, 66, 0.1);
    padding: 0.75rem;
    border-radius: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.plan-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 10px 0 10px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-light);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features li.included {
    color: var(--text-light);
}

.pricing-features li.included::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.pricing-features li.excluded {
    text-decoration: line-through;
    opacity: 0.5;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--background-dark);
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonials-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Removed duplicate styling */

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.2);
    border-color: var(--primary-color);
}

.testimonial-text {
    position: relative;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.testimonial-text::before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-title {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Remove redundant testimonial styling */

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.95));
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.faq-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 1rem;
    box-sizing: border-box;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 1.75rem;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 1rem;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(10, 10, 10, 0.9)), url('../img/cta-bg.jpg') center/cover;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    margin-top: 0;
    overflow: visible;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-section .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 140, 66, 0.4);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    position: relative;
    z-index: 2;
    margin-top: 0;
    overflow: visible;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

#newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

#newsletter-email {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

#newsletter-form button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: var(--primary-orange);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

#newsletter-form button:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Page Assembly Animations */
#page-container {
    visibility: hidden;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for staggered feature blocks */
.feature-block {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Media Queries */
/* Hero section responsive adjustments */
@media (max-width: 992px) {
    .hero {
        height: calc(100vh - 80px); /* Viewport height minus header height */
        margin: 0;
        padding: 0;
        position: fixed;
        top: 80px; /* Position exactly below header */
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 80px); /* Viewport height minus header height */
        margin: 0;
        padding: 0;
        position: fixed;
        top: 80px; /* Position exactly below header */
        bottom: 0;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Dual Platform responsive styles */
    .platform-grid {
        gap: 1rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-divider {
        padding: 0 1rem;
    }
    
    /* Show site title and hide nav links on medium screens */
    .site-title {
        display: block;
        margin-right: auto;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 100;
        border-bottom: 1px solid var(--primary-orange);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.8rem 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 101;
        margin-left: 1rem;
    }
}

@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    /* Dual Platform responsive styles for tablets */
    .platform-grid {
        flex-direction: column;
        gap: 2rem;
        width: 90%;
        max-width: 500px;
    }
    
    .platform-divider {
        flex-direction: row;
        width: 80%;
        padding: 1rem 0;
    }
    
    .divider-line {
        width: 40%;
        height: 2px;
        background: linear-gradient(to right, rgba(255, 107, 53, 0.3), rgba(255, 255, 255, 0.5));
    }
    
    .platform-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .firefighter-side {
        border-left: none;
        border-top: 3px solid #FF6B35;
    }
    
    .company-side {
        border-right: none;
        border-bottom: 3px solid #3498db;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .user-type-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .user-tab {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-stat {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* Adjust header for very small screens */
    header nav {
        padding: 15px 10px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    /* Ensure buttons are properly sized */
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-features li {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .feature-card,
    .pricing-card,
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title, 
    .features-title, 
    .pricing-title, 
    .testimonials-title, 
    .faq-title {
        font-size: 1.8rem;
    }
    
    .section-description, 
    .features-description, 
    .pricing-description, 
    .testimonials-description, 
    .faq-description {
        font-size: 0.9rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .platform-features {
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .node {
        display: none;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .platform-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .divider-line {
        display: none;
    }
    
    .divider-icon {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .hamburger {
        display: block;
        z-index: 100;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.5s ease;
        padding-left: 0;
        margin: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 80%;
        margin: 2rem auto 0;
        gap: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stats-container {
        min-width: 100%;
    }
    
    .section-title, 
    .features-title, 
    .pricing-title, 
    .testimonials-title, 
    .faq-title {
        font-size: 2rem;
    }
    
    .section-subtitle, 
    .features-description, 
    .pricing-description, 
    .testimonials-description, 
    .faq-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .platform-features {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .path-card {
        padding: 1.5rem;
    }
    
    .path-card h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
    }
    
    .platform-icon i {
        font-size: 1.8rem;
    }
    
    .platform-card h3 {
        font-size: 1.5rem;
    }
}

/* Feature Card Styling */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: linear-gradient(180deg, var(--card-bg) 0%, #0f0f0f 100%);
}

.feature-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.feature-card i {
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Scroll Animation */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fire loader animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0A0A0A;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.flame {
    width: 20px;
    height: 60px;
    background: linear-gradient(to top, #FF6B35, #FFD93D);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.5s ease-in-out alternate infinite;
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(0.95) rotate(2deg); }
}

/* Add hover effect to nav links */
.nav-links {
    display: flex;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a:not(.login-btn):not(.signup-btn) {
    color: #F5E6D3;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    text-shadow: 0 0 10px rgba(127, 209, 199, 0.2);
    letter-spacing: 0.3px;
}

.nav-links a:not(.login-btn):not(.signup-btn):hover {
    color: #7FD1C7;
    text-shadow: 0 0 15px rgba(127, 209, 199, 0.4);
    transform: translateY(-1px);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.nav-links .login-btn {
    background: rgba(127, 209, 199, 0.15);
    color: #F5E6D3;
    border: 2px solid #7FD1C7;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(127, 209, 199, 0.3);
    box-shadow: 
        0 4px 15px rgba(127, 209, 199, 0.2),
        0 0 20px rgba(127, 209, 199, 0.1);
    font-size: 1.05rem;
    min-width: 100px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links .signup-btn {
    background: linear-gradient(135deg, #FF8C42, #ff6b2b);
    color: #F5E6D3;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(255, 140, 66, 0.3),
        0 0 20px rgba(255, 140, 66, 0.2);
    text-shadow: 0 0 10px rgba(26, 47, 53, 0.3);
    font-size: 1.05rem;
    min-width: 100px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.nav-links .login-btn:hover {
    background: rgba(127, 209, 199, 0.25);
    border-color: #7FD1C7;
    color: #7FD1C7;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(127, 209, 199, 0.3),
        0 0 30px rgba(127, 209, 199, 0.2);
}

.nav-links .signup-btn:hover {
    background: linear-gradient(135deg, #ff6b2b, #FF8C42);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 140, 66, 0.4),
        0 0 30px rgba(255, 140, 66, 0.3);
    color: #F5E6D3;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('https://source.unsplash.com/1600x900/?forest,fire') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.central-logo {
    margin-bottom: 2rem;
    position: relative;
}

.central-logo img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-primary, .cta-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-primary {
    background-color: #4CAF50;
    color: #fff;
}

.cta-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
}

.cta-primary:hover {
    background-color: #3e8e41;
    transform: translateY(-3px);
}

.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* CONSOLIDATED STYLES - MAY 2025 UPDATE */

/* Logo Styles */
.logo-container {
    margin-bottom: 2rem;
    text-align: center;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

/* Path Selection Styles */
.path-selection {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.path-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.firefighter-path {
    border-color: rgba(76, 175, 80, 0.3);
}

.firefighter-path:hover {
    border-color: #4CAF50;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.company-path {
    border-color: rgba(255, 107, 53, 0.3);
}

.company-path:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.path-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.firefighter-path .path-icon {
    color: #4CAF50;
}

.company-path .path-icon {
    color: #FF6B35;
}

.path-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.path-card p {
    color: #B0B0B0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.path-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.firefighter-path:hover .path-cta {
    background: #4CAF50;
    color: white;
}

.company-path:hover .path-cta {
    background: var(--primary-orange);
    color: white;
}

/* Why Choose Us Page Styles */
.why-choose-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, var(--bg-dark), #141414);
    position: relative;
}

.firefighter-why-choose {
    border-bottom: 4px solid #4CAF50;
}

.company-why-choose {
    border-bottom: 4px solid var(--primary-orange);
}

.why-choose-section {
    padding: 8rem 0;
    position: relative;
    overflow: visible;
    margin: 0;
    clear: both;
}

.why-choose-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-content.reverse {
    flex-direction: row-reverse;
}

.why-choose-number {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-right: 1.5rem;
}

.why-choose-text {
    flex: 1;
}

.why-choose-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.why-choose-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-choose-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-choose-feature i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.firefighter-why-choose .why-choose-feature i {
    color: #4CAF50;
}

.why-choose-feature p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.why-choose-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-choose-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.why-choose-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.why-choose-quote {
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary-orange);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.firefighter-why-choose .why-choose-quote {
    border-left-color: #4CAF50;
}

.why-choose-quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-choose-quote span {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Comparison Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.comparison-cell {
    padding: 1rem 1.5rem;
    flex: 1;
}

.comparison-row.header .comparison-cell {
    color: var(--text-primary);
}

/* Benefits Grid Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
}

.benefit-title {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
}

.benefit-arrow {
    margin: 0 1.5rem;
    color: var(--primary-orange);
}

.benefit-result {
    flex: 1;
    color: var(--primary-orange);
    font-weight: 600;
}

/* How It Works Connection Page Styles */
.how-it-works-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(to bottom, var(--bg-dark), #141414);
    position: relative;
    border-bottom: 4px solid var(--primary-orange);
}

.connection-overview {
    padding: 5rem 0;
    background-color: rgba(15, 15, 15, 0.5);
}

.connection-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.connection-side {
    flex: 1;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
}

.firefighter-side {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.company-side {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.connection-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 auto 1.5rem;
}

.firefighter-side .connection-icon {
    color: #4CAF50;
}

.company-side .connection-icon {
    color: var(--primary-orange);
}

.connection-side h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.connection-features {
    text-align: left;
    list-style: none;
}

.connection-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.connection-features li i {
    color: #4CAF50;
}

.company-side .connection-features li i {
    color: var(--primary-orange);
}

.connection-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.connection-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.connection-platform img {
    margin-bottom: 1rem;
}

.connection-platform span {
    font-weight: 600;
    text-align: center;
}

.connection-arrows {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.left-arrow {
    color: #4CAF50;
}

.right-arrow {
    color: var(--primary-orange);
}

.connection-details {
    padding: 5rem 0;
}

.connection-steps {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.connection-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.connection-step:last-child {
    margin-bottom: 0;
}

.connection-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 2.5rem;
    height: 4rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.connection-step-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--primary-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 2rem;
}

.connection-step-content {
    flex: 1;
}

.connection-step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.connection-step-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.connection-step-side {
    flex: 1;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
}

.connection-step-side.firefighter {
    border-left: 4px solid #4CAF50;
}

.connection-step-side.company {
    border-left: 4px solid var(--primary-orange);
}

.connection-step-side h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.connection-step-side ul {
    list-style: none;
}

.connection-step-side ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.connection-step-side ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.connection-step-side.firefighter ul li::before {
    color: #4CAF50;
}

.connection-step-side.company ul li::before {
    color: var(--primary-orange);
}

.dual-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Styles for Connection Pages */
@media (max-width: 992px) {
    .why-choose-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .why-choose-content.reverse {
        flex-direction: column;
    }
    
    .connection-diagram {
        flex-direction: column;
        gap: 2rem;
    }
    
    .connection-middle {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .connection-step-details {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .why-choose-features {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .benefit-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .dual-cta {
        flex-direction: column;
    }
}

/* Hero Background Logo Effect */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.03; /* Reduced from 0.07 to make background logo more subtle */
    z-index: -1;
}

/* Feature Tag Styles */
.feature-tag {
    background: var(--primary-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Updated Hero Styles */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-cta .btn {
    min-width: 180px;
    text-align: center;
    font-weight: 600;
}

/* User Stats Bar Styles */
.user-stats-bar {
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.user-stats-bar .trust-indicators {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.user-stats-bar .trust-stat {
    text-align: center;
    padding: 1rem;
}

.user-stats-bar .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 0.5rem;
}

.user-stats-bar .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 250px;
    display: block;
}

/* User Type Tabs */
.user-type-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.user-tab {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-tab:hover {
    border-color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
}

.user-tab.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dual Platform Section */
.dual-platform {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    position: relative;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    margin: 0 auto;
}

.platform-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.firefighter-side {
    border-color: rgba(76, 175, 80, 0.3);
}

.company-side {
    border-color: rgba(255, 107, 53, 0.3);
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.platform-icon i {
    font-size: 2.5rem;
}

.firefighter-side .platform-icon i {
    color: #4CAF50;
}

.company-side .platform-icon i {
    color: var(--primary-orange);
}

.platform-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
}

.platform-features {
    list-style: none;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 300px;
}

.platform-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.platform-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.firefighter-side .platform-features li::before {
    color: #4CAF50;
}

.company-side .platform-features li::before {
    color: var(--primary-orange);
}

.divider-icon {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.divider-icon i {
    color: var(--text-secondary);
}

.divider-line {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.path-selection {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .node {
        display: none;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .platform-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .divider-line {
        display: none;
    }
    
    .divider-icon {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
    }
    
    .auth-buttons {
        display: none;
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 80%;
        margin: 2rem auto 0;
        gap: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .path-selection {
        min-width: 100%;
    }
    
    .stats-container {
        min-width: 100%;
    }
    
    .section-title, 
    .features-title, 
    .pricing-title, 
    .testimonials-title, 
    .faq-title {
        font-size: 2rem;
    }
    
    .section-subtitle, 
    .features-description, 
    .pricing-description, 
    .testimonials-description, 
    .faq-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .platform-features {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .path-card {
        padding: 1.5rem;
    }
    
    .path-card h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .platform-icon {
        width: 60px;
        height: 60px;
    }
    
    .platform-icon i {
        font-size: 1.8rem;
    }
    
    .platform-card h3 {
        font-size: 1.5rem;
    }
}

/* Tri-fold image grid */
.tri-fold {
    padding: 4rem 0;
    background: var(--background-dark);
    border-top: 1px solid rgba(255, 140, 66, 0.2);
    border-bottom: 1px solid rgba(255, 140, 66, 0.2);
}

.tri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.tri-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tri-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.tri-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 140, 66, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    aspect-ratio: 9 / 16; /* all cards portrait 9:16 */
}

.tri-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* fit inside without cropping */
    display: block;
}

.tri-caption {
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

/* removed center-specific override; all images now use contain */

@media (max-width: 992px) {
    .tri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tri-grid {
        grid-template-columns: 1fr;
    }
}

/* Add separation below hero at common laptop widths */
@media (min-width: 1060px) and (max-width: 1440px) {
    .tri-fold {
        margin-top: 48px;
    }
}
