/* General Body Styles */
body {
    background-color: #021D13;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Background Grid and Gradient */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0D1A1A;
    background-image:
        linear-gradient(rgba(20, 36, 36, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 36, 36, 0.8) 1px, transparent 1px);
    background-size: 50px 50px;
}

.background-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at 25%, rgba(30, 80, 60, 0.2) 0%, rgba(13, 26, 26, 0) 40%);
}

/* Main container */
.order-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.order-wrapper {
    display: flex;
    width: 100%;
    gap: 0;
    align-items: start;
}

.left-panel, .right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Left Panel */
.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    flex: 1;
    min-width: 0; /* Prevents flexbox overflow */
    margin-top: 1rem !important;
    overflow: hidden;
}

.phone-showcase {
    position: relative;
    width: 100%;
    max-width: 550px; 
    flex-direction: column;
    margin: 0 20px;
}

.phone-showcase img {
    width: 100%;
    height: auto;
}
.decorative-element.heart {
    position: absolute;
    top: 20%;
    right: 3%;
    z-index: 10;
}

.google-review {
    transform: none;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* spacing between elements */
    z-index: 10;
    padding: 0.5rem 1rem;
    background: rgba(13, 26, 26, 0.7);
    border: 1px solid #1c3c34;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    width: fit-content;
    margin: 20px;
}

.google-review .google-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0d1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.google-review .google-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.google-review .stars {
    display: flex;
    gap: 0.25rem;
}

.google-review .stars .feather {
    width: 22px;
    height: 22px;
    stroke-width: 0;
}

.google-review .stars .filled {
    fill: #f4c20d; /* Google's yellow */
}

.google-review .review-text {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
}

.right-column {
    display: flex;
    flex-direction: column;
    margin: 40px 40px 0 0;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #e5f5e5;
    animation: fadeInBlur 1s ease-out 0.3s forwards;
    opacity: 0;
    text-align: center;
}

