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

:root {
    /* True Access Color Palette */
    --primary: #9AC6F3;
    --secondary: #BEE4D2;
    --accent: #F7D6E6;
    --background: #F2F6FA;
    --text: #2B3A4A;
    --success: #A3D9B1;
    --warning: #FFF2B2;
    --error: #F9B6B6;
    --white: #FFFFFF;
    --gray-light: #E5EDF5;
    --gray: #9CA3AF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(43, 58, 74, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(43, 58, 74, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-white,
.btn-white {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 198, 243, 0.4);
}

.btn-secondary {
    background: var(--background);
    color: var(--text);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    background: var(--gray-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #F2F6FA 0%, #E5F2FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(154, 198, 243, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--text);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(43, 58, 74, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 32px;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--text);
}

.floating-card .card-rating {
    color: #FFD700;
    font-size: 14px;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: 80px 24px;}
    /* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* True Access Color Palette */
    --primary: #9AC6F3;
    --secondary: #BEE4D2;
    --accent: #F7D6E6;
    --background: #F2F6FA;
    --text: #2B3A4A;
    --success: #A3D9B1;
    --warning: #FFF2B2;
    --error: #F9B6B6;
    --white: #FFFFFF;
    --gray-light: #E5EDF5;
    --gray: #9CA3AF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(43, 58, 74, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(43, 58, 74, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-white,
.btn-white {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 198, 243, 0.4);
}

