/* ================================================
   Madrid Mortgage Team Landing Page Styles
   ================================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0B2545;
    --gold: #D4AF37;
    --light-gold: #F0E5C9;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --success: #28A745;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.language-toggle button {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.language-toggle button:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, #182D45 0%, #182D44 23%, #083b5b 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgb(212 175 55 / 40%);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h2 {
    font-family: var(--font-secondary);
    color: var(--navy);
    font-size: 24px;
    font-weight: 700;
}

.nmls-badge {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.15);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-link {
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    color: var(--navy) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    background: linear-gradient(135deg, #E8C05A 0%, var(--gold) 100%);
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: #E8C05A;
    transform: scale(1.1);
}

/* Hero Section - New 2-Column Layout */
.hero {
    position: relative;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #3261a3 0%, #1b395f 50%, #13315C 100%); */
    background: linear-gradient(135deg, #0a1e3a 0%, var(--navy) 50%, #13315C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding: 40px 0 73px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&h=1080&fit=crop&q=80') center/cover;
    opacity: 0.08;
    z-index: 0;
}

/* Animated particles background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, transparent 0%, rgba(11, 37, 69, 0.4) 100%);
    z-index: 1;
}

.hero-content-new {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Calculator Column */
.hero-calculator-column {
    position: relative;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: slideInRight 0.8s ease-out;
    transition: transform 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calc-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    animation: pulse 2s infinite;
}

.calc-icon-wrapper i {
    font-size: 28px;
    color: var(--navy);
}

.calculator-header h3 {
    color: var(--navy);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
}

.calculator-header p {
    color: var(--gray);
    font-size: 15px;
}

/* Calculator Steps */
.calc-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
}

.calc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition);
}

.calc-step.active {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.calc-step.active .step-number {
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
}

.calc-step.active .step-label {
    color: var(--navy);
}

/* Calculator Inputs */
.calc-input-group {
    margin-bottom: 25px;
}

.calc-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 14px;
}

.calc-tooltip {
    color: var(--gold);
    cursor: help;
    font-size: 14px;
    transition: var(--transition);
}

.calc-tooltip:hover {
    transform: scale(1.2);
}

.calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-input {
    width: 100%;
    padding: 14px 45px 14px 40px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
    background: var(--white);
}

.calc-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.calc-prefix,
.calc-suffix {
    position: absolute;
    font-weight: 600;
    color: var(--gray);
    font-size: 16px;
}

.calc-prefix {
    left: 16px;
}

.calc-suffix {
    right: 16px;
    background: var(--light-gold);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--navy);
}

.calc-input-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), #E8C05A);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calc-input:focus ~ .calc-input-glow {
    opacity: 1;
}

/* Range Slider */
.calc-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 50%, #E0E0E0 50%, #E0E0E0 100%);
    outline: none;
    margin-top: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray);
}

/* Quick Options */
.calc-quick-options {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.quick-btn {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--navy);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Loan Term Options */
.calc-term-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.term-btn {
    padding: 14px 20px;
    border: 2px solid #E0E0E0;
    background: var(--white);
    color: var(--navy);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.term-btn:hover {
    border-color: var(--gold);
}

.term-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Calculator Result Card */
.calc-result-card {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--navy) 0%, #13315C 100%);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calc-result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.result-animation {
    margin-bottom: 15px;
}

.result-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: bounce 2s infinite;
}

.result-icon i {
    font-size: 24px;
    color: var(--navy);
}

.result-label {
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 25px;
}

.result-amount {
    color: var(--gold);
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-secondary);
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.result-breakdown-mini {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #E0E0E0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.breakdown-row:last-child {
    margin-bottom: 0;
}

.breakdown-row span {
    color: rgba(0, 0, 0, 0.7);
}

