/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors */
    --primary-color: #000000;
    --primary-dark: #1A1A1A;
    --primary-light: #333333;
    --secondary-color: #F5F1E8;
    --accent-color: #D4AF37;

    --text-dark: #000000;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --text-white: #FFFFFF;

    --bg-white: #FFFFFF;
    --bg-light: #FAF8F3;
    --bg-dark: #000000;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #2D2D2D 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography */
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-base: 1.125rem;
    --font-size-md: 1.25rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 1.875rem;
    --font-size-2xl: 2.25rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 3.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-premium: 0 4px 16px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-width: 1400px;
    --container-padding: 1.5rem;
}

/* Light Theme Variables (Default) */
body.light-theme,
body {
    --body-bg: #FFFFFF;
    --body-color: #000000;
    --section-bg-1: #F5F1E8;
    --section-bg-2: #FFFFFF;
    --card-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --card-border: #000000;
    /* Black border in Light Mode */
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --title-color: #000000;
    --text-color: #4A4A4A;
    --text-light: #6B6B6B;
    --input-bg: #FFFFFF;
    --input-border: #E0DDD5;
    --input-color: #000000;
    --input-placeholder: #6B6B6B;
}

/* Dark Theme Variables */
body.dark-theme {
    --body-bg: #0F0F0F;
    --body-color: #FFFFFF;
    /* Pure White */
    --section-bg-1: #1A1A1A;
    --section-bg-2: #0F0F0F;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: #FFFFFF;
    /* White border in Dark Mode */
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
    --title-color: #FFFFFF;
    /* Pure White */
    --text-color: #F0F0F0;
    /* Almost White */
    --text-light: #D0D0D0;
    /* Light Gray */
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.15);
    --input-color: #FFFFFF;
    /* Pure White */
    --input-placeholder: rgba(255, 255, 255, 0.6);
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--body-color);
    background-color: var(--body-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 400;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-xxl) 0;
    margin-bottom: var(--spacing-xl);
}

/* Alternating Section Backgrounds */
.section:nth-of-type(odd) {
    background-color: var(--bg-white);
}

.section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

/* Dark theme alternating backgrounds */
body.dark-theme .section:nth-of-type(odd) {
    background-color: var(--section-bg-2);
}

body.dark-theme .section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

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

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    background-color: #000000;
    /* Always Black */
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
    /* Subtle light shadow for separation */
    transition: var(--transition-base);
}

.header.scroll-header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    /* Stronger shadow on scroll */
}

.nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav__controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: auto;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Menu */
.nav__menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
}

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

.nav__link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #FFFFFF;
    /* Always White */
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active-link {
    color: #C5A059;
    /* Gold hover for better visibility */
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    width: 80%;
    height: 2px;
    background: #C5A059;
    /* Gold underline */
    transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hide phone in menu on desktop */
.nav__item--phone {
    display: none;
}

/* Phone */
.nav__phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #FFFFFF;
    /* White background for button on black header */
    color: #000000;
    /* Black text */
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav__phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav__phone i {
    font-size: var(--font-size-md);
}

/* Theme Toggle */
.theme-toggle {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    background: transparent;
    color: #FFFFFF;
    /* White icon */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border */
    border-radius: var(--radius-md);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle i {
    transition: var(--transition-base);
}

/* ==================== HERO SECTION ==================== */
.hero {
    display: flex;
    padding-top: calc(80px + var(--spacing-xl));
    padding-bottom: var(--spacing-xxl);
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.hero__container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hero__main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    /* Align to top for natural height */
    width: 100%;
    /* Ensure row takes full container width */
}

.hero__video-column {
    animation: fadeInUp 0.8s ease;
    width: 100%;
    /* Ensure column fills grid cell */
}

.hero__form-wrapper {
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
    width: 100%;
    /* Ensure wrapper fills grid cell */
    /* Removed height 100% to allow natural sizing */
}

/* Hero Media */
.hero__media {
    margin-bottom: var(--spacing-lg);
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    display: flex;
    /* Ensures image fills container */
    min-height: 400px;
    /* Balanced height */
    /* Removed extra flex props to allow stacking */
}

/* Custom Poster Overlay */
.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 3s ease-out, visibility 3s;
}

.video-poster-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.video-poster-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hero__image {
    width: 100%;
    height: 100%;
    /* Fill the wrapper */
    object-fit: cover;
    /* Maintain aspect ratio */
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-premium);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--text-white);
    font-size: var(--font-size-xl);
    margin-right: -4px;
}

