/* ============================================
   RayaBetty - رعاية بيتي
   Home Nursing & Healthcare Services
   Design System v1.0
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0B4F6C;
    --primary-dark: #073B4C;
    --secondary: #1B9AAA;
    --accent: #06D6A0;
    --emergency: #EF476F;
    --warning: #FFD166;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --text: #1E293B;
    --text-light: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #168a99;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: #05c090;
    transform: translateY(-2px);
}

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

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

.btn-emergency {
    background: var(--emergency);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 71, 111, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(239, 71, 111, 0); }
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231B9AAA" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.hero-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background: var(--bg);
}

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

.service-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(11, 79, 108, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 12px;
}

/* Features Section */
.features-section {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 79, 108, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Why Choose Us */
.why-section {
    background: var(--primary);
    color: white;
}

.why-section .section-title {
    color: white;
}

.why-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

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

.why-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.why-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg);
}

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

.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 0;
}

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

.footer-brand .logo-text {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-contact .icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.floating-btn .tooltip {
    position: absolute;
    left: 70px;
    background: var(--text);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.floating-btn.phone {
    background: var(--emergency);
    animation: pulse 2s infinite;
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.booking {
    background: var(--primary);
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.3rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--emergency);
}

.modal-body {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}

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

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

.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* Page Header */
.page-header {
    background: var(--primary);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

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

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-list {
    margin: 24px 0;
}

.content-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text);
}

.content-list .check {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-name {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    margin: 32px 0;
    text-align: right;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.95rem;
}

.pricing-features .check {
    color: var(--accent);
}

/* FAQ */
.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg);
}

.faq-question .icon {
    transition: var(--transition);
    font-size: 1.2rem;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Nurses Grid */
.nurses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.nurse-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.nurse-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.nurse-name {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.nurse-role {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.nurse-rating {
    color: var(--warning);
    margin-bottom: 12px;
}

.nurse-info {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.contact-info-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-text {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow);
        gap: 16px;
    }
    .nav.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    .floating-contact {
        bottom: 16px;
        left: 16px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* SVG Icons */
.icon-svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.icon-svg-small {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.logo-svg {
    width: 48px;
    height: 48px;
}

/* OG Image */
.og-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
}

/* Service Card Images */
.service-image {
    margin: -32px -32px 20px -32px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--surface), transparent);
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

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

/* Service icon fallback */
.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(11, 79, 108, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon img {
    width: 40px;
    height: 40px;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/nurse-patient-smile.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.88;
}


/* Service Card Image Hover */
.service-image-link {
    display: block;
    overflow: hidden;
}
.service-image-link img {
    transition: transform 0.4s ease;
}
.service-card:hover .service-image-link img {
    transform: scale(1.05);
}
