/* Services Page Styles */
.services-hero {
    height: 400px;
    background: linear-gradient(135deg, 
                rgba(27, 54, 93, 0.98) 0%,
                rgba(27, 54, 93, 0.95) 50%,
                rgba(152, 193, 217, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
    margin-top: 0;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

.services-hero p {
    font-size: 1.5rem;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.4;
    color: var(--white);
    margin: 0 auto;
}

/* Service Sections */
.service-section {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.service-section:nth-child(odd) {
    background: var(--background-light);
}

.service-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

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

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

.service-content {
    padding: 2rem;
}

.service-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.service-intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .services-hero {
        height: 300px;
    }

    .services-hero h1 {
        font-size: 2.8rem;
    }

    .services-hero p {
        font-size: 1.2rem;
    }

    .service-section {
        padding: 60px 5%;
        gap: 3rem;
    }

    .service-content h2 {
        font-size: 2rem;
    }

    .service-grid {
        gap: 1.5rem;
    }

    .service-item {
        padding: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .services-hero {
        height: 250px;
        padding: 40px 5%;
    }

    .services-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .services-hero p {
        font-size: 1rem;
        line-height: 1.3;
    }

    .service-section {
        grid-template-columns: 1fr;
        padding: 40px 5%;
        gap: 2rem;
        align-items: center;
    }

    .service-image {
        margin-top: 0;
    }

    .service-content {
        padding: 1rem 0;
    }

    .service-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-item h3 {
        font-size: 1.1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .services-hero {
        height: 200px;
        padding: 30px 5%;
        padding-top: 80px;
    }

    .services-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .services-hero p {
        font-size: 0.8rem;
        line-height: 1.2;
        max-width: 280px;
    }

    .service-section {
        padding: 30px 5%;
    }

    .service-image {
        height: 250px;
    }

    .service-content h2 {
        font-size: 1.6rem;
    }

    .service-item {
        padding: 1.2rem;
    }
}

/* Animation for service items */
.service-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations for service items */
.service-grid .service-item:nth-child(1) { animation-delay: 0.1s; }
.service-grid .service-item:nth-child(2) { animation-delay: 0.2s; }
.service-grid .service-item:nth-child(3) { animation-delay: 0.3s; }
.service-grid .service-item:nth-child(4) { animation-delay: 0.4s; }
.service-grid .service-item:nth-child(5) { animation-delay: 0.5s; }
.service-grid .service-item:nth-child(6) { animation-delay: 0.6s; }

/* Physicians Section Specific */
.physicians-section {
    background: var(--white);
}

.physicians-section .service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.physicians-section .service-item {
    padding: 25px;
    background: rgba(152, 193, 217, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.physicians-section .service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Patients Section Specific */
.patients-section {
    background: var(--white);
    flex-direction: row-reverse;
}

.patients-section .service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.patients-section .service-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.patients-section .service-item:hover {
    transform: scale(1.03);
}

/* Organizations Section Specific */
.organizations-section {
    background: var(--white);
}

.organizations-section .service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.organizations-section .service-item {
    padding: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.organizations-section .service-item:hover {
    background: rgba(152, 193, 217, 0.1);
}

/* Common Item Styles */
.service-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-section {
        grid-template-columns: 1fr;
        padding: 60px 5%;
    }

    .service-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-hero p {
        font-size: 1.2rem;
    }

    .service-content {
        padding: 20px;
    }

    .physicians-section .service-grid,
    .patients-section .service-grid,
    .organizations-section .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-content h2 {
        font-size: 2rem;
    }
}

/* Add active link style */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
} 
 