/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles and variables */
:root {
    --primary-color: #16a34a;      /* Green */
    --primary-dark: #15803d;       /* Darker Green */
    --secondary-color: #f97316;    /* Orange */
    --secondary-dark: #ea580c;     /* Darker Orange */
    --accent-color: #fb923c;       /* Light Orange */
    --accent-hover: #f97316;       /* Orange (for hover states) */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-bg: #f0fdf4;          /* Very Light Green */
    --light-orange: #fff7ed;      /* Very Light Orange */
    --border-color: #d1d5db;
    --box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.1);
    --gradient-start: #16a34a;    /* Green */
    --gradient-end: #f97316;      /* Orange */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.3);
}

.login-btn {
    background: var(--white);
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.login-btn i {
    font-size: 1rem;
    margin-right: 0.25rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-color);
        position: relative;
        transition: all 0.3s ease;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--text-color);
        transition: all 0.3s ease;
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        bottom: -8px;
    }
    
    .menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 100;
    }

    .menu-toggle {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        padding: 80px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        transition: 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        padding: 1rem 0;
        width: 100%;
        display: block;
    }
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    padding-left: 1.75rem;
    background: var(--light-bg);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin-top: 0.75rem;
        background: var(--light-bg);
        border-radius: 8px;
    }

    .dropdown-menu a {
        padding-left: 2rem;
    }

    .nav-cta {
        text-align: center;
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .nav-links.active .nav-cta {
        border-radius: 50px;
    }
    
    .nav-links.active .nav-cta:hover {
        background-color: var(--secondary-dark);
    }
}

/* Header scroll behavior */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile menu improvements */
.mobile-menu-btn {
    z-index: 1001;
}

