/* Shared site styles for AxioraMed */
*{margin:0;padding:0;box-sizing:border-box}
:root{
    --primary-dark:#1A5F7A;
    --primary-med:#2E8BA6;
    --primary-light:#4A9FB5;
    --accent-teal:#0D8B9E;
    --text-dark:#1F3A47;
    --text-light:#5A6B74;
    --bg-light:#F5F8FA;
    --white:#FFFFFF;
    --border:#E0E8ED;
}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;color:var(--text-dark);background-color:var(--white);line-height:1.6}
img{max-width:100%;height:auto;display:block}

/* Utility */
.container{max-width:1400px;margin:0 auto;padding:0 1.5rem}
.section-container{max-width:1400px;margin:0 auto}

/* Header / Nav */
header{background-color:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(26,95,122,0.05)}
.header-container{max-width:1400px;margin:0 auto;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.logo-section{display:flex;align-items:center;gap:0.75rem}
.logo-img{height:70px;width:auto;transition:transform 0.2s ease}
nav ul{display:flex;list-style:none;gap:2rem;margin:0 auto;flex-wrap:nowrap}
nav a{text-decoration:none;color:var(--text-dark);font-weight:500;font-size:0.95rem;transition:color 0.3s ease;position:relative;white-space:nowrap}
nav a::after{content:'';position:absolute;bottom:-5px;left:0;width:0;height:2px;background-color:var(--primary-med);transition:width 0.3s ease}
nav a:hover::after{width:100%}
.cta-button{background-color:var(--primary-med);color:var(--white);padding:0.75rem 1.5rem;border-radius:4px;text-decoration:none;font-weight:600;transition:all 0.3s ease;border:none;cursor:pointer}
.cta-button:hover{background-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px rgba(26,95,122,0.2)}

/* Hero */
.hero{background-color:var(--bg-light);padding:3rem 1.5rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-10%;width:500px;height:500px;border:2px solid var(--primary-light);border-radius:50%;opacity:0.1}
.hero-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center;position:relative;z-index:1}
.hero-content h1{font-family:'Lora',serif;font-size:3rem;font-weight:700;color:var(--primary-dark);line-height:1.2;margin-bottom:1rem}
.hero-content p{font-size:1rem;color:var(--text-light);margin-bottom:2rem;line-height:1.8}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.btn-primary{background-color:var(--primary-med);color:var(--white);padding:0.95rem 2rem;border:none;border-radius:4px;font-size:0.95rem;font-weight:600;cursor:pointer}
.btn-primary:hover{background-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 8px 16px rgba(26,95,122,0.2)}
.btn-secondary{background:transparent;color:var(--primary-med);padding:0.95rem 2rem;border:2px solid var(--primary-med);border-radius:4px}

/* Sections */
.services-header{padding:3rem 1.5rem;background-color:var(--white);text-align:center}
.section-header h2{font-family:'Lora',serif;font-size:2.8rem;color:var(--primary-dark);margin-bottom:0.75rem}
.section-header p{font-size:1rem;color:var(--text-light);max-width:600px;margin:0 auto;text-align:center}

.service-detail{padding:3.5rem 1.5rem;background-color:var(--white);position:relative;overflow:hidden}
.service-detail::before{content:'';position:absolute;inset:0;background:rgba(255,255,255,0.82);pointer-events:none}
.service-detail.alternate{background-color:var(--bg-light)}
.service-detail-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:flex-start;position:relative;z-index:2}
.service-detail-content h2{font-family:'Lora',serif;font-size:2.2rem;color:var(--primary-dark);margin-bottom:1rem}
.service-intro{font-size:1rem;color:var(--text-light);margin-bottom:2rem}
.service-features{display:flex;flex-direction:column;gap:1.75rem}
.feature-item{display:flex;gap:1.5rem}
.feature-check{width:32px;height:32px;background-color:var(--primary-med);border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:bold}
.feature-text h3{color:var(--primary-dark);margin-bottom:0.5rem;font-size:1.05rem;font-weight:600}
.feature-text p{color:var(--text-light);font-size:0.95rem}