/* Video Captions */
.video-caption {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
    transition: color 0.3s ease;
}

.video-caption--top {
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    font-size: var(--font-size-2xl);
    color: var(--title-color);
}

.text-highlight {
    color: var(--title-color);
    font-weight: 700;
}

.video-caption--bottom {
    margin-top: var(--spacing-md);
    font-style: italic;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
    border: 2px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
}

/* ==================== FORM CARD ==================== */
.form-card {
    background: var(--section-bg-1);
    /* Beige in Light, Dark in Dark */
    border-radius: var(--radius-lg);
    /* Reduced padding as requested */
    padding: var(--spacing-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--card-border);
    /* Reverted to original light border */
    transition: all 0.3s ease;
    /* Removed height: 100% for natural sizing */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dark Theme Override for Form Card */
body.dark-theme .form-card {
    border-color: #FFFFFF;
}

.form-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 400;
}



/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Reduced gap between form rows */
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    /* Reduced gap */
}

.form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    /* Tighter gap for the 4-column row */
    align-items: start;
}

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

/* Name Fields Styling */
.form-group-name {
    margin-bottom: 1rem;
}

.name-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
}

.sub-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 0.25rem;
    /* Reduced margin below label */
}

.required {
    color: #C5A059;
}

.form-input {
    width: 100%;
    height: 45px;
    padding: 0 1rem;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--input-color);
    background: var(--input-bg);
    transition: var(--transition-base);
    outline: none;
}

select.form-input {
    padding: 0 0.25rem;
    /* Reduced padding for selects */
    font-size: 0.9rem;
    /* Slightly smaller font */
}

.form-input:focus {
    border-color: #C5A059;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

/* Radio Group Styling */
.radio-group-container {
    display: flex;
    flex-direction: column;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Radio/Checkbox Item */
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.radio-item input[type="radio"],
.radio-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C5A059;
    /* Gold accent */
    cursor: pointer;
}

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

/* Force dark theme for select dropdowns */
body.dark-theme select.form-input,
body:not(.light-theme) select.form-input {
    color-scheme: dark;
}

/* Force light theme for select dropdowns */
body.light-theme select.form-input {
    color-scheme: light;
}

/* Dark theme select options */
body.dark-theme .form-input option,
body:not(.light-theme) .form-input option {
    background: #1A1A1A;
    color: #FFFFFF;
}

/* Light theme select options */
body.light-theme .form-input option,
body:not(.dark-theme) .form-input option {
    background: #FFFFFF;
    color: #000000;
}

/* Submit Button */
.form-submit {
    width: auto;
    padding: 0.8rem 2rem;
    background: #C5A059;
    /* Gold color */
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit i {
    transition: var(--transition-base);
    font-size: 0.9rem;
}

.form-submit:hover i {
    transform: translateX(3px);
}

/* Form Actions Container */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers the button */
    margin-top: 0.5rem;
    /* Reduced margin top */
    gap: 1rem;
    /* Reduced gap */
    width: 100%;
    /* Ensure container takes full width */
}

/* Customer Reviews */
.customer-reviews {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligns content to left */
    align-self: flex-start;
    /* Aligns block to left */
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.customer-avatars {
    display: flex;
    justify-content: flex-start;
    margin-bottom: .25rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    margin-left: -15px;
    transition: var(--transition-base);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--spacing-xs);
}

.review-stars i {
    color: var(--accent-color);
    font-size: var(--font-size-base);
}

.review-text {
    font-size: var(--font-size-sm);
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid var(--card-border);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: #000000;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
    font-size: var(--font-size-2xl);
    color: #FFFFFF;
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.7;
}

/* ==================== PROCESS SECTION ==================== */
.process {
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.process-step {
    position: relative;
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid var(--card-border);
    text-align: center;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.step-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.step-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.7;
}

/* ==================== PROBLEM-SOLUTION SECTION ==================== */
.problem-solution {
    background: #000000 !important;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.problem-solution__content {
    max-width: 900px;
    margin: 0 auto;
}

.problem-solution__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.problem-solution__problem {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-style: italic;
}

.problem-solution__solution {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 500;
}

/* ==================== PROBLEM-SOLUTION WITH IMAGE SECTION ==================== */
.problem-solution-image {
    background: var(--section-bg-1);
    transition: background 0.3s ease;
    padding: var(--spacing-xxl) 0;
    padding-bottom: 100px;
    padding-top: 40px;
    margin-bottom: 100px;
}

.problem-solution-image__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    height: 400px;
    align-items: stretch;
}

.problem-solution-image__content {
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-solution-image__title {
    font-size: 3.25rem;
    /* Reduced from 4xl */
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: var(--spacing-md);
    /* Reduced margin */
    line-height: 1.2;
}

.problem-solution-image__problem {
    font-size: 1rem;
    /* Reduced from lg */
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    font-style: italic;
}

.problem-solution-image__solution {
    font-size: var(--font-size-md);
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 500;
}

.problem-solution-image__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.problem-solution-image__img {
    width: 100%;
    height: 100%;
    /* match container */
    max-height: none;
    /* remove limit */
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.problem-solution-image__img:hover {
    transform: scale(1.02);
}

/* ==================== DETAILED PROCESS SECTION ==================== */
.detailed-process {
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.detailed-process__grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
}

.detailed-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.detailed-step:nth-child(even) .detailed-step__image {
    order: 2;
}

.detailed-step:nth-child(even) .detailed-step__content {
    order: 1;
}

.detailed-step__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.detailed-step__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-base);
}

.detailed-step__image img:hover {
    transform: scale(1.02);
}

.detailed-step__content {
    padding: var(--spacing-md);
}

.detailed-step__number {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    padding: 0.25rem 0.75rem;
    background: #F5F1E8;
    border-radius: var(--radius-sm);
}

.detailed-step__title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.detailed-step__description {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.8;
}

/* ==================== TESTIMONIAL HIGHLIGHT SECTION ==================== */
.testimonial-highlight {
    background: var(--section-bg-1);
    padding: var(--spacing-xxl) 0;
    margin-bottom: var(--spacing-xxl);
    color: var(--text-color);
    transition: background 0.3s ease;
}

.testimonial-highlight__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.testimonial-highlight__left {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.testimonial-highlight__left:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.testimonial-highlight__left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.testimonial-highlight__left img:hover {
    transform: scale(1.02);
}

.testimonial-highlight__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg);
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: #000000;
    margin-bottom: var(--spacing-md);
    opacity: 0.2;
}

