﻿/* ================================
   GLOBAL SETTINGS
================================ */
body {
    margin: 0;
    padding: 0;
    font-family: "Tahoma", "Arial", sans-serif;
    background-color: #f9f9f9;
    direction: rtl;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}
/* ================================
   PAGE CONTAINER
================================ */
.container {
    width: 100%;
    max-width: 1200px; /* optional: keeps content from stretching too wide on large screens */
    margin: 0; /* removes white space around the container */
    padding: 0; /* optional: removes any internal padding */
}

/* ================================
   MAIN BUTTON STYLE (Arabic RTL)
================================ */
.big-button {
    display: inline-block;
    white-space: nowrap; /* prevent wrapping */
    overflow: hidden; /* hide overflow */
    text-overflow: ellipsis; /* show "..." if text too long */
    padding: 22px 28px;
    font-size: 24px;
    font-weight: bold;
    background: #ff8800;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    direction: rtl; /* Arabic alignment */
    width: 100%; /* expands to container width */
    margin: 0 auto;
}   
    /* Hover effect */
    .big-button:hover {
        background: #e67600; /* Darker orange on hover */
        transform: scale(1.03);
        transition: 0.3s ease-in-out;
    }

/* ================================
   HEADERS
================================ */
h1, h2, h3, h4 {
    text-align: center;
    direction: rtl;
}

/* ================================
   PARAGRAPHS
================================ */
p {
    line-height: 1.8;
    direction: rtl;
    font-size: 18px;
}

/* ================================
   IMAGES
================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* ================================
   FOOTER
================================ */
.footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
    font-size: 16px;
}

/* ========== General Page Styles ========== */
body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

/* Optional: Center the button in the middle of the page */
.page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* full screen height */
    background-color: #f2f2f2;
}

