/* Homepage Specific Styles */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 3;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 1s both;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 25px;
    animation: fadeInUp 1s both;
    animation-delay: 0.3s;
}

.slide-content .btn {
    animation: fadeInUp 1s both;
    animation-delay: 0.6s;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
}

.pagination {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.feature-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.feature-box .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-box:hover .icon img {
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.service-content .price {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-content .btn {
    width: 100%;
    padding: 10px;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--white);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial:hover .author-image img {
    transform: scale(1.1);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--white);
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80%;
}

/* Insurance Section */
.insurance-section {
    padding: 80px 0;
    background-color: var(--white);
}

.insurance-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.insurance-logo {
    text-align: center;
    transition: transform 0.3s ease;
}

.insurance-logo:hover {
    transform: translateY(-5px);
}

.insurance-logo img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}



.insurance-logo p {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}

/* Featured Services Section */
.featured-services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.featured-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.featured-row.reverse {
    flex-direction: row-reverse;
}

.featured-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

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

.featured-row:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.featured-content h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.featured-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .featured-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .featured-row.reverse {
        flex-direction: column;
    }
    
    .featured-image {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 576px) {
    .featured-image {
        height: 250px;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
} 