/*
 * Spineboshara.com - Page-Specific Styles
 * Homepage and About Page Styling
 * Version: 1.0.0
 */

/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d2438 0%, #1a3a52 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    opacity: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
    opacity: 1;
    line-height: 1.6;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.professional-photo {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

/* E-E-A-T Credentials Section */
.credentials-section {
    background-color: var(--background-secondary);
    padding: var(--spacing-xxl) 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.credential-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.credential-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.credential-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-icon img {
    max-width: 120px;
    height: auto;
}

.credential-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.credential-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.dwg-logo {
    max-width: 150px;
    margin-top: var(--spacing-md);
}

.linkedin-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.linkedin-link:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Services Overview Section */
.services-overview-section {
    padding: var(--spacing-xxl) 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.services-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 var(--spacing-sm);
}

.services-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    width: 100%;
    max-width: 100%;
}

.service-category-highlight {
    background: var(--background-secondary);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-category-highlight h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-category-highlight>p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-category-highlight .btn {
    margin-top: var(--spacing-md);
}

.service-category {
    background: var(--background-secondary);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-category h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-category>p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-category .btn {
    margin-top: var(--spacing-md);
}

/* Category CTA Buttons - Services Landing Page */
.category-cta {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.category-cta .btn {
    flex: 0 1 auto;
    white-space: nowrap;
}

/* Scroll-Driven Background Image Animation - Services Landing Page */
.service-category-section {
    position: relative;
    min-height: 600px;
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: background-position 0.3s ease-out;
}

.category-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(13, 36, 56, 0.92) 0%,
            rgba(26, 58, 82, 0.88) 50%,
            rgba(13, 36, 56, 0.92) 100%);
    opacity: 0.85;
    transition: opacity 0.6s ease-out;
    z-index: 1;
}

.service-category-section.is-visible .category-bg-overlay {
    opacity: 0.75;
}

/* ========================================
   PREMIUM CONTENT TYPOGRAPHY
   ======================================== */

.content-block {
    max-width: 820px;
    /* Optimal reading width */
    margin: 0 auto;
    font-size: 1.15rem;
    /* ~18.5px - significantly larger and more readable */
}

.content-block p {
    line-height: 1.8;
    /* Airy line height */
    color: var(--text-primary);
    margin-bottom: 2rem;
    /* Give text room to breathe */
    font-weight: 300;
    /* Lighter, elegant weight for large text */
}

/* Strong content should stand out but remain elegant */
.content-block strong {
    font-weight: 600;
    color: var(--primary-color);
}

.content-block h2 {
    font-size: 2.25rem;
    margin-top: 4rem;
    /* Clear separation from previous section */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    /* Tighten large headings for professional look */
    position: relative;
    display: inline-block;
}

/* Feature Lists */
.content-block ul {
    list-style: none;
    margin: 2.5rem 0;
    padding: 0;
}

.content-block li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-block li::before {
    content: "✓";
    /* Checkmark */
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* Link Styling in Content */
.content-block a {
    color: var(--secondary-color);
    text-decoration: none;
    background-image: linear-gradient(var(--secondary-color), var(--secondary-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    transition: background-size .3s;
}

.content-block a:hover {
    background-size: 100% 100%;
    color: white;
}

.category-content-wrapper {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-category-section.is-visible .category-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.service-category-section .category-text {
    background: rgba(255, 255, 255, 0.97);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

.service-category-section .section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
}

.service-category-section .category-description {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.service-category-section .category-highlight {
    background: linear-gradient(135deg, rgba(42, 157, 223, 0.1), rgba(0, 194, 203, 0.1));
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary-color);
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Alternate section styling */
.service-category-section.category-alternate .category-bg-overlay {
    background: linear-gradient(135deg,
            rgba(0, 194, 203, 0.88) 0%,
            rgba(42, 157, 223, 0.85) 50%,
            rgba(0, 194, 203, 0.88) 100%);
}

.services-grid {
    display: grid;
    /* Responsive grid that fits items perfectly */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: var(--spacing-lg);
    /* Safe padding to prevents shadow clip */
    padding: 10px;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    /* Premium Top Accent instead of left border */
    border-top: 5px solid var(--secondary-color);
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy premium feel */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Subtle hover interaction */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 95, 141, 0.12);
}

/* Fix: Target h2 since we updated HTML */
.service-card h2 {
    color: var(--primary-color);
    font-size: 1.35rem;
    /* Balanced title size */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    /* Larger, readable text */
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    /* Darker text for better contrast */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: gap 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-link::after {
    content: '→';
    font-family: inherit;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.view-all-services {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Professional Background Section */
.background-section {
    background: linear-gradient(to bottom, white 0%, var(--background-secondary) 100%);
    padding: var(--spacing-xxl) 0;
}

.background-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.background-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.highlight-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.highlight-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-background {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #dee2e6;
}

.final-cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1.2;
}

.final-cta-section p {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Hero Section */
.about-hero-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--background-secondary) 0%, white 100%);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-hero-image {
    position: relative;
    text-align: center;
}

.credentials-badge {
    position: relative;
    /* Changed from absolute to relative for better flow */
    /* bottom: var(--spacing-md); */
    /* Removed as it's not needed with relative positioning */
    /* right: var(--spacing-md); */
    /* Removed as it's not needed with relative positioning */
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-md);
    /* Added margin-top for spacing */
    display: inline-block;
    /* To allow margin-top to work */
}

/* Page Hero - Restored Original Simple Style */
.page-hero {
    background-color: var(--background-secondary);
    padding: var(--spacing-xxl) 0;
    /* Standard padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Premium Hero - Styled specifically for Category Hubs */
.page-hero-premium {
    /* Premium Gradient Background */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--background-primary);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for texture */
.page-hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

/* Target children within premium hero */
.page-hero-premium .page-title {
    font-size: 3.5rem;
    /* Large, commanding title */
    color: #ffffff !important;
    /* Force white text */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.8s ease-out;
}

.page-hero-premium .subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 4rem 0 3rem;
    }
}

.about-hero-text {
    text-align: center;
}

/* The original .page-title and .subtitle styles are now replaced by the new ones */
/* The original .page-title and .subtitle styles are now replaced by the new ones */

.quick-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.quick-links .btn svg {
    margin-right: var(--spacing-xs);
}

/* Professional Background Section */
.professional-background-section {
    padding: var(--spacing-xxl) 0;
}

.background-item {
    margin-bottom: var(--spacing-xl);
}

.background-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.background-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Credentials Section */
.credentials-section {
    background: var(--background-secondary);
    padding: var(--spacing-xxl) 0;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.credential-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.credential-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.credential-header .credential-icon {
    font-size: 2.5rem;
}

.credential-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.credential-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.credential-details strong {
    color: var(--primary-color);
}

.credential-date,
.credential-org {
    font-size: var(--font-size-small);
    color: var(--text-light);
}

.credential-logo {
    margin-top: var(--spacing-md);
}

/* Expertise Section */
.expertise-section {
    padding: var(--spacing-xxl) 0;
}

.section-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.expertise-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.expertise-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.expertise-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--background-secondary);
    padding: var(--spacing-xxl) 0;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.why-item {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.why-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Mobile optimization for scroll-driven sections */
@media (max-width: 768px) {
    .service-category-section {
        background-attachment: scroll !important;
        min-height: auto;
        padding: 3rem 0;
    }

    .service-category-section .category-text {
        padding: 1.5rem;
    }

    .service-category-section .section-title {
        font-size: 1.5rem;
    }

    .category-bg-overlay {
        opacity: 0.9 !important;
    }
}

/* About CTA Section */
.about-cta-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 0;
    position: relative;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
}

.about-cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.about-cta-section>p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-option {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cta-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.cta-option:hover::before {
    transform: scaleX(1);
}

.cta-option h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 700;
}

.cta-option p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-option .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-option .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(42, 157, 223, 0.3);
}

.cta-option .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(42, 157, 223, 0.4);
    transform: translateY(-2px);
}

.cta-option .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-option .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-text {
        text-align: left;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .services-intro {
        font-size: 1.125rem;
        max-width: 800px;
    }

    .service-category-highlight,
    .service-category {
        padding: 2rem;
    }

    .service-category-highlight h3,
    .service-category h3 {
        font-size: 1.75rem;
        gap: var(--spacing-sm);
    }

    .service-category-highlight>p,
    .service-category>p {
        max-width: 700px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .service-card h4 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 1rem;
    }

    .background-highlights {
        grid-template-columns: 1fr;
    }

    .about-hero-content {
        grid-template-columns: 1fr 1.5fr;
        text-align: left;
    }

    .about-hero-text {
        text-align: left;
    }

    .quick-links {
        justify-content: flex-start;
    }

    .credentials-list {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .about-cta-section {
        padding: 4rem 0;
    }

    .about-cta-section h2 {
        font-size: 2rem;
    }

    .about-cta-section>p {
        font-size: 1.125rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .cta-option h3 {
        font-size: 1.5rem;
    }

    .cta-option p {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.125rem;
    }

    .section-intro {
        font-size: 1.125rem;
    }

    .background-item h3 {
        font-size: 1.5rem;
    }

    .expertise-card h3 {
        font-size: 1.375rem;
    }

    .why-item h3 {
        font-size: 1.375rem;
    }

    .final-cta-section {
        padding: 4rem 0;
    }

    .final-cta-section h2 {
        font-size: 2.5rem;
    }

    .final-cta-section p {
        font-size: 1.125rem;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .credentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .service-card {
        padding: var(--spacing-lg);
    }

    .background-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-choose-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .final-cta-section {
        padding: 5rem 0;
    }

    .final-cta-section h2 {
        font-size: 3rem;
    }

    .final-cta-section p {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .about-cta-section h2 {
        font-size: 2.5rem;
    }

    .about-cta-section>p {
        font-size: 1.25rem;
    }

    .cta-option h3 {
        font-size: 1.75rem;
    }

    .cta-option p {
        font-size: 1.125rem;
    }

    .cta-option .btn {
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }

    .intro-text {
        font-size: 1.25rem;
    }

    .section-intro {
        font-size: 1.125rem;
    }

    .background-item h3 {
        font-size: 1.75rem;
    }

    .expertise-card h3 {
        font-size: 1.5rem;
    }

    .why-item h3 {
        font-size: 1.5rem;
    }

    .why-icon {
        font-size: 3rem;
    }

    .category-cta {
        gap: 1.5rem;
    }

    .category-cta .btn {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }

    /* Scroll-driven sections - Desktop enhancements */
    .service-category-section {
        min-height: 700px;
        padding: 5rem 0;
    }

    .service-category-section .category-text {
        padding: 3rem;
        max-width: 1000px;
    }

    .service-category-section .section-title {
        font-size: 2.25rem;
    }

    .service-category-section .category-description {
        font-size: 1.125rem;
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}