:root {
    --primary: #FF8C00;
    --primary-dark: #F9D71C;
    --primary-light: #0077B6;
    --accent: #F0F3BD;
    --dark: #05668D;
    --darker: #03445e;
    --light: #F7F9FC;
    --white: #FFFFFF;
    --text: #2D3748;
    --text-light: #4A5568;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: var(--white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--dark) !important;
}

.navbar-brand span {
    color: var(--primary);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1800&q=80') no-repeat center center/cover;
    opacity: 0.15;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--darker);
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.search-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    color: var(--text);
    margin-top: 1rem;
    border: none;
}

.search-title {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-control, .form-select {
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 150, 0.15);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.2);
}

.btn-outline-light {
    border-radius: 10px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.4s;
    height: 100%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 168, 150, 0.15);
}

.section-title {
    margin-bottom: 3.5rem;
    margin-top: 4.5rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.stats-section {
    background-color: var(--darker);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1800&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.how-it-works-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2.5rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 4px solid var(--primary);
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(0, 168, 150, 0.05);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
}

.testimonial-rating {
    color: var(--primary);
    margin-bottom: 1rem;
}

.faq-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: none;
}

.faq-header {
    background: var(--white);
}

.faq-button {
    font-weight: 600;
    color: var(--dark);
}

.faq-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(0, 168, 150, 0.05);
}

.faq-body {
    background: rgba(0, 168, 150, 0.03);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1800&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

footer {
    background: var(--darker);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: all 0.3s;
    color: white;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    border-radius: 10px;
    font-weight: 600;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .how-it-works-step {
        padding-left: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}