/* ============================================
   ReliCare Landing Page - Custom Styles
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
    --primary-blue: #2472b5;
    --dark-blue: #1a3a6b;
    --hero-gradient-start: #1a3a6b;
    --hero-gradient-end: #1e4d8a;
    --footer-blue: #2878b5;
    --green: #25d366;
    --green-hover: #1da954;
    --light-bg: #f7f9fc;
    --card-shadow: 0 8px 32px rgba(26, 58, 107, 0.10);
    --font-family: 'Heebo', sans-serif;
}

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

body {
    font-family: var(--font-family);
    overflow-x: hidden;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.section-title {
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 0.5rem;
}

/* --- Navbar --- */
#mainNavbar {
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    padding: 1rem 0;
}

#mainNavbar.scrolled {
    background: var(--dark-blue) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.6rem !important;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.btn-customer-service {
    background-color: var(--green);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-customer-service:hover {
    background-color: var(--green-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.download-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.store-badge img {
    transition: transform 0.3s;
}

.store-badge:hover img {
    transform: scale(1.05);
}

.hero-phone {
    max-width: 420px;
    width: 100%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Promotions Section --- */
.promotions-section {
    padding: 80px 0 60px;
    background: #fff;
}

.promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(26, 58, 107, 0.15);
}

.promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(26, 58, 107, 0.15);
}

.service-image-wrap {
    /* background: linear-gradient(135deg, #e8f4fe 0%, #f0f7ff 100%); */
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
}

.service-img {
    max-height: 320px;
    height: auto;
    transition: transform 0.5s;
}

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

.service-body {
    padding: 1.5rem;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-images {
    position: relative;
}

.about-placeholder-building {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8f0f8, #d1dde8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    gap: 0.5rem;
    font-weight: 600;
}

.about-stat-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #50e3a4;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

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

.about-badge {
    font-size: 0.8rem;
    font-weight: 600;
}

.about-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.quote-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
}

.quote-avatar {
    color: var(--primary-blue);
}

.quote-text {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quote-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-blue);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.cta-wrapper {
    background: linear-gradient(135deg, #1a5fa3 0%, var(--dark-blue) 100%);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -40%;
    right: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 120, 100, 0.15);
    pointer-events: none;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

.btn-cta-cs {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, border-color 0.3s;
}

.btn-cta-cs:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.cta-nurse-img {
    max-width: 280px;
    width: 100%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
}

/* --- Footer --- */
.footer-section {
    background: var(--footer-blue);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-brand {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.6rem !important;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.25);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-phone {
        max-width: 300px;
        margin-top: 2rem;
    }

    .hero-image-col {
        margin-top: 2rem;
    }

    .cta-wrapper {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .cta-desc {
        max-width: 100%;
    }

    .cta-image-col {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .store-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-card img {
        height: 160px;
    }
}

/* --- Smooth scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- Scroll padding for fixed navbar --- */
section[id] {
    scroll-margin-top: 80px;
}
