* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-bg-gradient: linear-gradient(
        to bottom left,
        #72d0ec,
        #57c1e2 10%,
        #ff9fff,
        #f4b4d9
    );
    --main-bg-gradient-inverted: linear-gradient(
        to bottom left,
        #f4b4d9,
        #ff9fff,
        #57c1e2 90%,
        #72d0ec
    );
    --font-color-main: #222;
    --cta-color: #f77063;
}

body {
    font-family: "Assistant", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--font-color-main);
    background: var(--main-bg-gradient);
    position: relative;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    overflow-x: hidden;
    width: 100%;
}

.white-p {
    color: white;
}

.center-it {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-icon {
    width: 100px;
    height: auto;
}

/* Header Styles */
header {
    text-align: center;
    position: relative;
}

.top-logo {
    padding: 20px 0;
}

.top-logo img {
    width: 150px;
    height: auto;
}

.hero-area {
    background-image: url('../img/hero-gb.jpg');
    text-align: right;
    height: 720px;
    width: 100%;
    max-width: 1080px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 150px 0 0 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-text {
    font-size: 1.5em;
    margin-right: 50px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta {
    margin: 160px 70px 0 20px;
}

.cta button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--cta-color);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 112, 99, 0.3);
}

.cta button:hover {
    background-color: #e55a4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 112, 99, 0.4);
}

/* Navigation Styles */
nav {
    background: linear-gradient(135deg, rgba(114, 208, 236, 0.2), rgba(255, 159, 255, 0.2));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link a {
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 10px;
    color: rgba(34, 34, 34, 0.9);
}

.nav-link a:hover {
    color: var(--cta-color);
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-cta {
    background-color: var(--cta-color);
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #e55a4d !important;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 15px;
}

.about h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--font-color-main);
}

.about-section-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.about-card-right,
.about-card-center,
.about-card-left {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card-right:hover,
.about-card-center:hover,
.about-card-left:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.about-card-right h2,
.about-card-center h2,
.about-card-left h2 {
    margin: 20px 0 15px 0;
    font-size: 1.5em;
    color: var(--font-color-main);
}

.about-card-p {
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .center-it {
        padding: 0 15px;
    }
    
    .hero-area {
        height: 500px;
        padding: 100px 0 0 0;
    }
    
    .hero-text {
        font-size: 1.2em;
        margin-right: 30px;
    }
    
    .cta {
        margin: 100px 30px 0 20px;
    }
    
    /* Compact navigation for tablets and mobile */
    nav {
        padding: 12px 0;
        margin: 15px 0;
    }
    
    .nav-links {
        /* flex-direction: column; */
        gap: 8px;
        padding: 0 15px;
    }
    
    nav {
        padding: 8px 0;
        margin: 12px 0;
        border-radius: 12px;
    }
    
    .nav-link a {
        font-size: 0.95em;
        padding: 6px 12px;
    }
    
    .nav-cta {
        padding: 6px 18px !important;
        font-size: 0.95em;
    }
    
    .about-section-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .about-card-right,
    .about-card-center,
    .about-card-left {
        display: block;
        padding: 25px 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .about h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-area {
        height: 400px;
        padding: 80px 0 0 0;
    }
    
    .hero-text {
        font-size: 1em;
        margin-right: 20px;
    }
    
    .cta {
        margin: 80px 20px 0 20px;
    }
    
    .about-section-content {
        gap: 15px;
        padding: 0 10px;
    }
    
    .about-card-right,
    .about-card-center,
    .about-card-left {
        padding: 20px 15px;
    }
    
    .about h1 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .cta button {
        padding: 12px 25px;
        font-size: 1em;
    }
    
    /* Ultra compact navigation for small mobile */
    nav {
        padding: 8px 0;
        margin: 10px 0;
        border-radius: 10px;
    }
    
    .nav-links {
        gap: 8px;
        padding: 0 10px;
    }
    
    .nav-link a {
        font-size: 0.9em;
        padding: 6px 12px;
    }
    
    .nav-cta {
        padding: 6px 15px !important;
        font-size: 0.9em;
    }
}

/* Loading Animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Plans, Reviews, and Contact sections styling */
.plans, .reviews, .contact {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 15px;
    text-align: center;
}

.plans h2, .reviews h2, .contact h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--font-color-main);
}

/* Media Section Specific Styles */
.media {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 15px;
}

