/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    background-color: #fff;
    text-align: center;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #fff;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 0 0 15px 0;
    margin: 0;
}

/* Business Logo */
.site-logo {
    height: 120px;
    width: auto;
    vertical-align: middle;
    margin-right: 16px;
    margin-left: 18px;
}

/* Main Titles */
h1 {
    font-family: 'Ephesis', cursive;
    color: #EAC764;
    font-size: 3em;
    margin: 10px 0;
}

#main-title-en,
#main-title-es {
    font-family: 'Ephesis', cursive;
    font-size: 2.5em;
    color: #A97485;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 8px;
    font-weight: normal;
    letter-spacing: 1px;
}

/* Section Headings */
h2 {
    font-family: 'Ephesis', cursive;
    color: #EAC764;
    text-align: center;
    margin: 0;
    font-size: 2em;
}

/* Section Layout */
section {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 50px; /* Reduced from 100px */
}

/* Hide Elements */
.hidden {
    display: none !important;
}

/* Header Layout */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

/* Burger Navigation */
.burger-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.burger-bg-img {
    width: 100%;
    display: block;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.burger-nav {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 2;
}

.burger-btn {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #333;
    padding: 0;
    position: relative;
    z-index: 3;
}

.burger-menu {
    display: none;
    position: absolute;
    left: 40px;
    top: 0;
    background: #fff;
    border: 1px solid #EAC764;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 220px;
    text-align: left;
    z-index: 4;
}

.burger-menu li {
    margin: 0;
}

.burger-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-family: 'Ephesis', cursive;
    font-size: 1.2em;
}

.burger-menu a:hover {
    background: #FADADD;
    color: #5F9EA0;
}

.burger-nav:hover .burger-menu,
.burger-nav:focus-within .burger-menu {
    display: block;
}

.burger-menu-title {
    display: block;
    font-family: 'Ephesis', cursive;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

/* Header Corner Image */
.header-corner-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

/* Language Toggle */
.language-toggle {
    position: absolute;
    top: 5px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-toggle button {
    background-color: #FADADD;
    border: none;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s;
}

.language-toggle button:hover {
    background-color: #5F9EA0;
    transform: scale(1.05);
}

#lang-toggle-text {
    display: inline-block;
}

#lang-toggle-icon {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#lang-toggle-icon img {
    height: 32px;
    transition: transform 0.2s;
}

#lang-toggle-icon:hover img,
#lang-toggle-icon:focus img {
    transform: scale(1.15);
}

/* Book Now Button */
.book-now-container {
    margin: 10px 0 0 0;
    text-align: center;
}

.book-now-btn,
.return-btn {
    display: inline-block;
    background-color: #FADADD;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    padding: 10px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin-top: 10px;
}

.book-now-btn:hover,
.book-now-btn:focus,
.return-btn:hover,
.return-btn:focus {
    background-color: #5F9EA0;
    transform: scale(1.05);
}

/* About Section */
#about {
    position: relative;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 400px;
    padding: 40px 20px;
}

#about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 300px;
    height: 300px;
    background-image: url('noemi.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transform: translateY(-50%);
    z-index: 1;
}

#about h2 {
    margin-left: 340px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#about p {
    margin-left: 340px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background-color: #FADADD;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    color: #A97485;
    font-family: 'Ephesis', cursive;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.service-item p {
    color: #333;
    line-height: 1.6;
    font-size: 1em;
}

.service-price {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(169, 116, 133, 0.3);
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    color: #A97485;
    font-weight: 500;
    text-align: center;
}

/* Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-track {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex: 1;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FADADD;
    border-radius: 10px;
}

.testimonial-item.active {
    opacity: 1;
}

.testimonial-item p {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.testimonial-item span {
    font-weight: bold;
    color: #A97485;
    font-size: 1em;
}

/* Carousel Arrows */
.carousel-arrow {
    background: none;
    border: none;
    font-size: 2.5em;
    color: #A97485;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.6;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    opacity: 1;
    background-color: rgba(169, 116, 133, 0.1);
    transform: scale(1.1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* Blog Posts */
.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(169, 116, 133, 0.2);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-post h3 {
    color: #A97485;
    font-family: 'Ephesis', cursive;
    font-size: 1.6em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post .post-meta {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-style: italic;
}

.blog-post .post-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-post .read-more-btn {
    display: inline-block;
    background-color: #FADADD; /* Changed from #A97485 to match Book Now */
    color: #333; /* Changed from white to match Book Now */
    padding: 10px 20px;
    border-radius: 8px; /* Changed from 25px to match Book Now */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold; /* Added to match Book Now */
    font-family: 'Poppins', sans-serif; /* Added to match Book Now */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Added to match Book Now */
}

.blog-post .read-more-btn:hover {
    background-color: #5F9EA0; /* Changed to match Book Now hover */
    color: #333; /* Keep text color consistent */
    transform: scale(1.05); /* Added scale effect to match Book Now */
}

.blog-loading {
    text-align: center;
    color: #A97485;
    font-style: italic;
    padding: 40px;
}

.blog-error {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 2px solid rgba(169, 116, 133, 0.2);
}

.blog-view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    background-color: #FADADD; /* Changed from transparent to match Book Now */
    color: #333; /* Changed from #A97485 to match Book Now */
    padding: 12px 30px;
    border: none; /* Removed border to match Book Now */
    border-radius: 8px; /* Changed from 25px to match Book Now */
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold; /* Added to match Book Now */
    font-family: 'Poppins', sans-serif; /* Added to match Book Now */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Added to match Book Now */
}

.view-all-btn:hover {
    background-color: #5F9EA0; /* Changed to match Book Now hover */
    color: #333; /* Keep text color consistent */
    transform: scale(1.05); /* Added scale effect to match Book Now */
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
    align-items: flex-start;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    color: #5F9EA0;
    text-decoration: none;
    font-size: 1.2em;
    transition: transform 0.2s;
}

.social-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: block;
    transition: transform 0.2s;
}

.social-links a:hover,
.social-links a:focus {
    color: #E1C1C2;
    transform: scale(1.08);
}

.social-links a:hover .social-icon,
.social-links a:focus .social-icon {
    transform: scale(1.15);
}

/* Email Contact */
.email-icon {
    font-size: 1.8em;
    vertical-align: middle;
    margin-right: 6px;
}

.contact-link {
    color: #A97485;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Calendar Styles */
#calendar {
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.75em;
}

.fc-toolbar.fc-header-toolbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.fc-toolbar-chunk:first-child {
    flex: 1 1 auto !important;
    text-align: left !important;
}

.fc-toolbar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #EAC764;
    text-align: left !important;
    margin-left: 0 !important;
}

.fc-toolbar-chunk:last-child {
    flex: 0 0 auto !important;
    text-align: right !important;
}

.fc-daygrid-day-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60px;
    box-sizing: border-box;
}

.fc-daygrid-day-number {
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.2s, transform 0.2s;
    cursor: pointer;
}

.fc-daygrid-day:hover .fc-daygrid-day-number {
    color: #A97485;
    transform: scale(1.25);
}

.fc-today-button {
    text-transform: capitalize !important;
}

.fc-button, .fc-button-primary {
    background-color: #EAC764 !important;
    color: #333 !important;
    border: none !important;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.fc-button:hover, .fc-button-primary:hover {
    background-color: #A97485 !important;
    color: #FFF9E3 !important;
}

.fc-day-past,
.fc-day-sun,
.fc-day-sat {
    background-color: #fadadd !important;
    color: #bbb !important;
    pointer-events: none;
    cursor: not-allowed;
}

.fc-bg-event {
    background-color: #fadadd !important;
    opacity: 1 !important;
}

.fully-booked-day {
    background-color: #fadadd !important;
    opacity: 1 !important;
}

.fc-day-today {
    background-color: #e9c34d !important;
}

.fc-daygrid-day {
    border-color: #ccc !important;
}

.fc-scrollgrid {
    border-color: #ccc !important;
}

/* Booking Form */
#booking-form,
#booking-form-es {
    max-width: 350px;
    width: 75%;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 2000;
}

