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

body {
    font-family: Montserrat;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn .2s ease-in;
    user-select: none;
}

        /* إعدادات عامة للصفحة */
        body {
            font-family: Montserrat;
            margin: 0;
            padding: 0;
            background-color: #333;
            line-height: 1.6;
            opacity: 0.7; /* بداية الصفحة مخفية */
            transform: scale(0.98); /* يبدأ الجسم بشكل أصغر قليلاً */
            animation: fadeInScale 1s ease forwards; /* تطبيق الأنيميشن */
        }

        /* تعريف الأنيميشن: تلاشي مع تمدد */
        @keyframes fadeInScale {
            to {
                opacity: 1; /* يصبح الجسم مرئيًا */
                transform: scale(1); /* يعود الجسم إلى حجمه الطبيعي */
            }
        }
/* تطبيق تأثير السكرول الناعم */
html {
    scroll-behavior: smooth;
}
        
.container {
    width: 90%;
    margin: 0 auto;
}
/* Header */
.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 0;
    background-color: #4c3829;
    width: 100%;
    z-index: 10;
    position: relative; /* Removing absolute positioning */
}

.nav {
    margin-top: 61px;
    width: 100%;
    display: inline-block;
    text-align: center;
}

.nav ul {
    list-style: none;
    display: inline-block;
    margin-left: auto;
}

.nav ul li {
    margin: 0px 5px;
    display: inline-block;
    margin-bottom: 15px;
}

.nav ul li a {
    color: #37271f;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: 0.3s;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold !important;
}
.nav ul li a i {
    color: #37271f;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: 0.3s;
    padding: 5px;
    border-radius: 5px;
}

.nav ul li a:hover {
    background: #b2aeab;
    transition: 0.3s;
    border-radius: 5px;
}
.nav ul li a:hover i {
    background: #b2aeab;
    transition: 0.3s;
    border-radius: 5px;
}
.nav ul li a.active {
    background: #b2aeab;
    padding: 10px;
    transition: 0.3s;
    border-radius: 5px;
}
/* Hero Section */
.hero {
    display: flex;
    height: 76vh;
}

.hero-content {
    display: flex;
    width: 100%;
}

.hero-image {
    flex: 1;
    background: url('../images/image.png') no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 0.1;
    background-color: #4c3829;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    z-index: 3;
    max-width: 350px;
}

.hero-logo {
    width: 240px;
    margin: auto;
}

.hero-text h1 {
    font-size: 35px;
    text-align: left;
    transform: scale(2);
    position: relative;
    left: 87%;
    margin-top: 30px;
    margin-bottom: 0px;
    line-height: 1.1;
    width: 400px;
    font-family: Montserrat;
    font-weight: bold !important;
}

.hero-text p {
    font-size: 10px;
    margin-bottom: 33px;
    text-align: left;
    color: #a58b6c;
    margin-top: 60px;
    transform: scale(1.7);
    background: #4c3829;
    padding: 10px;
    position: relative;
    left: 37%;
    width: 345px;
    border-radius: 0px;
}

.donate-btn {
    background-color: #3d2a21;
    color: #fff;
    padding: 12px 24px;
    font-size: 17px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    width: 272px;
    z-index: 3;
    text-align: center;
}

.donate-btn:hover {
    background-color: #e8ded1;
    color: #5c2e1f;
}

/* Footer Styling */
footer {
    background-color: #3f2a23;
    color: white;
    width: 100%;
    margin: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

/* Column Styling */
.footer-column {
    flex: 1;
    padding: 25px;
    min-height: 250px;
}

/* Background for each column */
.social-follow {
    background-color: #604b38; /* خلفية مخصصة للقسم الأول */
    color: #d3b8a1; /* لون النص الخاص بالسوشيال ميديا */
}
.social-follow p {
    color:#8d785d;
}

.footer-column:nth-child(2) {
    background-color: #8e795e; /* خلفية مخصصة للقسم الثاني */
    color: #2d1e17; /* لون النص الخاص بالقسم الثاني */
}
.footer-column:nth-child(2) p {
    color: #35251d;
}

.gaza-hope {
    background-color: #4d362b; /* خلفية مخصصة للقسم الثالث */
    color: #fff; /* لون النص الخاص بالقسم الثالث */
}
.gaza-hope p {
    color:#7c6851
}

h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-column p {
    font-size: 16px;
}

/* Social Media Column */
.social-follow {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}

.follow-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* توزيع الأيقونات بشكل أفقي */
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: white;
}

