/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Prevent all images from causing horizontal overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure all elements stay within viewport */
* {
    max-width: 100vw;
}

/* Specific mobile overflow prevention */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    * {
        max-width: 100% !important;
    }
    
    /* Ensure mobile menu doesn't cause overflow */
    .nav-menu {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* Hidden class for honeypot and other hidden elements */
.hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

body {
    font-family: 'Rubik', 'Heebo', sans-serif;
    line-height: 1.6;
    color: #2D3436;
    direction: rtl;
    background: linear-gradient(135deg, #F8F3FF 0%, #F0F3F7 100%);
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Lavender Dreams color palette */
:root {
    --primary-warm: #9C88FF;
    --primary-light: #B8ACFF;
    --secondary-warm: #C7ECEE;
    --accent-pink: #FFEAA7;
    --cream: #F8F3FF;
    --warm-brown: #6C5CE7;
    --soft-orange: #DFE6E9;
    --gentle-yellow: #FFF9E8;
    --warm-gray: #F0F3F7;
    --text-warm: #2D3436;
    --text-light: #636E72;
    --success: #A8E6CF;
    --confidence: #C7ECEE;
    --special: #FFD3E1;
    --border-warm: rgba(156, 136, 255, 0.2);
    --shadow-warm: rgba(156, 136, 255, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Alef', 'Rubik', sans-serif;
    color: var(--text-warm);
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar.scrolled {
    background: rgba(255, 248, 231, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-warm);
    border-bottom: 2px solid var(--border-warm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-warm);
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    animation: gentle-pulse 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-warm);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-menu li a:hover {
    color: var(--primary-warm);
    background: var(--warm-gray);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-warm);
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gentle-yellow) 50%, var(--soft-orange) 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 196, 46, 0.1) 0%, transparent 70%);
    animation: gentle-rotate 20s linear infinite;
}

@media (max-width: 768px) {
    .hero::before {
        display: none; /* Hide decorative element on mobile to prevent overflow */
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--text-warm);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: gentle-bounce 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.title-line {
    display: block;
}

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

.warm-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-warm), var(--primary-light));
    border-radius: 2px;
    animation: warm-underline 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-warm), var(--primary-light));
    color: white;
    box-shadow: 0 6px 20px var(--shadow-warm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-warm);
}

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

.btn-secondary:hover {
    background: var(--primary-warm);
    color: white;
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 18px;
}

.trust-elements {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

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

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-warm);
    margin-bottom: 5px;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-warm);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    max-width: 100%;
}







/* Story Section */
.story {
    padding: 100px 0;
    background: white;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 25px;
}

.story-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--cream);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-warm);
    box-shadow: 0 5px 15px var(--shadow-warm);
}

.badge-icon {
    font-size: 18px;
}

.section-title {
    margin-bottom: 30px;
}

.subtitle {
    display: block;
    color: var(--primary-warm);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-warm);
    line-height: 1.2;
}

.story-quote {
    background: var(--warm-gray);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    border-left: 5px solid var(--primary-warm);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: 'Georgia', serif;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.certifications {
    margin-top: 40px;
    background: var(--gentle-yellow);
    padding: 25px;
    border-radius: 15px;
}

.certifications h4 {
    color: var(--primary-warm);
    margin-bottom: 15px;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
}

.certifications li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-gray) 0%, var(--cream) 100%);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-warm), var(--secondary-warm));
    border-radius: 25px 25px 0 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    padding: 15px;
    background: var(--warm-gray);
    border-radius: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-warm);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 20px;
}

