/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff6b6b;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b6b;
}

.auth-buttons {
    display: flex;
}

.login-btn, .signup-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn {
    background-color: transparent;
    color: #ff6b6b;
    margin-right: 10px;
    border: 1px solid #ff6b6b;
}

.signup-btn {
    background-color: #ff6b6b;
    color: #fff;
}

.login-btn:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.signup-btn:hover {
    background-color: #ff5252;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
}

.search-box input:first-child {
    border-right: 1px solid #eee;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    padding: 15px 30px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #ff5252;
}

/* Popular Services Section */
.popular-services {
    padding: 80px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: #ff6b6b;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.service-link:hover {
    background-color: #ff5252;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 28px;
    color: #ff6b6b;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    color: #666;
}

/* Featured Providers Section */
.featured-providers {
    padding: 80px 0;
    background-color: #fff;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.provider-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.provider-img {
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.provider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-info {
    padding: 20px;
    flex: 1;
}

.provider-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating i {
    color: #ffc107;
    margin-right: 2px;
}

.rating span {
    margin-left: 5px;
    color: #666;
    font-size: 14px;
}

.provider-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.provider-link {
    display: inline-block;
    padding: 6px 15px;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.provider-link:hover {
    background-color: #ff5252;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 350px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.author-info p {
    font-size: 14px;
    color: #666;
}

/* App Download Section */
.app-download {
    padding: 80px 0;
    background-color: #fff;
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.app-info {
    flex: 1;
    min-width: 300px;
}

.app-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.app-info p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.app-btn:hover {
    background-color: #555;
}

.app-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-btn span {
    font-weight: 500;
}

.app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #ff6b6b;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ff6b6b;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
}

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

.footer-bottom p {
    color: #ccc;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        margin-bottom: 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input:first-child {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 20px;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-info, .app-image {
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        min-width: 100%;
    }
    
    .footer-column {
        flex: 100%;
    }
}