/* Standard Homoeopathic Pharmacy and Clinic - MasoodStore Style CSS */

:root {
    --primary-color: #28a745;
    --primary-dark: #1e7e34;
    --primary-light: #d4edda;
    --secondary-color: #17a2b8;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --border-color: #dee2e6;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    font-size: 0.875rem;
}

.top-bar.bg-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
}

/* Main Header */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.main-header .navbar {
    padding: 0;
}

.logo-image {
    height: 65px;
    max-height: 65px;
    width: auto;
    display: block;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    padding: 0.2rem 0;
    margin-right: 1.5rem;
}

.logo-link:hover {
    text-decoration: none;
}

.search-box {
    width: 100%;
}

.search-input {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.search-input:focus {
    border-color: var(--primary-dark);
    box-shadow: none;
}

.search-btn {
    border-radius: 0 25px 25px 0;
    padding: 10px 25px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-left: none;
}

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

.btn-book {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
}

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

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

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

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

/* Header Icon Links */
.header-icon-link {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
}

.header-icon-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.header-icon-link i {
    transition: transform 0.3s ease;
}

.header-icon-link:hover i {
    transform: scale(1.1);
}

/* Search Modal */
.search-modal-box .form-control {
    border: 2px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
}

.search-modal-box .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--dark-color);
}


/* Navigation */
.navbar {
    background: var(--white) !important;
    padding: 0;
}

.main-header .navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    font-size: 0.88rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light);
    border-bottom-color: var(--primary-color);
}



.navbar-toggler {
    border: none;
    padding: 5px 10px;
}

/* Header Actions */
.header-actions {
    margin-left: 1rem;
}

.btn-book {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    background: none;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--dark-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.hero-section::before {
    display: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--dark-color);
    text-shadow: none;
}

.hero-section p {
    color: var(--dark-color);
    text-shadow: none;
}

