/* css/pages.css - Styles for all inner pages */
:root {
    --primary-color: #A886CD;
    --secondary-color: #49E670;
    --accent-color: #FF6B6B;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --orange-color: #FFA500;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.content-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.content-box h3 {
    color: var(--orange-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.content-box p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-box ul, .content-box ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.highlight-box {
    background-color: rgba(168, 134, 205, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

/* Service Detail Cards */
.service-detail-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s;
    margin-bottom: 30px;
    background-color: white;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-img {
    height: 250px;
    overflow: hidden;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-detail-card:hover .service-detail-img img {
    transform: scale(1.05);
}

.service-detail-content {
    padding: 25px;
}

.service-detail-content h3 {
    color: var(--orange-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
}

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(168, 134, 205, 0.2);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    color: #777;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-info-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(168, 134, 205, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(168, 134, 205, 0.25);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

/* Doctor Profile Styles */
.doctor-profile {
    text-align: center;
    margin-bottom: 30px;
}

.doctor-profile img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--primary-color);
}

.qualification-box {
    background-color: rgba(168, 134, 205, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    left: -10px;
}

/* Map Styles */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-content:before {
        left: -10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .service-detail-img {
        height: 200px;
    }
}