/*
Theme Name: SunRCM Elementor Theme
Theme URI: https://sunrcm.com
Author: SunRCM Team
Author URI: https://sunrcm.com
Description: A custom Elementor-compatible WordPress theme for SunRCM - Medical Coding & RCM Services. Features a modern design with blue and orange color scheme, fully editable with Elementor page builder.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunrcm-elementor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, elementor, medical, healthcare

This theme is built for Elementor page builder and includes custom templates
for all sections including hero, services, about, testimonials, and contact.
*/

/* Base Styles */
:root {
    --primary-blue: #1e3a5f;
    --primary-orange: #f97316;
    --primary-orange-hover: #ea580c;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --success-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-orange);
}

/* Elementor Base Compatibility */
.elementor-section {
    position: relative;
}

.elementor-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar Styles */
.sunrcm-top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.sunrcm-top-bar a {
    color: white;
    opacity: 0.9;
}

.sunrcm-top-bar a:hover {
    opacity: 1;
}

/* Header Styles */
.sunrcm-header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sunrcm-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sunrcm-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), #2d5a8f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.sunrcm-logo-text {
    display: flex;
    flex-direction: column;
}

.sunrcm-logo-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.sunrcm-logo-tagline {
    font-size: 11px;
    color: var(--text-gray);
    line-height: 1;
}

/* Navigation */
.sunrcm-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.sunrcm-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.sunrcm-nav a:hover {
    color: var(--primary-orange);
}

.sunrcm-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.sunrcm-nav a:hover::after {
    width: 100%;
}

/* Button Styles */
.sunrcm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.sunrcm-btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.sunrcm-btn-primary:hover {
    background-color: var(--primary-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

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

.sunrcm-btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Hero Section */
.sunrcm-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 50%, #fdf2e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sunrcm-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.sunrcm-hero-title span {
    color: var(--primary-blue);
}

.sunrcm-hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    max-width: 540px;
}

.sunrcm-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 32px;
}

.sunrcm-hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-dark);
}

.sunrcm-hero-feature i {
    color: var(--success-green);
    font-size: 18px;
}

.sunrcm-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image/Stats */
.sunrcm-hero-image-container {
    position: relative;
}

