/* ===============================================
   Gardenview Medical Centre - Custom Theme CSS
   =============================================== */

/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset font family for all elements */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
select,
textarea {
    font-family: 'Inter' !important;
}

/* Brand Colors */
:root {
    --primary-color: #1C4A34;
    /* Dark Green */
    --accent-color: #D62828;
    /* Vibrant Red */
    --interactive-color: #5CBF7C;
    /* Light Green */
    --secondary-color: #C8A47E;
    /* Warm Beige */
    --background-color: #F9F9F9;
    /* Soft White */
    --white: #F9F9F9;
}

/* Body styles */
body {
    background-color: var(--background-color);
}

.auth-page-wrapper {
    padding-top: 100px;
    /* enough to push below navbar */
    padding-bottom: 60px;
    min-height: 100vh;
}


/* Navbar styling */

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--interactive-color) !important;
}

/* Change the logo text */
.navbar-brand span {
    font-weight: 600;
    letter-spacing: 1px;
}

/* Button styling */
.btn-primary,
.btn-lg,
.btn-outline-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-lg:hover,
.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--interactive-color) !important;
    border-color: var(--interactive-color) !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 600;
}

.text-center h1 {
    font-weight: 700;
    letter-spacing: 1px;
}

/* Links */
a {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--interactive-color) !important;
}

