/* 
* Healthcare Website - Main Stylesheet
* Similar to Sukino.com
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #0072bc;
    --secondary-color: #00a651;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

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

.btn-primary:hover {
    background-color: #005a95;
    border-color: #005a95;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.section-heading {
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* ===== Top Bar ===== */
.hero-bgc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background-image: url('../images/contact.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg {
    width: 100%; /* full width */
    height: 40vh;
    background-position: center top;
    background-size: cover; /* scales image without cropping key areas */
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    .hero-bg, .hero-bgc {
        height: 30vh;
        background-position: center top;
        background-size: cover;
    }
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/herobackground.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 📱 Mobile (up to 767px) */
@media (max-width: 767px) {
    .hero-bg {
        height: 60vh; /* reduce height to better fit smaller screens */
        background-position: top center;
        background-size: contain;
    }
}

/* 📱 Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-bg {
        height: 80vh;
        background-position: center;
        background-size: cover;
    }
}

.top-bar {
    background-color: var(--primary-color);
    padding: 8px 0;
    color: white;
}



/* ===== Header ===== */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    max-height: 60px;
}

.navbar {
    padding: 15px 0;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

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

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: 4px;
    padding: 1rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 400;
}

.dropdown-item:hover {
    background-color: #f1f8ff;
    color: var(--primary-color);
}

.mega-menu {
    width: 600px;
    padding: 1.5rem;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0072bc 0%, #00a651 100%);
    min-height: 650px;
}

.hero-container {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-image: url('../images/healthcare-pattern.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-logo {
    max-width: 350px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: relative;
    max-width: 350px;
    border-radius: 15px;
    transform: translateY(-30px);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(-30px); }
    50% { transform: translateY(-40px); }
    100% { transform: translateY(-30px); }
}

.hero-content {
    color: white;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin-right: 10px;
    padding: 0.75rem 2rem;
}

/* ===== Service Request Form ===== */
.service-request {
    padding: 5rem 0;
}

.service-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.service-image img {
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
}

/* ===== Main Services ===== */
.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 114, 188, 0.2);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .service-image:before {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===== Services Grid ===== */
.service-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 114, 188, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #f1f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    background-color: var(--primary-color);
}

.service-box:hover .service-icon i {
    color: white;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-box h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== Equipment Rental Section ===== */
.equipment-rental-section {
    margin-top: 3rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.equipment-rental-section:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.equipment-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.equipment-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.qr-container {
    border: 1px dashed var(--primary-color);
    transition: var(--transition);
}

.qr-container:hover {
    background-color: #f1f8ff;
}

/* ===== Additional Styles for Services Section ===== */
.services-grid {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.services-grid h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.services-grid h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* ===== Testimonials ===== */
.testimonial-item {
    padding: 1rem;
}

.testimonial-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.rating {
    margin-bottom: 1rem;
}

.rating i {
    color: #ffc107;
    margin-right: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray-color);
}

/* ===== Call to Action ===== */
.cta {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    color: white;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 114, 188, 0.85);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
.footer {
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding: 5rem 0 0;
}

.footer-logo img {
    max-height: 60px;
}

.social-links {
    margin-top: 1.5rem;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: #f8f9fa;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 4rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

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

.footer-bottom-links li a {
    color: #f8f9fa;
    font-size: 14px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mega-menu {
        width: 100%;
    }
    
    .service-image img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .hero-section,
    .hero-slide {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .service-request {
        padding: 3rem 0;
    }
    
    .service-image {
        margin-top: 2rem;
    }
    
    .footer {
        padding-top: 3rem;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .footer-bottom-links li {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-section,
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
   
}