@keyframes fadeInBlur {
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.animated-words-container {
    color: #C0CE69;
    display: inline-grid;
    vertical-align: top;
    text-align: left;
    height: 40px;
}

.animated-word {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    filter: blur(4px);
    animation: reveal-blur 27s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.animated-word .feather {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

@keyframes reveal-blur {
    0% { opacity: 0; filter: blur(4px); transform: translateY(15px); }
    2% { opacity: 1; filter: blur(0px); transform: translateY(0); }
    11% { opacity: 1; filter: blur(0px); transform: translateY(0); }
    13% { opacity: 0; filter: blur(4px); transform: translateY(-15px); }
    100% { opacity: 0; }
}

.animated-word:nth-child(2) { animation-delay: 3s; }
.animated-word:nth-child(3) { animation-delay: 6s; }
.animated-word:nth-child(4) { animation-delay: 9s; }
.animated-word:nth-child(5) { animation-delay: 12s; }
.animated-word:nth-child(6) { animation-delay: 15s; }
.animated-word:nth-child(7) { animation-delay: 18s; }
.animated-word:nth-child(8) { animation-delay: 21s; }
.animated-word:nth-child(9) { animation-delay: 24s; }

.right-panel {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
}
.right-panel h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.right-panel .order-form h4 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.form-option-selector {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}
.product-options .option {
    flex: 1;
    display: flex;
}

.product-options input[type="radio"] {
    display: none;
}

.product-options label.option-card {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    border: 2px solid #bfc981;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    align-items: start;
    gap: 0.15rem;
    width: 100%;
}
.product-options label.option-card:hover {
    border-color: #d6df84;
}

.product-options input[type="radio"]:checked + label.option-card {
    background-color: rgb(38 42 5);
    border-color: #677111;
}
.product-options input[type="radio"] + label.option-card .option-icon,
.product-options input[type="radio"] + label.option-card .option-icon svg path {
    color: #262a05;
    fill: #262a05;
}
.product-options input[type="radio"]:checked + label.option-card .option-icon,
.product-options input[type="radio"]:checked + label.option-card .option-icon svg path {
    color: #dbff00;
    fill: #dbff00;
}

.option-card .option-text {
    display: flex;
    flex-direction: column;
}

.option-card h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    margin-top: 0;
    color: #343a40;
    font-size: 1rem;
}
.price-container {
    display: block;
    font-size: 28px;
}
.option-card .option-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.option-card span {
    font-size: 0.875rem;
    color: #555;
}
.product-options input[type="radio"]:checked + label.option-card span {
    color: #e8f0b4;
}
.product-options input[type="radio"]:checked + label.option-card h5 {
    color: #dbf053;
}

.form-group {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group label {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #252a06;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.input-wrapper .feather {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #868e96;
    width: 20px;
    height: 20px;
    z-index: 4;
}


.form-group input,
.form-group select {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 3rem; /* Add padding for icon */
    color: #212529;
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #C0CE69;
    box-shadow: 0 0 0 0.25rem rgba(192, 206, 105, 0.25);
    outline: none;
}

.form-group input::placeholder {
    color: #adb5bd;
}
.quantity-summary-wrapper {
    width: 100%;
}
.quantity-control {
    display: flex;
    align-items: stretch;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    justify-content: space-between;
    width: 100%;
    height: 52px;
}
.quantity-control button {
    background: transparent;
    border: none;
    color: #495057;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}
.quantity-control button:hover {
    background-color: #f1f3f5;
}

button#quantity-minus{
    border-right: 1px solid #ced4da;
}
button#quantity-plus{
    border-left: 1px solid #ced4da;
}
.quantity-control input,
.quantity-control input.form-control {
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: #212529;
    padding: 0 0.5rem;
    width: 100%;
    height: 100%;
    box-shadow: none;
    -moz-appearance: textfield;
}

.quantity-control input.form-control::-webkit-inner-spin-button, 
.quantity-control input.form-control::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Summary Section */
.summary-box {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    color: #343a40;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    justify-content: center;
    height: 100%;
    min-height: 108px;
}
.form-group {
    justify-content: flex-start;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-total {
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    background: #dbf053;
    border: none;
    border-radius: 16px;
    color: #0f1104;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: start;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #0f1104;
    line-height: 1.4;
}
.submit-btn svg {
    stroke: #0f1104;
}
.submit-btn:hover {
    background-color: #0f1104;
    color: #dbf053;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 223, 132, 0.4);
}
.submit-btn:hover svg {
    stroke: #dbf053;
}
/* Arabic label styles */
.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.form-group label .arabic-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #252a06;
    text-transform: none;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
}

.submit-btn #submit-btn-text {
    display: inline-block;
}

.submit-btn .arabic-label-btn {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    opacity: 0.85;
}

/* Validation Tooltip Styles */
.validation-tooltip {
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d9534f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
    width: max-content;
    max-width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.validation-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.validation-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #d9534f transparent transparent transparent;
}

.validation-tooltip .lang-fr {
    display: block;
    font-weight: 600;
}

.validation-tooltip .lang-ar {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
    margin-top: 4px;
}

/* Success page */
.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
}
.success-card {
    background-color: rgba(16, 28, 28, 0.8);
    border: 1px solid #1c3c34;
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    max-width: 600px;
}
.success-card h1 {
    color: #c3e8c3;
    font-size: 2.5rem;
}
.success-card p {
    color: #a0b0a8;
    font-size: 1.1rem;
}


/* Select2 overrides */
.select2-container {
    width: 100% !important;
    height: 52px;
}
.form-group .select2-container--bootstrap-5 .select2-selection {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem 0.75rem 3rem !important;
    color: #212529 !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 1rem;
}
.select2-container--bootstrap-5 .select2-selection--single {
    height: 52px !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #212529 !important;
    line-height: 1.5 !important;
    padding-left: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 1rem !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
     background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 12px;
}
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.select2-container--bootstrap-5 .select2-results__option {
    color: #343a40 !important;
    padding-left: 1rem;
}

.select2-container--bootstrap-5 .select2-results__option .text-muted {
    color: #6c757d !important;
}

.select2-container--bootstrap-5 .select2-results__option .feather {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    color: #868e96;
}

.form-group .select2-container--bootstrap-5 .select2-selection__rendered .feather {
    color: #868e96 !important;
    margin-right: 0.75rem;
    height: 20px;
    width: 20px;
    flex-shrink: 0;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #f1f3f5 !important;
    color: #212529 !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #C0CE69 !important;
    box-shadow: 0 0 0 0.25rem rgba(192, 206, 105, 0.25) !important;
} 
.option-text h5 {
    font-size: 13px;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 4rem 0;
    overflow: hidden;
}

.trusted-by-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(95.75deg, #D6DF84 37.28%, #B8DF84 64.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-end));
    }
}

.logo-slider {
    width: 100%;
    height: 280px;
    overflow: visible; 
    position: relative;
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.logo-slider::before,
.logo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #021D13 0%, rgba(2, 29, 19, 0) 100%);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #021D13 0%, rgba(2, 29, 19, 0) 100%);
}

