/*
Theme Name: Paystream Financial Services
Theme URI: https://paystreamfinancial.com
Author: Paystream Financial Services
Author URI: https://paystreamfinancial.com
Description: A professional financial services WordPress theme for Paystream Financial Services - featuring loan applications, calculators, and a clean corporate design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paystream
Tags: financial, business, loan, calculator
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --navy: #0D2B6B;
    --navy-dark: #081a47;
    --navy-light: #1a3d8a;
    --green: #52B043;
    --green-dark: #3d8a30;
    --green-light: #6dcb5e;
    --green-accent: #4CAF50;
    --white: #ffffff;
    --off-white: #f4f7ff;
    --light-blue: #e8edf8;
    --gray: #6b7280;
    --gray-light: #f0f4f8;
    --text-dark: #0a1628;
    --text-muted: #5a6a8a;
    --border: #d1dce8;
    --shadow: 0 4px 24px rgba(13, 43, 107, 0.12);
    --shadow-lg: 0 12px 48px rgba(13, 43, 107, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { line-height: 1.75; color: var(--text-muted); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-green { color: var(--green) !important; }
.text-navy { color: var(--navy) !important; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }

.section-badge {
    display: inline-block;
    background: rgba(82, 176, 67, 0.12);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(82, 176, 67, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(82, 176, 67, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(13, 43, 107, 0.08);
    transition: var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 4px 30px rgba(13, 43, 107, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo img {
    height: 56px;
    width: auto;
}

.logo-text .logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    line-height: 1;
}

.logo-text .logo-sub {
    font-size: 0.7rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
    background: rgba(82, 176, 67, 0.08);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
}

.header-phone svg { color: var(--green); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-shape {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 176, 67, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82, 176, 67, 0.2);
    border: 1px solid rgba(82, 176, 67, 0.4);
    color: #8edd7e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero-title .accent { color: var(--green); }

.hero-description {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* Quick Calculator Card */
.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 0 0 3px 3px;
}

.hero-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-title svg { color: var(--green); }

.quick-calc .form-group {
    margin-bottom: 16px;
}

.quick-calc label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quick-calc input,
.quick-calc select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    outline: none;
}

.quick-calc input::placeholder { color: rgba(255,255,255,0.4); }
.quick-calc input:focus,
.quick-calc select:focus {
    border-color: var(--green);
    background: rgba(255,255,255,0.15);
}

.quick-calc select option { background: var(--navy); color: var(--white); }

.calc-result {
    background: linear-gradient(135deg, rgba(82,176,67,0.2), rgba(82,176,67,0.1));
    border: 1px solid rgba(82,176,67,0.3);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    display: none;
}

.calc-result.show { display: block; }

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.calc-result-row:last-child { margin-bottom: 0; }
.calc-result-label { color: rgba(255,255,255,0.7); }
.calc-result-value { font-weight: 700; color: var(--white); }
.calc-result-total .calc-result-value { color: var(--green); font-size: 1.2rem; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
#why-us {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--navy));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.feature-card p { font-size: 0.92rem; }

/* =============================================
   LOAN CALCULATOR SECTION
   ============================================= */
#calculator {
    background: var(--white);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.calc-form-panel {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.calc-results-panel {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
    position: sticky;
    top: 100px;
}

.calc-results-panel h3 {
    color: var(--white);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-results-panel h3 svg { color: var(--green); }

.result-highlight {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}

.result-highlight .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.result-highlight .value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--green);
    line-height: 1;
}

.result-highlight .value.white { color: var(--white); font-size: 1.6rem; }

.result-breakdown {
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

.result-row:last-child { border-bottom: none; }
.result-row .r-label { color: rgba(255,255,255,0.6); }
.result-row .r-value { font-weight: 700; color: var(--white); }
.result-row.total .r-value { color: var(--green); font-size: 1.05rem; }

.amort-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    width: 100%;
    transition: var(--transition);
    margin-bottom: 12px;
}

.amort-toggle:hover {
    border-color: var(--green);
    color: var(--green);
}

.amort-table {
    display: none;
    max-height: 240px;
    overflow-y: auto;
    font-size: 0.78rem;
}

.amort-table.show { display: block; }
.amort-table table { width: 100%; border-collapse: collapse; }
.amort-table th {
    background: rgba(255,255,255,0.08);
    padding: 8px;
    text-align: right;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
}
.amort-table th:first-child { text-align: left; }
.amort-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: right;
    color: rgba(255,255,255,0.8);
}
.amort-table td:first-child { text-align: left; }