.media h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--font-color-main);
    text-align: center;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
    justify-content: center;
    align-items: flex-start;
}

.media-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.media-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-content iframe,
.media-content blockquote {
    border: none;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

/* Source-specific dimensions */
.media-item[data-source="youtube"],
.media-item[data-source="facebook"],
.media-item[data-source="vimeo"] {
    width: 320px;
    height: 180px;
    flex: none;
}

.media-item[data-source="instagram"],
.media-item[data-source="tiktok"] {
    width: 200px;
    height: 300px;
    flex: none;
}

/* Empty state for media */
.media-empty {
    width: 100%;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    text-align: center;
}

/* Responsive media grid */
@media (max-width: 1024px) {
    .media-grid {
        max-width: 800px;
    }
    
    .media-item[data-source="youtube"],
    .media-item[data-source="facebook"],
    .media-item[data-source="vimeo"] {
        width: 280px;
        height: 158px;
    }

    .media-item[data-source="instagram"],
    .media-item[data-source="tiktok"] {
        width: 180px;
        height: 270px;
    }
    
    /* Contact Section Tablet Styles */
    .contact-content {
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    /* Reviews Section Tablet Styles */
    .reviews-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .reviewer-photo {
        width: 50px;
        height: 50px;
    }
    
    .reviewer-name {
        font-size: 1.1em;
    }
    
    .google-reviews-text {
        font-size: 1em;
        gap: 10px;
    }
    
    .google-link {
        padding: 8px 18px;
    }
    
    .google-link-placeholder {
        padding: 8px 18px;
    }
    
    /* QR Code responsive for tablets */
    .qr-code-wrapper {
        padding: 12px;
    }
    
    .whatsapp-qr-code {
        width: 100px;
        height: 100px;
    }
    
    .qr-code-label {
        font-size: 0.8em;
    }
    
    .qr-fallback,
    .qr-loading {
        width: 100px;
        height: 100px;
    }
    
    .qr-retry-btn {
        padding: 5px 10px;
        font-size: 0.65em;
    }
}

@media (max-width: 768px) {
    .media-grid {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }

    .media-item[data-source="youtube"],
    .media-item[data-source="facebook"],
    .media-item[data-source="vimeo"] {
        width: 100%;
        max-width: 400px;
        height: 225px;
    }

    .media-item[data-source="instagram"],
    .media-item[data-source="tiktok"] {
        width: 250px;
        height: 400px;
    }
    .media-item[data-source="tiktok"] {
        width: 250px;
        height: 400px;
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    color: var(--font-color-main);
    border-radius: 15px 15px 0 0;
}

/* Plans Section */
.plans {
    padding: 60px 0;
    position: relative;
    overflow: visible; /* Allow box shadows to extend beyond container */
    min-height: 600px; /* Keep min-height but allow expansion */
}

.plans h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: var(--font-color-main);
    font-weight: 700;
}

.plans-subtitle {
    text-align: center;
    color: white;
    font-size: 1.1em;
    margin-bottom: 50px;
    opacity: 0.9;
}

.plans-carousel {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    min-height: 450px; /* Changed from fixed height to min-height */
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start for better alignment */
    justify-content: center;
    overflow: visible; /* Allow box shadows to extend beyond carousel */
}

.plans-container {
    display: flex;
    gap: 40px;
    transition: transform 1s ease-in-out;
    align-items: flex-start; /* Changed from center to flex-start for better alignment */
    justify-content: center;
    width: max-content;
    position: relative;
    min-height: 450px; /* Add min-height to prevent collapse */
}

.plan-card {
    background: linear-gradient(to bottom left, #f4d4e9, #f6efff);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all 1s ease-in-out;
    text-align: center;
    overflow: visible; /* Changed from hidden to visible */
    word-wrap: break-word; /* Ensure long words break to prevent overflow */
    box-sizing: border-box; /* Include padding in width calculations */
    
    /* Default state - smaller side cards */
    min-width: 250px;
    min-height: 370px; /* Changed from fixed height to min-height */
    opacity: 0.6;
    transform: scale(0.85);
    top: 40px;
}

.plan-card.active-plan {
    /* Active state - larger center card */
    min-width: 350px;
    min-height: 450px; /* Changed from fixed height to min-height */
    opacity: 1;
    transform: scale(1);
    top: 0;
    cursor: default;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 20px; /* Keep reduced padding */
    z-index: 10; /* Higher z-index to show shadow above section container */
}

.plan-card h3 {
    font-size: 1.1em;
    color: var(--cta-color);
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--cta-color);
    padding-bottom: 6px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center; /* Center align the main title */
}

.plan-card.active-plan h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: center; /* Keep center alignment for active state */
}

.plan-icon-wrapper {
    margin-bottom: 12px;
}

.plan-icon {
    width: 35px;
    height: 35px;
    background: var(--cta-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1em;
}

.plan-card.active-plan .plan-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2em;
}

.plan-section {
    margin-bottom: 12px;
    text-align: right;
    opacity: 0.8;
    transform: scale(0.95);
    transition: all 0.5s ease;
    overflow: hidden;
}

.plan-card.active-plan .plan-section {
    opacity: 1;
    transform: scale(1);
    margin-bottom: 16px;
}

.plan-section h4 {
    font-size: 0.8em;
    color: var(--font-color-main);
    margin-bottom: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
    gap: 4px;
    line-height: 1.1;
    word-wrap: break-word; /* Ensure long headings break properly */
    flex-wrap: wrap; /* Allow content to wrap if needed */
}

.plan-card.active-plan .plan-section h4 {
    font-size: 0.95em;
    margin-bottom: 6px;
    gap: 6px;
    word-wrap: break-word; /* Ensure long headings break properly */
    flex-wrap: wrap; /* Allow content to wrap if needed */
}

.plan-section h4 i {
    color: var(--cta-color);
    font-size: 0.9em;
}

.plan-section ul {
    list-style: none;
    padding: 0;
    max-height: 80px; /* Increased from 60px for better content visibility */
    overflow: hidden;
}

.plan-card.active-plan .plan-section ul {
    max-height: none; /* Removed height restriction for active cards */
    overflow: visible; /* Allow all content to be visible */
}

.plan-section li {
    padding: 1px 0;
    color: #555;
    line-height: 1.3;
    position: relative;
    padding-right: 18px;
    font-size: 0.75em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 3px;
    word-wrap: break-word; /* Ensure long words break properly */
}

.plan-card.active-plan .plan-section li {
    padding: 2px 0;
    line-height: 1.4;
    font-size: 0.85em;
    white-space: normal;
    text-overflow: unset;
    overflow: visible;
    margin-bottom: 4px;
    padding-right: 20px;
    word-wrap: break-word; /* Ensure long words break properly */
}

.plan-section li:before {
    content: "•";
    color: var(--cta-color);
    font-weight: bold;
    position: absolute;
    right: 0;
    font-size: 1em;
    top: 0;
}

.plan-placeholder {
    width: 120px;
    min-width: 120px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-prompt {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(247, 112, 99, 0.1);
    border-radius: 15px;
    border: 2px dashed var(--cta-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-prompt p {
    color: var(--font-color-main);
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-prompt .btn {
    background: var(--cta-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-prompt .btn:hover {
    background: #e55a4d;
    transform: translateY(-2px);
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    text-align: right;
}

/* Reviews Section Styles */
.reviews {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 15px;
    text-align: center;
}

.reviews h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--font-color-main);
}

.reviews-subtitle {
    font-size: 1.1em;
    color: var(--font-color-main);
    margin-bottom: 40px;
    opacity: 0.8;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.reviewer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--main-bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    color: white;
    font-size: 24px;
}

.reviewer-info {
    flex: 1;
    text-align: right;
}

.reviewer-name {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--font-color-main);
}

.rating {
    display: flex;
    gap: 3px;
    justify-content: flex-end;
}

.rating .fa-star {
    font-size: 14px;
}

.rating .fa-star.filled {
    color: #ffd700;
}

.rating .fa-star.empty {
    color: #ddd;
}

.review-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--font-color-main);
    font-style: italic;
}

.review-text p {
    margin: 0;
}

.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--font-color-main);
}