#booking-form h2,
#booking-form-es h2 {
    margin-top: 0;
    color: #A97485;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5em;
}

#booking-form label,
#booking-form-es label {
    display: block;
    margin-bottom: 0.2em;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

#booking-form input,
#booking-form-es input,
#booking-form textarea,
#booking-form-es textarea,
#booking-form select,
#booking-form-es select {
    width: 100%;
    padding: 2px;
    margin-top: 0.05em;
    margin-bottom: 0.2em;
    border: 1px solid #EAC764;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

#booking-form button,
#booking-form-es button {
    background-color: #EAC764;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    margin-right: 4px;
    margin-top: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#booking-form button:hover,
#booking-form-es button:hover {
    background-color: #A97485;
    color: #FFF9E3;
}

/* Admin Styles */
#admin-content table {
    width: 95%;
    max-width: 1100px;
    text-align: left;
    margin: 0 auto 16px auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#admin-greyout-calendar {
    max-width: 350px;
    margin: 0 auto;
    font-size: 0.6em;
}

.admin-login-btn,
.admin-logout-btn {
    display: inline-block;
    background-color: #FADADD;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    padding: 10px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin-top: 10px;
    border: none;
    outline: none;
    cursor: pointer;
}

.admin-login-btn:hover,
.admin-login-btn:focus,
.admin-logout-btn:hover,
.admin-logout-btn:focus {
    background-color: #5F9EA0;
    color: #fff;
    transform: scale(1.05);
    outline: none;
    box-shadow: 0 4px 16px rgba(95,158,160,0.15);
    cursor: pointer;
}

.admin-delete-btn {
    background: #FAD2D2;
    color: #A94442;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(169,68,66,0.08);
    outline: none;
}

.admin-delete-btn:hover,
.admin-delete-btn:focus {
    background: #F8B6B6;
    color: #fff;
    transform: scale(1.08);
    outline: none;
}

.payment-status-dropdown {
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-family: 'Poppins', sans-serif;
}

.request-payment-btn {
    background: #007BFF;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    transition: background 0.2s;
}

.request-payment-btn:hover {
    background: #0056B3;
}

/* Footer */
footer {
    background-color: #FADADD;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.privacy-link {
    color: #A97485;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 5px;
    display: inline-block;
}

.privacy-link:hover {
    text-decoration: underline;
    color: #8B5F6B;
}

