/* Home Page Specific Styles */
:root {
    --primary: #005f8c;
    --primary-light: #e6f2f8;
    --secondary: #ff7e5f;
    --accent: #00a3bf;
    --dark: #1a2b3c;
    --light: #f8fafc;
    --success: #2ecc71;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e1e8ed;
    --shadow: rgba(0, 95, 140, 0.1);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 10px;
    line-height: 1.5;
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Banner Slider Specific Styles */
.highlight .restore-logo {
    height: 60px;
    width: auto;
    margin: 15px 0 0 0;
    display: block;
}

/* Slide 2 Tagline */
h2 .tagline {
    display: block;
    font-size: 0.7em;
    color: #1a2b3c;
    margin-top: 10px;
    line-height: 1.4;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Adjust highlight style */
h2 .highlight {
    color: #000000;
    font-weight: 700;
}

/* Clinic Description */
.clinic-description {
    margin: 15px 0 0 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.8;
    color: #333;
    text-align: left;
}
.banner-slider .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.banner-slider .slide-wrapper {
    max-width: 1200px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.banner-slider .slide-content {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.banner-slider .cta-buttons {
    justify-content: flex-start !important;
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
}

.slide-logo {
    text-align: left;
    margin-bottom: 20px;
}

.slide-logo img {
    max-width: 120px;
    height: auto;
    display: block;
}

.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
}

.slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: none;
    padding: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 0;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide:nth-child(1) {
    background-color: #f0f4f8; /* Light blue-gray */
    color: #1a365d; /* Dark blue */
}

.slide:nth-child(2) {
    background-color: #e6f7ff; /* Light blue */
    color: #2c5282; /* Darker blue */
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.slide-content {
    flex: 1;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.slide-features {
    flex: 1;
    padding: 20px;
}

.features-box {
    background: white;
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.features-box h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

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

@keyframes highlight {
    0%, 100% {
        background-color: transparent;
        color: #333;
        transform: translateX(0);
    }
    10%, 30% {
        background-color: rgba(2, 75, 153, 0.1);
        color: var(--primary);
        transform: translateX(5px);
    }
}

.features-list li.highlight-item {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: default;
    position: relative;
    font-size: 0.85rem;
    opacity: 0.9;
    animation: highlight 21s ease-in-out infinite;
    animation-fill-mode: both;
}

/* Staggered animation delays */
.features-list li.highlight-item:nth-child(1) { animation-delay: 0s; }
.features-list li.highlight-item:nth-child(2) { animation-delay: 3s; }
.features-list li.highlight-item:nth-child(3) { animation-delay: 6s; }
.features-list li.highlight-item:nth-child(4) { animation-delay: 9s; }
.features-list li.highlight-item:nth-child(5) { animation-delay: 12s; }
.features-list li.highlight-item:nth-child(6) { animation-delay: 15s; }
.features-list li.highlight-item:nth-child(7) { animation-delay: 18s; }

/* List item styling without checkmarks */
.features-list li {
    padding-left: 0;
}

/* CTA Buttons */
.cta-buttons {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
    min-width: 160px;
}

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

.btn-primary:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000;
}

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

.btn-outline:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000;
}

.slide h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide p {
    color: #4a4a4a;
    font-size: 0.9rem;
    margin: 8px 0 12px;
    line-height: 1.5;
    max-width: 100%;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    margin: 12px 0;
    color: #4a4a4a;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0a800;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

.btn-text:hover i {
    transform: translateX(5px);
}

/* Arrow navigation removed */

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slider-container {
        height: 350px;
    }
    
    .slide h2 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 300px;
    }
    
    .slide h2 {
        font-size: 1.5rem;
    }
    
    .slider-control {
        width: 32px;
        height: 32px;
    }
    
    .slider-control i {
        font-size: 0.8rem;
    }
}

.highlight {
    color: var(--primary);
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        margin-bottom: 20px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .trust-markers {
        align-items: center;
    }
    
    .hero-section::before {
        width: 100%;
        opacity: 0.1;
    }
    
    .experience-badge {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
}

/* Slide 2 Theme */
.slide-2-theme .hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    text-align: left;
}

.slide-2-theme .hero-text {
    max-width: none;
    margin: 0;
    padding: 0;
}

.slide-2-theme .banner-slider .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

/* Slide 2 - New Layout with Image Left */
.re.slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.slide-content {
    flex: 1;
    max-width: 55%;
    padding-right: 40px;
}

.slide-image {
    flex: 1;
    max-width: 45%;
    text-align: right;
    position: relative;
    z-index: 1;
}

/* Style for second slide */
.slide:nth-child(2) {
    padding: 40px 0;
    margin: 10px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.slide:nth-child(2) .highlight {
    color: #000000;
    font-weight: 700;
}

.slide:nth-child(2) h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: -0.5px;
}

.slide:nth-child(2) .subheading {
    font-size: 1.25rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
}

.slide:nth-child(2) .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.slide:nth-child(2) .feature-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.slide:nth-child(2) .feature-list i {
    color: #38a169;
    margin-right: 12px;
    font-size: 1.2rem;
}

.slide:nth-child(2) .badge {
    background: #e6f2ff;
    color: #005f8c;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.slide:nth-child(2) .btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.slide:nth-child(2) .btn i {
    margin-right: 8px;
}

.slide:nth-child(2) .cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .slide:nth-child(2) h2 {
        font-size: 2.2rem;
    }
    
    .slide:nth-child(2) .cta-buttons {
        flex-direction: column;
    }
    
    .slide:nth-child(2) .btn {
        width: 100%;
        text-align: center;
    }
}

/* Style for man's image in second slide */
.slide:nth-child(2) .slide-image {
    max-width: 40%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slide:nth-child(2) .slide-image img {
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Remove hover effect for second slide image */
.slide:nth-child(2):hover .slide-image img {
    transform: none !important;
}

/* 820x1180 Tablet View - Optimize man.png image in Slide 2 */
@media (min-width: 820px) and (max-width: 1180px) {
    .slide:nth-child(2) .slide-image {
        max-width: 35%;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .slide:nth-child(2) .slide-image img {
        max-width: 280px;
        max-height: 350px;
        width: auto;
        height: auto;
        display: block;
        object-fit: contain;
    }
    
    .slide:nth-child(2) .slide-content {
        max-width: 60%;
        padding-right: 30px;
    }
    
    .slide:nth-child(2) h2 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .slide:nth-child(2) .cta-buttons {
        gap: 12px;
        margin-top: 25px;
    }
    
    .slide:nth-child(2) .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

.slide h2 {
    font-size: 100%;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide p {
    color: #4a4a4a;
    font-size: 0.9rem;
    margin: 8px 0 12px;
    line-height: 1.5;
    max-width: 100%;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    margin: 12px 0;
    color: #4a4a4a;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0a800;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

.btn-text:hover i {
    transform: translateX(5px);
}

/* Arrow navigation removed */

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .slider-container {
        height: 350px;
    }
    
    .slide h2 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 300px;
    }
    
    .slide h2 {
        font-size: 1.5rem;
    }
    
    .slider-control {
        width: 32px;
        height: 32px;
    }
    
    .slider-control i {
        font-size: 0.8rem;
    }
}

.highlight {
    color: var(--primary);
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .slide-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .slide-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .slide-image {
        max-width: 100%;
        text-align: center;
    }
}

.restore-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.restore-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.restore-main-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.restore-main-image:hover {
    transform: scale(1.03);
}

.features-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.features-title {
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.features-title sup {
    color: #ffd700;
    font-size: 1.5rem;
    top: -0.8em;
}

.features-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 15px;
}

.features-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ffd700;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-start;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.6rem;
    color: #ffd700;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .restore-layout {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .features-card {
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-card {
        padding: 30px 20px;
    }
    
    .features-title {
        font-size: 1.8rem;
    }
}

/* Circular Layout with Center Image */
.restore-layout {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.restore-center {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.restore-image {
    width: 180px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.circle-card {
    position: absolute;
    width: 120px;
    text-align: center;
    transform: rotate(var(--angle)) translate(200px) rotate(calc(-1 * var(--angle)));
    transform-origin: center;
    z-index: 1;
}

.circle-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.8rem;
    color: #ffd700;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transform: rotate(var(--angle));
}

.circle-card:hover .circle-icon {
    transform: rotate(var(--angle)) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.circle-card h3 {
    color: #fff;
    margin: 8px 0 3px;
    font-size: 1rem;
    white-space: nowrap;
}

.circle-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .restore-layout {
        width: 300px;
        height: 300px;
    }
    
    .restore-image {
        width: 120px;
    }
    
    .circle-card {
        transform: rotate(var(--angle)) translate(120px) rotate(calc(-1 * var(--angle)));
    }
    
    .circle-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .circle-card h3 {
        font-size: 0.9rem;
    }
    
    .circle-card p {
        font-size: 0.7rem;
    }
}

/* Remove old styles */
.restore-logo-wrapper,
.restore-icon,
.restore-logo-wrapper h1,
.tagline,
.features-container {
    display: none;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 70px 0;
    background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgwKSI+PHBhdGggZD0iTTAgMGgxMDB2MTAwSDB6IiBmaWxsPSJub25lIi8+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMSIgZmlsbD0icmdiYSgxODUsIDE0OCwgIDAsIDAuMDMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiBvcGFjaXR5PSIwLjMiLz48L3N2Zz4=');
    opacity: 0.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 95, 140, 0.08);
    box-shadow: 0 5px 20px rgba(0, 71, 105, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #ffffff;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 71, 105, 0.15);
    border-color: rgba(0, 95, 140, 0.1);
    background: #ffffff;
}

.feature-card:hover:before {
    opacity: 1;
    background: linear-gradient(90deg, #daa520, #ffd700);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffd700;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 95, 140, 0.3);
}

.feature-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    top: 0;
    left: 0;
    border-radius: 22px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.feature-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #b8860b, #daa520);
    transition: all 0.3s ease;
}

.feature-card:hover h3:after {
    width: 80px;
    background: linear-gradient(90deg, #daa520, #ffd700);
}

.feature-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 280px;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: #1f2937;
}

/* Add a subtle floating animation to icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-card:nth-child(1) .feature-icon { animation: float 6s ease-in-out infinite; }
.feature-card:nth-child(2) .feature-icon { animation: float 6s ease-in-out 0.5s infinite; }
.feature-card:nth-child(3) .feature-icon { animation: float 6s ease-in-out 1s infinite; }
.feature-card:nth-child(4) .feature-icon { animation: float 6s ease-in-out 1.5s infinite; }

/* Treatments Section */
.treatments-section {
    padding: 80px 0;
    background-color: var(--light);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.treatment-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.treatment-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.treatment-content {
    padding: 25px;
}

.treatment-content h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.treatment-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Results Gallery */
.results-gallery {
    padding: 80px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(227, 153, 5, 0.8));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--light);
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 20px;
    position: relative;
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ3aGl0ZSIgb3BhY2l0eT0iMC4wNSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .primary-btn {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.cta-section .primary-btn:hover {
    background: transparent;
    color: white;
}

.cta-section .secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .secondary-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .feature-card, .treatment-card {
        padding: 30px 20px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid, .treatments-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-section .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .treatment-card, .gallery-item, .testimonial {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.treatment-card:nth-child(1) { animation-delay: 0.1s; }
.treatment-card:nth-child(2) { animation-delay: 0.2s; }
.treatment-card:nth-child(3) { animation-delay: 0.3s; }

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 768px) {
  .features-list {
    display: none !important;
  }
}

/* Footer Styles */
.main-footer {
    background-color: #1a2b3c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about, .footer-links, .footer-contact {
    min-width: 250px;
    width: 100%;
}

.footer-about h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
}

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

.footer-links ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-links ul li a:hover {
    color: #FFD700;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer-contact .space-y-3 {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-contact .space-y-3 > div {
    display: flex;
    align-items: center;
}

.footer-contact .space-y-3 span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFD700;
}

@media (max-width: 992px) {
  .footer-links h3, .footer-contact h3 {
    font-size: 1.1rem !important;
  }
  .footer-links ul li, .footer-contact-list li {
    font-size: 0.95rem !important;
  }
}
