/* Base Styles */
:root {
    --transition-slow: 0.8s;
    --transition-medium: 0.5s;
    --transition-fast: 0.3s;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: black;
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.hero-section {
    position: relative;
    color: white;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://drros.com/wp-content/uploads/2025/05/DSC00908.jpg');
    background-size: cover;
    background-position: center;
    transform-origin: center;
    will-change: transform;
}

.reveal-text h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1.2s ease forwards 0.5s;
}

.line-animation {
    width: 0;
    animation: lineGrow 1.5s ease forwards 1.2s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    width: 2px;
    height: 8px;
    background-color: white;
    animation: scrollFade 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Stat Cards - hidden right now*/
.stats-section {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    display: none !important;
}


.stat-card {
    position: relative;
    padding: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.circle-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg, .circle-fill {
    fill: none;
    stroke-width: 3;
}

.circle-bg {
    stroke: rgba(0, 0, 0, 0.1);
}

.circle-fill {
    stroke: #000;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease;
}

.stat-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stat-label {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-line {
    width: 0;
    height: 2px;
    background: #000;
    margin: 1rem auto 0;
    transition: width 0.8s ease;
}

.stat-card.active .stat-label {
    opacity: 1;
    transform: translateY(0);
}

.stat-card.active .stat-line {
    width: 50px;
}

.stats-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

@media (max-width: 1580px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section h2 {
        font-size: 20px;
    }

    .hero-section .booking-btn {
        font-size: 16px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stat-circle {
        width: 150px;
        height: 150px;
    }
    
    .stat-content h3 {
        font-size: 2.5rem;
    }
}

/* Luxury Gallery Section */
.gallery-section {
    position: relative;
}

.luxury-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
                      linear-gradient(-45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.5;
}

.gallery-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s ease forwards;
}

.gallery-line {
    width: 0;
    animation: lineGrow 1.5s ease forwards 0.5s;
}

.gallery-subtitle {
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.gallery-item {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 1s ease forwards;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.4s;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
}

.image-mask {
    position: relative;
    overflow: hidden;
    aspect-ratio: 6/4;
}

.image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.content-inner {
    text-align: left;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.view-details {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid white;
    font-size: 0.875rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.corner-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.top-left {
    top: 20px;
    left: 20px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
}

.top-right {
    top: 20px;
    right: 20px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-bottom: 2px solid #000;
    border-left: 2px solid #000;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}

.service-line {
    width: 0;
    height: 1px;
    background: #000;
    margin: 0.5rem auto;
    transition: width 0.5s ease;
}

/* Gallery Item Hover Effects */
.gallery-item:hover .image-mask img {
    transform: scale(1.1);
}

.gallery-item:hover .hover-content {
    opacity: 0 !important;
}

.gallery-item:hover .content-inner {
    transform: translateY(0);
}

.gallery-item:hover .view-details {
    background: white;
    color: black;
}

.gallery-item:hover .service-line {
    width: 50px;
}

.gallery-item:hover .corner {
    width: 40px;
    height: 40px;
}

.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #000 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: floatingBackground 20s linear infinite;
}

@keyframes floatingBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Testimonial Cards */
.testimonial-card {
    perspective: 1000px;
    height: 300px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.testimonial-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Booking Button */
.booking-btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    z-index: 10;
}

.booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
    z-index: -1;
}

.booking-btn:hover {
    color: black;
}

.booking-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Animations */
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 128px;
    }
}

@keyframes scrollFade {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.floating-elements::before {
    top: 20%;
    left: 10%;
    animation-delay: -5s;
}

.floating-elements::after {
    bottom: 30%;
    right: 15%;
    width: 200px;
    height: 200px;
    animation-direction: reverse;
}

/* Diagonal Decoration */
.diagonal-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.diagonal-decoration::before,
.diagonal-decoration::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
    animation: diagonalMove 8s linear infinite;
}

.diagonal-decoration::before {
    top: 30%;
    transform: rotate(45deg);
}

.diagonal-decoration::after {
    bottom: 30%;
    transform: rotate(-45deg);
    animation-delay: -4s;
}

/* Parallax Decoration */
.parallax-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 1px,
        transparent 1px,
        transparent 10px
    );
    animation: backgroundShift 20s linear infinite;
}

/* Reveal Section Animation */
.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Items */
.fade-in-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--transition-medium);
}

.fade-in-item.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 20px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes diagonalMove {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes backgroundShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@media (max-width: 768px) {

    .hero-section {
        max-height: 92vh !important;
        height: 92vh !important;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }

    .hero-section p {
        font-size: 0.9rem;
        line-height:normal;
    }
    
    .stat-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        height: 250px;
    }
    
    .floating-elements::before,
    .floating-elements::after {
        width: 150px;
        height: 150px;
    }
}