.feature {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature::before {
    content: '💛';
    position: absolute;
    right: 0;
    font-size: 14px;
}

.service-age {
    background: var(--accent-pink);
    color: var(--text-warm);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Success Stories Section */
.success-stories {
    padding: 100px 0;
    background: white;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.story-card {
    background: var(--warm-gray);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.story-card .story-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.story-card .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card .story-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.story-badge.success {
    background: var(--success);
    color: white;
}

.story-badge.confidence {
    background: var(--confidence);
    color: white;
}

.story-badge.special {
    background: var(--special);
    color: white;
}

.story-content {
    padding: 30px;
}

.story-content h3 {
    color: var(--primary-warm);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.story-before, .story-after {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 15px;
    font-size: 0.95rem;
}

.story-before {
    background: rgba(255, 181, 181, 0.2);
    border-right: 4px solid var(--accent-pink);
}

.story-after {
    background: rgba(152, 217, 130, 0.2);
    border-right: 4px solid var(--success);
}

.story-quote {
    background: var(--cream);
    padding: 20px;
    border-radius: 15px;
    font-style: italic;
    color: var(--text-light);
    margin-top: 20px;
    position: relative;
}

.story-quote::before {
    content: '❝';
    font-size: 2rem;
    color: var(--primary-light);
    position: absolute;
    top: -5px;
    right: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gentle-yellow) 0%, var(--soft-orange) 100%);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: none;
    align-items: center;
    gap: 40px;
}

.testimonial-card.active {
    display: flex;
}

.testimonial-photo {
    flex-shrink: 0;
}

.testimonial-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--cream);
}

.testimonial-content {
    flex: 1;
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 700;
    color: var(--text-warm);
    font-size: 1.1rem;
}

.author-role {
    color: var(--primary-warm);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

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

.nav-dot.active {
    background: var(--primary-warm);
    transform: scale(1.2);
}

/* Gallery Section */
.therapy-gallery {
    padding: 100px 0;
    background: white;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.gallery-title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-gray) 100%);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-highlights {
    margin: 40px 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text {
    font-weight: 500;
    color: var(--text-warm);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-text strong {
    color: var(--primary-warm);
    display: block;
    margin-bottom: 5px;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h3 {
    color: var(--primary-warm);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-warm);
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-warm);
    border-radius: 15px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--warm-gray);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-warm);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 138, 80, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--warm-gray);
    border: 2px solid var(--border-warm);
    border-radius: 5px;
    position: relative;
}

.btn-large {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-warm);
    color: var(--cream);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--cream);
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--soft-orange);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-badge {
    font-size: 0.9rem;
    color: var(--gentle-yellow);
}

.footer-column h4 {
    color: var(--cream);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--soft-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--cream);
}

.footer-contact p {
    color: var(--soft-orange);
    margin-bottom: 8px;
}

.image-credits {
    border-top: 1px solid rgba(255, 212, 163, 0.1);
    padding: 30px 0;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.image-credits:hover {
    opacity: 1;
}
.image-credits h4 {
    color: var(--accent-pink);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.image-credits p {
    color: rgba(255, 240, 245, 0.8);
    margin: 10px 0;
    font-size: 0.9rem;
}
.credits-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}
.credits-list span {
    color: rgba(255, 240, 245, 0.7);
    font-size: 0.85rem;
    white-space: nowrap;
}
.credits-list span::after {
    content: '•';
    margin-left: 15px;
    color: rgba(255, 212, 163, 0.3);
}
.credits-list span:last-child::after {
    content: '';
}
.image-credits a {
    color: var(--accent-pink);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 199, 95, 0.5);
    transition: all 0.3s ease;
}
.image-credits a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}
.credits-note {
    margin-top: 15px;
    font-size: 0.85rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 212, 163, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-heart {
    color: var(--accent-pink);
    font-style: italic;
}

.footer-credit {
    color: rgba(255, 240, 245, 0.7);
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    margin-top: 15px;
}

.footer-credit a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 179, 128, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-credit a:hover {
    color: var(--accent-pink);
    border-bottom-color: var(--accent-pink);
}

/* Color Palette Editor Modal */
.color-palette-modal {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 99999;
}

@media (max-width: 768px) {
    .color-palette-modal {
        display: none; /* Hide color palette editor on mobile to prevent issues */
    }
}

.palette-toggle {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-warm), var(--primary-light));
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.palette-toggle:hover {
    transform: translateX(5px);
    box-shadow: 4px 4px 20px rgba(0,0,0,0.3);
}

.palette-icon {
    font-size: 24px;
    animation: gentle-rotate 10s linear infinite;
}

.palette-panel {
    position: fixed;
    top: 50%;
    left: -320px;
    transform: translateY(-50%);
    width: 320px;
    height: 600px;
    max-height: 90vh;
    background: white;
    border-radius: 0 20px 20px 0;
    box-shadow: 5px 0 30px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 99998;
}

.palette-panel.show {
    left: 50px;
}

.palette-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-warm), var(--primary-light));
    color: white;
}

.palette-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.palette-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.palette-close:hover {
    background: rgba(255,255,255,0.2);
}

.palette-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.palette-section {
    margin-bottom: 25px;
}

.palette-section h4 {
    color: var(--primary-warm);
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-warm);
}