/* Copyright in the social media section */
.social-follow .copyright {
    position: relative;
    font-size: 16px;
    color: #0e0a08;
    text-align: center;
}
/* Animation for fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation for slide-in effect */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Applying fade-in animation to headers and paragraphs */
h1, h3, p {
    animation: fadeIn 1s ease-in-out;
    opacity: 0; /* Hide at first */
    animation-fill-mode: forwards;
    animation-delay: 0.3s; /* Add slight delay for better effect */
}

/* Adding animation to the footer for a slide-in effect */
.footer-column {
    animation: slideInUp 1s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
    height: 250px;
}

/* Hover effect on buttons */
.donate-btn {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
    background-color: #e8ded1;
    color: #5c2e1f;
    transform: scale(1.05); /* Slight zoom effect on hover */
}

@media (max-width: 768px) {
    
    .footer-container .social-follow {
        position: relative;
        order: 3;
        justify-content: center;
        height: 100px !important;
    }
    .footer-container .footer-column:nth-child(2) {
        position: relative;
        order: 2;
        flex-direction: column;
        justify-content: center;
        height: 200px !important;
    }
    .footer-container .footer-column:nth-child(3) {
        position: relative;    flex-direction: column;
        justify-content: center;
        order: 1;
    }
    .popup-location {
      top: -90px !important;
      right: -40px !important;
      border-radius: 5px;
    }
    .footer-container {display: grid !important;}
.hero-text h1 {
    font-size: 35px;
    text-align: left;
    transform: scale(1);
    left: 0% !important;
    margin-top: 30px;
    margin-bottom: 8px;
    line-height: 1.2;
    width: 100%;
    margin: auto;
    text-align: center;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 33px;
    text-align: left;
    color: #a58b6c;
    margin-top: 30px;
    transform: scale(1);
    background: #5d48358c;
    padding: 10px;
    position: relative;
    left: 0px !important;
    margin: auto;
    text-align: center;
    font-size: 16px !important;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.donate-btn {
    background-color: #3d2a21b0;
}
.hero {
    display: block;
    height: auto;
    text-align: center;
    margin: auto;
}
.hero-text {
    flex: 0.4;
    background: url(../images/image.png) no-repeat center center / cover;
    color: white;
    display: block;
    padding: 40px;
}
/*
.hero-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000000a8;
    width: 100%;
    height: 100%;
    opacity: 0.5;

}*/
.hero-content {
    display: block;
    width: 100%;
}
.footer-container {
    display: block;
}
}
.social-icons a {
    margin-left: 25px;
    color: #8d785e;
    transition: 0.3s;
    font-size: 35px;
}
.follow-content {
    margin-top: 40px;
}
.follow-content h3 {
    margin-left: 25px;
    color: #8d785e;
    font-size: 25px;
    margin-top: 20px;
}
/* Hover effect on social icons */
.social-icons a {
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.social-icons a:hover i {
    color: #fff;
    transform: scale(1.2); /* Slight zoom effect on hover */
    transition: 0.3s;
}
.social-icons a i {
    transition: 0.3s;
}

/* Hamburger Icon */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease; /* Animation for hamburger */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s ease; /* Smooth transition for icon */
}

/* Rotate animation for Hamburger when clicked */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    width: 0;
    height: 0;
    visibility: hidden;
    display: none;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Dropdown Menu (Hidden by default) */
.dropdown-menu {
    display: none;
    position: fixed;
    top: 143px;
    left: 0;
    width: 70%;
    height: 100vh;
    bottom: 0;
    background-color: #4d362b;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 5;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Add slide-down animation to menu items */
.dropdown-menu ul li {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.5s forwards;
    transition: 0.3s;
    border-bottom: 1px solid #515050;
    width: 100%;
    padding-bottom: 20px;
}
/* Add slide-down animation to menu items */
.dropdown-menu ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #aea293;
    padding: 10px;
    transition: 0.3s;
}
.dropdown-menu ul li a.active {
    background: #2d1e17;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.dropdown-menu ul li:hover a {
    background: #2d1e17;
    border-radius: 5px;
    transition: 0.3s;
}

.dropdown-menu ul li:nth-child(1) {
    animation-delay: 0.1s; /* Delay for first item */
}

.dropdown-menu ul li:nth-child(2) {
    animation-delay: 0.2s;
}

.dropdown-menu ul li:nth-child(3) {
    animation-delay: 0.3s;
}

.dropdown-menu ul li:nth-child(4) {
    animation-delay: 0.4s;
}

.dropdown-menu ul li:nth-child(5) {
    animation-delay: 0.5s;
}

.dropdown-menu ul li:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start above the position */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move to final position */
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {

    .language-switcher {
        position: absolute;
        top: 50px !important;
        right: 10px !important;
        font-size: 13px !important;
    }
.social-icons {
    margin-top: 20px;
    margin-bottom: 35px;
}
    .nav-links {
        display: none !important; /* Hide the main nav on small screens */
    }
    .dropdown-menu {display: block;visibility: hidden;}
    .hamburger {
        display: flex;
        margin-top: 50px;
    }

    .dropdown-menu.show {
        display: block; /* Show the dropdown menu when the hamburger is clicked */
    }
    .hero{position: relative;}
    .social-follow .copyright {
        margin-top: 20px;
    }
.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Adding black transparent overlay using ::after */
.hero-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    z-index: 1; /* Ensures the overlay is above the image */
}

.hero-text h1 {
    flex: 0.4;
    /* background-color: #4c3829; */
    color: white;
    position: relative;
    z-index: 2;
    font-size: 27px;
    text-align: center;
    margin-bottom: 0;
    padding: 25px;
    margin-top: 178px;
    padding-bottom: 3px;
    padding-left: 0;
    padding-right: 0;
}
.hero-text p {
    flex: 0.4;
    /* background-color: #4c3829; */
    color: white;
    padding: 20px;
    position: relative;
    z-index: 2;
}
.hero-logo { position: relative; z-index: 2;display: none;}
.hero-text .donate-btn {position: relative;z-index: 2;}

.header {
    background-color: #fff;
}
.hero-logo-responsive {
    display: block !important;
    width: 100px;
    margin-right: auto;
    background: #ffffff82;
    border-radius: 10px;
}

.social-icons a {
    margin-left: 20px;
    font-size: 31px;
}
    .hero-text p {
        font-size: 15px;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
        border-radius: 5px;
        width: 100%;
    }
    .hero-text {
        display: block;
        padding: 40px;
        height: auto;
        max-width: 100%;
    }

.hero-image {
    display: none;
}

.menu-parent {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    position: relative;
    top: 188px;
    margin-top: -143px;
    z-index: 2;
}
    .footer-column {
        height: 300px !important;
    }
}
.hero-logo-responsive {display: none;}