.btn-secondary {
    background: var(--background);
    color: var(--text);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    background: var(--gray-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #F2F6FA 0%, #E5F2FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(154, 198, 243, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--text);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(43, 58, 74, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 32px;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--text);
}

.floating-card .card-rating {
    color: #FFD700;
    font-size: 14px;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: 80px 24px;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(43, 58, 74, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-description {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   TWO COLUMN SECTIONS
   ======================================== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========================================
   BENEFIT LIST
   ======================================== */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.benefit-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.benefit-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   IMAGE PLACEHOLDERS
   ======================================== */
.image-placeholder {
    background: var(--gray-light);
    border-radius: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
}

.placeholder-icon {
    font-size: 80px;
}

.image-placeholder p {
    color: var(--gray);
    font-weight: 600;
}

/* ========================================
   FOR USERS & BUSINESS SECTIONS
   ======================================== */
.for-users {
    background: linear-gradient(135deg, #F2F6FA 0%, #E5F2FF 100%);
}

.for-business {
    background: white;
}

/* ========================================
   STANDARDS SECTION
   ======================================== */
.standards {
    background: var(--text);
    color: white;
    text-align: center;
}

.standards .section-title,
.standards .section-subtitle {
    color: white;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.standard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.standard-icon {
    font-size: 48px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standard-item h4 {
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: var(--background);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.value-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-methods {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-method p {
    color: var(--gray);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(43, 58, 74, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 14px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text);
    color: white;
    padding: 60px 24px 24px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .standards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(43, 58, 74, 0.1);
        transition: left 0.3s ease;
        gap: 16px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .features-grid,
    .standards-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    section {
        padding: 60px 24px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }


/* ========== */

/* MOBILE NAVIGATION FIX */
@media (max-width: 768px) {
    /* Hide login/signup buttons on mobile */
    .nav-actions .btn-secondary,
    .nav-actions .btn-primary {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Reduce logo size */
    .nav-logo {
        font-size: 18px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    /* Add login/signup to mobile menu */
    .nav-menu.active {
        padding-bottom: 80px;
    }
    
    .nav-menu .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-top: 1px solid rgba(155, 198, 243, 0.2);
        margin-top: 20px;
    }
    
    .nav-menu .mobile-auth-buttons .btn {
        width: 100%;
        padding: 12px;
        text-align: center;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        border: none;
        font-size: 16px;
    }
    
    .nav-menu .mobile-auth-buttons .btn-login {
        background: white;
        color: #2B3A4A;
        border: 2px solid #9AC6F3;
    }
    
    .nav-menu .mobile-auth-buttons .btn-signup {
        background: #9AC6F3;
        color: white;
        border: none;
    }
}

/* Desktop - hide mobile auth buttons */
@media (min-width: 769px) {
    .mobile-auth-buttons {
        display: none !important;
    }
}

/* HAMBURGER MENU OVERLAY FIX */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
}

/* SMOOTH SCROLL FIX */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.navbar {
    height: 70px;
}

section[id] {
    scroll-margin-top: 80px;
}

#about,
#contact {
    padding-top: 100px;
    margin-top: -80px;
}
/* ========================================
   FIX: FLOATING CARDS CRAMPED ON MOBILE
   Add this to home-styles.css
   ======================================== */

/* Floating cards responsive fix */
@media (max-width: 768px) {
    .hero-image {
        display: none; /* Hide floating cards on small screens */
    }
    
    /* Alternative: If you want to keep them, stack them vertically */
    .hero-image.show-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        position: relative;
    }
    
    .floating-card {
        position: relative !important;
        transform: none !important;
        animation: none !important;
        width: 100% !important;
        max-width: 280px;
        margin: 0 auto;
        opacity: 1 !important;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* Hero section spacing adjustment for mobile */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 80px 20px 40px; /* More top padding for navbar */
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Stats cards more compact */
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }
    
    .stat-item {
        width: 100%;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* ========================================
   COPY THIS TO home-styles.css
   Add to the end of the file
   ======================================== */

/* MOBILE NAVIGATION FIX */
@media (max-width: 768px) {
    /* Hide login/signup buttons on mobile */
    .nav-actions .btn-secondary,
    .nav-actions .btn-primary {
        display: none !important;
    }
    
    /* Show hamburger menu */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Reduce logo size */
    .nav-logo {
        font-size: 18px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    /* Add login/signup to mobile menu */
    .nav-menu.active {
        padding-bottom: 80px;
    }
    
    .nav-menu .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-top: 1px solid rgba(155, 198, 243, 0.2);
        margin-top: 20px;
    }
    
    .nav-menu .mobile-auth-buttons .btn {
        width: 100%;
        padding: 12px;
        text-align: center;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        border: none;
        font-size: 16px;
    }
    
    .nav-menu .mobile-auth-buttons .btn-login {
        background: white;
        color: #2B3A4A;
        border: 2px solid #9AC6F3;
    }
    
    .nav-menu .mobile-auth-buttons .btn-signup {
        background: #9AC6F3;
        color: white;
        border: none;
    }
}

/* Desktop - hide mobile auth buttons */
@media (min-width: 769px) {
    .mobile-auth-buttons {
        display: none !important;
    }
}

/* HAMBURGER MENU OVERLAY FIX */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
}

/* SMOOTH SCROLL FIX */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.navbar {
    height: 70px;
}

section[id] {
    scroll-margin-top: 80px;
}

#about,
#contact {
    padding-top: 100px;
    margin-top: -80px;
}

/* =
   ======================================== */

/* Floating cards responsive fix */
@media (max-width: 768px) {
    .hero-image {
        display: none; /* Hide floating cards on small screens */
    }
    
    /* Alternative: If you want to keep them, stack them vertically */
    .hero-image.show-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        position: relative;
    }
    
    .floating-card {
        position: relative !important;
        transform: none !important;
        animation: none !important;
        width: 100% !important;
        max-width: 280px;
        margin: 0 auto;
        opacity: 1 !important;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* Hero section spacing adjustment for mobile */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 80px 20px 40px; /* More top padding for navbar */
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Stats cards more compact */
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }
    
    .stat-item {
        width: 100%;
        padding: 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .image-placeholder {
        height: 280px;          /* Reduced from 500px */
        padding: 24px;          /* Reduced from 32px */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: scale(0.95); /* Floating effect */
        margin: 24px auto;
    }
    
    .placeholder-icon {
        font-size: 48px;        /* Reduced from 80px */
    }
}
/* ========================================
   GLOBAL POLISH & ACCESSIBILITY
   ======================================== */

/* Add a polished, accessible focus state for keyboard users */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}
/* Reduce offset for buttons that already have padding */
.btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-outline:focus-visible {
    outline-offset: 2px;
}

/* Add a temporary visual feedback class for new JS interactivity */
.feature-card.clicked {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(43, 58, 74, 0.1);
}


/* ========================================
   BUTTONS (Enhanced Polish)
   ======================================== */

.btn-primary {
    /* Add subtle shadow for depth before hover */
    box-shadow: 0 4px 10px rgba(154, 198, 243, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px); /* Slightly more pronounced lift */
    box-shadow: 0 8px 25px rgba(154, 198, 243, 0.5); /* Richer hover shadow */
}

/* ========================================
   HERO SECTION (Floating Card Polish)
   ======================================== */

.floating-card {
    /* Use a more subtle, multi-level shadow for a polished, 'floating' look */
    box-shadow: 0 4px 12px rgba(43, 58, 74, 0.08), 0 16px 32px rgba(43, 58, 74, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    cursor: pointer; /* Hint at interactivity */
}
.floating-card:hover {
    transform: translateY(-5px) scale(1.02); /* Subtle zoom on hover */
    box-shadow: 0 6px 18px rgba(43, 58, 74, 0.1), 0 20px 40px rgba(43, 58, 74, 0.08);
}


/* ========================================
   FEATURE CARDS (Interactivity Polish)
   ======================================== */

.feature-card {
    cursor: pointer; /* Add pointer to show interactivity */
    box-shadow: 0 4px 15px rgba(43, 58, 74, 0.05); /* Softer initial shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    /* Pronounced lift for a "click me" feel */
    box-shadow: 0 12px 32px rgba(43, 58, 74, 0.15), 0 4px 10px rgba(43, 58, 74, 0.08);
}

/* Add a highlight on the feature icon on hover for more polish */
.feature-card:hover .feature-icon {
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px rgba(43, 58, 74, 0.1);
    transition: box-shadow 0.3s ease;
}


/* ========================================
   RESPONSIVE DESIGN (Mobile-Friendly Update)
   ======================================== */

@media (max-width: 768px) {
    /* The existing mobile-specific styles for .hero-container and .hero-content are good.
       The crucial part is the .hero-image and floating cards for better mobile UX: */
    
    .hero {
        padding-top: 100px; /* Ensure space for fixed navbar */
    }

    .hero-image {
        /* Remove the fixed height and allow it to be a vertical stack */
        height: auto; 
        padding: 30px 0 0; /* Add vertical space */
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        /* Ensure the image container is still visible */
        opacity: 1 !important;
        transform: none !important;
    }

    .floating-card {
        /* Redefine to stack naturally for better tap targets and UX on mobile */
        position: relative; 
        top: auto !important;
        left: auto !important;
        right: auto !important;
        animation: none !important; /* Disable floating animation on mobile */
        width: 90%; /* Near full-width for easy tapping */
        max-width: 300px; /* Constrain size for aesthetics */
        box-shadow: 0 2px 10px rgba(43, 58, 74, 0.1);
        transform: none !important; /* Remove transforms */
    }

    .floating-card:hover {
        /* Keep only a subtle press effect on mobile touch */
        transform: scale(0.98); 
        box-shadow: 0 2px 10px rgba(43, 58, 74, 0.1);
    }
}
/* ========================================
   FOOTER RESPONSIVENESS
   ======================================== */

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 30px; /* Space between columns when they wrap */
}

.footer-column {
    flex: 1;
    min-width: 150px; /* Ensures minimum width before wrapping */
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column; /* Stack columns vertically on very small screens */
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%;
        text-align: center; /* Center the links for a cleaner look */
    }
    
    .footer-column h4 {
        margin-bottom: 8px;
    }
    
    .footer-links {
        padding: 0;
    }
    /* Simple list on mobile */
    .footer-links li { 
        display: inline-block; 
        margin: 0 8px;
    }
}
/* ========================================
   ENHANCED IMAGE PLACEHOLDERS
   ======================================== */

.image-placeholder {
    background: linear-gradient(135deg, var(--gray-light) 0%, #f8fafc 100%);
    border-radius: 20px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(154, 198, 243, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(190, 228, 210, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.placeholder-icon {
    font-size: 80px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(43, 58, 74, 0.1));
}

.image-placeholder p {
    color: var(--gray);
    font-weight: 600;
    position: relative;
    z-index: 1;
    font-size: 16px;
}

/* Specific styles for user and business images */
.user-image .placeholder-icon {
    animation: pulse 2s ease-in-out infinite;
}

.business-image .placeholder-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   MOBILE-OPTIMIZED FLOATING CARDS
   ======================================== */

@media (max-width: 768px) {
    .hero-image {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 40px;
        height: auto;
        position: relative;
        padding: 0 16px;
    }
    
    .floating-card {
        position: relative !important;
        transform: none !important;
        animation: none !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
        opacity: 1 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-shadow: 0 4px 16px rgba(43, 58, 74, 0.12);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .floating-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(43, 58, 74, 0.1);
    }
    
    .image-placeholder {
        height: 300px;
        padding: 24px;
        margin: 24px 0;
    }
    
    .placeholder-icon {
        font-size: 56px;
    }
    
    .image-placeholder p {
        font-size: 14px;
    }
}