.no-reviews-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-reviews h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.no-reviews p {
    font-size: 1.1em;
    opacity: 0.7;
}

/* Google Reviews Link */
.google-reviews-link {
    margin-top: 40px;
    text-align: center;
}

.google-reviews-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    color: var(--font-color-main);
    font-weight: 500;
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: #5f6368;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.google-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.google-logo {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.google-link:hover .google-logo {
    transform: scale(1.1);
}

.google-link-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 25px;
    color: #9AA0A6;
    font-weight: 600;
    border: 1px solid #e8eaed;
    opacity: 0.7;
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
}

.google-link-placeholder small {
    font-size: 0.75em;
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

.contact-method .contact-icon {
    font-size: 2.5em;
    color: var(--cta-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--font-color-main);
}

.contact-method p {
    color: var(--font-color-main);
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.contact-value {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--font-color-main);
    margin-bottom: 10px;
}

.contact-btn {
    background: var(--cta-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: #e55a4d;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25d366;
    width: 100%;
    max-width: 250px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
}

.whatsapp-btn:hover {
    background: #1ea952;
}

/* QR Code Styles */
.qr-code-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    min-height: 160px; /* Ensure container has minimum height */
}

.qr-code-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    border: 2px solid rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    min-height: 140px; /* Ensure wrapper has minimum height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-code-wrapper:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-qr-code {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 2px solid #25d366;
    background: white;
    padding: 5px;
}

.qr-code-label {
    margin-top: 10px;
    font-size: 0.85em;
    color: var(--font-color-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.qr-code-label i {
    color: #25d366;
}

.qr-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 10px;
    border: 2px dashed #25d366;
}

.qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 10px;
    border: 2px solid #25d366;
}

.qr-retry-btn {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.7em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qr-retry-btn:hover {
    background: #1ea952;
    transform: translateY(-1px);
}

.qr-retry-btn:active {
    transform: translateY(0);
}

.qr-retry-btn i {
    font-size: 0.8em;
}

/* Desktop/Mobile display controls */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--font-color-main);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
    max-width: 250px;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.no-social {
    color: var(--font-color-main);
    opacity: 0.7;
    font-style: italic;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
}

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

