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



html {
    scroll-behavior: auto;
}

.section-title-mobile {
    display: none;
  }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: ltr;
    transition: all 0.3s ease;
}

/* Updated RTL styles with proper Arabic fonts */
body.rtl {
    direction: rtl;
    font-family: 'Cairo', 'Almarai', 'Tahoma', 'Arial Unicode MS', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header when not on video section */
.header.hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38px;
    font-weight: 400;
    color: #000000;
    text-align: center;
}

/* Arabic header title styling */
body.rtl .header-title {
    font-family: 'Cairo', 'Almarai', 'Tahoma', sans-serif;
    font-weight: 600;
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

.main-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.main-logo img {
    width: 200px;
    height: 100px;
    padding: 10px;
    object-fit: contain;
    font-weight: bold;
    min-width: 200px;
    color: #2c3e50;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.rtl .logo-icon {
    margin-right: 0;
    margin-left: 12px;
}


.language-selector {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 18px;
    color: #333;
}

.language-selector:hover {
    transform: translateY(-1px);
}

.language-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 40px 10px 40px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.language-selector select:hover {
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-selector select:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.language-selector i.fas {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #666;
    pointer-events: none;
    z-index: 1;
}

.language-selector::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    font-size: 14px;
    color: #666;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.language-selector select:focus ~ .language-selector::after,
.language-selector:hover::after {
    transform: translateY(2px);
}

.main-content {
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin-top: 80px;
}

/* When header is hidden, remove the top offset */
.main-content.header-hidden {
    margin-top: 0;
}

.section {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.order-button {
    /* position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 25px 50px;
    border: none;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
}

.order-button {
  background-color: #1a1a1a; /* deep black */
  color: #ffffff; /* white text */
  font-weight: 600;
  font-size: 16px;
  margin-top: 50px;
  padding: 25px 50px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.order-button:hover {
  background-color: #000000; /* slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.order-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


/* Arabic order button styling */
body.rtl .order-button {
    font-family: 'Cairo', 'Almarai', sans-serif;
    font-weight: 700;
    font-size: 16px;
        padding: 15px 30px;
        top: 62%;
        min-width: 240px;
}

/* .order-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.order-button:active {
    transform: translateX(-50%) translateY(0px);
} */

/* Video Section Styles */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    background: #DFDFDF; 
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
    pointer-events: none;
    white-space: pre-line;
    width: 80%;
}

/* Arabic video overlay styling */
body.rtl .video-overlay {
    font-family: 'Cairo', 'Almarai', sans-serif;
    font-weight: 700;
    text-align: center;
    direction: rtl;
}

.video-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #3498db;
    z-index: 3;
    transition: all 0.3s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.video-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-description {
    font-size: 16px;
    opacity: 0.9;
}

/* Benefits Section Styles */
.benefits-section-wrapper {
    background: #DFDFDF;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    justify-content: center;
}

.benefits-section {
    width: 100%;
    position: relative;
    padding: 0 60px;
}

.section-title {
    text-align: center;
    margin: 0 0 20px;
    padding: 0 20px;
}

.section-title h1 {
    font-size: 50px;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

/* Updated Arabic section title styling */
body.rtl .section-title h1 {
    font-family: 'Cairo', 'Almarai', sans-serif;
    direction: rtl;
    font-weight: 800;
    text-align: center;
}

.benefits-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
    margin-top: 50px;
}

.center-product {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.product-container {
    position: relative;
    width: 200px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-container img {
    width: auto;
    height: auto;
    display: block;
}

.product-image {
    width: 80px;
    height: 300px;
    background: linear-gradient(180deg, #ff69b4 0%, #ff1493 50%, #dc143c 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.3);
    transform: perspective(800px) rotateY(-10deg);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.05);
}

.product-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.benefit-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    text-align: center; 
    padding: 10px;
}

.benefit-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    padding: 5px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.benefit-icon i {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.benefit-content {
    flex: unset; 
}

.benefit-title {
    font-size: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #000000;
    margin-bottom: 6px;
    line-height: 1.3;
}

body.rtl .benefit-title {
    font-family: 'Cairo', 'Almarai', sans-serif;
    font-weight: 700;
    direction: rtl;
    text-align: center;
}

.benefit-subtitle {
    font-size: 20px;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    line-height: 1.4;
    position: relative; 
    display: inline-block; 
    padding-left: 38px;
}


body.rtl .benefit-subtitle {
    font-family: 'Cairo', 'Almarai', sans-serif;
    font-weight: 500;
    direction: rtl;
    text-align: center;
    padding-left: 0;
    padding-right: 38px; 
}


.benefit-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: #27ae60;
}

.benefit-subtitle::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #27ae60;
    border-right: 2px solid #27ae60;
    transform: translateY(-50%) rotate(45deg);
}

body.rtl .benefit-subtitle::before {
    left: auto;
    right: 0;
}

body.rtl .benefit-subtitle::after {
    left: auto;
    right: 24px;
    transform: translateY(-50%) rotate(225deg);
}

/* Position benefits */
.benefit-1 {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
}

.benefit-2 {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
}

.benefit-3 {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: center;
}

.benefit-4 {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    align-self: center;
}

.benefit-1 .benefit-arrow {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.benefit-2 .benefit-arrow {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.benefit-3 .benefit-arrow {
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.benefit-4 .benefit-arrow {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

body.rtl .benefit-1 .benefit-arrow {
    left: -15px;
    right: auto;
    transform: translateY(-50%) scaleX(-1);
}

body.rtl .benefit-2 .benefit-arrow {
    right: -15px;
    left: auto;
    transform: translateY(-50%) scaleX(-1);
}

body.rtl .benefit-3 .benefit-arrow {
    left: -15px;
    right: auto;
    transform: translateY(-50%) scaleX(-1);
}

body.rtl .benefit-4 .benefit-arrow {
    right: -15px;
    left: auto;
    transform: translateY(-50%) scaleX(-1);
}

.image-section {
    padding: 0;
    margin: 0;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.image-en, .image-ar {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    transition: all 0.8s ease;
}

.image-ar {
    display: none;
}

body.rtl .image-en {
    display: none;
}

body.rtl .image-ar {
    display: block;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #d32f2f;
    text-align: center;
    z-index: 100;
}

.contact-products-section {
    position: absolute; 
    background-color: #DFDFDF; 
    padding: 100px 20px; 
    text-align: center; 
    min-height: 100vh; 
}

.product-top-left {
    position: absolute;
    top: 50px;
    left: 60px;
}

.product-bottom-right {
    position: absolute;
    bottom: 50px;
    right: 60px;
}

.product-image-element {
    max-width: 400px; 
    height: auto;
}

/* Headline Styling */
.main-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: #111; 
    line-height: 1.4;
    margin-bottom: 50px;
    margin-top: 120px;
}

body.rtl .main-heading {
    font-family: 'Cairo', 'Almarai', sans-serif;
    font-weight: 800;
    direction: rtl;
}

/* Contact Info Styling */
.contact-info {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.8;
}

/* Arabic contact info styling */
body.rtl .contact-info {
    font-family: 'Cairo', 'Almarai', sans-serif;
    direction: rtl;
}

 /* Perfect For Elite Section */
 .perfect-elite-section {
    position: absolute;
    background-color: #DFDFDF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Content wrapper */
.perfect-elite-content {
    position: relative;
    z-index: 10;
}

/* Main Title */
.perfect-title .bold-text {
    font-size: clamp(6rem, 7vw, 6rem);
    font-weight: 800;
    font-style: italic;
    color: #111;
    letter-spacing: 5px;
    line-height: 0.9;
}

.perfect-subtitle {
    font-size:4.5rem;
    font-weight: 300;
    color: #111;
    font-style: italic;
    margin-top: -20px;
    letter-spacing: 1px;
}

.yellow-circle-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 500px;
    height: 500px;
}

.yellow-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4d03f 0%, #f7dc6f 50%, #f4d03f 100%);
    opacity: 0.8;
    box-shadow: 0 0 50px rgba(244, 208, 63, 0.3);
    animation: pulse 4s ease-in-out infinite;
}

.yellow-ring {
    position: absolute;
    width: 13em;
    height: auto;
    opacity: 0.8;

}

.yellow-ring.ring-1 {
    left: 50%;
    top: 50%;
    transform: translate(0%, -55%) rotate(0deg);
    z-index: 1;
}

.yellow-ring.ring-2 {
    left: 50%;
    top: 50%;
    transform: translate(-100%, -55%) rotate(0deg);
    z-index: -1;
}

.contact-email, .contact-phones {
    margin-top: 5px;
}


/* Mobile and Tablet Styles - Updated Section Layout */
@media (max-width: 991px) {
    /* Hide line break on mobile/tablet */
    .section-title br {
        display: none;
    }

    /* Header */
    .header {
        padding: 5px 0;
        height: 70px;
    }

    .section-title-desktop { display: none; }
    
    .header-content {
        padding: 0 10px;
        flex-direction: row;
        gap: 5px;
        align-items: center;
        height: 60px;
    }
    
    .header-title {
        font-size: 14px;
        position: static;
        transform: none;
        margin: 0 5px;
        order: 3;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .main-logo {
        min-width: auto;
        font-size: 15px;
        order: 1;
        display: flex;
        align-items: center;
        height: 100%;

    }
    
    .main-logo img {
        width: 70px;
        height: 70px;
        padding: 5px;
        object-fit: contain;
        min-width: 120px;
    }
    
    .language-selector {
        font-size: 12px;
        order: 2;
        margin-left: 5px;
    }
    
    .language-selector i.fas {
        font-size: 16px;
    }
    
    .language-selector select {
        font-size: 14px;
        padding: 8px 5px;
    }
    
    .main-content {
        margin-top: 70px;
        height: auto;           
        overflow: visible;      
        position: relative;     
    }
    
    .section {
        position: relative !important;    
        top: auto !important;
        left: auto !important;
        width: 100%;
        height: auto !important;          
        min-height: 100vh;                
        display: block !important;        
        overflow: visible;
        transform: none !important;       
        opacity: 1 !important;            
        margin: 0;
        padding: 0;
    }

    .section:nth-child(1) { 
        order: 1;
    }
    
    .section:nth-child(2) { 
        order: 2;
    }
    
    .section:nth-child(3) { 
        order: 3;
    }
    
    .section:nth-child(4) { 
        order: 4;
    }

    .video-section {
        position: relative !important;
        height: 100vh;
        width: 100%;
        overflow: hidden;
    }

    .video-overlay {
        font-size: 15px;
        width: 90%;
        top: 32%;
        padding: 0 10px;
    }
    
    .order-button {
        font-size: 16px;
        padding: 15px 30px;
        top: 85%;
        min-width: 240px;
    }

body.rtl .order-button {
        top: 85%;
}
    
    .benefits-section-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
        height: auto !important;       
        overflow: visible;             
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-height: 100vh;
        position: relative;
    }
    
    .benefits-section {
        padding: 0 20px;
        width: 100%;
        position: relative;
    }

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

    .section-title h1 {
        font-size: 22px;
        margin-bottom: 10px;
        font-weight: 600;
        padding: 0 10px;
        line-height: 1.2;
    }
    
    .benefits-container {
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: center;
        margin-top: 24px;
        padding: 0 10px;
    }
    
    .benefit-1 { order: 1; }
    .benefit-2 { order: 2; }
    .center-product { 
        order: 3; 
        display: flex; 
        justify-content: center; 
        align-items: center;
        margin: 20px 0;
    }
    .benefit-3 { order: 4; }
    .benefit-4 { order: 5; }
    
    .product-container {
        width: auto; 
        height: auto;
    }
    
    .product-container img {
        width: 200px; 
        height: auto;
        max-width: none;
    }
    
    .benefit-icon {
        width: 64px;
        height: 64px;
    }

    .benefit-icon img {
        width: 90%;
        height: 90%;
    }

    .benefit-item {
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center; 
        gap: 10px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .benefit-title {
        font-size: 18px; 
        line-height: 1.2;
        margin-bottom: 4px; 
    }
    
    .benefit-subtitle {
        font-size: 16px; 
        padding-left: 28px; 
        line-height: 1.3;
    }
    
    body.rtl .benefit-subtitle {
        padding-right: 28px;
        padding-left: 0;
    }
    
    .benefit-subtitle::before {
        width: 20px;
    }
    
    .benefit-subtitle::after {
        left: 16px;
        width: 6px;
        height: 6px;
    }
    
    body.rtl .benefit-subtitle::after {
        right: 16px;
        left: auto;
    }
    
    /* Perfect Elite section adjustments */
    .perfect-elite-section {
        position: relative !important;
        background-color: #DFDFDF;
        min-height: 100vh;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 60px 20px;
    }

    .perfect-elite-content {
        position: relative;
        z-index: 10;
        width: 100%;
    }
    
    .perfect-title .bold-text {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: 1px;
        line-height: 1.1;
    }
    
    .perfect-subtitle {
        font-size: 1.2rem;
        margin-top: -8px;
    }
    
    .yellow-circle-container {
        width: 280px;
        height: 280px;
    }
    
    .yellow-ring {
        width: 7em;
    }
    .header-title {
       display: none;
    }
    
    /* Contact section adjustments */
    .contact-products-section {
        position: relative !important;
        background-color: #DFDFDF;
        padding: 60px 20px;
        text-align: center;
        min-height: 100vh;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .contact-content {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .main-heading {
        font-size: 1.8rem;
        margin-bottom: 10px;
        padding: 0 10px;
        line-height: 1.2;
        margin-top: 0px;
    }
    
    .contact-info {
        font-size: 1rem;
        padding: 0 10px;
        line-height: 1.5;
        margin-bottom: 60px;
    }
    
    .contact-email, .contact-phones {
        margin-top: 8px;
    }
    
    /* Product images positioning */
    #item-01 {
        max-width: 170px;
    }

    #item-02 {
        max-width: 120px;
    }
    
    .product-top-left {
        top: 20px;
        left: 20px;
        z-index: 1;
    }
    
    .product-bottom-right {
        bottom: 20px;
        right: 20px;
        z-index: 1;
    }

    .product-image-element {
        max-width: 120px;
        height: auto;
    }
}


  


@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image::before {
        border-radius: 8px;
    }
    
    .benefit-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}



.gsap-fade-in {
    opacity: 0;
}

.gsap-scale-in {
    scale: 0.8;
    opacity: 0;
}

.gsap-slide-left {
    opacity: 0;
}

.gsap-slide-right {
    opacity: 0;
}