.testimonial-highlight__text {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    font-style: italic;
}

.testimonial-highlight__rating {
    color: var(--accent-color);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    display: flex;
    gap: 4px;
}

.testimonial-highlight__rating i {
    transition: var(--transition-base);
}

.testimonial-highlight__rating i:hover {
    transform: scale(1.2);
}

.testimonial-highlight__author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.author-name {
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--title-color);
    text-transform: capitalize;
}

.author-location {
    font-size: var(--font-size-sm);
    color: var(--text-color);
    opacity: 0.7;
}

/* ==================== REVIEWS CAROUSEL SECTION ==================== */
.reviews-carousel {
    background: var(--section-bg-1);
    padding: var(--spacing-xxl) 0;
    transition: background 0.3s ease;
    position: relative;
}

.reviews-carousel-inner {
    /* position: relative; */
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    width: 90%;
}

.reviews-track {
    display: flex;
    gap: var(--spacing-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 0;
    /* overflow: hidden; */
}

.carousel-review-card {
    flex: 0 0 calc(33.333% - (2 * var(--spacing-lg) / 3));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-review-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 2px solid var(--card-border);
    transition: all 0.4s ease;
}

.carousel-review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.carousel-review-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.carousel-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

.carousel-review-content {
    padding: var(--spacing-md);
    text-align: center;
}

.carousel-review-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--spacing-md);
}

.carousel-review-stars i {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-review-stars i:hover {
    transform: scale(1.2) rotate(15deg);
}

.carousel-review-text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    margin: 0;
}

/* Navigation Arrows for Reviews Carousel */
.carousel-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.carousel-nav-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-nav-arrow i {
    font-size: 1.5rem;
    color: var(--title-color);
    transition: color 0.3s ease;
}

.carousel-nav-arrow:hover i {
    color: #000000;
}

.carousel-nav-left {
    left: 50px;
}

.carousel-nav-right {
    right: 0;
}

