/* ============================================
   ORBITACARE - Custom Styles
   ============================================ */

/* ---------- Root Variables ---------- */
:root {
    --primary: #0D9488;
    --primary-dark: #0a7a70;
    --primary-light: #B2F5EA;
    --hero-bg: #b4ece5;
    --accent-mint: #e6faf7;
    --dark: #1A202C;
    --gray-600: #4A5568;
    --gray-400: #A0AEC0;
    --gray-100: #F7FAFC;
    --footer-bg: #1a3c38;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    max-width: 700px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- NAVBAR ---------- */
#mainNav {
    padding: 12px 0;
    transition: var(--transition);
    background-color: transparent;
}

#mainNav.navbar-scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

#mainNav .nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 4px;
}

#mainNav .nav-link:hover {
    color: var(--primary);
}

.btn-contact-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 8px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-contact-nav:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- HERO ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.hero-content h1 strong {
    font-weight: 800;
    font-style: italic;
}

.hero-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2rem;
}

.btn-learn-more {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-learn-more:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Right - Doctor & Floating Cards */
.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.doctor-img {
    max-height: 520px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Verified Doctors Card */
.card-customers {
    top: 18%;
    right: -10%;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.verified-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.customer-info {
    display: flex;
    flex-direction: column;
}

.verified-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.verified-sublabel {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 2px;
}

/* Easy Appointment Card */
.card-appointment {
    bottom: 32%;
    left: 5%;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    animation-delay: 0.5s;
}

/* Testimonial Card */
.card-testimonial {
    bottom: 5%;
    right: -5%;
    max-width: 260px;
    animation-delay: 1s;
}

.card-testimonial p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.5;
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--primary);
    opacity: 0.5;
}

/* ---------- ABOUT / WHAT IS ORBITACARE ---------- */
.section-about,
.section-healthcare-features,
.section-orbitacare-features,
.section-get-app,
.section-partnership,
.section-partner-app {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 767.98px) {
    .section-about,
    .section-healthcare-features,
    .section-orbitacare-features,
    .section-get-app,
    .section-partnership,
    .section-partner-app {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.section-about {
    background: var(--white);
}

.store-badge {
    height: 40px;
    transition: var(--transition);
    cursor: pointer;
}

.store-badge:hover {
    transform: scale(1.08);
}

.phone-mockup {
    transition: var(--transition);
}

.phone-mockup:hover {
    transform: translateY(-6px);
}

.mockup-row {
    --bs-gutter-x: 0.75rem;
}

.mockup-img {
    max-height: 440px;
}

/* ---------- HEALTHCARE FEATURES ---------- */
.section-healthcare-features {
    background: var(--gray-100);
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--accent-mint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrapper img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.feature-card-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 0;
}

.feature-card-lg {
    padding: 36px 32px;
}

/* ---------- ORBITACARE FEATURES ACCORDION ---------- */
.section-orbitacare-features {
    background: var(--white);
}

.feature-accordion-row {
    background: #006A67;
    border-radius: 24px;
    padding: 40px 30px;
}

.accordion-phone-mockup {
    display: flex;
    justify-content: center;
    background: var(--white);
    border-radius: 20px;
    padding: 24px 16px;
}

.mockup-slider {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mockup-slide {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.mockup-slide.active {
    position: relative;
    opacity: 1;
}

.mockup-img-lg {
    max-height: 480px;
}

.section-orbitacare-features .accordion-item {
    border: none;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-orbitacare-features .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    padding: 18px 20px;
    box-shadow: none !important;
}

.section-orbitacare-features .accordion-button:not(.collapsed) {
    color: var(--white);
    background: transparent;
}

.section-orbitacare-features .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.section-orbitacare-features .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.section-orbitacare-features .accordion-body {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    padding: 0 20px 18px;
}

/* ---------- PARTNERSHIP ---------- */
/* ---------- GET THE APP (ANDROID) ---------- */
.section-get-app {
    background: var(--gray-100);
}

.get-app-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 18px;
}

.get-app-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 460px;
}

.get-app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-get-app {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-get-app:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-get-app-outline {
    background: var(--white);
    color: var(--dark);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-get-app-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.get-app-mockups {
    position: relative;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-app-phone {
    position: absolute;
    max-height: 360px;
    filter: drop-shadow(0 22px 44px rgba(15, 23, 42, 0.22));
    transition: transform 0.4s ease;
}

.get-app-phone-left {
    transform: translateX(-140px);
    z-index: 1;
}

.get-app-phone-center {
    max-height: 440px;
    z-index: 3;
}

.get-app-phone-right {
    transform: translateX(140px);
    z-index: 2;
}

@media (max-width: 991.98px) {
    .get-app-title {
        font-size: 2rem;
    }

    .get-app-mockups {
        height: 400px;
        margin-top: 24px;
    }

    .get-app-phone {
        max-height: 300px;
    }

    .get-app-phone-center {
        max-height: 370px;
    }

    .get-app-phone-left {
        transform: translateX(-110px);
    }

    .get-app-phone-right {
        transform: translateX(110px);
    }
}

@media (max-width: 575.98px) {
    .get-app-title {
        font-size: 1.65rem;
    }

    .get-app-mockups {
        height: 340px;
    }

    .get-app-phone {
        max-height: 240px;
    }

    .get-app-phone-center {
        max-height: 300px;
    }

    .get-app-phone-left {
        transform: translateX(-80px);
    }

    .get-app-phone-right {
        transform: translateX(80px);
    }
}

.section-partnership {
    background: var(--white);
}

.partnership-subtitle {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.partnership-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.partnership-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-mint);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.partnership-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.partnership-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.partnership-card-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---------- PARTNER DESKTOP APP DOWNLOAD ---------- */
.section-partner-app {
    background: var(--gray-100);
}

.partner-app-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Policy / long-form content typography */
.policy-content {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4 {
    color: var(--dark);
}

.policy-content ul {
    margin-left: 1.25rem;
}

.download-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15, 23, 42, 0.05));
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.download-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.6rem;
}

.download-card-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.download-card-meta {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-logo {
    height: 28px;
}

.footer-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-heading {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 30px 0 16px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    #mainNav {
        background-color: var(--white);
        box-shadow: var(--shadow-sm);
    }

    #mainNav .navbar-collapse {
        background: var(--white);
        padding: 16px;
        border-radius: 12px;
        margin-top: 8px;
        box-shadow: var(--shadow-md);
    }

    .feature-accordion-row {
        padding: 24px 16px;
    }

    .mockup-img-lg {
        max-height: 360px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .mockup-img {
        max-height: 340px;
    }

    .download-card {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .partnership-card {
        padding: 24px 20px;
    }
}