.logo-slider .logo-slider-track {
    --scroll-end: calc(-244px * 6 - 60px * 6);
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

.logo-slider .logo-slide {
    width: 244px;
    height: 244px;
    margin-right: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: radial-gradient(120.42% 120.42% at -23.69% 111.6%, rgba(255, 255, 255, 0) 14.92%, rgba(6, 30, 21, 0.2) 100%), radial-gradient(98.2% 98.2% at -12.09% 8.82%, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.2) 100%), rgba(0, 26, 17, 0.5);
    border: 1px solid #2a4a40;
    backdrop-filter: blur(4.05px);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.logo-slider .logo-slide:hover {
    border: 1px solid #C0CE69;
}

.logo-slider .logo-slide img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    text-align: center;
}

.feature-card {
    width: 100%;
    height: 600px;
    border-radius: 16px;
    background-size: cover;
    background-position: bottom;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    overflow: hidden;
}

.feature-card-content {
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #F0E7D0;
}

.feature-card p {
    font-size: 1rem;
    max-width: 100%;
    color: #F0E7D0;
    font-weight: 400;
}


/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(95.75deg, #D6DF84 37.28%, #B8DF84 64.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0b0a8;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: center;
    padding: 0 1rem;
}

.comparison-card {
    border: 1px solid rgba(67, 212, 128, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: bottom;
    box-shadow: 0 0 15px rgba(67, 212, 128, 0.1);
    min-height: 750px;
    text-align: left;
}

.comparison-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #F0E7D0;
}

.comparison-card ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    list-style-position: outside;
    flex-grow: 1;
}

.comparison-card ul li {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.comparison-card ul.features-list {
    list-style: none;
    padding-left: 0;
}

.comparison-card ul.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-checkmark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-color: #34A853;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(52, 168, 83, 0.7);
}

.custom-checkmark::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.comparison-card ul.features-list .feather {
    color: #43D480;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(67, 212, 128, 0.7));
}

.comparison-image-wrapper {
    margin-top: auto;
    text-align: center;
}

.comparison-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 3rem;
    background: #dbf053;
    border: none;
    border-radius: 8px;
    color: #0f1104;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #0f1104;
}

.cta-button:hover {
    background-color: #0f1104;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 206, 105, 0.4);
    color: #dbf053;
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    overflow: hidden;
    text-align: center;
}

.testimonial-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(95.75deg, #D6DF84 37.28%, #B8DF84 64.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1rem;
}

.testimonial-container {
    position: relative;
    width: 100%;
}

.testimonial-slider {
    overflow: visible;
    padding: 20px 0;
    position: relative;
}

#testimonial-video-carousel .splide__track {
    align-items: center; /* Vertically center slides */
}

/* Mobile-specific testimonial adjustments */
@media (max-width: 767px) {
    .testimonial-container {
        overflow: visible; /* Ensure videos are visible */
        padding: 0 10px; /* Add some padding on mobile */
    }
    
    #testimonial-video-carousel {
        overflow: visible;
        height: 500px; /* Match the height from JS config */
    }
    
    #testimonial-video-carousel .splide__track {
        overflow: visible;
        padding-left: 5% !important;
        padding-right: 5% !important;
        height: 100%; /* Take full height of parent */
    }
    
    #testimonial-video-carousel .splide__list {
        height: 100%; /* Ensure list takes full height */
        align-items: center; /* Center slides vertically */
    }
}

.testimonial-card {
    position: relative;
    width: 100%; /* Take up the space given by splide's perPage */
    max-width: 320px; /* But don't get too wide */
    height: 570px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-color: #0D1A1A;
    flex-shrink: 0;
    transition: box-shadow 0.4s ease;
    user-select: none;
    margin: 0 auto; /* Center in the column */
}

/* Add specific spacing to the splide slides */
#testimonial-video-carousel .splide__slide {
    padding: 0 1rem; /* Add horizontal padding for spacing */
}

/* Adjust for when multiple slides are visible */
#testimonial-video-carousel.is-overflow .splide__slide {
    padding: 0 1.5rem;
}

/* Ensure proper spacing and visibility for multiple slides */
#testimonial-video-carousel .splide__track {
    padding: 0 2rem; /* Add padding to show partial slides on edges */
}

/* Style for non-active slides to create visual hierarchy */
#testimonial-video-carousel .splide__slide:not(.is-active) {
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

#testimonial-video-carousel .splide__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

/* .testimonial-card.is-active - No special scaling needed for this design */

/* Scale up video slightly on hover/play for feedback */
.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-card.is-playing {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(192, 206, 105, 0.4);
}