@media (max-width: 992px) {
    .carousel-review-card {
        flex: 0 0 calc(50% - (var(--spacing-lg) / 2));
    }
}

@media (max-width: 640px) {
    .carousel-review-card {
        flex: 0 0 100%;
    }

    .carousel-nav-left {
        left: 35px;
    }

    .carousel-nav-right {
        right: 5px;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background: var(--section-bg-1);
    margin-bottom: var(--spacing-xxl);
    transition: background 0.3s ease;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid var(--card-border);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.testimonial-rating {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: var(--font-size-base);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.testimonial-author strong {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--title-color);
}

.testimonial-author span {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* ==================== FAQ SECTION ==================== */
.faq {
    background: var(--section-bg-1);
    transition: background 0.3s ease;
    margin-bottom: 0;
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.faq-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.faq-question {
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--input-bg);
}

.faq-question h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--title-color);
}

.faq-question i {
    color: #000000;
    transition: var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.7;
}

/* ==================== CTA SECTION ==================== */
.cta {
    background: #000000 !important;
    padding: var(--spacing-xxl) 0;
    margin-bottom: 0 !important;
}

.cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: var(--spacing-md);
}

.cta__description {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.cta__button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1rem 2.5rem;
    background: #FFFFFF;
    color: #000000;
    font-size: var(--font-size-md);
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.cta__button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta__button i {
    transition: var(--transition-base);
}

.cta__button:hover i {
    transform: translateX(4px);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #000000 !important;
    padding: var(--spacing-lg) 0;
}

.footer__content {
    text-align: center;
}

.footer__content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ==================== RESPONSIVE DESIGN ==================== */

/* Medium screens - Form below stats */
@media screen and (max-width: 991px) {

    /* Change hero to single column - form below stats */
    .hero__main-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero__form-wrapper {
        position: static;
    }

    /* Hide desktop phone button */
    .nav__phone {
        display: none;
    }

    /* Show phone in menu */
    .nav__item--phone {
        display: block;
    }

    /* Show hamburger menu icon */
    .nav__toggle {
        display: block;
    }

    /* Reduce spacing in nav */
    .nav {
        gap: var(--spacing-sm);
    }

    /* Hide main menu on medium screens */
    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #2C2C3E;
        box-shadow: var(--shadow-lg);
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 var(--spacing-md);
    }

    .nav__menu.show-menu {
        max-height: 500px;
        padding: var(--spacing-md);
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .nav__link {
        color: #FFFFFF;
        font-size: var(--font-size-base);
        font-weight: 500;
        padding: var(--spacing-xs) 0;
    }

    .nav__link--phone {
        background: #000000;
        color: #FFFFFF;
        padding: 0.875rem 1.5rem;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-sm);
        width: 100%;
        justify-content: center;
    }
}

