/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1,
h2,
h3 {
    font-family: 'Amiri', serif;
    color: #4a4945;
}

.hero sub {
    font-size: 24px;
    color: #333;
}

/* .header */
.header {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;


    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2em;
    font-weight: 700;
}

.logo span {
    color: #d4a017;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #a5a4a4;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
}

.burger-menu {
    display: none;
    font-weight: 900;
    font-size: 2em

;
    cursor: pointer;
}

.header__contact p {
    margin-bottom: 10px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
    padding: 50px;
    border-radius: 30px;
    background-color: #ffffffaf;
}

.button {
    background: #d4a017;
    color: #1a1919;
    display: block;
    width: fit-content;
    display: flex;
    font-weight: 700;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.header .button:hover {
    background: #1a1919;
    color: #d4a017;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}



.hero h1 {
    font-size: 3em;
    z-index: 1;
}

.hero h2 {
    font-size: 2em;
    z-index: 1;
}

.hero .button {
    margin-top: 20px;
    padding: 10px 20px;
    z-index: 1;
}

/* About Mosque */
.about__mosque {
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.about__content,
.mission {
    width: 45%;
}

.mission ul {
    list-style: none;
    margin-top: 10px;
}

/* Pillar Info */
.pillar-info {
    padding: 50px 20px;
    text-align: center;
    background: #f9e79f;
}

/* Activities */
.activities {
    padding: 50px 20px;
    text-align: center;
}

.activities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.activity__item {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.activity__item img {
    width: 50px;
}

.activity__item .button {
    background: #d4a017;
    color: #fff;
    border: none;
    padding: 5px 10px;
}

/* Events */
.events {
    padding: 50px 0px;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.event__item {

    padding: 20px;
    border-radius: 10px;
}

.event__item .button {
    background: #d4a017;
    color: #fff;
    border: none;
    padding: 5px 10px;
}

/* Community */
.community {
    padding: 50px 20px;
    text-align: center;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.community-item {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.community-item img {
    width: 100%;
    height: auto;
}

/* Blog Slider */
.blog {
    padding: 50px 20px;
    text-align: center;
}

.blog-slider {
    margin-top: 20px;
    position: relative;
}

.swiper-slide {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.swiper-.button-next,
.swiper-.button-prev {
    color: #d4a017;
}

/* Team */
.team {
    padding: 50px 20px;
    text-align: center;
}

.team__content {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.team__content img {
    width: 200px;
    border-radius: 50%;
}

.social__links a {
    color: #d4a017;
    margin: 0 10px;
}

/* Testimonials Slider */
.testimonials {
    padding: 50px 20px;
    text-align: center;
}

.testimonial__slider {
    margin-top: 20px;
}

.swiper-slide {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.footer__top {
    margin-bottom: 20px;
}

.footer__top input {
    padding: 10px;
    width: 200px;
}

.footer__top .button {
    background: #d4a017;
    color: #fff;
    border: none;
    padding: 10px 20px;
}

.footer__bottom {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.footer__section ul {
    list-style: none;
}

.footer__section a {
    color: #d4a017;
    text-decoration: none;
}

.footer__copyright {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;

        color: #fff;
        flex-direction: column;
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        display: block;
        top: 132px;
        height: 100vh;
        z-index: 999;
        padding: 20px;
        background-color: #d79128;
        transform: translateX(0);
        width: 100%;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .about__mosque,
    .activities__grid,
    .events-grid,
    .community-grid {
        flex-direction: column;
    }

    .about__mosque .about__content,
    .about__mosque .mission,
    .activities__grid,
    .events-grid,
    .community-grid {
        width: 100%;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero h2 {
        font-size: 1.5em;
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px;
}

.header__top {
    width: 100%;
}

.header__top .container {
    display: flex;
    width: 100%;
    padding: 10px 20px;
    background-color: #ffffffa3;
    justify-content: space-between;
}

.header__bottom.fixed {
    position: fixed;
    z-index: 9;
    background-color: #fff;
}

header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header__bottom {
    width: 100%;
}

.header__bottom .container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

.header__top-iitem {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__top a {
    color: #242323;
    text-decoration: none;
    font-weight: 700;
}

.header__top-iitem {
    display: flex;
    gap: 15px;
    align-items: center;
}

.about__mosque {}

.about__items {
    display: flex;
    gap: 50px;
}

.sub {
    color: #f1c152;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-decoration: uppercase;
}

.about__item {
    flex: 1;
}

h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #0d0d0d;
}

.about__content,
.mission {
    width: 100%;
}

.about__img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.about__img img {
    width: 100%;
}

.about__img img:nth-child(1) {
    grid-row: span 2;
    /* Перше зображення займає 2 рядки */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img img:nth-child(2),
.about__img img:nth-child(3) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission__items {
    margin-top: 40px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.mission__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission__item i {
    font-size: 40px;
}

.mission ul li {
    position: relative;
    padding-left: 25px;
    /* місце під іконку */
    margin-bottom: 8px;
    list-style: none;
    /* прибираємо стандартні булети */
}

.mission ul li::before {
    content: "✓";
    /* символ галочки */
    position: absolute;
    left: 0;
    top: 0;
    color: green;
    /* колір іконки */
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

.ever .container {
    margin-top: 60px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #d4a017;
}

.ever .container span {
    font-size: 36px;
    color: #0d0d0d;
}

.ever .container i {
    font-size: 80px;
    color: #fff;
}

.ever .container .button {
    background-color: #fff;
    text-wrap-mode: nowrap;
}

.activity__item i {
    font-size: 60px;

}

.activity__item {
    display: flex;
    padding: 50px 20px;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
}

.activity__content {
    display: flex;
    flex-direction: column;
}

.activity__content h3 {
    font-size: 24px;
    text-align: start;
}

.activity__content p {
    text-align: start;
    font-size: 20px;
    color: #6a6969;
}

.activities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.events {}

.events img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    max-height: 200px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    margin-top: 20px;
}

.event__item {
    display: flex;
    gap: 50px;
}

.event__content h3,
.event__content p {
    text-align: start;
}

.event__content h3 {
    font-size: 24px;
}

.events h2 {
    text-align: start;
    font-size: 36px;
}

.events h2 span {
    color: #d4a017;
}

.team img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    padding: 20px;
    background: #000;
    height: 100%;
}

.team .container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.team__content {
    background: transparent;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
}

.team__items {
    display: flex;
    gap: 10px;
}

.team__item {
    flex: 1;
}

.team__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team h2 {
    text-align: start;
    font-size: 28px;
}

.team p {
    text-align: start;
}

.social__links {
    display: flex;
    margin: 40px 0;
    gap: 10px;
}

.social__links i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    height: 58px;
    background-color: #d4a017;
    color: #000;
}

.team img {
    width: 100%;
    max-width: 400px;

    object-fit: cover;
    display: flex;
    height: auto;
    object-fit: cover;
    padding: 20px;
    background: #f5f5f5;

}

.team__content img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 0;
    padding: 0;
    background: #000;
    height: 100%;
}

.testimonial__content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.testimonial__content img {
    width: 100px;
    object-fit: cover;
    height: 100px;
}

.testimonial__content h3 {
    font-size: 24px;
    color: #0d0d0d;
}

.stars {
    color: #f1c152;
    text-align: start;
    font-size: 18px;
}

.testimonials p {
    margin-top: 10px;
    font-size: 18px;
    text-align: start;
    color: #777;
    text-align: start;
}

@media screen and (max-width: 768px) {
    .event__item {
        display: flex;
        gap: 50px;
        flex-direction: column-reverse;
    }

    .activities__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    .team .container {
        display: flex;
        gap: 30px;
        flex-direction: column;
    }

    .social__links {
        display: flex;
        margin: 40px 0;
        gap: 10px;
        flex-wrap: wrap;
    }

    .footer__bottom {
        display: flex;
        justify-content: space-around;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .header__top .container {
        display: flex;
        width: 100%;
        padding: 10px 20px;
        background-color: #ffffffa3;
        justify-content: space-between;
        flex-direction: column;
    }

    .header__bottom .container {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 5px;
        align-items: center;
    }

    .logo {
        font-size: 1em;
        font-weight: 700;
    }

    .header__bottom .container {
        display: flex;
        width: 100vw;
        justify-content: space-between;
        gap: 5px;
        align-items: center;
    }

    .about__items {
        display: flex;
        gap: 50px;
        flex-direction: column;
    }

    .mission__items {
        margin-top: 40px;
        display: grid;
        gap: 30px;
        grid-template-columns: repeat(1, 1fr);
    }

    .ever .container {
        margin-top: 60px;
        padding: 40px;
        display: flex;
        align-items: center;
        gap: 40px;
        background-color: #d4a017;
        flex-direction: column;
    }
}

.term {
    padding: 90px 0;
}

.term p {
    margin-bottom: 20px;
}

.term ul {
    padding-left: 20px;
}

.term ul li {
    margin-bottom: 15px;
}

.ckie__banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, #1f1f1f, #2c2c2c);
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    animation: slideUp 0.5s ease-out;
}

.ckie__content {
    max-width: 800px;
    text-align: center;
}

.ckie__content p {
    margin: 0 0 10px;
    font-size: 16px;
}

.ckie__content button {
    background: #ff0066;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ckie__content button:hover {
    background: #ff3385;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.faq__item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq__header {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    background: #f7f7f7;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq__header:hover {
    background: #eaeaea;
}

.faq__content {
    padding: 15px 20px;
    display: none;
    background: #fff;
    animation: fadeIn 0.3s ease;
}

.faq__item.active .faq__content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.activities.service-item .activity__item {
    display: flex;
    padding: 50px 20px;
    align-items: flex-start;
    gap: 20px;
    background: #f9f9f9;
    flex-direction: column;
}

.activities.service-item .activity__item .button {
    background: transparent;
    color: #e78e08;
    border: none;
    padding: 5px 10px;
}

.serviceitem .about__img {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    height: 500px;
}

.serviceitem .mission__items {
    margin-top: 40px;
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
    grid-template-columns: repeat(2, 1fr);
}

.serviceitem__items {
    display: flex;
    gap: 56px;
    margin: 30px 0;
}

@media screen and (max-width:768px) {
    .serviceitem__items {
        display: flex;
     
        gap: 56px;
        flex-direction: column;
    }
   
}
.serviceitem__item{
    flex: 1;
}
.serviceitem__item img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}