/* =============================================
   FORM STYLES (shared)
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-label .required { color: var(--green); margin-left: 4px; }

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(82, 176, 67, 0.12);
}

.form-control::placeholder { color: var(--gray); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.range-wrapper {
    position: relative;
}

.range-input {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
    margin: 12px 0;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(82, 176, 67, 0.4);
    transition: var(--transition);
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =============================================
   REQUIREMENTS SECTION
   ============================================= */
#requirements {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#requirements::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82,176,67,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.req-content .section-badge {
    background: rgba(82,176,67,0.2);
    color: #8edd7e;
}

.req-content h2 { color: var(--white); }

.req-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: var(--transition);
}

.req-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(82,176,67,0.4);
}

.req-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.req-item-text .req-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

.req-item-text .req-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.req-visual {
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.08);
}

.interest-display {
    text-align: center;
    padding: 32px 0;
}

.interest-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    color: var(--green);
    line-height: 1;
}

.interest-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.interest-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

.cert-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.cert-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cert-badge .cert-name {
    color: var(--green);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    display: block;
}

/* =============================================
   LOAN APPLICATION FORM SECTION
   ============================================= */
#apply {
    background: var(--off-white);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-top: 48px;
}

.apply-sidebar {
    position: sticky;
    top: 100px;
}

.apply-info-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: var(--white);
    margin-bottom: 16px;
}

.apply-info-card h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-step {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.step-text .step-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.step-text .step-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
}

.contact-card h4 {
    color: var(--navy);
    margin-bottom: 16px;
    font-size: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-item svg { color: var(--green); flex-shrink: 0; }

.application-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    padding: 12px 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title svg { color: var(--green); }

.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--off-white);
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--green);
    background: rgba(82,176,67,0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    background: rgba(82,176,67,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--green);
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.file-upload-text strong { color: var(--green); }

.file-upload-hint {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 6px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.file-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,43,107,0.08);
    border: 1px solid rgba(13,43,107,0.15);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

.file-chip .remove {
    cursor: pointer;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1;
}

.file-chip .remove:hover { color: #e53e3e; }

.form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    transition: var(--transition);
}

.progress-step.active { background: var(--green); }

.form-submit-area {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, rgba(82,176,67,0.1), rgba(82,176,67,0.05));
    border: 2px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.success-message.show { display: block; }

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.success-message h3 { color: var(--navy); margin-bottom: 8px; }
.success-message p { color: var(--text-muted); }

/* =============================================
   REGISTRATION SECTION
   ============================================= */
#registration {
    background: var(--white);
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reg-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.reg-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.reg-logos {
    display: flex;
    align-items: center;
    gap: 32px;
}

.reg-logo-item {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 24px;
    text-align: center;
}

.reg-logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
}

.reg-logo-sub {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-brand .logo-sub {
    font-size: 0.68rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-btn:hover {
    background: var(--green);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--green); padding-left: 6px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.footer-contact-item svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
}

.footer-bottom-right {
    display: flex;
    gap: 24px;
}

.footer-bottom-right a {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-bottom-right a:hover { color: var(--green); }

/* =============================================
   FLOATING CTA
   ============================================= */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.float-btn:hover { transform: translateY(-3px); }

.float-btn-apply {
    background: var(--green);
    color: var(--white);
}

.float-btn-call {
    background: var(--navy);
    color: var(--white);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-weight: 600;
    color: var(--navy);
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: var(--off-white);
    color: var(--green);
}

/* =============================================
   NOTIFICATION TOAST
   ============================================= */
.toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--navy);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(200%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 320px;
    border-left: 4px solid var(--green);
}

.toast.show { transform: translateX(0); }
.toast.error { border-left-color: #e53e3e; }
.toast-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.toast-msg { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .calc-wrapper { grid-template-columns: 1fr; }
    .calc-results-panel { position: static; }
    .req-grid { grid-template-columns: 1fr; }
    .apply-wrapper { grid-template-columns: 1fr; }
    .apply-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .main-nav, .header-cta { display: none; }
    .hamburger { display: flex; }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .floating-cta { bottom: 20px; right: 16px; }
    .application-form { padding: 28px 20px; }
    .cert-badges { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.9rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .reg-logos { flex-direction: column; }
}