/* Preset Palettes */
.preset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.preset-btn {
    background: white;
    border: 2px solid var(--border-warm);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

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

.preset-btn.active {
    border-color: var(--primary-warm);
    background: var(--cream);
    box-shadow: 0 3px 10px rgba(255, 138, 80, 0.2);
}

.preset-preview {
    display: flex;
    gap: 2px;
    width: 100%;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
}

.preset-preview span {
    flex: 1;
    height: 100%;
}

.preset-name {
    font-size: 12px;
    color: var(--text-warm);
    font-weight: 500;
    text-align: center;
}

/* Custom Colors */
.color-group {
    margin-bottom: 20px;
}

.color-group h5 {
    font-size: 14px;
    color: var(--text-warm);
    margin-bottom: 10px;
    font-weight: 600;
}

.color-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: var(--warm-gray);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.color-input-group label:hover {
    background: var(--cream);
}

.color-input-group label span {
    font-size: 13px;
    color: var(--text-light);
    flex: 1;
}

.color-input-group input[type="color"] {
    width: 50px;
    height: 30px;
    border: 2px solid var(--border-warm);
    border-radius: 5px;
    cursor: pointer;
    background: white;
    padding: 2px;
}

.color-input-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.color-input-group input[type="color"]::-webkit-color-swatch {
    border-radius: 3px;
    border: none;
}

/* Action Buttons */
.palette-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-warm);
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reset-btn {
    background: var(--warm-gray);
    color: var(--text-warm);
}

.reset-btn:hover {
    background: var(--accent-pink);
    transform: translateY(-2px);
}

.save-btn {
    background: linear-gradient(135deg, var(--primary-warm), var(--primary-light));
    color: white;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 138, 80, 0.3);
}

/* Font Selection Styles */
.font-presets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.font-preset-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 2px solid var(--border-warm);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-preset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--primary-warm);
}

.font-preset-btn.active {
    border-color: var(--primary-warm);
    background: var(--cream);
    box-shadow: 0 3px 10px rgba(255, 138, 80, 0.2);
}

.font-preview {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-warm);
    min-width: 60px;
}

.font-name {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
    flex: 1;
    margin-left: 10px;
}

.font-controls {
    margin-top: 20px;
}

.font-control-group {
    margin-bottom: 15px;
}

.font-control-group label {
    display: block;
    font-size: 13px;
    color: var(--text-warm);
    font-weight: 600;
    margin-bottom: 8px;
}

.font-selector {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-warm);
    border-radius: 8px;
    background: var(--warm-gray);
    font-size: 14px;
    color: var(--text-warm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.font-selector:hover {
    border-color: var(--primary-warm);
    background: white;
}

.font-selector:focus {
    outline: none;
    border-color: var(--primary-warm);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 138, 80, 0.1);
}

.font-size-controls {
    margin-top: 20px;
}

.font-size-controls label {
    display: block;
    font-size: 13px;
    color: var(--text-warm);
    font-weight: 600;
    margin-bottom: 8px;
}

.size-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--warm-gray);
    padding: 5px;
    border-radius: 10px;
}

.size-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-warm);
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-warm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    background: var(--primary-warm);
    color: white;
    transform: scale(1.1);
}

.size-display {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: var(--text-warm);
    font-size: 14px;
}

.font-preview-box {
    margin-top: 20px;
    padding: 15px;
    background: var(--cream);
    border-radius: 10px;
    border: 2px solid var(--border-warm);
}

.preview-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-warm);
    margin-bottom: 8px;
}

.preview-body {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Scrollbar styling for palette panel */
.palette-content::-webkit-scrollbar {
    width: 6px;
}

.palette-content::-webkit-scrollbar-track {
    background: var(--warm-gray);
    border-radius: 3px;
}

.palette-content::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.palette-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-warm);
}

/* Animations */
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes gentle-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes warm-underline {
    0%, 100% { width: 100%; }
    50% { width: 80%; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 20px;
        transition: right 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        overflow: hidden;
        z-index: 9999;
        left: 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .story-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 50px;
        text-align: center;
        padding: 0 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Hide floating elements on mobile to prevent overflow */
    .element-1,
    .element-2,
    .element-3 {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .hero-subtitle {
        margin-bottom: 35px;
        font-size: 1.1rem;
    }

    .hero-buttons {
        margin-bottom: 40px;
        gap: 15px;
    }

    .title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .trust-elements {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
        margin-top: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .image-credits {
        padding: 20px 10px;
    }

    .credits-list {
        flex-direction: column;
        gap: 10px;
    }

    .credits-list span::after {
        content: '';
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        margin-top: 0;
    }

    .hero-content {
        padding: 0 15px;
        gap: 40px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        margin-bottom: 30px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        margin-bottom: 35px;
        gap: 12px;
    }

    .trust-elements {
        gap: 20px;
        margin-top: 25px;
    }

    .trust-number {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .service-card, .story-card, .contact-form {
        padding: 25px;
    }

    .section-title .title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-buttons, .contact-form, .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title .title {
        color: black;
    }
}

/* WhatsApp Link Styles */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    vertical-align: middle;
}

.whatsapp-link:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.2));
    transition: filter 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
    filter: drop-shadow(0 3px 6px rgba(37, 211, 102, 0.4));
}

.contact-text p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}