/* Custom CSS for Health Care Growth Line - Redesigned */

:root {
    --primary-color: #4A148C;
    --secondary-color: #7B1FA2;
    --accent-color: #FFD740;
    --light-gray: #F3E5F5;
    --section-alt: #E1BEE7;
    --dark-gray: #212121;
    --body-text: #424242;
    --white: #ffffff;
    --border-radius: 12px;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--body-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-gray);
}

.display-4, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    color: var(--dark-gray) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--section-alt) 100%);
}

.hero-section img {
    transition: transform 0.3s ease;
    border-radius: var(--border-radius) !important;
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--section-alt);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h5 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--body-text);
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #f6ad55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h5 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--body-text);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 92, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 92, 0.4);
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-gray), #37474f) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .service-card, .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Service Page Specific Styles */
.service-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
}

.service-content {
    padding: 80px 0;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--section-alt);
}

.service-content ul li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 1rem;
}

.faq-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 105, 92, 0.25);
}

/* About Page */
.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.rounded-3 {
    border-radius: 8px !important;
}

/* Additional Service Page Styles */
.service-icon-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon-large i {
    font-size: 4rem;
    color: white;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--section-alt);
    position: relative;
    padding-left: 2rem;
}

.service-list li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.service-details h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sidebar {
    position: sticky;
    top: 120px;
}

.appointment-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.appointment-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--body-text);
}

.related-services {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.related-services h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.related-services ul li {
    margin-bottom: 0.5rem;
}

.related-services ul li a {
    color: var(--body-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-services ul li a:hover {
    color: var(--primary-color);
}

/* About Page Styles */
.about-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
}

.mission-vision {
    padding: 80px 0;
}

.mission-card, .vision-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.mission-card h3, .vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.team-section {
    padding: 80px 0;
}

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
}

.contact-content {
    padding: 80px 0;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-item-icon i {
    color: white;
    font-size: 1.2rem;
}

.hours-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hours-table th {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
}

.hours-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--section-alt);
}

/* Legal Pages Styles */
.legal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
}

.legal-content {
    padding: 80px 0;
}

.legal-content h3 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

/* Responsive adjustments for service pages */
@media (max-width: 768px) {
    .service-icon-large {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }
    
    .service-icon-large i {
        font-size: 3rem;
    }
    
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .appointment-card {
        padding: 1.5rem;
    }
}
