/* ===== MAIN STYLES ===== */
:root {
    --primary-color: #e83e8c;
    --primary-light: #f06598;
    --primary-dark: #d83177;
    --secondary-color: #6f42c1;
    --secondary-light: #8458d5;
    --secondary-dark: #5e35a8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white-color: #ffffff;
    --black-color: #000000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --border-radius-sm: 5px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;
    --border-radius-pill: 50px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-margin {
    margin: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

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

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

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.fw-medium {
    font-weight: 500;
}

.fw-normal {
    font-weight: 400;
}

.fw-light {
    font-weight: 300;
}

.fs-small {
    font-size: 0.875rem;
}

.fs-medium {
    font-size: 1rem;
}

.fs-large {
    font-size: 1.25rem;
}

.fs-xlarge {
    font-size: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.btn:focus, .btn:hover {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
}

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

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

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

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

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

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

.btn-outline-secondary {
    color: var(--secondary-color);
    background-color: transparent;
    border-color: var(--secondary-color);
}

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

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-rounded {
    border-radius: var(--border-radius-pill);
}

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

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.5rem;
}

.search-icon, .user-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.search-icon:hover, .user-icon:hover {
    background-color: var(--gray-light);
}

/* Mobile toggle button */
.mobile-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background-color: var(--gray-light);
    border-radius: 50%;
}

/* Mobile navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    padding: 1.5rem;
}

.mobile-nav-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1.5rem;
}

.mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-close:hover {
    background-color: var(--gray-light);
}

.mobile-account {
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--gray-light);
    cursor: pointer;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* .nav-overlay.active {
    display: block;
} */

/* Media queries */
@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }
    .hero-content{ 
        font-size: 1.2rem;
        color: white !important;
        margin-top:120px !important; 
    }
    .search-bar{
        width: 80%;
    }
    /* .hero-content h1{
        display: none;
    }
    .hero-content h2{
        display: none;
    } */
    /* .search-bar{
        margin-top:50px !important;
    } */
    
}
/* ===== HERO SECTION ===== */
.hero-section {
    padding: 100px 0 100px 0;
    position: relative;
    overflow: hidden;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../images/banner/home.webp') center/cover no-repeat;
}

@media (max-width: 768px) {
    .hero-section::before {
        background: url('../images/banner/banner.jpg') center/cover no-repeat;
    }

}

@keyframes pulse {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-bar .form-control {
    height: 50px;
    border-radius: var(--border-radius-pill);
    padding-left: 20px;
    padding-right: 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-bar .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 20px 0;
    @media (max-width: 767px) {
        padding: 10px 0;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}
.service-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    background-color: var(--white-color);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

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

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

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

.service-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 8px 15px;
    font-weight: 600;
    border-top-right-radius: var(--border-radius);
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-badge {
    background-color: var(--primary-color);
}

.service-info {
    background-color: var(--white-color);
    padding: 20px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 20px;
    min-height: 100px;
    line-height: 1.6;
}

.service-location {
    margin-bottom: 12px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.location-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: block;
}

.location-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background-color: var(--light-color);
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    padding: 20px 0;
}

.welcome-section p {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    padding: 60px 0;
    text-align: center; 
}

.filter-category {
    margin-bottom: 40px;
    text-align: center; 
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.filter-buttons {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 10px;
}


/* ===== FOOTER ===== */
.footer {
    background-color: var(--light-color);
    border-top: 1px solid var(--gray-light);
    color: var(--gray-color);
    padding-top: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.footer-links a {
    color: var(--gray-color);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-light);
    padding: 20px 0;
    margin-top: 40px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    color: var(--gray-color);
    font-size: 1.2rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

/* ===== FORM ELEMENTS ===== */
.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: var(--white-color);
    background-clip: padding-box;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    color: var(--dark-color);
    background-color: var(--white-color);
    border-color: var(--primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    appearance: none;
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.25);
}

/* ===== UTILITIES ===== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-white {
    background-color: var(--white-color) !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.rounded-sm {
    border-radius: var(--border-radius-sm) !important;
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

.rounded-pill {
    border-radius: var(--border-radius-pill) !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--box-shadow-hover) !important;
}

.border {
    border: 1px solid var(--gray-light) !important;
}

.border-top {
    border-top: 1px solid var(--gray-light) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--gray-light) !important;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 1s ease-out;
}

.animate-slideInUp {
    animation: slideInUp 1s ease-out;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-desc {
        min-height: auto;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-title {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        color: white;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
        color: white;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-buttons .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== ADDITIONAL COMPONENTS ===== */

/* Testimonial Card */
.testimonial-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -10px;
    left: 20px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    margin-bottom: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Price Card */
.price-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-light);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.price-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.price-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card-header {
    margin-bottom: 20px;
}

.price-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.price-card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-color);
}

.price-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.price-card-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
}

.price-card-features li:last-child {
    border-bottom: none;
}

.price-card-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.price-card-features li.unavailable {
    color: var(--gray-color);
    text-decoration: line-through;
}

.price-card-features li.unavailable i {
    color: var(--danger-color);
}

/* Team Member Card */
.team-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.team-img {
    position: relative;
    overflow: hidden;
}

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

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Newsletter */
.newsletter {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form .form-control {
    flex: 1;
    height: 50px;
    border-radius: var(--border-radius-pill);
}

.newsletter-form .btn {
    height: 50px;
    border-radius: var(--border-radius-pill);
    padding: 0 30px;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(232, 62, 140, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    padding: 30px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--danger-color);
    color: var(--white-color);
}

/* Appointment Form */
.appointment-form {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 10px;
}

.form-check-label {
    margin-bottom: 0;
}

/* Service Details */
.service-details {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-details-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.service-details-img img {
    width: 100%;
    height: auto;
}

.service-details-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-details-desc {
    margin-bottom: 30px;
    color: var(--gray-color);
    line-height: 1.8;
}

.service-details-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-details-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
}

.service-details-features li:last-child {
    border-bottom: none;
}

.service-details-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    color: var(--dark-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pagination-item:hover {
    background-color: var(--primary-light);
    color: var(--white-color);
}

.pagination-item.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .filter-section,
    .back-to-top {
        display: none !important;
    }
    
    body {
        background-color: var(--white-color);
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .service-card,
    .team-card,
    .price-card,
    .testimonial-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}