/* 
TeleSprings Healthcare Styles
Responsive Stylesheet
*/

/* Tablet and smaller desktop screens */
@media screen and (max-width: 1024px) {
    :root {
        --spacing-xl: 40px;
        --spacing-xxl: 56px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Hero Section */
    #hero {
        padding: 120px 0 var(--spacing-lg);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Services Grid */
    .services-grid, 
    .large-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Steps Container */
    .steps-container {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* healthcare providers Grid */
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    /* Approach Grid */
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Specialties Grid */
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Conditions Grid */
    .conditions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    /* Header */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-xl);
        transition: left var(--transition-speed);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cta-button {
        display: none;
    }
    
    /* Hero Section */
    #hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Contact Wrapper */
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Insurance Content */
    .insurance-content {
        flex-direction: column;
    }
    
    .insurance-text {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Story Content */
    .story-content {
        flex-direction: column;
    }
    
    .story-text {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Intro Content */
    .intro-content {
        flex-direction: column;
    }
    
    .intro-text {
        margin-bottom: var(--spacing-lg);
    }
    
    .intro-stats {
        flex-direction: row;
    }
    
    /* Specialties Grid */
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Conditions Grid */
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: var(--spacing-sm);
    }
}

/* Mobile Devices */
@media screen and (max-width: 576px) {
    :root {
        --spacing-lg: 24px;
        --spacing-xl: 32px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    /* Services Grid */
    .services-grid,
    .large-grid,
    .values-grid,
    .benefits-grid,
    .approach-grid,
    .specialties-grid,
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing Highlights */
    .pricing-highlights {
        flex-direction: column;
    }
    
    /* Team Members */
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-image {
        margin-bottom: var(--spacing-md);
    }
    
    /* Intro Stats */
    .intro-stats {
        flex-direction: column;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    /* Pricing Table */
    .pricing-cell {
        padding: var(--spacing-xs);
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 380px) {
    #header .container {
        padding: var(--spacing-xs);
    }
    
    .logo img {
        height: 40px;
    }
    
    .testimonial-content {
        padding: var(--spacing-md);
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}