.sunrcm-hero-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.sunrcm-stat-card {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sunrcm-stat-card.accuracy {
    position: absolute;
    bottom: 40px;
    left: -20px;
}

.sunrcm-stat-card.speed {
    position: absolute;
    top: 20px;
    right: -20px;
}

.sunrcm-stat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.sunrcm-stat-icon.blue {
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
}

.sunrcm-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.sunrcm-stat-label {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.2;
}

/* Trusted Logos Section */
.sunrcm-trusted {
    background-color: white;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.sunrcm-trusted-title {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-weight: 500;
}

.sunrcm-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sunrcm-logo-item {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sunrcm-logo-item:hover {
    opacity: 1;
}

/* Services Section */
.sunrcm-services {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.sunrcm-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.sunrcm-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.sunrcm-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.sunrcm-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sunrcm-service-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.sunrcm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-orange);
}

.sunrcm-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.sunrcm-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sunrcm-service-description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sunrcm-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.sunrcm-service-link:hover {
    color: var(--primary-orange);
}

/* About Section */
.sunrcm-about {
    background-color: white;
    padding: 80px 0;
}

.sunrcm-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sunrcm-about-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.sunrcm-about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sunrcm-about-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

.sunrcm-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
}

.sunrcm-about-cta:hover {
    color: var(--primary-orange);
}

.sunrcm-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sunrcm-stat-box {
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.sunrcm-stat-box-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.sunrcm-stat-box-label {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Why Choose Section */
.sunrcm-why {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.sunrcm-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.sunrcm-why-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sunrcm-why-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-orange), #fb923c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.sunrcm-why-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sunrcm-why-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.sunrcm-testimonials {
    background-color: white;
    padding: 80px 0;
}

.sunrcm-testimonial-card {
    background: linear-gradient(135deg, #f0f7ff, #fdf2e9);
    border-radius: 20px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sunrcm-testimonial-quote {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sunrcm-testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-orange);
    line-height: 0;
    vertical-align: -20px;
    margin-right: 8px;
}

.sunrcm-testimonial-author {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Contact CTA Section */
.sunrcm-contact {
    background: linear-gradient(135deg, var(--primary-blue), #1e3a5f);
    padding: 80px 0;
    color: white;
}

.sunrcm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.sunrcm-contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.sunrcm-contact-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.sunrcm-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.sunrcm-contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sunrcm-contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.sunrcm-contact-method-content h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
    font-weight: 500;
}

.sunrcm-contact-method-content a {
    font-size: 1.125rem;
    color: white;
    font-weight: 600;
}

.sunrcm-contact-method-content a:hover {
    color: var(--primary-orange);
}

.sunrcm-contact-benefits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.sunrcm-contact-benefits h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 16px;
}

.sunrcm-contact-benefits ul {
    list-style: none;
}

.sunrcm-contact-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.sunrcm-contact-benefits li i {
    color: var(--success-green);
}

/* Contact Form */
.sunrcm-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
}

.sunrcm-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.sunrcm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.sunrcm-form-group {
    margin-bottom: 16px;
}

.sunrcm-form-group.full {
    grid-column: 1 / -1;
}

.sunrcm-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.sunrcm-form-group label .required {
    color: #ef4444;
}

.sunrcm-form-group input,
.sunrcm-form-group select,
.sunrcm-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sunrcm-form-group input:focus,
.sunrcm-form-group select:focus,
.sunrcm-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.sunrcm-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.sunrcm-form-submit {
    width: 100%;
    background-color: var(--primary-orange);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sunrcm-form-submit:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
}

.sunrcm-form-note {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 16px;
}

.sunrcm-form-note a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer */
.sunrcm-footer {
    background-color: #0f172a;
    color: white;
    padding: 64px 0 32px;
}

.sunrcm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.sunrcm-footer-brand {
    max-width: 320px;
}

.sunrcm-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sunrcm-footer-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.sunrcm-footer-logo-text {
    display: flex;
    flex-direction: column;
}

.sunrcm-footer-logo-brand {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.sunrcm-footer-logo-tagline {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.sunrcm-footer-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sunrcm-footer-social {
    display: flex;
    gap: 12px;
}

.sunrcm-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.sunrcm-footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.sunrcm-footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.sunrcm-footer-links {
    list-style: none;
}

.sunrcm-footer-links li {
    margin-bottom: 12px;
}

.sunrcm-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: color 0.3s ease;
}

.sunrcm-footer-links a:hover {
    color: var(--primary-orange);
}

.sunrcm-footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 12px;
}

.sunrcm-footer-contact i {
    color: var(--primary-orange);
}

.sunrcm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sunrcm-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.sunrcm-footer-legal {
    display: flex;
    gap: 24px;
}

.sunrcm-footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.sunrcm-footer-legal a:hover {
    color: var(--primary-orange);
}

.sunrcm-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .sunrcm-about-content,
    .sunrcm-contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .sunrcm-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sunrcm-hero-title {
        font-size: 2.5rem;
    }
    
    .sunrcm-section-title {
        font-size: 1.875rem;
    }
    
    .sunrcm-about-title,
    .sunrcm-contact-title {
        font-size: 2rem;
    }
    
    .sunrcm-form-row {
        grid-template-columns: 1fr;
    }
    
    .sunrcm-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .sunrcm-nav {
        display: none;
    }
}

/* Elementor Widget Compatibility */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    margin-bottom: 0;
}

.elementor-widget-text-editor p {
    margin-bottom: 0;
}

/* WordPress Default Compatibility */
.wp-caption {
    max-width: 100%;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