.hero-cards {
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
    margin-top: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.hero-service-card {
    position: relative;
    width: 280px;
    min-width: 280px;
    background: var(--white);
    border-radius: 26px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0) scale(0.96);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.hero-service-card:hover {
    transform: translateY(-6px) scale(1.0);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.hero-card-like {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    z-index: 3;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.hero-card-media {
    height: 260px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-card-info {
    padding: 18px 18px 8px 18px;
}

.hero-card-title {
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 1.05rem;
    color: var(--dark-color);
}

.hero-card-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-card-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 0 18px 10px 18px;
}

.hero-card-price {
    font-weight: 800;
    color: var(--dark-color);
}

.hero-card-cta {
    margin: 6px 16px 18px 16px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    font-weight: 700;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-service-card:hover .hero-card-cta {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-cards {
    gap: 0;
}

.hero-service-card+.hero-service-card {
    margin-left: -120px;
}

.hero-card--gold {
    background: linear-gradient(180deg, #f7c058, #f1a82c);
}

.hero-card--teal {
    background: linear-gradient(180deg, #35c0a0, #11997a);
}

.hero-card--pink {
    background: linear-gradient(180deg, #ff6b9e, #ff2d70);
}

.hero-card--navy {
    background: linear-gradient(180deg, #2f3c77, #1c2657);
}

.hero-card--green {
    background: linear-gradient(180deg, #2dbb63, #0f8e3b);
}

.hero-card--gold .hero-card-info,
.hero-card--teal .hero-card-info,
.hero-card--pink .hero-card-info,
.hero-card--navy .hero-card-info,
.hero-card--green .hero-card-info,
.hero-card--gold .hero-card-bar,
.hero-card--teal .hero-card-bar,
.hero-card--pink .hero-card-bar,
.hero-card--navy .hero-card-bar,
.hero-card--green .hero-card-bar {
    color: #fff;
}

.hero-card--navy .hero-card-title,
.hero-card--green .hero-card-title,
.hero-card--teal .hero-card-title,
.hero-card--pink .hero-card-title,
.hero-card--gold .hero-card-title,
.hero-card--navy .hero-card-price,
.hero-card--green .hero-card-price,
.hero-card--teal .hero-card-price,
.hero-card--pink .hero-card-price,
.hero-card--gold .hero-card-price {
    color: #fff;
}

.hero-slider {
    position: relative;
}

.hero-cards {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.hero-service-card {
    scroll-snap-align: center;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.hero-slider-prev {
    left: 10px;
}

.hero-slider-next {
    right: 10px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: none;
    color: var(--dark-color);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: none;
    color: var(--dark-color);
}

.hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Company Logos Filter */
.company-filter-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.company-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.company-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 120px;
}

.company-logo-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.company-logo-img-wrapper {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.company-logo-item.active .company-logo-img-wrapper {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.company-logo-item.active .company-name {
    font-weight: 700;
    color: var(--primary-color);
}

.company-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-name {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-color);
}

/* Product/Service Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 4-Column Services Grid */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .services-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
}


.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-color);
    transition: transform 0.3s ease;
}

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

.product-card-img-placeholder {
    width: 100%;
    height: 250px;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    min-height: 50px;
}

.product-card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-card-footer {
    padding: 15px 20px;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Trending Section */
.trending-section {
    background: var(--light-color);
    padding: 60px 0;
}

.trending-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.trending-list li {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trending-list li:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    cursor: pointer;
}

.trending-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.trending-list li:hover a {
    color: var(--white);
}

/* Forms */
.form-section {
    background: var(--light-color);
    padding: 60px 0;
}

.form-card {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 5px;
}

/* Contact Info */
.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    color: var(--white);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-contact li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

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

    .section {
        padding: 40px 0;
    }

    .search-box {
        margin: 15px 0;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    /* Mobile Header Styles */
    .logo-image {
        height: 60px;
        max-height: 60px;
    }

    .header-actions {
        margin-top: 1rem;
        justify-content: center;
    }

    .btn-book {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {

    .product-grid,
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
    }

    .product-card-body {
        padding: 10px;
    }

    .product-card-title {
        font-size: 0.9rem;
        min-height: 40px;
        margin-bottom: 5px;
    }

    .product-card-text {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .product-card-footer {
        padding: 8px 10px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .product-price {
        font-size: 1rem;
    }

    .btn-add-cart {
        padding: 5px 10px;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .hero-card-media {
        height: 150px !important;
    }

    .section {
        padding: 30px 0;
    }

    .hero-section {
        min-height: 400px;
        padding: 40px 0;
    }

    .form-card {
        padding: 20px;
    }
}

/* Utility Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

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

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Override Bootstrap Primary */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

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

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

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

/* Results Section */
.result-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.result-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-color);
}

.result-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.result-card:hover .result-main-img {
    transform: scale(1.1);
}

.result-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.result-badge {
    background: rgba(40, 167, 69, 0.95);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.result-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.result-content h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.result-content p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.result-stats {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.result-stats .badge {
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.testimonial-rating {
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.testimonial-author strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

/* Statistics */
.stat-card {
    padding: 30px;
    transition: all 0.3s ease;
}

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

.stat-card i {
    opacity: 0.9;
    color: var(--white);
}

.stat-card h2 {
    margin: 15px 0;
    color: var(--white);
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--primary-light);
    border-radius: 10px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* About Images */
.about-images img {
    transition: all 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.slide-in {
    animation: slideIn 0.6s ease-in;
}

/* About Page */
.stat-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.about-images img {
    width: 100%;
    object-fit: cover;
}

/* Contact Page */
.contact-info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-header .navbar-nav {
        padding: 1rem 0;
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--light-color);
    }

    .header-actions {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
    }

    .hero-cards {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px 10px 40px 10px;
        margin-top: 20px;
        scroll-snap-type: x mandatory;
    }

    .hero-service-card {
        min-width: 260px;
        scroll-snap-align: center;
        margin-left: 0 !important;
        /* Override negative margin */
    }

    .hero-service-card+.hero-service-card {
        margin-left: 15px !important;
    }

    .top-bar .text-md-end {
        text-align: center !important;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 50px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }

    .btn-book {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .header-actions {
        flex-wrap: wrap;
    }
}