/* Cards */
.card {
    box-shadow: 0 4px 12px rgba(28, 74, 52, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body {
    padding: 2rem;
}

/* Department icons hover effect */
.deparment-icon-hover {
    filter: brightness(0) saturate(100%) invert(41%) sepia(24%) saturate(1234%) hue-rotate(108deg) brightness(94%) contrast(101%);
}

/* Footer */
section.bg-secondary,
section.bg-primary {
    background-color: var(--primary-color) !important;
}

section.py-0.bg-primary {
    background-color: var(--primary-color) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-soft-primary,
.footer-link,
.text-light,
.text-200 {
    color: var(--white) !important;
}

.footer-link:hover {
    color: var(--secondary-color) !important;
}

/* Testimonials section */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(41%) sepia(24%) saturate(1234%) hue-rotate(108deg) brightness(94%) contrast(101%);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

/* Form controls */
.form-control,
.form-select {
    border: 1px solid #1C4A34
}

.form-control:focus,
.form-select:focus {
    border-color: var(--interactive-color);
    box-shadow: 0 0 0 0.25rem rgba(92, 191, 124, 0.25);
}

/* Replace secondary text colors */
.text-secondary {
    color: var(--secondary-color) !important;
}

/* Blog post section */
.text-primary {
    color: var(--accent-color) !important;
}

/* About section text */
.text-md-start p {
    color: #C8A47E;
    line-height: 1.8;
}

/* Hero section */
.fw-light.font-base strong {
    color: var(--primary-color);
}

/* Additional custom styles */
.hero-subtext {
    color: #C8A47E;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Image overlays */
.bg-holder {
    opacity: 0.9;
}

/* Custom border for cards in departments section */
.icon-box {
    border-radius: 12px;
    border: 1px solid rgba(28, 74, 52, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.icon-box:hover {
    border-color: var(--interactive-color);
    background-color: rgba(92, 191, 124, 0.05);
}

/* Subscription form in footer */
.form-cta-control {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

.form-cta-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Appointment section */
#appointmentForm label {
    color: var(--primary-color);
    font-weight: 500;
}

/* These are the additional CSS rules needed to support the new structure */
/* Add these to your existing styles.css file */

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

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h3 {
    color: var(--primary-color, #1C4A34);
    margin-bottom: 15px;
}

.about-text ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.about-text ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* Coming Soon Banner */
.coming-soon-banner {
    margin-top: 40px;
    background: linear-gradient(to right, rgba(28, 74, 52, 0.05), rgba(92, 191, 124, 0.1));
    border-left: 4px solid var(--primary-color, #1C4A34);
    padding: 20px 30px;
    border-radius: 0 8px 8px 0;
}

.coming-soon-banner h3 {
    display: flex;
    align-items: center;
    color: var(--primary-color, #1C4A34);
    margin-bottom: 10px;
}

.coming-soon-banner h3 i {
    margin-right: 10px;
    color: var(--accent-color, #D62828);
}

/* Facility Layout Styles */
.facility-section {
    padding: 80px 0;
}

.facility-layout {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.floor-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.floor-tab {
    padding: 15px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.floor-tab.active {
    color: var(--primary-color, #1C4A34);
    border-bottom: 3px solid var(--primary-color, #1C4A34);
    background-color: #fff;
}

.floor-tab:hover:not(.active) {
    background-color: #f0f0f0;
}

.floor-content {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
}

.floor-content.hidden {
    display: none;
}

.floor-info {
    flex: 1 1 400px;
    padding-right: 40px;
}

.floor-info h3 {
    color: var(--primary-color, #1C4A34);
    margin-bottom: 20px;
}

.facility-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.facility-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.facility-features li i {
    color: var(--interactive-color, #5CBF7C);
    margin-right: 10px;
}

.floor-image {
    flex: 1 1 400px;
}

.floor-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Leasing Info Styles */
.leasing-info {
    margin-top: 60px;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.leasing-content h3 {
    color: var(--primary-color, #1C4A34);
    margin-bottom: 15px;
}

.leasing-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0 30px;
    padding: 0;
    list-style: none;
}

.leasing-benefits li {
    display: flex;
    align-items: center;
}

.leasing-benefits li i {
    color: var(--primary-color, #1C4A34);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* WhatsApp Integration */
.whatsapp-chat {
    margin-top: 30px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    margin-right: 8px;
    font-size: 20px;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-fixed {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-fixed i {
    font-size: 30px;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Blog/News Section */
.blog-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.blog-category {
    color: var(--accent-color, #D62828);
    font-weight: 600;
}

.blog-date {
    color: #777;
}

.blog-content h3 {
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--primary-color, #1C4A34);
}

.blog-content p {
    margin-bottom: 15px;
    color: #555;
}

/* Mobile Responsiveness Updates */
@media (max-width: 768px) {
    .floor-tabs {
        flex-direction: column;
    }

    .floor-tab {
        text-align: left;
        padding: 12px 20px;
    }

    .floor-content {
        padding: 25px;
    }

    .floor-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .leasing-benefits {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO Optimized Hidden Heading for Screen Readers */
.seo-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Additional CSS to add to theme-gardenview.css */

/* Coming Soon Card */
.coming-soon-card {
    border: none;
    background-color: rgba(28, 74, 52, 0.05);
    border-left: 4px solid var(--primary-color, #1C4A34);
    border-radius: 0 8px 8px 0;
}

.coming-soon-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--accent-color, #D62828);
    color: white;
    font-size: 1.2rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--interactive-color, #5CBF7C);
    margin-right: 12px;
    min-width: 20px;
}

/* Leasing Card */
.leasing-card {
    border: none;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.leasing-benefits {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.leasing-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.leasing-benefits li i {
    color: var(--primary-color, #1C4A34);
    margin-right: 12px;
    min-width: 20px;
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 1.2rem;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white !important;
    text-decoration: none;
}

.whatsapp-fixed {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    text-decoration: none;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(28, 74, 52, 0.1);
    border-radius: 50%;
    color: var(--primary-color, #1C4A34);
}

.hours-list {
    list-style: none;
    padding-left: 0;
}

/* Footer Social */
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Tabs container */
.tabs-container {
    /* margin-bottom: 30px; */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.nav-tabs {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.nav-tabs .nav-link {
    border: none;
    padding: 15px 25px;
    color: #666;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color, #1C4A34);
    border-bottom: 3px solid var(--primary-color, #1C4A34);
    background-color: #fff;
}

.tab-content {
    background-color: #fff;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color, #1C4A34);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color, #D62828);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 70px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 15px;
    }
}

/* ===============================================*/
/*    Testimonial Styles                          */
/* ===============================================*/
#testimonials .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

#testimonials .card {
    transition: transform 0.3s ease;
    border: none;
}

#testimonials .card:hover {
    transform: translateY(-5px);
}

#testimonials .card-text {
    font-style: italic;
    color: #555;
}

#testimonials .text-500 {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    #testimonials .card {
        margin-bottom: 20px;
    }
}

.feature-list li {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #1C4A34;
}

.feature-list li i {
    color: #5CBF7C;
    margin-right: 10px;
}

/* Section Header Component Styles */
.section-badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
}

.section-badge-red {
    color: #D62828;
    background-color: rgba(214, 40, 40, 0.08);
}

.section-badge-green {
    color: #5CBF7C;
    background-color: rgba(92, 191, 124, 0.08);
}

.section-badge-gold {
    color: #C8A47E;
    background-color: rgba(200, 164, 126, 0.08);
}

.section-heading {
    color: #1C4A34;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-description {
    color: #1C4A34;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
}

.text-highlight {
    color: #C8A47E;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-heading {
        font-size: 1.75rem;
    }

    .section-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}