/* ==========================================================================
   CureVoyage Global - Main Stylesheet
   ========================================================================== */

/* 1. Variables & Review Overrides */
:root {
    --primary-color: #0d6efd;
    /* Bootstrap Blue - can be adjusted to Deep Blue */
    --secondary-color: #198754;
    /* Bootstrap Green - can be adjusted to Teal */
    --accent-color: #fd7e14;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-heading: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Brand Specifics */
    --brand-blue: #0056b3;
    --brand-teal: #008080;
}

/* 2. Global Resets & Typography */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 3. Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 1rem 0;
}

.navbar-brand img {
    height: 80px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue) !important;
}

.btn-primary-custom {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary-custom:hover {
    background-color: #004494;
    border-color: #004494;
}

/* 4. Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 5. Sections Generic */
.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: #f4f7f6;
}

.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    color: var(--brand-blue);
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-teal);
    margin: 10px auto 0;
}

/* 6. Founder Section */
.founder-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 7. Cards & Services */
.service-card,
.treatment-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover,
.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--brand-teal);
}

.service-icon {
    font-size: 3rem;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

/* 8. Partner Carousel */
.partner-track-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partner-track {
    display: inline-block;
    animation: slide 30s linear infinite;
}

.partner-logo {
    display: inline-block;
    margin: 0 30px;
    height: 60px;
    transition: all 0.3s;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes duplicated content for infinite loop */
}

/* 9. Floating Buttons */
.floating-btn-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: #0d6efd;
    display: none;
    /* Mobile only by default, toggle with media query */
}

@media (max-width: 576px) {
    .call-btn {
        display: flex;
    }
}

/* 10. Footer */
.footer {
    background-color: #1a1a1a;
    color: #cecece;
    padding: 60px 0 20px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #cecece;
}

.footer a:hover {
    color: var(--brand-blue);
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

input.form-control:focus,
textarea.form-control:focus {
    box-shadow: none;
    border-color: var(--brand-blue);
}