.stat-card{background-color:var(--white);padding:1.75rem;border-radius:8px;text-align:center;border:2px solid var(--border);transition:all 0.3s ease}
.stat-card:hover{border-color:var(--primary-med);box-shadow:0 8px 16px rgba(46,139,166,0.15);transform:translateY(-4px)}
.stat-card h4{font-family:'Lora',serif;font-size:1.8rem;color:var(--primary-med);margin-bottom:0.5rem}
.stat-card p{color:var(--text-light);font-size:0.9rem}

.stats{background-color:var(--primary-dark);color:var(--white);padding:3rem 1.5rem;margin:2rem 0}
.stats-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:2rem;text-align:center}

.specialties{padding:3rem 1.5rem;background-color:var(--bg-light)}
.specialty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.5rem;margin-top:2rem;margin-bottom:2rem}
.specialty-item{background-color:var(--white);padding:1.75rem;border-radius:8px;text-align:center;border:2px solid transparent;transition:all 0.3s ease}
.specialty-item:hover{border-color:var(--primary-med);transform:translateY(-4px);box-shadow:0 8px 16px rgba(46,139,166,0.15)}

.why-us{padding:3.5rem 1.5rem;background-color:var(--white)}
.why-us-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.why-us-content h2{font-family:'Lora',serif;font-size:2.5rem;color:var(--primary-dark);margin-bottom:1.5rem}
.features-list{display:flex;flex-direction:column;gap:1.5rem}

.about-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:2.5rem;align-items:center;max-width:1400px;margin:0 auto;padding:3rem 1.5rem}
.about-text{display:flex;flex-direction:column;gap:1.25rem}
.ceo-card{background:var(--white);border-radius:22px;overflow:hidden;box-shadow:0 24px 50px rgba(26,95,122,0.12);border:1px solid rgba(224,232,237,0.9)}
.ceo-card img{width:400px;height:400px;display:block}
.ceo-card-content{padding:2rem}
.ceo-card-content h3{font-family:'Lora',serif;font-size:2rem;color:var(--primary-dark);margin-bottom:0.75rem}
.ceo-card-content p{color:var(--text-light);line-height:1.8;font-size:0.98rem;margin-bottom:1rem}
.about-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem;margin-top:2rem}
.about-value{background:var(--bg-light);padding:1.5rem;border-radius:16px;border:1px solid var(--border)}
.about-value h4{font-size:1.05rem;color:var(--primary-dark);margin-bottom:0.75rem}
.about-value p{color:var(--text-light);font-size:0.95rem;line-height:1.8}

.cta-section{padding:3.5rem 1.5rem;background-color:var(--primary-dark);text-align:center;color:var(--white)}
.cta-section h2{font-family:'Lora',serif;font-size:2.5rem;color:var(--white);margin-bottom:1rem}
.cta-section p{font-size:1rem;color:rgba(255,255,255,0.95);margin-bottom:2rem;max-width:700px;margin-left:auto;margin-right:auto}

footer{background-color:var(--primary-dark);color:var(--white);padding:3rem 1.5rem 1rem}
.footer-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-bottom:2rem}
.footer-section h4{font-size:1.05rem;margin-bottom:1rem;font-weight:600}
.footer-section p{color:rgba(255,255,255,0.8);font-size:0.95rem}
.footer-section a{color:rgba(255,255,255,0.8);text-decoration:none;transition:color 0.3s ease}
.footer-section a:hover{color:var(--primary-light)}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding-top:1.5rem;text-align:center;font-size:0.9rem;color:rgba(255,255,255,0.7)}

/* Billing software cards */
.billing{padding:3rem 1.5rem;background-color:var(--white)}
.billing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-top:1.5rem}
.billing-card{background-color:var(--bg-light);padding:1.25rem;border-radius:10px;text-align:left;border:1px solid var(--border);transition:transform 0.25s ease,box-shadow 0.25s ease;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:280px;flex-shrink:0;gap:0.75rem}
.billing-card:hover{transform:translateY(-6px);box-shadow:0 12px 28px rgba(46,139,166,0.12)}
.billing-card img{width:64px;height:64px;object-fit:contain;border-radius:8px;background-color:var(--white);padding:8px}
.billing-card h4{margin:0 0 4px 0;color:var(--primary-dark);font-size:1rem;line-height:1.3}
.billing-card p{margin:0;color:var(--text-light);font-size:0.88rem;line-height:1.5}
.billing-card p{margin:0;color:var(--text-light);font-size:0.92rem}