/* Mobile specific styling */
@media (max-width: 767px) {
    .testimonial-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        max-width: none; /* Remove max-width restriction on mobile */
        width: 100%; /* Take full width of the container */
        height: 500px;
    }
    
    #testimonial-video-carousel .splide {
        padding: 10px 0;
    }
    
    #testimonial-video-carousel .splide__slide {
        width: 100% !important; /* Override inline styles */
        height: 100% !important; /* Take full height of track */
        display: flex; /* Ensure proper layout */
        align-items: center; /* Center content vertically */
        justify-content: center; /* Center content horizontally */
        padding: 0 0.5rem; /* Smaller padding on mobile */
    }
    
    /* Reset transforms on mobile since only one slide is visible */
    #testimonial-video-carousel .splide__slide:not(.is-active) {
        opacity: 1;
        transform: none;
    }

    .right-column {
        margin: 0 15px;
    }

    .main-title {
        font-size: 1.8rem;
        margin-top: 20px;
        margin-bottom: 0.5rem;
    }
    .splide__slide{
        height: auto !important; /* Let card height dictate slide height */
    }
    .comparison-card{
        background-position: top;
        padding-bottom: 130px !important;
    }
    
    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
    
    .right-panel {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .form-option-selector {
        flex-direction: column;
    }

    .trusted-by-section {
        padding: 2.5rem 0;
    }
    .trusted-by-title {
        font-size: 2.2rem;
    }
    .logo-slider {
        height: 120px;
    }
    .logo-slider::before, .logo-slider::after {
        width: 75px;
    }
    .logo-slider .logo-slider-track {
        --scroll-end: calc(-120px * 6 - 30px * 6);
        animation-duration: 35s;
    }
    .logo-slider .logo-slide {
        width: 120px;
        height: 120px;
        margin-right: 30px;
    }
}

/* Navigation buttons */
.splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(192, 206, 105, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.splide__arrow svg {
    fill: #C0CE69;
    width: 20px;
    height: 20px;
}

.splide__arrow:hover {
    background-color: rgba(192, 206, 105, 0.4);
}
.splide__arrow--prev {
    left: 10px;
}

.splide__arrow--next {
    right: 10px;
}

/* --- Arrow Visibility --- */

/* Hero arrows are always visible */
#hero-video-carousel .splide__arrows {
    display: flex;
}

/* Hide testimonial arrows by default on smaller screens */
#testimonial-video-carousel .splide__arrows {
    display: none;
}

/* Show testimonial arrows only on desktop */
@media (min-width: 1024px) {
    #testimonial-video-carousel .splide__arrows {
        display: flex;
    }
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #0a1414;
}

/* Ensure video displays properly on mobile */
@media (max-width: 767px) {
    .testimonial-video {
        object-fit: cover;
        object-position: center;
    }
}

/* Loading state for videos */
.testimonial-card:not(.video-loaded) .testimonial-video {
    background: linear-gradient(135deg, #0a1414 0%, #1c3c34 50%, #0a1414 100%);
    background-size: 200% 200%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, transparent 60%);
    transition: background-color 0.3s ease;
}

.testimonial-card:hover .testimonial-overlay {
    background-color: rgba(0,0,0,0.2);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.testimonial-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.testimonial-user span {
    font-weight: 600;
}

.testimonial-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.testimonial-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
}

.testimonial-play-btn .icon-pause {
    display: none;
}

.testimonial-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-card.is-playing .testimonial-play-btn {
    opacity: 0;
}

.testimonial-card.is-playing:hover .testimonial-play-btn {
    opacity: 1;
}

.testimonial-card.is-playing .testimonial-play-btn .icon-play {
    display: none;
}
.testimonial-card.is-playing .testimonial-play-btn .icon-pause {
    display: block;
}

.testimonial-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    display: flex;
    gap: 0.5rem;
}

.testimonial-sound-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card.is-playing .testimonial-sound-btn {
    opacity: 1;
}

.testimonial-sound-btn .icon-muted {
    display: none;
}
.testimonial-sound-btn.is-muted .icon-unmuted {
    display: none;
}
.testimonial-sound-btn.is-muted .icon-muted {
    display: block;
}

/* Guarantee Section */
.guarantee-section {
    padding: 4rem 0;
}

.guarantee-card {
    background-color: #081410;
    border: 1px solid #1c3c34;
    border-radius: 24px;
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    color: #fff;
}

.guarantee-content {
    flex: 1;
}

.guarantee-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F0E7D0;
}