/* Tablet */
@media screen and (max-width: 968px) {
    :root {
        --font-size-4xl: 2.5rem;
        --font-size-3xl: 2rem;
        --font-size-2xl: 1.75rem;
    }

    /* Change hero to single column */
    .hero__main-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero__form-wrapper {
        position: static;
    }

    /* Move phone button into menu */
    .nav__phone {
        display: none;
    }

    .features__grid,
    .process__grid,
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav__list {
        gap: var(--spacing-md);
    }

    .nav__link {
        font-size: var(--font-size-sm);
    }

    .problem-solution-image__wrapper,
    .detailed-step,
    .testimonial-highlight__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        height: auto;
        /* Reset fixed height on mobile */
    }

    .problem-solution-image__content {
        height: auto;
        overflow-y: visible;
    }

    .problem-solution-image__img {
        height: auto;
        max-height: 500px;
    }

    .detailed-step:nth-child(even) .detailed-step__image,
    .detailed-step:nth-child(even) .detailed-step__content {
        order: initial;
    }

    .review-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    :root {
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.35rem;
        --font-size-xl: 1.25rem;
        --font-size-lg: 1.125rem;
        --font-size-base: 1rem;
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
        --container-padding: 1rem;
    }

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .nav {
        height: 70px;
    }

    .nav__logo-img {
        height: 35px;
    }

    .nav__phone span {
        display: none;
    }

    .nav__phone {
        padding: 0.75rem;
    }

    .theme-toggle,
    .lang-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        font-size: var(--font-size-base);
    }

    .lang-toggle {
        font-size: 0.75rem;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #2C2C3E;
        box-shadow: var(--shadow-lg);
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 var(--spacing-md);
    }

    .nav__menu.show-menu {
        max-height: 500px;
        padding: var(--spacing-md);
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .nav__link {
        color: #FFFFFF;
        font-size: var(--font-size-base);
        font-weight: 500;
        padding: var(--spacing-xs) 0;
    }

    .nav__link--phone {
        background: #000000;
        color: #FFFFFF;
        padding: 0.875rem 1.5rem;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-sm);
        width: 100%;
        justify-content: center;
    }

    /* Show phone in menu on mobile */
    .nav__item--phone {
        display: block;
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }


    .nav__link--phone {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        background: var(--gradient-primary);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        color: #FFFFFF !important;
    }

    .nav__link--phone i {
        font-size: var(--font-size-base);
    }

    .nav__toggle {
        display: block;
    }

    .hero {
        padding-top: calc(70px + var(--spacing-lg));
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }

    .stat-item {
        border-radius: 50% !important;
        aspect-ratio: 1 / 1;
        padding: 0.25rem !important;
        min-height: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .stat-number {
        font-size: 1.1rem !important;
        margin-bottom: 0px !important;
    }

    .stat-label {
        font-size: 0.6rem !important;
        line-height: 1.1;
        display: block;
        max-width: 100%;
        margin-top: 0.25rem;
    }

    .form-row,
    .name-inputs,
    .form-row-4 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .form-card {
        padding: var(--spacing-lg);
    }

    .features__grid,
    .process__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .review-cards__grid,
    .testimonial-highlight__grid,
    .detailed-process__grid,
    .problem-solution-image__wrapper {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
        height: auto !important;
    }

    /* Carousel Responsive Styles */
    .multi-carousel-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .single-carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-review-image {
        height: 300px;
    }

    .carousel-review-content {
        padding: var(--spacing-md);
    }

    .carousel-review-text {
        font-size: var(--font-size-base);
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow i {
        font-size: 1rem;
    }

    .detailed-step {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .testimonial-highlight__left,
    .problem-solution-image__media,
    .detailed-step__image {
        width: 100%;
        height: auto;
        margin-bottom: var(--spacing-sm);
    }

    .problem-solution-image__img {
        max-height: 300px;
        /* Limit height on mobile so it doesn't take full screen */
    }

    /* ==================== GLOBAL CENTERING FOR MOBILE ==================== */
    body,
    .section,
    .container,
    .header,
    .footer,
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .section-title,
    .section-subtitle,
    .step-title,
    .step-description,
    .feature-titl,
    .problem-solution__solution,
    .problem-solution-image__title,
    .problem-solution-image__problem,
    .problem-solution-image__solution,
    .testimonial-text,
    .testimonial-author,
    .review-text,
    .review-author,
    .review-location,
    .detailed-step__title,
    .detailed-step__description,
    .testimonial-highlight__text,
    .testimonial-highlight__author {
        text-align: center !important;
    }

    /* Center flex/grid items */
    .nav__list,
    .nav__item,
    .hero__container,
    .hero__main-row,
    .hero__video-column,
    .hero__form-wrapper,
    .problem-solution-image__wrapper,
    .problem-solution-image__content,
    .detailed-step,
    .testimonial-highlight__grid,
    .testimonial-highlight__right,
    .review-footer,
    .review-info,
    .footer__content {
        align-items: center !important;
        justify-content: center !important;
    }

    .testimonial-highlight__rating,
    .review-rating,
    .social-links,
    .customer-reviews,
    .customer-avatars,
    .review-stars {
        justify-content: center !important;
        display: flex !important;
    }

    .customer-reviews {
        flex-direction: column;
        align-items: center !important;
    }

    /* Ensure images act as blocks and are centered */
    img,
    .video-wrapper,
    .problem-solution-image__media,
    .detailed-step__image,
    .testimonial-highlight__left {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .video-wrapper {
        min-height: auto !important;
        height: auto !important;
    }

    /* Verify text wrapping */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .section-title,
    .step-title,
    .feature-titl {
        word-break: break-word;
        hyphens: auto;
    }

    /* Reduce spacing between sections */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .problem-solution-image {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
}

/* ==================== REVIEW CARD IMAGES ==================== */
.review-media {
    width: 100%;
    height: 250px;
    /* Specific height for images */
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 3px solid #C5A059;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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