/* FAQ accordion */
.faq{padding:2.5rem 1.5rem;background-color:var(--bg-light)}
.faq-item{border:1px solid var(--border);background:var(--white);border-radius:8px;margin-bottom:0.75rem;overflow:hidden}
.faq-question{padding:1rem 1.25rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;color:var(--primary-dark)}
.faq-answer{max-height:0;padding:0 1.25rem;color:var(--text-light);transition:max-height 0.32s ease,padding 0.32s ease}
.faq-item.open .faq-answer{max-height:400px;padding:1rem 1.25rem 1.5rem 1.25rem}

/* Special utilities for small pages */
.card{background:var(--bg-light);padding:1.5rem;border-radius:8px;border:1px solid var(--border)}
label{display:block;margin-top:0.75rem;font-weight:600}
input,textarea,select{width:100%;padding:0.75rem;border:1px solid var(--border);border-radius:6px;margin-top:0.35rem;background-color:var(--white);font-family:inherit}
textarea{min-height:120px;resize:vertical}
.msg{margin-top:1rem;font-size:0.95rem}

/* Responsive tweaks */
@media (max-width:1024px){.hero-container{grid-template-columns:1fr}.service-detail-container{grid-template-columns:1fr}.why-us-container{grid-template-columns:1fr}.section-header h2{font-size:2.4rem}.about-grid{grid-template-columns:1fr}}
@media (max-width:768px){nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem}.btn-primary,.btn-secondary{width:100%}}
@media (max-width:480px){.logo-img{height:40px}.section-header h2{font-size:1.6rem}}

.page-hero{padding:4rem 1.5rem;background-color:var(--bg-light)}
.page-hero-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.page-hero-content h1{font-size:2.8rem;line-height:1.1;margin-bottom:1rem}
.page-hero-content p{font-size:1rem;color:var(--text-light);margin-bottom:1.75rem;max-width:560px}
.page-hero-image img{width:100%;border-radius:24px;box-shadow:0 24px 50px rgba(26,95,122,0.12);object-fit:cover}
.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-top:2rem}
.overview-card{background:var(--white);padding:2rem;border-radius:18px;border:1px solid rgba(224,232,237,0.9);box-shadow:0 14px 30px rgba(26,95,122,0.08);transition:transform 0.3s ease}
.overview-card:hover{transform:translateY(-4px)}
.overview-card .icon-circle{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary-med);color:var(--white);font-size:1.4rem}
.overview-card h3{margin-top:1rem;font-size:1.15rem;color:var(--primary-dark)}
.overview-card p{margin-top:0.75rem;color:var(--text-light);font-size:0.95rem;line-height:1.75}
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;margin-top:2rem}
.contact-card{background:var(--bg-light);padding:1.75rem;border-radius:16px;border:1px solid var(--border)}
.contact-card h3{margin-bottom:1rem;color:var(--primary-dark)}
.contact-card p{color:var(--text-light);line-height:1.75}
.contact-card ul{list-style:none;padding:0;margin:0;display:grid;gap:0.75rem}
.contact-card li{display:flex;align-items:flex-start;gap:0.75rem}
.contact-card li span{font-weight:700;color:var(--primary-med);min-width:18px}
.contact-image{overflow:hidden;border-radius:18px;margin-top:1.25rem;box-shadow:0 20px 40px rgba(26,95,122,0.12)}
.contact-image img{width:100%;display:block}
.form-group{margin-top:1rem}
.form-group label{display:block;margin-bottom:0.5rem;font-weight:600}
.form-group textarea{min-height:120px;resize:vertical}
.text-muted{color:var(--text-light)}

/* small helper */
.logo-img:hover{transform:scale(1.03)}

