/* custom.css — Rehuman */
/* Accent: #0ea5e9 (sky blue) */

:root {
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --accent-light: #e0f2fe;
    --bg: #f8f9fa;
    --surface: #ffffff;
    --surface2: #f0f4f8;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: rgba(0,0,0,0.08);
    --radius: 10px;
    --nav-height: 70px;
}

/* ======== TYPOGRAPHY OVERRIDES ======== */
body {
    font-size: 18px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.9;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text);
}

h1 { font-size: 58px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
p  { font-size: 18px; line-height: 1.9; color: var(--text); }

/* ======== NAVBAR OVERRIDES ======== */
.custom-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    height: var(--nav-height);
}
.custom-navbar .navbar-brand img {
    height: 36px;
}
.custom-navbar .nav li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text) !important;
    padding: 10px 14px;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.custom-navbar .nav li a:hover,
.custom-navbar .nav li.active a {
    color: var(--accent) !important;
    background: transparent !important;
}
.custom-navbar .nav li.cta-nav a {
    background: var(--accent);
    color: #ffffff !important;
    border-radius: 6px;
    padding: 8px 18px;
    margin-top: 12px;
}
.custom-navbar .nav li.cta-nav a:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
}

/* ======== HERO SECTION ======== */
#home {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    min-height: 620px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
#home .overlay { background: transparent; }
#home .home-info {
    padding: 60px 0;
    text-align: center;
}
#home .home-info h3 {
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 600;
    margin-bottom: 18px;
}
#home .home-info h1 {
    color: #ffffff;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
}
#home .home-info p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 34px;
}
#home .hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======== BUTTONS ======== */
.btn-primary-custom,
.btn-primary {
    background: var(--accent);
    color: #ffffff !important;
    border: none;
    padding: 13px 30px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}
.btn-primary-custom:hover,
.btn-primary:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    text-decoration: none;
}
.btn-secondary-custom,
.btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 11px 28px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-secondary-custom:hover,
.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    color: var(--accent) !important;
    border: 2px solid var(--accent);
    padding: 11px 28px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none;
}

/* ======== SECTION DEFAULTS ======== */
section.section-pad {
    padding: 90px 0;
    background: var(--surface);
    color: var(--text);
}
section.section-pad.bg-alt {
    background: var(--surface2);
}
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-title-block {
    text-align: center;
    margin-bottom: 54px;
}
.section-title-block h2 { color: var(--text); }
.section-title-block p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ======== CONTAINER NARROW ======== */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* ======== FEATURE CARDS ======== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 24px rgba(14,165,233,0.12);
    transform: translateY(-3px);
}
.feature-card .feature-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 14px;
}
.feature-card h3 { color: var(--text); margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 16px; line-height: 1.75; }

/* ======== PAGE HERO ======== */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 100px 0 70px;
    text-align: center;
    color: #ffffff;
}
.page-hero h1 { color: #ffffff; font-size: 52px; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ======== PRICING ======== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    color: var(--text);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(14,165,233,0.18);
    transform: translateY(-8px);
}
.pricing-card .badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-card h3 { color: var(--text); font-size: 22px; margin-bottom: 8px; }
.pricing-price {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent);
    margin: 16px 0 6px;
    line-height: 1;
}
.pricing-price span { font-size: 18px; font-weight: 400; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; }
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    text-align: left;
}
.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: "\f00c";
    font-family: FontAwesome;
    color: var(--accent);
    margin-right: 10px;
}

/* ======== FAQ ACCORDION ======== */
.faq-section { padding: 80px 0; background: var(--surface2); }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--surface);
}
.faq-item .panel-heading { padding: 0; background: var(--surface); }
.faq-item .panel-title a {
    display: block;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.faq-item .panel-title a:hover { color: var(--accent); }
.faq-item .panel-body { padding: 0 22px 18px; color: var(--text-muted); font-size: 16px; }

/* ======== TEAM ======== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 20px;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    color: var(--text);
}
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 10%;
    margin: 0 auto 18px;
    display: block;
    border: 4px solid var(--accent-light);
}
.team-card h3 { color: var(--text); margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.team-bio { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.team-email { color: var(--accent); font-size: 14px; text-decoration: none; }
.team-email:hover { text-decoration: underline; }

/* ======== ABOUT ======== */
.origin-story { padding: 90px 0; background: var(--surface); }
.origin-story h2 { color: var(--text); }
.origin-story p { color: var(--text-muted); }
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.value-card {
    background: var(--surface2);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text);
}
.value-card .fa {
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 12px;
}
.value-card h3 { color: var(--text); font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.backed-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 32px;
    color: var(--text);
}
.backed-box h2 { color: var(--text); }
.backed-box p { color: var(--text-muted); }

/* ======== CONTACT ======== */
.contact-list { list-style: none; padding: 0; }
.contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list li .fa {
    color: var(--accent);
    width: 20px;
    margin-right: 10px;
}
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form .form-control {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    background: var(--surface);
    color: var(--text);
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}
.contact-form .form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

/* ======== BLOG LISTING ======== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
    color: var(--text);
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.blog-card a { text-decoration: none; color: inherit; }
.blog-card-img {
    height: 190px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}
.blog-card-body { padding: 22px; }
.blog-card-body time { font-size: 13px; color: var(--text-muted); }
.blog-card-body h3 { font-size: 19px; color: var(--text); margin: 8px 0 10px; }
.blog-card-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ======== PRODUCT PAGE STEPS ======== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 20px;
}
.step {
    background: var(--surface2);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text);
}
.step-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}
.step h3 { color: var(--text); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.75; }

/* ======== CTA SECTION ======== */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 90px 0;
    text-align: center;
    color: #ffffff;
}
.cta-section h2 { color: #ffffff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 32px; }

/* ======== FOOTER CUSTOM ======== */
footer#footer {
    background: #0f172a !important;
    padding: 60px 0 30px !important;
    color: rgba(255,255,255,0.8);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h3 { color: #ffffff; font-size: 17px; margin-bottom: 14px; }
.footer-grid p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.8; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 15px; }
.footer-grid ul li a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ======== COOKIE BANNER ======== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 3px solid var(--accent);
    z-index: 9999;
    padding: 18px 0;
    color: #ffffff;
}
.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text strong { color: #ffffff; display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-text p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 0; line-height: 1.5; }
.cookie-text a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-accept {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
#cookie-accept:hover { background: var(--accent-dark); }
#cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 9px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
#cookie-decline:hover { border-color: rgba(255,255,255,0.6); color: #ffffff; }

/* ======== LEGAL PAGES ======== */
.legal-content { padding: 80px 0; background: var(--surface); color: var(--text); }
.legal-content h2 { font-size: 26px; color: var(--text); margin-top: 36px; margin-bottom: 12px; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.legal-content ul { margin-left: 20px; }

/* ======== PRELOADER OVERRIDE ======== */
.preloader { background: #ffffff; }

/* ======== RESPONSIVE ======== */
@media (max-width: 991px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    #home .home-info h1 { font-size: 38px; }
    .page-hero h1 { font-size: 38px; }
    .pricing-card.featured { transform: none; }
}
@media (max-width: 767px) {
    h1 { font-size: 34px; }
    #home .home-info h1 { font-size: 30px; }
    .page-hero h1 { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
}