@media (max-width: 1250px) {
.follow-content {
    margin-top: 40px;
    display: block;
    margin: auto;
    text-align: center;
}
    }
    @media (max-width: 1110px) {
    .social-follow .copyright {
        font-size: 12px;
    }
    }

    @media (max-width: 950px) {
        .footer-column{height: 385px;display: grid;}
    }

    .social-icons a:nth-child(2)::before {
        content: "Soon";
        position: absolute;
        top: -37px;
        padding: 3px;
        left: -15px;
        background: white;
        width: 55px;
        height: 25px;
        border-radius: 150px;
        font-size: 15px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        text-align: center;
    }

    .social-icons a:hover::before {
        opacity: 1;
        visibility: visible;
        transition: 0.3s;
    }
    
    @media (min-width: 768px) and (max-width: 950px) {

        .nav ul li {
            margin: 0px 1px !important;
            display: inline-block;
            margin-bottom: 15px !important;
        }
        .nav ul li a {
            font-size: 19px !important;
            transition: 0.3s;
            padding: 10px;
        }
    }

    .gaza-hope::after {
        content: "";
        position: absolute;
        right: 5px;
        width: 100px;
        height: 100px;
        background: url(../images/child.png) no-repeat center center / cover;
        z-index: 1;
        bottom: 50px;
    }

    .social-follow::after {
        content: "";
        position: absolute;
        top: -160px;
        left: 0;
        width: 299px;
        height: 300px;
        background: url(../images/stars.png) repeat center center / cover;
        z-index: -1;
    }
    @media screen and (max-width: 1300px) {
        .footer-column {

    height: 395px;
        }
    }
    .new-light {
        padding-top: 60px;
    }
    .new-light p {
        color: #35251d;
        line-height: 2;
        font-size: 16px;
        max-width: 367px;
    }

    .hero-image::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 100px;
        width: 340px;
        height: 340px;
        background: url(../images/stars.png) no-repeat center center / cover;
        z-index: -1;
    }
    .donate-btn i {
        margin-left: 5px;
    }
    .logo-menu {
        margin: auto;
        display: block;
        text-align: center;
        margin-top: -20px;
    }
    .logo-menu img {
        width: 200px;
        margin: auto;
        display: block;
        text-align: center;
    }
    .logo-menu:hover {
        background: transparent;
    }
    .logo-menu:hover a {
        background: transparent !important;
    }

    /* Animation */
    
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-100%); /* تبدأ القائمة خارج الشاشة */
    opacity: 0; /* إخفاء القائمة */
    animation: slideIn 0.8s forwards ease-out; /* تطبيق الأنيميشن */
}