.breakdown-row strong {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.btn-calc-cta {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    color: var(--navy);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-calc-cta:hover {
    background: linear-gradient(135deg, #E8C05A 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.calc-disclaimer {
    color: var(--gray);
    font-size: 11px;
    margin-top: 15px;
    text-align: center;
}

/* Hero Content Column */
.hero-content-column {
    animation: slideInLeft 0.8s ease-out;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.trust-badges-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.floating-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: floatBadge 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-badge i {
    color: var(--gold);
}

.hero-title-new {
    font-family: var(--font-secondary);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.highlight-text {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(212, 175, 55, 0.3);
    z-index: -1;
}

.hero-subtitle-new {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.subtitle-icon img {
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.subtitle-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.subtitle-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--navy);
}

.feature-content h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Hero CTA */
.hero-cta-new {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-primary-new,
.btn-secondary-new {
    flex: 1;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary-new {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary-new:hover {
    background: #E8C05A;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary-new {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-new:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Trust Logos */
.trust-logos {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.logo-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Proof Badge */
.social-proof-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.proof-stars {
    display: flex;
    gap: 4px;
    color: #89f467;
    font-size: 18px;
}

.social-proof-badge p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

.social-proof-badge strong {
    color: var(--white);
    font-size: 18px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 16px;
    opacity: 0.7;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Calculator Lead Modal */
.modal-lead-capture {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
}

.lead-modal-header {
    background: linear-gradient(135deg, var(--navy) 0%, #13315C 100%);
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
}

.success-animation {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.success-animation i {
    font-size: 40px;
    color: var(--navy);
}

.lead-modal-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.lead-modal-header p {
    color: rgba(255, 255, 255, 0.8);
}

.lead-modal-body {
    padding: 35px 40px;
}

.calc-summary {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: var(--gray);
    font-size: 14px;
}

.summary-value {
    color: var(--navy);
    font-weight: 700;
    font-size: 16px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-disclaimer {
    text-align: center;
    color: var(--gray);
    font-size: 13px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-disclaimer i {
    color: var(--success);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.6);
        transform: scale(1.05);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: #ffbd13;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #4789d2;
    color: var(--white);
}

.btn-secondary:hover {
    background: #5199dd;
    color: var(--navy);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-item img {
    height: 50px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.badge-item span {
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 24px;
    opacity: 0.7;
    z-index: 2;
}

/* Stats Bar */
.stats-bar {
    background: var(--light-gray);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--font-secondary);
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    margin-top: 8px;
    font-size: 14px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--navy);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 42px;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.about-subtitle {
    color: var(--gold);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--gray);
}

blockquote {
    background: var(--light-gray);
    padding: 30px;
    border-left: 4px solid var(--gold);
    margin: 30px 0;
    border-radius: 8px;
    position: relative;
}

blockquote .fa-quote-left {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 15px;
}

blockquote p {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--navy);
}

blockquote cite {
    color: var(--gray);
    font-size: 14px;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-item i {
    color: var(--success);
    font-size: 20px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.team-states {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
}

.team-badge {
    background: var(--gold);
    color: var(--navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Team Carousel - Desktop: Grid, Mobile: Carousel */
.team-carousel-wrapper {
    position: relative;
}

.team-carousel-btn {
    display: none; /* Hidden on desktop */
}

.team-carousel-dots {
    display: none; /* Hidden on desktop */
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
    .team-carousel-wrapper {
        padding: 0 50px;
        position: relative;
    }
    
    .team-grid {
        display: flex !important;
        overflow: hidden;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 20px;
    }
    
    .team-grid .team-member {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .team-carousel-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--white);
        border: 2px solid var(--gold);
        color: var(--gold);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .team-carousel-btn:hover {
        background: var(--gold);
        color: var(--white);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    }
    
    .team-carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .team-prev {
        left: 0;
    }
    
    .team-next {
        right: 0;
    }
    
    .team-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }
    
    .team-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #D0D0D0;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        padding: 0;
    }
    
    .team-dot:hover {
        background: var(--gold);
        transform: scale(1.2);
    }
    
    .team-dot.active {
        background: var(--gold);
        width: 30px;
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .team-carousel-wrapper {
        padding: 0 40px;
    }
    
    .team-carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Loan Options */
.loan-options {
    padding: 100px 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 50px;
}

/* Old grid style - replaced by carousel */
.loan-grid {
    display: none; /* Using carousel instead */
}

.loan-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.loan-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.loan-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fff 0%, var(--light-gold) 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.loan-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.loan-icon i {
    font-size: 32px;
    color: var(--gold);
}

.loan-card h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.loan-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.loan-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.loan-card ul li {
    color: var(--gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loan-card ul li i {
    color: var(--success);
}

/* Loan Carousel Styles */
.loan-carousel-wrapper {
    position: relative;
    margin-top: 50px;
    padding: 0 60px;
}

.loan-carousel-container {
    overflow: hidden;
    border-radius: 15px;
}

.loan-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 25px;
}

.loan-carousel-track .loan-card {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 280px;
}

.loan-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.loan-carousel-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.loan-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.loan-prev {
    left: 0;
}

.loan-next {
    right: 0;
}

.loan-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.loan-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D0D0D0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.loan-dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

.loan-dot.active {
    background: var(--gold);
    width: 35px;
    border-radius: 6px;
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .loan-carousel-track .loan-card {
        flex: 0 0 calc(50% - 12.5px);
    }
}

@media (max-width: 768px) {
    .loan-carousel-wrapper {
        padding: 0 50px;
    }
    
    .loan-carousel-track .loan-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .loan-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .loan-carousel-wrapper {
        padding: 0 40px;
    }
    
    .loan-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Loan Match Quiz Section */
.loan-quiz {
    padding: 10px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.loan-quiz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.quiz-header {
    margin-bottom: 60px;
}

.quiz-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

/* Quiz Progress */
.quiz-progress {
    margin-bottom: 50px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    border: 3px solid var(--light-gray);
}

.progress-step.active .step-circle {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .step-circle {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

.progress-step span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    white-space: nowrap;
}

.progress-step.active span {
    color: var(--navy);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--light-gray);
    position: relative;
    margin: 0 15px;
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 0.5s ease;
}

.progress-line.completed::after {
    width: 100%;
}

/* Quiz Content */
.quiz-content {
    min-height: 400px;
    position: relative;
}

.quiz-question {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.quiz-question.active {
    display: block;
}

.quiz-question-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 40px;
    font-family: var(--font-secondary);
}

.quiz-question-title i {
    color: var(--gold);
    font-size: 32px;
}

/* Quiz Options */
.quiz-options {
    display: grid;
    gap: 20px;
}

.quiz-option {
    background: var(--white);
    border: 3px solid #E0E0E0;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.quiz-option:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.quiz-option:hover::before {
    left: 100%;
}

.quiz-option.selected {
    border-color: var(--gold);
    background: var(--light-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.quiz-option.selected .option-icon {
    background: var(--gold);
}

.option-icon i {
    font-size: 28px;
    color: var(--navy);
}

.option-content {
    flex: 1;
}

.option-content h4 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.option-content p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

.option-check {
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: var(--transition);
}

.quiz-option.selected .option-check {
    opacity: 1;
}

.option-check i {
    color: var(--gold);
    font-size: 30px;
}

/* Quiz Results */
.quiz-results-container {
    text-align: center;
    padding: 20px 0;
}

.results-animation {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.6s ease, pulse 2s ease 0.6s infinite;
}

.results-animation i {
    font-size: 50px;
    color: var(--navy);
}

.results-title {
    font-size: 32px;
    color: var(--navy);
    font-family: var(--font-secondary);
    margin-bottom: 10px;
}

.results-subtitle {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.results-card {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: left;
    border: 2px solid #E0E0E0;
}

.results-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.results-icon i {
    font-size: 40px;
    color: var(--navy);
}

.results-content h4 {
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
    text-align: center;
}

.results-content p {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
}

.results-benefits {
    list-style: none;
    padding: 0;
}

.results-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--dark-gray);
}

.results-benefits i {
    color: var(--success);
    font-size: 18px;
}

.results-cta {
    margin-top: 40px;
}

.results-cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.results-cta-text i {
    color: var(--gold);
    font-size: 20px;
}

.results-cta .btn {
    margin: 0 10px;
}

/* Calculator Section (Old - Keep for reference) */
.calculator {
    padding: 100px 0;
    background: var(--light-gray);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.calculator-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: var(--gray);
    font-weight: 600;
}

.input-with-icon input {
    padding-left: 35px;
    width: 100%;
}

.input-with-icon .input-icon:last-child {
    left: auto;
    right: 15px;
}

.calculator-result {
    display: flex;
    align-items: center;
}

.result-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.result-label {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 10px;
}

.result-amount {
    text-align: center;
    font-size: 45px;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--font-secondary);
    margin-bottom: 30px;
    line-height: 1;
}

.result-breakdown {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.breakdown-item:last-child {
    margin-bottom: 0;
}

.breakdown-item span:first-child {
    color: var(--gray);
}

.breakdown-item span:last-child {
    color: var(--navy);
    font-weight: 600;
}

.disclaimer {
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Pre-Qualification Form */
.pre-qual-form {
    padding: 100px 0;
    background: var(--white);
}

.form-container {
    max-width: 700px;
    margin: 50px auto 0;
    background: var(--light-gray);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-step h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-buttons button {
    flex: 1;
}

.form-progress {
    margin-top: 40px;
    text-align: center;
}

.progress-bar {
    background: #E0E0E0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: var(--gold);
    height: 100%;
    width: 33.33%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--gray);
    font-size: 14px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonials-carousel {
    position: relative;
    margin-top: 50px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    min-width: 100%;
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 16px;
}

.author-location {
    color: var(--gray);
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    font-size: 20px;
    color: var(--navy);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--gold);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D0D0D0;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

.review-platforms {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.platform-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.platform-badge i {
    font-size: 24px;
}

/* Realtor Partnership */
.realtor-partnership {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.partnership-text h2 {
    font-family: var(--font-secondary);
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.partnership-text > p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.partnership-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.benefit-item i {
    color: var(--gold);
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.partnership-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Community & Faith */
.community-faith {
    padding: 100px 0;
    background: var(--white);
}

.faith-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 50px;
}

.faith-card {
    text-align: center;
    padding: 40px 28px;
}

.faith-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.faith-icon i {
    font-size: 36px;
    color: var(--gold);
}

.faith-card h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.faith-card p {
    color: var(--gray);
    line-height: 1.8;
}

.community-quote {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 50px;
    background: var(--light-gray);
    border-radius: 15px;
    position: relative;
}

.community-quote .fa-quote-left {
    color: var(--gold);
    font-size: 36px;
    margin-bottom: 20px;
}

.community-quote p {
    font-size: 28px;
    font-style: italic;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5;
}

.community-quote cite {
    color: var(--gray);
    font-size: 16px;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #13315C 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p,
.footer-col ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #13315C 100%);
    color: var(--white);
    border: 2px solid var(--gold);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: slideInUp 0.4s ease, pulseGlow 2s ease 0.5s;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #E8C05A 100%);
    color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.back-to-top i {
    font-size: 18px;
}

.back-to-top-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.back-to-top:active {
    transform: translateY(-3px) scale(0.95);
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    font-size: 24px;
    position: relative;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #DC3545;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--navy);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chatbot-header h4 {
    font-size: 16px;
    margin: 0;
}

.chatbot-status {
    font-size: 12px;
    color: var(--gold);
    margin: 0;
}

.close-chat {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--light-gray);
}

.chat-message {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 80%;
    box-shadow: var(--shadow-sm);
}

.chat-message.bot {
    background: var(--navy);
    color: var(--white);
}

.chat-message.user {
    background: var(--gold);
    color: var(--navy);
    margin-left: auto;
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.quick-questions button {
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--navy);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    transition: var(--transition);
}

.quick-questions button:hover {
    background: var(--gold);
}

.chatbot-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #E0E0E0;
    display: flex;
    gap: 10px;
}

.chatbot-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
}

.chatbot-footer button {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    padding: 0px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.modal-small {
    padding: 20px;
    max-width: 400px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--navy);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom Tooltip */
.custom-tooltip {
    position: fixed;
    background: var(--navy);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-tooltip::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--navy);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content-new {
        grid-template-columns: 1fr 450px;
        gap: 50px;
    }
    
    .hero-title-new {
        font-size: 48px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-content-new {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }
    
    .hero-calculator-column {
        order: 2;
    }
    
    .hero-content-column {
        order: 1;
        text-align: center;
    }
    
    .trust-badges-top {
        justify-content: center;
    }
    
    .hero-subtitle-new {
        justify-content: center;
    }
    
    .hero-cta-new {
        flex-direction: column;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-logos {
        justify-content: center;
    }
    
    .calculator-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* .loan-grid - Now using carousel */
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faith-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .quiz-container {
        padding: 40px 30px;
    }
    
    .progress-step span {
        font-size: 11px;
    }
    
    .step-circle {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .quiz-question-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {

    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .nmls-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .hero {
        padding: 20px 0 40px;
        min-height: auto;
    }
    
    /* Stack back to top and chatbot for mobile */
    .back-to-top {
        bottom: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
    
    .back-to-top-text {
        font-size: 9px;
    }
    
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .quiz-container {
        padding: 30px 20px;
    }
    
    .progress-steps {
        gap: 10px;
    }
    
    .progress-step span {
        display: none;
    }
    
    .progress-line {
        margin: 0 5px;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .quiz-question-title {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .quiz-option {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
    }
    
    .option-icon i {
        font-size: 24px;
    }
    
    .option-content h4 {
        font-size: 18px;
    }
    
    .results-card {
        padding: 30px 20px;
    }
    
    .results-cta .btn {
        width: 100%;
        margin: 10px 0;
    }
    
    .hero-content-new {
        padding: 0 20px;
    }
    
    .calculator-card {
        padding: 30px 25px;
    }
    
    .calculator-header h3 {
        font-size: 22px;
    }
    
    .calc-steps {
        gap: 10px;
        padding: 0;
    }
    
    .calc-step {
        flex: 1;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .calc-input {
        padding: 12px 40px 12px 35px;
        font-size: 16px;
    }
    
    .calc-quick-options {
        flex-wrap: wrap;
    }
    
    .quick-btn {
        flex: 1 1 45%;
    }
    
    .result-amount {
        font-size: 36px;
    }
    
    .hero-title-new {
        font-size: 32px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .trust-logos {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .scroll-indicator span {
        display: none;
    }
    
    .modal-lead-capture {
        margin: 20px;
    }
    
    .lead-modal-header {
        padding: 30px 20px;
    }
    
    .lead-modal-header h2 {
        font-size: 24px;
    }
    
    .lead-modal-body {
        padding: 25px 20px;
    }
    
    .form-row-inline {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-grid,
    .partnership-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* .loan-grid - Now using carousel */
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .faith-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .chatbot-window {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    .highlight-text {
        color: var(--gold);
        position: relative;
        display: unset;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .nmls-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .hero-title-new {
        font-size: 28px;
    }
    
    .calculator-card {
        padding: 25px 20px;
    }
    
    .calc-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .calc-icon-wrapper i {
        font-size: 24px;
    }
    
    .calculator-header h3 {
        font-size: 20px;
    }
    
    .result-amount {
        font-size: 32px;
    }
    
    .btn-calc-cta {
        font-size: 14px;
        padding: 14px 20px;
    }
    
    .floating-badge {
        font-size: 11px;
        padding: 8px 14px;
    }
    
    .hero-cta-new {
        gap: 10px;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* Side by side layout for very small screens */
    .back-to-top {
        bottom: 15px;
        right: auto;
        left: 15px;
        width: 50px;
        height: 50px;
    }
    
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .final-cta h2 {
        font-size: 28px;
    }
    
    .community-quote p {
        font-size: 18px;
    }
    
    .success-animation {
        width: 60px;
        height: 60px;
    }
    
    .success-animation i {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .faith-card {
        padding: 18px 8px;
    }
}

/* ================================================
   Video Thumbnail & Play Button Animation
   ================================================ */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.video-thumbnail img {
    border-radius: 50%;
    display: block;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.play-button {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold) 0%, #F4C542 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.play-button i {
    color: var(--navy);
    font-size: 16px;
    margin-left: 3px;
}

/* Pulsing ring animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Multiple pulse rings for more effect */
.pulse-ring::before,
.pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring::before {
    animation-delay: 0.5s;
}

.pulse-ring::after {
    animation-delay: 1s;
}

/* ================================================
   Video Modal
   ================================================ */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(11 37 69 / 23%);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10001;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Loading spinner for video */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .play-button {
        width: 35px;
        height: 35px;
    }
    
    .play-button i {
        font-size: 14px;
    }
    
    .pulse-ring {
        width: 35px;
        height: 35px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .video-container {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* ================================================
   Swiper Carousel Customization
   ================================================ */

/* Team Swiper Container */
.team .container {
    position: relative;
}

.team-swiper-container {
    position: relative;
    padding: 40px 0 60px;
    width: 100%;
    margin: 0;
}

.teamSwiper {
    padding: 20px 0 50px;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.teamSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.teamSwiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.teamSwiper .team-member {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

/* Team navigation buttons */
.team-swiper-next,
.team-swiper-prev {
    display: flex;
}

/* Hide navigation when disabled (watchOverflow handles this) */
.team-swiper-next.swiper-button-disabled,
.team-swiper-prev.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* On large desktop when all slides visible - hide navigation and pagination */
@media (min-width: 1200px) {
    .team-swiper-container {
        padding: 40px 0 40px;
    }
    
    .teamSwiper {
        padding: 20px 0 30px;
    }
    
    /* Hide navigation when all 4 are visible */
    .team-swiper-next,
    .team-swiper-prev {
        display: none !important;
    }
    
    .team-swiper-pagination {
        display: none !important;
    }
}

/* Testimonials Swiper Container */
.testimonials-swiper-container {
    position: relative;
    padding: 40px 0 60px;
}

.testimonialsSwiper {
    padding: 20px 0 50px;
}

.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.testimonialsSwiper .testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: white;
}

/* Custom styling for team navigation */
.team-swiper-next,
.team-swiper-prev {
    background: linear-gradient(135deg, var(--navy) 0%, #0d3d6e 100%);
}

.team-swiper-next::after,
.team-swiper-prev::after {
    color: var(--gold);
}

.team-swiper-next:hover,
.team-swiper-prev:hover {
    background: var(--gold);
}

.team-swiper-next:hover::after,
.team-swiper-prev:hover::after {
    color: var(--navy);
}

/* Custom styling for testimonial navigation */
.testimonial-swiper-next,
.testimonial-swiper-prev {
    background: white;
}

.testimonial-swiper-next::after,
.testimonial-swiper-prev::after {
    color: var(--gold);
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* Team pagination */
.team-swiper-pagination .swiper-pagination-bullet {
    background: var(--navy);
}

.team-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* Testimonial pagination */
.testimonial-swiper-pagination .swiper-pagination-bullet {
    background: var(--gold);
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--navy);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .team-swiper-container,
    .testimonials-swiper-container {
        padding: 20px 0 50px;
    }
    
    .teamSwiper,
    .testimonialsSwiper {
        padding: 10px 0 40px;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
        display: none; /* Hide on very small screens */
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* Swiper Loading State */
.swiper-lazy-preloader {
    border-color: var(--gold);
    border-top-color: transparent;
}

/* Smooth transitions */
.swiper-slide {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure equal height cards in testimonials */
.testimonialsSwiper .swiper-wrapper {
    align-items: stretch;
}

/* Auto-height for team members */
.teamSwiper .swiper-wrapper {
    align-items: stretch;
}