.injectable-section {
    position: relative;
    overflow: hidden;
    background-image: url(images/whitetexture.jpg);
    background-size: cover;
    background-position: center center;
}

.injectable-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.why-choose-us ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-medium);
}

.why-choose-us ul li.active {
    opacity: 1;
    transform: translateX(0);
}

.how-it-works .bg-gray-50 {
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.how-it-works .bg-gray-50:hover {
    transform: translateY(-5px);
}

.how-it-works .bg-gray-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #000, transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.how-it-works .bg-gray-50:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .injectable-section .grid {
        gap: 2rem;
    }
    
    .hospital-logo {
        margin-left: 1rem;
    }
}
/* Horizontal Gallery Styles */
.horizontal-gallery-section {
    background-color: white;
    position: relative;
}

.gallery-scroll-container {
    position: relative;
    padding: 10px 0;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 60px;
}

.gallery-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.gallery-item-horizontal {
    flex: 0 0 auto;
    width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s ease forwards;
}

.gallery-item-horizontal .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

/* Before & After Labels */
.gallery-section .gallery-item .image-container::before,
.gallery-section .gallery-item .image-container::after {
    content: 'BEFORE';
    position: absolute;
    top: 85% !important;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 2;
    border-radius: 4px;
}

.gallery-section .gallery-item .image-container::after {
    content: 'AFTER';
    left: auto;
    right: 20px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-content {
    position: absolute;
    display: none !important;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.view-more {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid white;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

/* Hover Effects */
.gallery-item-horizontal:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item-horizontal:hover .item-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-horizontal:hover .view-more {
    background: white;
    color: black;
}

/* Scroll Controls */
.scroll-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 24px;
    border: none;
}

.scroll-btn:hover {
    background: black;
    transform: scale(1.1);
}

.scroll-btn.prev {
    left: 20px;
}

.scroll-btn.next {
    right: 20px;
}

@media (max-width: 1024px) {
    .gallery-item-horizontal {
        width: 500px;
    }

    .gallery-wrapper {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .gallery-item-horizontal {
        width: calc(100vw - 80px);
    }
    
    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .gallery-wrapper {
        margin: 0 20px;
    }

    .item-content {
        padding: 20px;
    }

    .item-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
        transform: translateY(-40px);
    }

    .item-content p {
        font-size: 14px;
        margin-bottom: 12px;
        transform: translateY(-40px);
    }

    .view-more {
        padding: 6px 16px;
        font-size: 12px;
        transform: translateY(-40px);
    }

    .scroll-controls {
        padding: 0 10px;
    }

    .gallery-track {
        gap: 20px;
    }
    .gallery-section {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }
    .gallery-section h2 {
        font-size: 30px !important;
    }
    .gallery-section p {
        font-size: 20px !important;
    }

    .marginfix {
        margin-bottom: 35px;
    }

    .horizontal-gallery-section h2 {
        font-size: 35px !important;
    }
    .horizontal-gallery-section {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .gallery-item-horizontal {
        width: calc(100vw - 60px);
    }

    .scroll-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .gallery-wrapper {
        margin: 0 15px;
    }

    .item-content {
        padding: 15px;
    }
}

.social-media-section {
    position: relative;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid black;
    border-radius: 50%;
    transition: all var(--transition-medium);
}

.social-icon:hover {
    background-color: black;
    color: white;
    transform: translateY(-3px);
}

.instagram-feed {
    position: relative;
}

.instagram-item {
    position: relative;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instagram-embed-container {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-embed-container .instagram-media {
    margin: 0 auto !important;
}

.view-more-btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
    z-index: -1;
}

.view-more-btn:hover {
    color: white;
}

.view-more-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .instagram-item {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .instagram-embed-container {
        min-height: 400px;
    }

    #book h2 {
        font-size: 30px !important;
    }
    .booking-btn {
        padding: 0.75em 1.25em !important;
    }

    body {
        overflow-x: hidden;
    }
}

/* Treatment Information Section Styles */
.treatment-info {
    position: relative;
    background-color: #fff;
    background-image: url(images/whitefabric2.webp);
    background-size: cover;
    background-position: center center;
}

.treatment-info .content-inner {
    color: black;
}

.treatment-line {
    width: 0;
    animation: lineGrow 1.5s ease forwards 0.5s;
}

.treatment-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.treatment-content.active {
    position: relative;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #000;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: #000;
    color: #fff;
}

.treatment-content-wrapper {
    position: relative;
    min-height: 300px;
}

.treatment-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.treatment-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.content-inner {
    padding: 2rem;
    border: 2px solid black;
    background: white;
    border-radius: 10px;
}

.treatment-list {
    list-style-type: none;
    padding: 0;
}

.treatment-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.treatment-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
}

@media (max-width: 768px) {
    .treatment-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .content-inner {
        padding: 1.5rem;
    }

    .treatment-info h2 {
        font-size: 40px !important;
    }

    .stats-section {
        padding: 30px 0px;
    }

    .stat-card {
        padding: 0;
        margin: 0;
    }

    .injectable-section {
        padding: 50px 0px;
    }

    .gallery-section {
        padding: 50px 0px;
    }

    .treatment-info {
        padding: 50px  0px;
    }

    .client-experience-section {
        padding: 50px 0px;
    }

    .social-media-section {
        padding: 50px 0px;
    }

    .view-more-btn {
        padding: 0.75em 1.25em !important;
        font-size: 14px;
    }
    
    .mobilebuttonfix {
        font-size: 12px;
        letter-spacing: 1px !important;
        line-height: 1.2rem;
    }
}

/* Location Cards */
.location-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
input, select, textarea {
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: black;
}

.outline {
    border: 1px solid white;
}

.contactbutton i {
    margin-right: 4px;
}

.injectable-section {
    display: none !important;
}


/* AUTHORITY SECTION */
.authority-section {
    position: relative;
    background: linear-gradient(45deg, #000 0%, #1a1a1a 100%);
    overflow: hidden;
}

.authority-section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.authority-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
}

.doctor-image-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 0 30px 0 30px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.doctor-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.doctor-image-container:hover img {
    transform: scale(1);
}

.doctor-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: inherit;
    pointer-events: none;
}

.authority-section ul {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.authority-section li {
    position: relative;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    padding-left: 2rem !important;
}

.authority-section li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: white;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.authority-section li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.authority-section li:hover::before {
    opacity: 1;
}

.credential-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.credential-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.credential-link:hover::after {
    width: 100%;
}

.logo-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.logo-container a {
    display: block;
    transition: all 0.3s ease;
}

.logo-container a:hover {
    transform: translateY(-5px);
}

.hospital-logo {
    position: relative;
    border-radius: 10px !important;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.hospital-logo:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.floating-elements::before,
.floating-elements::after {
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {

    .authority-section {
        padding: 40px 0px !important;
        padding-bottom: 0px !important;
    }

    .authority-section .floating-elements {
        display: none !important;
    }

    .authority-section ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .doctor-image-container {
        height: 400px;
        border-radius: 0 20px 0 20px;
    }

    .logo-container {
        justify-content: center;
        gap: 0.5rem;
        align-content: flex-start;
    }
    
    .hospital-logo {
        border-radius: 10px !important;
        height: 60px;
        margin-left: 0px !important;
    }

    .authority-section li {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

.fab-process-section {
    background-image: url(images/whitetexture.jpg);
    background-size: cover;
    background-position: center;
}

.fab-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fab-image-container img {
    transform: scale(1.05);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-image-container:hover img {
    transform: scale(1);
}

.fab-feature {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s ease forwards;
}

.fab-feature:nth-child(2) {
    animation-delay: 0.2s;
}

.fab-feature:nth-child(3) {
    animation-delay: 0.4s;
}

.anti-aging-journey {
    background: linear-gradient(45deg, #000 0%, #1a1a1a 100%);
}

.concerns-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.concern-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.concern-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.concern-header {
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    text-align: left;
}

.concern-header h3 {
    margin: 0;
    padding-right: 2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.concern-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.concern-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.concern-toggle.active .concern-content {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 2rem;
}

.testimonial {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.closing-message {
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: fadeUpIn 0.8s ease forwards;
}

.closing-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.closing-message h3 {
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .concern-header {
        padding: 1.5rem;
    }
    
    .concern-content {
        padding: 0 1.5rem;
    }
    
    .concern-toggle.active .concern-content {
        padding-bottom: 1.5rem;
    }
    
    .anti-aging-journey h2 {
        font-size: 2.2rem !important;
    }

    .closing-message {
        margin-top: 5px;
        padding-left: 0px;
        padding-right: 0px;
        background: none;
        border: none;
    }

    .closing-message p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .fab-process-section {
        padding: 50px 0;
    }

    .fab-process-section h2,
    .anti-aging-journey h2 {
        font-size: 2.2rem !important;
    }

    .fab-feature {
        margin-bottom: 2rem;
    }

    .concerns-grid {
        grid-template-columns: 1fr;
    }

    .concern-card {
        padding: 1.5rem;
    }

    .anti-aging-journey {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}