/* 
=====================================
Riwell Healthcare Clone styles 
=====================================
*/

/* Variables Setup */
:root {
    --color-blue:     #135597;     /* Main Brand Dark Purple */
    --color-lightblue:     #39b2e1;     /* Main Accent Orange */
    --color-dark-blue:  #0e3e6e;   /* Footer darker purple */
}

/* Base Body Styles */
body {
    font-family: 'Outfit', sans-serif;
    color: #4a4a4a;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

/* Utilities */
.text-blue { color: var(--color-blue) !important; }
.text-lightblue { color: var(--color-lightblue) !important; }

.bg-blue { background-color: var(--color-blue) !important; }
.bg-lightblue { background-color: var(--color-lightblue) !important; }
.bg-dark-blue { background-color: var(--color-dark-blue) !important; }

/* Global components adjustments */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.15) !important;
}

/* Nav Bar */
.navbar {
    z-index: 1040;
}
.navbar-nav .nav-link {
    color: var(--color-blue);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--color-lightblue) !important;
}
.search-form .search-btn {
    color: var(--color-blue);
    border: none;
    background: transparent;
    border-radius: 50px;
    transition: color 0.3s;
}
.search-form .search-btn:hover {
    color: var(--color-lightblue);
}
.search-form {
    width: 250px;
}
.search-form input.form-control {
    border-color: #eee;
    background-color: #f9f9f9;
}
.search-form input.form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(19, 85, 151, .25);
    border-color: var(--color-blue);
}

/* Hero Carousel */
#heroCarousel .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19, 85, 151, 0.8) 0%, rgba(19, 85, 151, 0.2) 60%, rgba(255,255,255,0) 100%);
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 8px;
    border: 2px solid transparent;
}
.carousel-indicators .active {
    background-color: var(--color-lightblue);
    border-color: #fff;
}

/* Buttons */
.btn-lightblue {
    background-color: var(--color-lightblue);
    color: #fff;
    border: none;
}
.btn-lightblue:hover, .btn-lightblue:focus {
    background-color: #2994bd;
    color: #fff;
    box-shadow: 0 8px 15px rgba(57, 178, 225, 0.3);
}

/* Content Blocks (Purple/Orange zig zag sections) */
.min-h-400 { min-height: 480px; }
.content-block {
    transition: transform 0.3s;
}
.blue-block .col-lg-6:first-child {
    background-color: var(--color-blue);
}
.lightblue-block .col-lg-6:first-child {
    background-color: var(--color-lightblue);
}
.block-img {
    background-size: cover;
    background-position: center;
}

/* Custom Navigation Pills for Therapeutics */
.custom-therapy-nav .nav-link {
    background: #fff;
    border-radius: 0;
    border-left: 4px solid transparent;
    color: #666;
    background-color: #fff;
    border: 1px solid #eee;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}
.custom-therapy-nav .nav-link.active, .custom-therapy-nav .nav-link:hover {
    background-color: #fff;
    color: var(--color-blue);
    border-left-color: var(--color-lightblue);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Values Cards */
.custom-radius {
    border-radius: 1.5rem;
}

/* Form Styles pre-footer */
.form-control-dark {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 0;
    padding-left: 0;
}
.form-control-dark:focus {
    background: transparent;
    color: white;
    box-shadow: none;
    border-color: var(--color-lightblue);
}
.form-control-dark::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Footer Links */
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}
.footer-links a:hover {
    color: var(--color-lightblue);
    padding-left: 5px;
}
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}
.social-icon-btn:hover {
    background-color: var(--color-lightblue);
    color: white;
    transform: translateY(-3px);
}

/* Misc Utilities */
.tracking-wider { letter-spacing: 0.1em; }
.min-h-350 { min-height: 350px; }
.object-fit-cover { object-fit: cover; }
.transition { transition: all 0.3s ease; }