.contact-form-header .contact-icon {
    font-size: 2.5em;
    color: var(--cta-color);
    margin-bottom: 15px;
}

.contact-form-header h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--font-color-main);
}

.contact-form-header p {
    color: var(--font-color-main);
    opacity: 0.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: right;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--font-color-main);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--font-color-main);
    font-size: 1em;
    font-family: "Assistant", sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cta-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(247, 112, 99, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(34, 34, 34, 0.6);
}

.form-validation-message {
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-validation-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-validation-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-note {
    font-size: 0.9em;
    color: #666;
    margin: -10px 0 15px 0;
    font-style: italic;
    text-align: center;
}

.submit-btn {
    background: var(--cta-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    min-height: 50px;
}

.submit-btn:hover:not(:disabled) {
    background: #e55a4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 112, 99, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Plans */
@media (max-width: 1100px) {
    .plans-container {
        gap: 30px;
    }
    
    .plan-card {
        min-width: 220px;
        height: 300px;
        padding: 18px;
    }
    
    .plan-card.active-plan {
        min-width: 300px;
        height: 380px;
        padding: 22px;
    }
    
    .plan-card h3 {
        font-size: 1em;
        margin-bottom: 12px;
        text-align: right;
    }
    
    .plan-card.active-plan h3 {
        font-size: 1.3em;
    }
    
    .plan-section h4 {
        font-size: 0.75em;
    }
    
    .plan-card.active-plan .plan-section h4 {
        font-size: 0.9em;
    }
    
    .plan-section li {
        font-size: 0.7em;
        margin-bottom: 2px;
        padding-right: 15px;
    }
    
    .plan-card.active-plan .plan-section li {
        font-size: 0.8em;
        margin-bottom: 3px;
        padding-right: 18px;
    }
    
    .plan-placeholder {
        width: 80px;
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .plans {
        padding: 60px 0; /* Allow dynamic height, no min-height restriction */
    }
    
    .plans-carousel {
        width: 100%;
        padding: 0 15px;
        overflow: visible;
    }
    
    .plans h2 {
        font-size: 2em;
        margin-bottom: 15px;
    }
    
    .plans-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    
    .plans-container {
        gap: 20px;
        align-items: flex-start;
    }
    
    .plan-card {
        min-width: 180px;
        width: auto;
        padding: 15px;
        overflow: visible;
        box-sizing: border-box;
        height: auto !important;
        max-height: none !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .plan-card.active-plan {
        min-width: 240px;
        width: auto;
        padding: 18px;
        height: auto !important;
        max-height: none !important;
    }
    
    .plan-card h3,
    .plan-card.active-plan h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
        text-align: right;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .plan-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
    
    .plan-card.active-plan .plan-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1em;
    }
    
    .plan-section {
        margin-bottom: 8px;
    }
    
    .plan-card.active-plan .plan-section {
        margin-bottom: 12px;
    }
    
    .plan-section h4,
    .plan-card.active-plan .plan-section h4 {
        font-size: 0.8em;
        margin-bottom: 4px;
        word-wrap: break-word;
        white-space: normal;
        flex-wrap: wrap;
    }
    
    .plan-section ul,
    .plan-card.active-plan .plan-section ul {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .plan-section li,
    .plan-card.active-plan .plan-section li {
        font-size: 0.7em;
        padding-right: 15px;
        margin-bottom: 2px;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.3;
    }
    
    .plan-placeholder {
        width: 40px;
        min-width: 40px;
    }
}

@media (max-width: 560px) {
    .plans-carousel {
        width: 100%;
        padding: 0 10px;
        overflow: visible;
    }
    .plans-container {
        gap: 15px;
        width: max-content;
        justify-content: flex-start;
        touch-action: pan-x;
        cursor: grab;
        align-items: flex-start;
    }
    .plans-container:active {
        cursor: grabbing;
    }
    .plan-card {
        min-width: 160px;
        width: auto;
        padding: 12px;
        flex-shrink: 0;
        overflow: visible;
        box-sizing: border-box;
        height: auto !important;
        max-height: none !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .plan-card.active-plan {
        min-width: 200px;
        width: auto;
        padding: 15px;
        height: auto !important;
        max-height: none !important;
    }
    .plan-card h3,
    .plan-card.active-plan h3 {
        font-size: 0.95em;
        margin-bottom: 10px;
        text-align: right;
        word-wrap: break-word;
        white-space: normal;
    }
    .plan-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }
    .plan-card.active-plan .plan-icon {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
    .plan-section {
        margin-bottom: 6px;
    }
    .plan-card.active-plan .plan-section {
        margin-bottom: 10px;
    }
    .plan-section h4,
    .plan-card.active-plan .plan-section h4 {
        font-size: 0.8em;
        margin-bottom: 4px;
        word-wrap: break-word;
        white-space: normal;
        flex-wrap: wrap;
    }
    .plan-section ul,
    .plan-card.active-plan .plan-section ul {
        max-height: none !important;
        overflow: visible !important;
    }
    .plan-section li,
    .plan-card.active-plan .plan-section li {
        font-size: 0.7em;
        padding-right: 12px;
        margin-bottom: 2px;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.3;
    }
    .plan-placeholder {
        display: none;
    }
    .contact-prompt {
        margin-top: 30px;
        padding: 20px;
    }
    /* Contact Section Mobile Styles */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Reviews Section Mobile Styles */
    .reviews {
        padding: 40px 0;
    }
    
    .reviews h2 {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .reviews-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .review-header {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .reviewer-photo {
        width: 45px;
        height: 45px;
    }
    
    .reviewer-name {
        font-size: 1em;
    }
    
    .rating .fa-star {
        font-size: 13px;
    }
    
    .review-text {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .google-reviews-link {
        margin-top: 30px;
    }
    
    .google-reviews-text {
        flex-direction: column;
        gap: 12px;
        font-size: 1em;
    }
    
    .google-link {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .google-link-placeholder {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .google-link-placeholder small {
        font-size: 0.7em;
    }
    .contact-methods {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    .contact-method {
        padding: 20px;
        max-width: 350px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* ...existing code... */
    /* (removed stray align-items: center;) */
    
    .contact-method .contact-value,
    .contact-method .social-links,
    .contact-method .whatsapp-btn {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-method .contact-icon {
        font-size: 2em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 10px 0;
    }
    
    .mobile-contact-action {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .mobile-whatsapp-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        color: var(--font-color-main);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
        width: 250px;
        justify-content: center;
    }

    .social-links {
        gap: 10px;
        align-items: center;
    }
    
    .social-link {
        padding: 12px 20px;
        font-size: 1.1em;
        border-radius: 25px;
        width: 250px;
        justify-content: center;
        margin: 0 auto;
    }
    
    /* Hide QR code on mobile */
    .qr-code-container {
        display: none;
    }
}