.nav-links {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-links.active {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-links {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .nav-links a:hover {
        background: var(--light-bg);
        color: var(--primary-color);
    }

    .nav-cta {
        margin: 1rem 1.5rem;
    }
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 80vh;
    padding: 88px 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hero-text {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    display: inline-block;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 500;
}

.privacy-promise,
.estimate-promise {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.privacy-promise i,
.estimate-promise i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.privacy-promise i {
    color: #2563eb;  /* Nice blue color */
}

.estimate-promise i {
    color: var(--primary-color);
}

.privacy-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
}

.privacy-text strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.estimate-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
}

.estimate-text strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(22, 163, 74, 0.3);
}

.btn i {
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

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

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

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.quote-card {
    bottom: 2rem;
    left: -2rem;
    max-width: 300px;
}

.quote-card i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quote-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: #FFD700;  /* Yellow gold color */
}

.trust-card {
    top: 2rem;
    right: -1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.trust-card i {
    color: var(--secondary-dark);
}

.hero-shape {
    position: absolute;
    top: 1px;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 60px 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

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

    .quote-card {
        left: 1rem;
        right: 1rem;
        bottom: -2rem;
    }

    .trust-card {
        display: none;
    }
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.card-header i {
    font-size: 1.75rem;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.75rem;
    border-radius: 10px;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.main-point {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .card-header {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .card-header i {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* Buttons */
.cta-button, .submit-button {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover, .submit-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Quote Form Section */
#quote-form {
    padding: 8rem 1rem;
    background: var(--white);
    position: relative;
}

.form-container {
    margin: 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
    height: 48px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--light-bg);
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.form-group select:hover {
    border-color: var(--primary-color);
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--light-bg);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

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

.form-group select option {
    padding: 0.5rem;
    background-color: var(--light-bg);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-group.full-width {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    margin: 1rem 0;
}

.number-input-container {
    width: 100%;
}

.number-select {
    display: flex;
    gap: 4px;
    margin-top: 0.75rem;
    background: var(--light-bg);
    padding: 4px;
    border-radius: 8px;
}

.number-option {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.number-option:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.number-option:active {
    transform: translateY(0);
    box-shadow: none;
}

.number-option.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.number-option.active:hover {
    background: var(--primary-dark);
}

.number-option.active::before {
    opacity: 0;
}

@media (max-width: 480px) {
    .number-select {
        gap: 3px;
        padding: 3px;
    }

    .number-option {
        padding: 8px 0;
        font-size: 0.9rem;
    }
}

/* Number Selection Styles */
.number-input-container {
    margin-bottom: 2rem;
}

.number-select {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.number-option {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.number-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.number-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Form Submit Button */
.submit-button {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .number-select {
        justify-content: center;
    }
    
    .number-option {
        width: 40px;
        height: 40px;
    }
}

/* Benefits Section */
#benefits {
    padding: 8rem 1rem;
    background: var(--light-bg);
}

#benefits h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* How It Works Section */
#how-it-works {
    padding: 8rem 1rem;
    background: var(--white);
}

#how-it-works h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Estimate Options */
.estimate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.estimate-option {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.estimate-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.option-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

.estimate-option h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.estimate-option p {
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.time-estimate {
    display: inline-block;
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.option-button {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Estimate Forms */
.estimate-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.estimate-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

/* Appointment Scheduler Styles */
.appointment-scheduler {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .appointment-scheduler {
        grid-template-columns: 1fr 1fr;
    }
}

/* Panel 2 specific form grid styling */
.panel-2-form-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 800px;
    width: 100%;
}

.panel-2-form-grid .form-group {
    flex: 1 1 200px;
    max-width: 250px;
    margin-bottom: 1rem;
}

.form-panel[data-panel="2"] .panel-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.75rem;
}

@media (max-width: 768px) {
    .panel-2-form-grid .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Calendar Styles */
.calendar-section {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.calendar-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.calendar-nav {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--light-bg);
    color: var(--primary-dark);
}

.calendar-grid {
    width: 100%;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.calendar-days span:first-child,
.calendar-days span:last-child {
    color: var(--secondary-color);
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.calendar-date:hover:not(.disabled) {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.calendar-date.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

.calendar-date.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
    opacity: 0.7;
    pointer-events: none;
}

.calendar-date.disabled:hover {
    background: #f9fafb;
    cursor: not-allowed;
}

.calendar-date.today {
    background-color: #fffbeb; /* Light yellow background matching validation message */
    color: var(--text-color);
    font-weight: 600;
    border: 1px solid #9ca3af; /* Gray-400 borders matching validation message */
}

.calendar-date.today:hover {
    background-color: #fff7ed; /* Slightly darker on hover */
    border-color: var(--secondary-color);
}

.calendar-date.today.selected {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* Time Slots Styles */
.time-slots-section {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slots-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.time-slot {
    background: var(--light-bg);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.time-slot:hover:not(.disabled) {
    background: var(--secondary-color);
    color: var(--white);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
}

.time-slot.disabled {
    background: var(--gray-light);
    color: var(--gray-medium);
    cursor: not-allowed;
}

.time-slot[disabled] {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.time-slot[disabled]:hover,
.time-slot[disabled]:active,
.time-slot[disabled]:focus {
    background: inherit;
    color: inherit;
    transform: none;
    cursor: not-allowed;
}

.selected-slot-info {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.selected-slot-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.selected-slot-info p {
    margin: 0;
    font-weight: 500;
}

.no-slots-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 5rem 1rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .form-container {
        padding: 2rem;
    }

    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Base responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--box-shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    nav {
        padding: 1rem;
    }

    .hero-content {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 120px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .estimate-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .form-container {
        padding: 1.5rem;
        margin: 1.5rem;
        border-radius: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .estimate-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .privacy-promise,
    .estimate-promise {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
}

.welcome-header {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1e293b; /* Darker color for better contrast */
    margin: 0 0 1.25rem;
    line-height: 1.3;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.welcome-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

@media (max-width: 576px) {
    .welcome-header {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .welcome-header::after {
        width: 60px;
        height: 2px;
    }
}

/* Container width adjustments */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Form adjustments */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}

@media (max-width: 360px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}

/* Footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .footer-section {
        padding: 1rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.step {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Additional Enhancements */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

.scroll-down {
    transform: translateY(-100%);
}

.scroll-up {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-section {
    padding: 6rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.estimate-option {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.estimate-option:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.option-icon {
    color: var(--primary-color);
    background: var(--light-bg);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
}

.time-slot:hover:not(.disabled) {
    background: var(--secondary-color);
    color: var(--white);
}

.calendar-date.selected {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-date:hover:not(.disabled) {
    background: var(--secondary-color);
    color: var(--white);
}

.testimonial-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.05);
}

.testimonial-card:hover {
    box-shadow: 0 8px 12px rgba(249, 115, 22, 0.1);
}

/* Hero section with diagonal gradient */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

/* CTA section with reversed gradient */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
}

/* Update component colors */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.3);
}

.estimate-option {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.estimate-option:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.option-icon {
    color: var(--primary-color);
    background: var(--light-bg);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
}

.time-slot:hover:not(.disabled) {
    background: var(--secondary-color);
    color: var(--white);
}

.calendar-date.selected {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-date:hover:not(.disabled) {
    background: var(--secondary-color);
    color: var(--white);
}

/* Testimonials with alternating backgrounds */
.testimonial-card:nth-child(odd) {
    background: var(--light-bg);
}

.testimonial-card:nth-child(even) {
    background: var(--light-orange);
}

.testimonial-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.05);
}

.testimonial-card:hover {
    box-shadow: 0 8px 12px rgba(249, 115, 22, 0.1);
}

/* Form elements */
input[type="range"] {
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 50%, var(--border-color) 50%, var(--border-color) 100%);
}

input[type="range"]::-webkit-slider-thumb {
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 1px var(--primary-color);
}

input[type="range"]::-moz-range-thumb {
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 1px var(--primary-color);
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-moz-range-thumb:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 0 1px var(--secondary-color);
}

.nav-cta {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-cta i {
    font-size: 1rem;
}

.submit-button {
    background: var(--secondary-color);
}

.submit-button:hover {
    background: var(--secondary-dark);
}

/* Update prev-panel button to match nav-cta colors */
.panel-navigation .prev-panel {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
}

.panel-navigation .prev-panel:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.3);
}

/* Ensure the Prev button is always visible on panel 2 */
.form-panel[data-panel="2"] .panel-navigation .prev-panel {
    display: inline-block !important;
}

/* Multi-form panel styles */
.multi-form-container {
    width: 100%;
}

.form-panel {
    transition: all 0.3s ease;
}

.panel-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.panel-navigation button,
.panel-navigation .btn {
    min-width: 120px;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

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

.panel-navigation .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.panel-navigation .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.panel-navigation .btn-secondary:hover {
    background-color: #e9e9e9;
}

/* When there's only a next button, align to the center */
.panel-navigation:has(.next-panel:only-child) {
    justify-content: center;
}

/* Welcome header enhancement */
.welcome-header {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Responsive styles for the quick details section */
@media (max-width: 768px) {
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .panel-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .panel-navigation .btn {
        width: 100%;
    }
}

/* Additional styles for the enhanced quick-details-content section */
.quick-details-content .form-panel {
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

/* Form validation message enhancements */
.validation-message {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.validation-message.error {
    color: #e53935;
}

.validation-message.success {
    color: var(--primary-color);
}

.form-panel[data-panel="2"] .panel-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.75rem;
}

.form-panel[data-panel="3"] .panel-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.75rem;
}

.form-panel[data-panel="4"] .panel-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.75rem;
}

/* Progress indicator styles */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    gap: 12px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    transition: all 0.3s ease;
}

/* Style for visited dots - use primary green color */
.progress-dot.visited {
    cursor: pointer;
    background-color: var(--primary-color);
}

.progress-dot.visited:hover {
    transform: scale(1.2);
    background-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.4);
}

.progress-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Panel description */
.panel-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Summary container styles */
.summary-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-section {
    margin-bottom: 1.5rem;
}

.summary-section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-item {
    display: flex;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    width: 160px;
    color: var(--text-color);
    white-space: nowrap;
}

.summary-value {
    flex: 1;
    color: var(--text-light);
}

/* Enhanced navigation buttons */
.panel-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.panel-navigation .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.panel-navigation .btn i {
    font-size: 0.9rem;
}

.panel-navigation .btn.prev-panel {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.panel-navigation .btn.prev-panel:hover {
    background-color: var(--light-bg);
}

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

.panel-navigation .btn.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Welcome header enhancement */
.welcome-header {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Responsive styles for the quick details section */
@media (max-width: 768px) {
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .panel-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .panel-navigation .btn {
        width: 100%;
    }
}

/* Additional styles for the enhanced quick-details-content section */
.quick-details-content .form-panel {
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

/* Form validation message enhancements */
.validation-message {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.validation-message.error {
    color: #e53935;
}

.validation-message.success {
    color: var(--primary-color);
}

/* Calendar Grid Layout */
.calendar-section #calendar-dates,
.calendar-section #video-calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 10px;
}

/* Base styles for all date cells (including empty ones) */
.calendar-section span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.calendar-section .empty {
    width: 40px;
    height: 40px;
}

.calendar-section .date {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    position: relative;
}

.calendar-section .date:hover {
    background-color: var(--border-color);
}

.calendar-section .date.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: none;
    opacity: 0.5;
    pointer-events: none;
}

.calendar-section .date.disabled:hover {
    background: none;
    cursor: not-allowed;
}

.calendar-section .date.selected {
    background-color: var(--primary-color);
    color: var(--white);
}

.calendar-section .date.today {
    background-color: #fffbeb; /* Light yellow background matching validation message */
    color: var(--text-color);
    font-weight: 600;
    border: 1px solid #9ca3af; /* Gray-400 borders matching validation message */
}

.calendar-section .date.today:hover {
    background-color: #fff7ed; /* Slightly darker on hover */
    border-color: var(--secondary-color);
}

.calendar-section .date.today.selected {
    background-color: var(--primary-color);
}

/* Table notes styling */
.table-notes {
    white-space: pre-line;
    max-width: 300px;
    padding: 8px;
}

.notes-cell {
    max-height: 100px;
    overflow: hidden;
}

.notes-cell.expanded {
    max-height: none;
}

/* Welcome Modal Styles */
.welcome-modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.welcome-modal-container.active {
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
}

.welcome-modal {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid var(--border-color);
}

.welcome-modal-container.active .welcome-modal {
    transform: scale(1);
    opacity: 1;
}

.welcome-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px 12px 0 0;
}

.welcome-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.close-welcome-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.25rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-welcome-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.welcome-modal-body {
    padding: 1.5rem;
}

.welcome-modal-body p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.welcome-highlight {
    background-color: var(--light-orange);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.welcome-highlight i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.welcome-highlight p {
    margin: 0;
    color: var(--text-color);
}

.welcome-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.welcome-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Responsive adjustments for welcome modal */
@media (max-width: 576px) {
    .welcome-modal {
        width: 95%;
    }
    
    .welcome-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .welcome-modal-body {
        padding: 1rem;
    }
    
    .welcome-highlight {
        padding: 0.75rem;
    }
}

/* Quick Quote Form in Modal */
.quick-quote-form {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-quote-form .form-row {
    margin-bottom: 0.75rem;
}

.quick-quote-form .form-row:last-child {
    margin-bottom: 0;
}

.quick-quote-form .form-row.two-columns {
    display: flex;
    gap: 0.75rem;
}

.quick-quote-form .form-row.two-columns .form-group {
    flex: 1;
}

.quick-quote-form .form-group {
    position: relative;
}

.quick-quote-form .form-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
}

.quick-quote-form .form-group label i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    z-index: 1;
}

.quick-quote-form input[type="text"],
.quick-quote-form input[type="date"],
.quick-quote-form select {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quick-quote-form input[type="text"]:focus,
.quick-quote-form input[type="date"]:focus,
.quick-quote-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    outline: none;
}

.quick-quote-form .radio-group,
.quick-quote-form .checkbox-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.quick-quote-form .radio-group label,
.quick-quote-form .checkbox-group label {
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.quick-quote-form .radio-group input[type="radio"],
.quick-quote-form .checkbox-group input[type="checkbox"] {
    margin-right: 0.4rem;
    cursor: pointer;
}

/* Responsive adjustments for quick quote form */
@media (max-width: 576px) {
    .quick-quote-form {
        padding: 0.75rem;
    }
    
    .quick-quote-form .form-row.two-columns {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quick-quote-form input[type="text"],
    .quick-quote-form input[type="date"],
    .quick-quote-form select {
        padding: 0.6rem 0.6rem 0.6rem 2rem;
        font-size: 0.9rem;
    }
    
    .quick-quote-form .radio-group,
    .quick-quote-form .checkbox-group {
        justify-content: space-between;
    }
}

/* Quick Details Section */
#quickDetails {
    background-color: #f8fafc;
    padding: 2rem 0 0.625rem;
    border-bottom: 1px solid #e2e8f0;
}

.quick-details-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.quick-details-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 1.5rem;
}

.quick-details-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: calc(100% - 1.25rem);
    max-width: 100%;
    margin: 0 0.625rem;
}

.quick-details-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-details-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.quick-details-body {
    padding: 1.5rem;
}

/* Make quick-details-body wider on larger screens to prevent form-grid elements from wrapping */
@media (min-width: 65rem) {
    .quick-details-body {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .form-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.welcome-cta .nav-cta {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.welcome-cta .nav-cta:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.3);
}

/* Make quick-details-body wider on larger screens to prevent form-grid elements from wrapping */
@media (min-width: 65rem) {
    .quick-details-body {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .form-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/* Panel 2 specific styling */
.panel-2-container {
    max-width: 800px;
    margin: 0 auto 0;
    padding: 0 1rem;
}

.panel-2-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 30px;
}

.panel-2-form .form-field {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.panel-2-form .form-field label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.panel-2-form .form-field input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
    height: 48px;
    box-sizing: border-box;
}

.panel-2-form .form-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-panel[data-panel="2"] .panel-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2.75rem;
}

@media (max-width: 768px) {
    .panel-2-form .form-field {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive adjustments for smaller screens that were accidentally removed */
@media (max-width: 768px) {
    #quickDetails {
        padding: 1.5rem 0;
    }
    
    .quick-details-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .quick-details-header h3 {
        font-size: 1.1rem;
    }
    
    .quick-details-body {
        padding: 1rem;
    }
}

/* Validation Message Styles */
.validation-message {
    background-color: #fffbeb; /* Light yellow background */
    border: 1px solid #9ca3af; /* Gray-400 borders */
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    width: 100%; /* Match input width */
    position: absolute;
    z-index: 10;
    margin-top: 0.375rem; /* 6px equivalent in rem units */
    box-sizing: border-box;
    left: 0 !important; /* Ensure alignment with input */
}

.validation-message-triangle {
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    width: 1rem;
    height: 0.5rem;
    overflow: hidden;
}

.validation-message-triangle:after {
    content: "";
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    background: #fffbeb;
    border-left: 1px solid #9ca3af;
    border-top: 1px solid #9ca3af;
    transform: rotate(45deg);
    top: 0.25rem;
    left: 0.125rem;
}

.validation-message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    box-sizing: border-box;
}

.validation-message-content i {
    color: white;
    background-color: #f97316; /* Orange background for icon */
    border-radius: 50%;
    padding: 0.25rem;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-message-content span {
    flex: 1;
    color: #4b5563; /* Gray-600 text */
}

/* Add specific margin for validation messages in the first panel */
.form-panel[data-panel="1"] .validation-message.mt-1 {
    margin-top: 0.375rem; /* 6px equivalent in rem units */
}

/* Add specific styling for validation messages in panel 2 */
.form-panel[data-panel="2"] .form-field .validation-message {
    /*width: auto !important; /* Let it size naturally */
    max-width: 100% !important; /* Don't exceed parent width */
    font-size: 0.8125rem; /* Slightly smaller font size */
    box-sizing: border-box;
}

.form-panel[data-panel="2"] .validation-message-content span {
    font-size: 0.8125rem; /* Ensure text fits nicely */
    line-height: 1.2;
}

/* Ensure validation messages match input width */
.form-field {
    position: relative; /* Ensure proper positioning context */
}

.form-field .validation-message {
    width: 100%; /* Match parent width */
    max-width: 100%; /* Don't exceed parent width */
    left: 0; /* Align with left edge of input */
    box-sizing: border-box;
}

/* Fix for panel 2 validation message width */
.panel-2-form .form-field .validation-message {
    width: 100%; /* Match input width */
    max-width: 100%; /* Don't exceed parent width */
    box-sizing: border-box;
}

/* Reset any overrides */
.panel-2-form .form-field .validation-message-content {
    width: auto; /* Let content determine width */
    white-space: normal; /* Allow text wrapping */
}

/* Multi-select dropdown styling */
.multi-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    font-size: 1rem;
    min-height: 120px;
    color: var(--text-color);
}

.multi-select option {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
}

.multi-select option:checked {
    background-color: var(--primary-color);
    color: var(--white);
}

.multi-select option:hover:not(:checked) {
    background-color: var(--light-bg);
}

.help-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Tickbox multi-select styling */
.tickbox-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    margin-bottom: 0.5rem;
}

.tickbox-option {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.tickbox-option:hover {
    background-color: var(--light-bg);
}

.tickbox-option input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.tickbox-option label {
    cursor: pointer;
    font-weight: normal;
    margin: 0;
    flex: 1;
}
