/* Aesthetic Clinic Styles */

/* Hero Banner Section */
.aesthetic-hero-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    margin-top: 150px;
}

.aesthetic-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.aesthetic-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
}

.aesthetic-hero-title {
    font-weight: 700;
    font-family: var(--font-family-primary);
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aesthetic-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .aesthetic-hero-banner {
        padding: 80px 0;
    }
    
    .aesthetic-hero-title {
        font-size: 2rem;
    }
}
.aesthetic-treatment-section{
    padding: 50px 0;
}
.aesthetic-treatment-section h2{
    font-size: 2.5rem;
    font-family: 'fonnts_comHalyard_Display';
    color: var(--dark-accent-color);
    font-weight: 500 !important;
    margin-bottom: 20px;
}

/* Treatment Services Section */
.treatment-services-section {
    background-color: var(--white-color);
    padding: 30px 0;
}

.treatment-service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: var(--transition-base);
}

.treatment-service-link:hover {
    text-decoration: none;
    color: inherit;
}

.treatment-service-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.treatment-service-link:hover .treatment-service-card {
    transform: translateY(-5px);
}

.treatment-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-content {
    padding: 30px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-service-card .treatment-content .treatment-title {
    color: var(--dark-accent-color);
    font-size: 1.5rem!important;
    font-weight: 700;
    font-family: var(--font-family-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.treatment-description {
    color: var(--secondary-text-color);
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-container {
    margin-top: auto;
}

.read-more-link {
    color: var(--dark-accent-color);
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.4s ease;
    align-self: flex-start;
}

.read-more-link a {
    display: inline-flex !important;
    align-items: center !important;
}
.read-more-text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.4s ease, width 0.4s ease, visibility 0.4s ease;
    display: inline-block;
    min-width: 0;
}

.read-more-link:hover .read-more-text {
    opacity: 1;
    visibility: visible;
    width: auto;
    color: var(--dark-accent-color);
    font-size: 16px;
    display: inline-block;
}

.read-more-link:hover {
    transform: translateX(5px);
}

.read-more-link i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.read-more-link:hover i {
    transform: translateX(3px);
    color: var(--dark-accent-color);
}

/* Custom Category Section */
.custom-category-section {
    background-color: var(--white-color);
    padding: 30px 0;
}

.container_category {
    width: 100%;
}

.cat-products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.cat-products .product {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--white-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cat-products .product a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.cat-products .product a:hover {
    text-decoration: none;
    color: inherit;
}

.cat-products .product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.cat-products .product h4 {
    color: var(--dark-accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-family-primary);
    margin: 20px 0 15px 0;
    line-height: 1.3;
    
}

.product_excerpt {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product_excerpt p {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}
.product_excerpt p {
    color: var(--secondary-text-color);
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 20px;
    flex-grow: 1;
    
}

.product_readmore {
    padding: 0 20px 20px 20px;
    margin-top: auto;
}

.sc_services_item_more_link {
    color: var(--dark-accent-color);
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: transform 0.4s ease;
    align-self: flex-start;
}

.sc_services_item_more_link .link_text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.4s ease, width 0.4s ease, visibility 0.4s ease;
}

.sc_services_item_more_link:hover .link_text {
    opacity: 1;
    visibility: visible;
    width: auto;
    color: var(--dark-accent-color);
    font-size: 16px;
}

.sc_services_item_more_link:hover {
    transform: translateX(5px);
}

.sc_services_item_more_link .link_icon {
    font-size: 1rem;
    transition: transform 0.4s ease;
    color: var(--dark-accent-color);
    display: inline-block;
}

.sc_services_item_more_link .link_icon::after {
    content: "→";
    font-size: 1rem;
}

.sc_services_item_more_link:hover .link_icon {
    transform: translateX(3px);
}

/* Responsive Design for Treatment Services */
@media (max-width: 768px) {
    .treatment-image {
        height: 250px;
    }
    
    .treatment-content {
        padding: 25px;
    }
    
    .treatment-title {
        font-size: 1.3rem;
    }
    
    .cat-products {
        gap: 20px;
    }
    
    .cat-products .product {
        flex: 0 0 calc(50% - 10px);
    }
    
    .cat-products .product img {
        height: 250px;
    }
    
    .cat-products .product h4 {
        font-size: 1.3rem;
        padding: 0 15px;
    }
    
    .product_excerpt {
        padding: 0 15px;
    }
    
    .product_readmore {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 576px) {
    .treatment-services-section,
    .custom-category-section {
        padding: 60px 0;
    }
    
    .treatment-image {
        height: 200px;
    }
    
    .treatment-content {
        padding: 20px;
    }
    
    .treatment-title {
        font-size: 1.2rem;
    }
    
    .treatment-description {
        font-size: 0.9rem;
    }
    
    .cat-products .product img {
        height: 200px;
    }
    
    .cat-products .product h4 {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .product_excerpt {
        padding: 0 10px;
    }
    
    .product_excerpt p {
        font-size: 0.9rem;
    }
    
    .product_readmore {
        padding: 0 10px 10px 10px;
    }
    
    .cat-products .product {
        flex: 0 0 100%;
    }
}
.faq-section h3{
   color: var(--dark-accent-color);
}