.guarantee-content p {
    font-size: 1.1rem;
    color: #a0b0a8;
    max-width: 95%;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.guarantee-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.guarantee-content ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.guarantee-content ul .feather {
    color: #C0CE69;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.cta-button-guarantee {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #0d1a1a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button-guarantee:hover {
    background-color: transparent;
    color: #e0e0e0;
}

.guarantee-icon {
    flex-shrink: 0;
}

.guarantee-icon .feather {
    width: 120px;
    height: 120px;
    color: #e0e0e0;
    stroke-width: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: rgba(16, 28, 28, 0.5);
    border: 1px solid #1c3c34;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(22, 38, 38, 0.7);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-question .feather {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #C0CE69;
}

.faq-item.active .faq-question .feather {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #a0b0a8;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.faq-answer p:first-child {
    padding-top: 0;
}

.faq-answer strong {
    color: #e5f5e5;
    font-weight: 600;
}

/* Support Section */
.support-section {
    padding: 2rem 0 4rem;
}

.support-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(16, 28, 28, 0.5);
    border: 1px solid #1c3c34;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.support-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #F0E7D0;
}

.support-content p {
    margin: 0;
    color: #a0b0a8;
    max-width: 400px;
}

.support-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: #25D366;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.support-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.support-button .whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* Responsive for support card */
@media (max-width: 767px) {
    .support-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .support-content p {
        margin: 0 auto;
    }
}

.video-carousel-container {
    position: relative;
    width: 100%;
    perspective: 1500px;
}

#hero-video-carousel.splide {
    width: 100%;
    height: 100%;
}

#hero-video-carousel .splide__track {
    overflow: visible;
}

#hero-video-carousel .splide__slide {
    max-width: 340px;
    height: 580px;
    margin: 0 auto; /* Center the slide in its given space */
    border-radius: 40px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: opacity 0.6s ease; /* Mobile-first transition */
}

/* On mobile, just fade the non-active slides */
#hero-video-carousel .splide__slide:not(.is-active) {
    opacity: 0.5;
}

#hero-video-carousel .splide__slide.is-active {
    opacity: 1;
    z-index: 1;
}

/* On desktop, add the scaling effect */
@media (min-width: 1024px) {
    #hero-video-carousel .splide__slide {
        transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
    }
    #hero-video-carousel .splide__slide:not(.is-active) {
        transform: scale(0.85);
    }
    #hero-video-carousel .splide__slide.is-active {
        transform: scale(1);
    }
}

#hero-video-carousel .splide__slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #000;
}

.carousel-video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#hero-video-carousel .splide__slide .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 30%);
    opacity: 1;
    padding-bottom: 50px; /* Space for sound button */
}