/* ========== Big Button Styles ========== */
.big-button {
    width: 900px; /* fixed width */
    padding: 20px 0; /* vertical padding */
    font-size: 24px; /* larger text */
    font-weight: 600;
    color: white;
    background-color: #36DEBE !important; /* blue color */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

    .big-button:hover {
        background-color: #36DEBE; /* darker blue on hover */
        transform: scale(1.02);
    }

/* ========== AOS Overrides (optional) ========== */
[data-aos] {
    transition-duration: 1.5s !important;
}

/* ========== Font Awesome Icon Styling (optional) ========== */
.fa {
    color: #0078d7;
    margin-right: 8px;
}
/* Custom navbar background */
.custom-navbar {
    background-color: #003B35 !important;
}

    /* Navbar links */
    .custom-navbar .nav-link,
    .custom-navbar .navbar-brand {
        color: white !important;
    }

        /* Hover effect for links */
        .custom-navbar .nav-link:hover {
            color: #cce0dc !important; /* lighter greenish for hover */
        }

.pay-button:hover {
    background-color: #02544a;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

input[type="text"] {
    border: 1px solid #000; /* Thin solid black border */
    padding: 6px 10px; /* Some inner spacing */
    border-radius: 2px; /* Slightly rounded corners, optional */
    outline: none; /* Remove blue glow on focus, optional */
}



/* Slider Container */
.slider-container {
    position: relative;
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
}

/* Wrapper hides overflow */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

/* Track holds all images horizontally */
.slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
}

/* Each image */
.slider-img {
    width: 250px;
    height: 250px;
    object-fit: contain; /* Show full image without cropping */
    background: #eee;
    border-radius: 12px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

    .slider-img:hover {
        transform: scale(1.05);
    }

/* Navigation buttons */
.nav-btn {
    background-color: #003B35;
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.left-btn {
    margin-right: 10px;
}

.right-btn {
    margin-left: 10px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 45px;
    color: white;
    cursor: pointer;
}

.my-story-section {
    background-color: #f9f9f9;
    padding: 50px 15px;
    text-align: right; /* Arabic RTL */
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
}

.story-title {
    text-align: center;
    font-size: 32px;
    color: #003B35;
    margin-bottom: 30px;
    font-weight: bold;
}

.story-container {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    font-size: 18px;
}

    .story-container p {
        margin-bottom: 25px;
    }

        .story-container p.highlight {
            font-weight: bold;
            color: #003B35;
            background-color: #e0f2f1;
            padding: 12px 15px;
            border-radius: 10px;
        }


    .story-container p {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

        .story-container p.visible {
            opacity: 1;
            transform: translateY(0);
        }


.guarantee-section {
    background-color: #e0f2f1; /* soft green background */
    padding: 30px 15px;
    text-align: center;
}

.guarantee-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: auto;
    flex-wrap: wrap;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
}

.guarantee-text h3 {
    font-size: 24px;
    color: #003B35;
    margin-bottom: 8px;
}

.guarantee-text p {
    font-size: 18px;
    color: #333;
}
.guarantee-icon {
    border-radius: 50%;
    background-color: white;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .guarantee-container {
        flex-direction: column;
        text-align: center;
    }
}

.faq-section {
    background-color: #f9f9f9;
    padding: 50px 15px;
    text-align: right; /* Arabic */
}

.faq-title {
    text-align: center;
    font-size: 32px;
    color: #003B35;
    font-weight: bold;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    background: #e0f2f1;
    color: #003B35;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: right;
    border: none;
    outline: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background 0.3s;
}

    .faq-question:hover {
        background: #cde7e1;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f1f1f1;
    padding: 0 15px;
    font-size: 17px;
    line-height: 1.7;
    border-radius: 0 0 8px 8px;
    margin-bottom: 10px;
}

/* Grid container */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


/* Inner wrapper to maintain aspect ratio */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-title {
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.video-box {
    max-width: 720px;
    margin: 10px auto;
}

.video-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.video-box iframe {
    width: 100%;
    height: 405px;
    border: 0;
}

.video-player {
    flex: 2 1 60%;
    max-width: 720px;
    display: flex;
    justify-content: center; /* centers the iframe horizontally */
}

 .video-player iframe {
        width: 100%;
        max-width: 720px;
        height: 405px;
        border: 0;
    }


.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* adjust */
}

.video-timer {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px; /* adjust if needed */
}

/* Timer overlay ON the video */
.video-overlay-timer {
    position: absolute;
    bottom: 20px; /* inside video */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    padding: 8px 14px;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    pointer-events: none; /* so clicks pass through to video */
}
.video-section {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

    /* Video transparency */
    .video-section video {
        width: 100%;
        opacity: 0.85; /* adjust transparency */
        border-radius: 8px;
    }

/* Text on the video */
.video-overlay-text {
    position: absolute;
    top: 15px; /* adjust vertical position */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    background: rgba(0, 0, 0, 0.45); /* translucent background on text */
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    pointer-events: none; /* ensure clicks go to the video */
}

/* Hide overlay text in full-screen mode */
video:fullscreen + .video-overlay-text,
video:-webkit-full-screen + .video-overlay-text {
    display: none !important;
}
/* Wrapper */


    /* Scroll bar */
    .feedback-slider::-webkit-scrollbar {
        height: 6px;
    }

    .feedback-slider::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 10px;
    }

/* Card */
.feedback-item {
    min-width: 340px;
    max-width: 340px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    text-align: right;
    direction: rtl;
}

/* Feedback text */
.feedback-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    white-space: normal;
    word-wrap: break-word;
}

/* Sender name */
.feedback-sender {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    text-align: left; /* name aligned left to look neat */
}
.feedback-slider {
    width: 100%;
    overflow-x: hidden; /* important */
    white-space: nowrap;
    display: flex;
    gap: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    direction: rtl; /* Arabic direction */
    scroll-behavior: smooth;
}

.feedback-item {
    flex: 0 0 auto;
    width: 320px;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    direction: rtl;
    font-size: 18px;
    line-height: 1.6;
}

vdotitle {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #00796B;
    font-family: Arial, sans-serif;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow if too long */
    text-overflow: ellipsis; /* Add ellipsis (…) if text is too long */
}


/* Hero section edge-to-edge */
.hero-section {
    position: relative;
    width: 100%; /* full viewport width */
    height: 400px; /* adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* GIF background */
.hero-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Text overlay */
.hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    max-width: 1200px;
    box-sizing: border-box;
}