.web-design-link {
    color: #999;
    text-decoration: none;
    font-size: 0.8em;
    margin-top: 10px;
    display: inline-block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.web-design-link:hover {
    opacity: 1;
    text-decoration: underline;
    color: #777;
}

/* Responsive Breakpoints */
@media (max-width: 1366px) and (min-width: 1025px) {
    .site-logo {
        height: 100px;
    }
    
    .header-corner-img {
        transform: scale(0.9);
    }
    
    .book-now-btn {
        padding: 10px 18px;
        font-size: 0.95em;
    }
    
    section {
        scroll-margin-top: 45px; /* Reduced from 85px */
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .site-logo {
        height: 90px;
    }
    
    .header-corner-img {
        transform: scale(0.8);
    }
    
    .burger-bg-img {
        transform: scale(0.85);
    }
    
    .book-now-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    section {
        scroll-margin-top: 40px; /* Reduced from 75px */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    section {
        padding: 20px;
        scroll-margin-top: 35px;
    }
    
    /* FIX ABOUT SECTION ON MOBILE */
    #about {
        min-height: 600px;
        padding: 20px 15px 100px 15px; /* Add horizontal padding */
    }
    
    #about h2,
    #about p {
        margin-left: 0; /* REMOVE the 340px margin */
        padding: 0 10px; /* Reduce padding */
        text-align: center;
        width: 100%;
        max-width: 100%; /* Ensure it doesn't overflow */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    
    #about::before {
        position: absolute;
        top: auto;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 120px;
        opacity: 0.6;
    }
    
    /* REST OF MOBILE STYLES */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item h3 {
        font-size: 1.3em;
    }
    
    .service-price {
        font-size: 1.2em;
        margin-top: 12px;
        padding-top: 8px;
    }
    
    .carousel-arrow {
        font-size: 2em;
        width: 40px;
        height: 40px;
        padding: 5px;
    }
    
    .testimonial-carousel {
        gap: 10px;
    }
    
    .blog-posts-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
        padding: 0 15px;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .blog-post h3 {
        font-size: 1.4em;
    }
    
    #lang-toggle-text {
        display: none;
    }
    
    #lang-toggle-icon {
        display: inline-block;
    }
    
    /* ADD THESE NEW TESTIMONIALS MOBILE STYLES: */
    
    .testimonial-item {
        cursor: pointer; /* Indicate clickable */
    }
    
    .testimonial-item p {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Show only 3 lines */
        line-clamp: 3; /* Standard property for compatibility */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 4.2em; /* 3 lines × 1.4 line-height */
    }
    
    /* Testimonial Popup Overlay */
    .testimonial-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .testimonial-popup.show {
        display: flex;
    }
    
    .testimonial-popup-content {
        background: #FADADD;
        border-radius: 15px;
        padding: 25px;
        max-width: 90%;
        max-height: 80%;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .testimonial-popup-content p {
        display: block !important; /* Override the line clamp */
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        text-overflow: unset !important;
        max-height: none !important;
        font-family: 'Cardo', serif;
        font-style: italic;
        font-size: 1.1em;
        margin-bottom: 15px;
        color: #333;
        line-height: 1.6;
    }
    
    .testimonial-popup-content span {
        font-weight: bold;
        color: #A97485;
        font-size: 1em;
        display: block;
        text-align: center;
        margin-top: 15px;
    }
    
    .testimonial-close {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        color: #A97485;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.2s;
    }
    
    .testimonial-close:hover {
        background-color: rgba(169, 116, 133, 0.2);
    }
}

@media (max-width: 600px) {
    #lang-toggle-text {
        display: none;
    }
    
    #lang-toggle-icon {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .service-item {
        padding: 18px;
    }
    
    .service-item h3 {
        font-size: 1.2em;
    }
    
    .service-item p {
        font-size: 0.95em;
    }
    
    .carousel-arrow {
        font-size: 1.8em;
        width: 35px;
        height: 35px;
    }
    
    .testimonial-carousel {
        gap: 5px;
    }
}

/* Fix overlap between About section SVG and image on small screens */
@media (max-width: 768px) {
    #about {
        padding-bottom: 60px; /* Add extra padding at bottom of about section */
    }
    
    #about p {
        margin-bottom: 60px; /* Add extra space after the paragraph with SVG */
    }
    
    .heart-outline {
        display: inline-block;
        margin-bottom: 50px; /* Add space below the SVG heart */
    }
}

@media (max-width: 480px) {
    #about {
        padding-bottom: 80px; /* Even more padding on very small screens */
    }
    
    #about p {
        margin-bottom: 70px; /* More space after the paragraph */
    }
    
    .heart-outline {
        margin-bottom: 60px; /* More space below the SVG heart */
    }
}

@media (max-width: 375px) {
    /* For iPhone SE and similar small devices */
    #about {
        padding-bottom: 100px;
    }
    
    #about p {
        margin-bottom: 80px;
    }
    
    .heart-outline {
        margin-bottom: 70x;
    }
}