#hero-video-carousel .splide__slide .video-overlay .play-pause-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#hero-video-carousel .splide__slide:hover .play-pause-btn,
#hero-video-carousel .splide__slide:not(.is-playing) .play-pause-btn {
    opacity: 1;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(192, 206, 105, 0.4), 0 0 10px rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(192, 206, 105, 0.7), 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    animation: subtle-glow 2.5s infinite ease-in-out;
    transition: width 0.4s ease-in-out;
    white-space: nowrap;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn .sound-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.4s ease-in-out, opacity 0.4s ease-in-out;
    margin-left: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes expand-and-fade {
    0%, 100% {
        max-width: 0;
        opacity: 0;
        margin-left: 0;
    }
    30%, 70% {
        max-width: 180px;
        opacity: 1;
        margin-left: 8px;
    }
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn.is-muted .sound-text {
    animation: expand-and-fade 4s ease-in-out forwards;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn.is-muted {
    width: auto;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn .icon-unmuted {
    display: inline-block;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn .icon-muted {
    display: none;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn.is-muted .icon-unmuted {
    display: none;
}

#hero-video-carousel .splide__slide .video-overlay .sound-control-btn.is-muted .icon-muted {
    display: inline-block;
}

#hero-video-carousel .splide__slide .play-pause-btn .icon-pause {
    display: none;
}

#hero-video-carousel .splide__slide.is-playing .play-pause-btn .icon-play {
    display: none;
}

#hero-video-carousel .splide__slide.is-playing .play-pause-btn .icon-pause {
    display: inline-block;
}

/* Stats Showcase */
.stats-showcase {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 20px;
}

.stat-item {
    background-color: rgba(28, 60, 52, 0.25);
    border: 1px solid rgba(192, 206, 105, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    min-width: 180px;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item .feather {
    width: 32px;
    height: 32px;
    color: #C0CE69;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number,
.stat-number-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e5f5e5;
    line-height: 1.2;
}

.stat-description {
    font-size: 0.9rem;
    color: #a0b0a8;
}

@media (max-width: 992px) {
    .order-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .left-panel, .right-column {
        width: 100%;
        max-width: 600px;
        padding: 0 1rem;
    }
    .summary-box{
        padding: 7px 10px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.6rem;
    }
    .animated-words-container {
        height: 32px;
    }

    .row>* {
        padding-right: calc(var(--bs-gutter-x) * .25);
        padding-left: calc(var(--bs-gutter-x) * .25);
    }
}

.mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 26, 26, 0.9);
    padding: 0.75rem 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    border-top: 1px solid #1c3c34;
    justify-content: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-cta-bar .cta-button {
    margin: 0;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

@media (max-width: 767px) {
    body {
        /* Add padding to prevent content from being hidden behind the bar */
        /* padding-bottom: 80px; */
    }
}

@media (max-width: 1023px) {
    .section-subtitle {
        font-size: 1rem;
    }
    .cta-button {
        margin-top: 2rem;
    }
    
    .guarantee-section {
        padding: 3rem 0;
    }

    .guarantee-card {
        padding: 2rem;
    }

    .guarantee-content h3 {
        font-size: 1.8rem;
    }

    .guarantee-content p {
        font-size: 1rem;
    }

    .guarantee-content ul {
        margin-bottom: 2rem;
    }

    .guarantee-content ul li {
        font-size: 0.9rem;
        text-align: left; /* Keep list items aligned left even when card is centered */
    }

    .comparison-card {
        padding: 2rem;
    }

    .comparison-card h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .comparison-card ul li {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.6rem;
    }
    .animated-words-container {
        height: 32px;
    }

    .row>* {
        padding-right: calc(var(--bs-gutter-x) * .25);
        padding-left: calc(var(--bs-gutter-x) * .25);
    }
}

@media (max-width: 767px) {
    .guarantee-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
        gap: 2rem;
    }

    .guarantee-icon {
        order: -1; /* Move icon to the top */
    }

    .guarantee-icon .feather {
        width: 80px;
        height: 80px;
    }

    .comparison-card {
        min-height: auto;
    }
}

/* Parallax Gallery Section */
.parallax-gallery-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
}

.gallery-text-content {
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

.parallax-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 900px;
    perspective: 1000px;
}

.gallery-item {
    position: absolute;
    aspect-ratio: auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    padding: 10px;
    border: 1px solid rgba(192, 206, 105, 0.2);
    background: rgba(28, 60, 52, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change: transform, filter;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.size-1 { width: 24%; height: 38%; }
.gallery-item.size-2 { width: 20%; height: 45%; }
.gallery-item.size-3 { width: 18%; height: 28%; }

.gallery-item.pos-1 { top: 0%; left: 8%; }
.gallery-item.pos-2 { top: 10%; left: 70%; }
.gallery-item.pos-3 { top: 45%; left: 40%; }
.gallery-item.pos-4 { top: 58%; left: 12%; }
.gallery-item.pos-5 { top: 55%; left: 75%; }
.gallery-item.pos-6 { top: 0%; left: 45%; }
.gallery-item.pos-7 { top: 40%; left: 0%; }
.gallery-item.pos-8 { top: 20%; left: 28%; }
.gallery-item.pos-9 { top: 65%; left: 55%; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.08);
}

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

@media (max-width: 992px) {
    .parallax-gallery-container {
        position: relative;
        width: 100%;
        height: 150vh; /* Taller container for vertical scroll */
        overflow: visible;
        padding: 2rem 1rem;
    }
    
    /* Fade out the section at the bottom to merge with the fixed background */
    .parallax-gallery-section {
        position: relative;
        -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    }

    .gallery-item {
        position: absolute !important;
        height: auto;
        flex-shrink: 0;
        border-radius: 20px;
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
        filter: blur(0px);
    }
    
    /* Depth-based positioning with clear visual hierarchy */
    
    /* BACKGROUND LAYER - Smaller, blurry images */
    .gallery-item.pos-1 { 
        top: 8%; left: 15%; 
        width: 35%; /* Smaller */
        aspect-ratio: 3/4;
        transform: rotate(-3deg) scale(0.9); 
        z-index: 1;
        opacity: 0.8;
    }
    .gallery-item.pos-3 { 
        top: 45%; left: 5%; 
        width: 38%; /* Smaller */
        aspect-ratio: 1/1;
        transform: rotate(-4deg) scale(0.9); 
        z-index: 1;
        opacity: 0.8;
    }
    .gallery-item.pos-5 { 
        top: 78%; left: 20%; 
        width: 32%; /* Smaller */
        aspect-ratio: 3/4;
        transform: rotate(-2deg) scale(0.85); 
        z-index: 1;
        opacity: 0.75;
    }
    
    /* MID-GROUND LAYER - Medium size, slight blur */
    .gallery-item.pos-7 { 
        top: 88%; right: 18%; 
        width: 42%; /* Medium */
        aspect-ratio: 5/4;
        transform: rotate(-3deg); 
        z-index: 3;
        opacity: 0.9;
    }
    .gallery-item.pos-9 { 
        top: 95%; left: 50%; /* Moved up from 105% */
        width: 40%; /* Medium */
        aspect-ratio: 4/5;
        transform: rotate(-4deg); 
        z-index: 3;
        opacity: 0.9;
    }
    
    /* FOREGROUND LAYER - Larger, clear images */
    .gallery-item.pos-2 { 
        top: 15%; right: 10%; 
        width: 48%; /* Larger */
        aspect-ratio: 4/5;
        transform: rotate(2deg) scale(1.05); 
        z-index: 5;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .gallery-item.pos-4 { 
        top: 50%; right: 8%; 
        width: 50%; /* Larger */
        aspect-ratio: 4/3;
        transform: rotate(3deg) scale(1.05); 
        z-index: 6;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .gallery-item.pos-6 { 
        top: 30%; left: 25%; 
        width: 45%; /* Larger */
        aspect-ratio: 1/1;
        z-index: 7;
        transform: rotate(4deg) scale(1.08); 
        box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    }
    .gallery-item.pos-8 { 
        top: 65%; left: 30%; 
        width: 52%; /* Larger */
        aspect-ratio: 3/4;
        z-index: 8;
        transform: rotate(2deg) scale(1.1); 
        box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    }
    
    /* Add data attributes for depth */
    .gallery-item[data-depth="back"] {
        filter: blur(3px);
    }
    .gallery-item[data-depth="mid"] {
        filter: blur(1px);
    }
    .gallery-item[data-depth="front"] {
        filter: blur(0px);
    }
    
    /* Blur classes for depth effect */
    .gallery-item.blur-light {
        filter: blur(2px);
    }
    .gallery-item.blur-medium {
        filter: blur(4px);
    }
    .gallery-item.blur-heavy {
        filter: blur(6px);
    }
    
    .gallery-item img {
        border-radius: 15px;
    }
    
    .gallery-item {
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .parallax-gallery-section {
        padding: 3rem 0;
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    }
    .parallax-gallery-container {
        height: 180vh; /* Even taller on very small screens */
        padding: 1rem 0.5rem;
    }
    
    /* Adjust positions for very small screens with better spacing */
    .gallery-item.pos-1 { 
        top: 3%; left: 8%; 
        width: 30%; 
        aspect-ratio: 3/4;
        transform: rotate(-2deg); 
        height: 100%;
        height: auto;
    }
    .gallery-item.pos-2 {
        top: 28%;
        right: 0%;
        width: 45%;
        aspect-ratio: 4 / 5;
        transform: rotate(3deg);
        height: auto;
    }
    .gallery-item.pos-3 { 
        top: 35%; left: 5%; 
        width: 52%; 
        aspect-ratio: 1/1;
        transform: rotate(-3deg); 
    }
    .gallery-item.pos-4 {
        top: 50%;
        right: 8%;
        width: 66%;
        aspect-ratio: 4 / 3;
        transform: rotate(2deg);
        height: auto;
    }
    .gallery-item.pos-5 { 
        top: 70%; left: 12%; 
        width: 44%; 
        aspect-ratio: 3/4;
        transform: rotate(-4deg); 
    }
    .gallery-item.pos-6 { 
        top: 0%;
        right: 0%;
        width: 74%;
        aspect-ratio: 1 / 1;
        z-index: 4;
        transform: rotate(3deg);
        height: auto;
    }
    .gallery-item.pos-7 { 
        top: 88%; right: 12%; 
        width: 50%; 
        aspect-ratio: 5/4;
        transform: rotate(-2deg); 
    }
    .gallery-item.pos-8 {
        top: 68%;
        left: 30%;
        width: 46%;
        aspect-ratio: 3 / 4;
        z-index: 5;
        transform: rotate(4deg);
        height: auto;
    }
    .gallery-item.pos-9 { 
        top: 95%; left: 10%; /* Moved up from 105% */
        width: 52%; 
        aspect-ratio: 4/5;
        transform: rotate(-3deg); 
    }
}

/* Logo Animation Section */
.logo-animation-section {
    padding: 6rem 2rem 8rem;
    text-align: center;
}

#animated-nexeo-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 2rem;
}

#animated-nexeo-logo path {
    stroke: white;
    fill: none;
    stroke-width: 15;
}

.logo-slogan {
    font-size: 2.5rem;
    font-weight: 600;
    color: #e0e0e0;
    text-align: center;
    overflow: hidden; /* Hide words before they animate in */
}

.logo-slogan span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
}

/* ===== VARIANT OPTIONS STYLES ===== */
.variant-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.variant-options .option {
    position: relative;
}

.variant-options .option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.variant-options .option-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0.75rem;
    border: 2px solid #dbf053;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(2, 29, 19, 0.9);
    box-shadow: 0 2px 8px rgba(219, 240, 83, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    max-height: 80px;
    justify-content: flex-start;
    gap: 0.75rem;
}

.variant-options .option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(219, 240, 83, 0.05) 0%, rgba(219, 240, 83, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.variant-options .option-card:hover {
    border-color: #dbf053;
    background: rgba(2, 29, 19, 0.95);
    box-shadow: 0 4px 12px rgba(219, 240, 83, 0.2);
    transform: translateY(-2px);
}

.variant-options .option-card:hover::before {
    opacity: 1;
}

.variant-options .option input[type="radio"]:checked + .option-card {
    border-color: #dbf053;
    background: rgba(219, 240, 83, 0.15);
    box-shadow: 0 0 0 3px rgba(219, 240, 83, 0.3), 0 4px 12px rgba(219, 240, 83, 0.4);
    transform: translateY(-1px);
}

.variant-options .option input[type="radio"]:checked + .option-card::before {
    opacity: 1;
}

.variant-options .option input[type="radio"]:checked + .option-card::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: #dbf053;
    color: #021D13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    animation: checkmarkBounce 0.4s ease-out;
    box-shadow: 0 1px 4px rgba(219, 240, 83, 0.3);
}

@keyframes checkmarkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.variant-options .option-icon {
    margin-right: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.variant-options .option-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(219, 240, 83, 0.3);
}

.variant-options .option-card:hover .option-icon img {
    transform: scale(1.1);
    border-color: #dbf053;
}

.variant-options .option input[type="radio"]:checked + .option-card .option-icon img {
    border-color: #dbf053;
    box-shadow: 0 2px 8px rgba(219, 240, 83, 0.4);
}

.variant-options .option-text {
    flex: 1;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.variant-options .option-text h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    line-height: 1.2;
}

.variant-options .option input[type="radio"]:checked + .option-card .option-text h5 {
    color: #021D13;
}

.variant-options .option-text .price-container {
    font-weight: 700;
    color: #dbf053;
    background: rgba(219, 240, 83, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid rgba(219, 240, 83, 0.3);
    margin-top: 0.15rem;
    display: inline-block;
    width: fit-content;
}

.variant-options .option input[type="radio"]:checked + .option-card .option-text .price-container {
    background: #dbf053;
    color: #021D13;
    border-color: #dbf053;
    box-shadow: 0 1px 4px rgba(219, 240, 83, 0.2);
}

.variant-options .option-text small {
    font-size: 0.6rem;
    color: #cccccc !important;
    line-height: 1.2;
    display: block;
    margin-top: 0.1rem;
}

.variant-options .option input[type="radio"]:checked + .option-card .option-text small {
    color: #021D13 !important;
}

/* Responsive adjustments for variant options */
@media (max-width: 768px) {
    .variant-options {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .variant-options .option-card {
        padding: 0.5rem;
        min-height: 70px;
        max-height: 70px;
        gap: 0.5rem;
    }

    .variant-options .option-icon img {
        width: 32px !important;
        height: 32px !important;
    }

    .variant-options .option-text h5 {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }

    .variant-options .option-text .price-container {
        font-size: 0.9rem;
        padding: 0.1rem 0.3rem;
        margin-top: 0.1rem;
    }

    .variant-options .option-text small {
        font-size: 0.55rem;
        margin-top: 0.05rem;
    }

    .variant-options .option input[type="radio"]:checked + .option-card::after {
        top: 4px;
        right: 4px;
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
}

@media (max-width: 576px) {
    .variant-options {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .variant-options .option-card {
        padding: 0.4rem;
        min-height: 60px;
        max-height: 60px;
        gap: 0.5rem;
    }

    .variant-options .option-icon img {
        width: 28px !important;
        height: 28px !important;
    }

    .variant-options .option-text h5 {
        font-size: 0.7rem;
        margin-bottom: 0.1rem;
    }

    .variant-options .option-text .price-container {
        font-size: 0.9rem;
        padding: 0.08rem 0.25rem;
        margin-top: 0.08rem;
    }

    .variant-options .option-text small {
        font-size: 0.5rem;
        margin-top: 0.05rem;
    }

    .variant-options .option input[type="radio"]:checked + .option-card::after {
        top: 3px;
        right: 3px;
        width: 12px;
        height: 12px;
        font-size: 7px;
    }
}