/* Animation for the slide-in effect */
@keyframes slideIn {
    to {
        transform: translateY(0); /* تجعل القائمة تنزلق إلى مكانها */
        opacity: 1; /* ظهور القائمة */
    }
}

/* flag */
.language-switcher {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.language-switcher img.flag-icon {
    width: 30px;
    height: auto;
    border-radius: 1px;
}

.language-switcher span {
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}
.language-switcher button {
    border: 0;
    background: 0;
    font-size: 16px;
    cursor: pointer;
}

.social-icons{position: relative;}
.social-icons a:nth-child(3):hover ~ .popup-location {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}
.popup-location p {
    font-size: 16px;
    user-select:text;
} .popup-container {
    position: relative;
    display: inline-block;
    transition: 0.3s;
  }

  .popup-location {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    white-space: nowrap;
    transition: 0.3s;
    top: -60px;
    right: 50px;
    border-radius: 5px;
  }

  .popup-container:hover .popup-location,
  .popup-location:hover {
    display: block;
    transition: 0.3s;
    opacity: 1;
    visibility: visible;
  }
  .popup-location p {
      font-size: 16px;
      text-align: left;
  }

  @media screen and (min-width: 1000px) and (max-width: 1300px) {
    .popup-location {
        top: 70px;
        right: 0;
    }
  }

  @media screen and (min-width: 767px) and (max-width: 1000px) {
    .popup-location {
        top: 53px;
        right: -17px;
    }
  }

.choose-lang {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.choose-lang ul li {
    list-style: none;
    font-size: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}

.choose-lang ul li img {
    width: 30px;
    height: 25px;
    border-radius: 5px;
    position: relative;
    top: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

.line {
    display: block;
    width: 100%;
    height: 1px;
    background: #b2926a;
    opacity: 0.7;
    margin-bottom: 6px;
}

/* إظهار القائمة عند التفاعل مع الحاوية */
.language-switcher:hover .choose-lang {
    opacity: 1;
    visibility: visible;
}
.privacyText {
    margin-top: 100px;
}

/* Pay Style */

.BuyButton-container.is-cardLayout {
    background: transparent !important;
}
.PaymentMethodFooter-container {
    margin-top: 12px;
    display: none;
}
/* ضبط الأنماط الافتراضية للنصوص */
[data-key] {
    font-weight: normal;
}

/* السماح بعناصر bold حسب الطلب */
.bold {
    font-weight: bold;
}
