/* =========================================================
   IGLESIA LUZ A LAS NACIONES
   MODERN WEBSITE
========================================================= */

:root {
    --gold: #d6ae55;
    --gold-light: #f2d78c;
    --gold-dark: #9c7226;

    --black: #080808;
    --black-2: #101010;
    --black-3: #171717;

    --white: #ffffff;
    --gray: #a9a9a9;
    --light: #f5f4f0;

    --transition: 0.35s ease;
    --shadow: 0 20px 60px rgba(0,0,0,.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================================
   PRELOADER
========================================================= */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.loader-cross {
    width: 70px;
    height: 70px;

    margin: auto auto 15px;

    border: 1px solid var(--gold);
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--gold);

    animation: pulse 1.5s infinite;
}

.loader-cross i {
    font-size: 28px;
}

.loader span {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
}


@keyframes pulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    transition: var(--transition);
}

.header.scrolled {
    background: rgba(8,8,8,.96);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
}

.nav-container {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--white);
}

.logo-icon {
    width: 43px;
    height: 43px;

    border: 1px solid var(--gold);

    display: grid;
    place-items: center;

    color: var(--gold);
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 21px;
    letter-spacing: 4px;
}

.logo-text span {
    font-size: 8px;
    letter-spacing: 3px;
    margin-top: 6px;
    color: var(--gold-light);
}


/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link,
.dropdown-button {
    color: rgba(255,255,255,.85);

    font-size: 13px;
    font-weight: 600;

    background: none;
    border: none;

    cursor: pointer;

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active,
.dropdown-button:hover {
    color: var(--gold);
}

.nav-dropdown {
    position: relative;
}

.dropdown-button {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dropdown-button i {
    font-size: 9px;
}

.dropdown-menu {
    position: absolute;

    top: calc(100% + 20px);
    left: 50%;

    transform: translateX(-50%) translateY(10px);

    background: var(--black-2);

    min-width: 180px;

    padding: 10px;

    border: 1px solid rgba(214,174,85,.2);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;

    padding: 10px 15px;

    color: var(--white);

    font-size: 13px;

    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(214,174,85,.12);
    color: var(--gold);
}

.nav-peticion {
    padding: 11px 17px;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-peticion:hover {
    background: var(--gold);
    color: var(--black);
}

.nav-peticion i {
    margin-left: 6px;
}


/* MENU MOBILE */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid rgba(255,255,255,.3);

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: white;

    transition: var(--transition);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.55),
            rgba(0,0,0,.25)
        ),
        url("img/carousel-1.jpeg") center/cover no-repeat;

    display: flex;
    align-items: center;

    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(214,174,85,.16),
            transparent 30%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 25px;
}

.hero-badge span {
    width: 30px;
    height: 1px;

    background: var(--gold);
}

.hero h1 {
    max-width: 760px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(48px, 7vw, 88px);

    line-height: 1.02;

    font-weight: 700;

    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 570px;

    font-size: 18px;

    color: rgba(255,255,255,.78);

    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 24px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.45);
    color: white;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-dark {
    background: var(--black);
    color: white;
}

.btn-dark:hover {
    background: var(--gold);
    color: var(--black);
}


.hero-bottom {
    position: absolute;

    bottom: 35px;
    left: 0;
    right: 0;

    width: min(1180px,90%);
    margin: auto;

    display: flex;
    justify-content: space-between;

    color: rgba(255,255,255,.65);

    font-size: 11px;

    letter-spacing: 1px;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-location i {
    color: var(--gold);
}

.scroll-down {
    display: flex;
    align-items: center;
    gap: 10px;

    text-transform: uppercase;
}

.scroll-down i {
    color: var(--gold);
}


/* =========================================================
   VERSE
========================================================= */

.verse-section {
    background: var(--black);
    color: white;

    padding: 75px 0;
}

.verse-container {
    display: grid;
    grid-template-columns: 80px 1fr 80px;

    align-items: center;
}

.verse-line {
    width: 50px;
    height: 1px;

    background: var(--gold);
}

.verse-small {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.verse-container h2 {
    margin-top: 12px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(28px,4vw,48px);

    line-height: 1.15;
}

.verse-container h2 span {
    color: var(--gold);
}

.verse-container p {
    margin-top: 12px;

    color: var(--gray);

    font-size: 13px;
}

.verse-cross {
    text-align: right;

    color: rgba(214,174,85,.35);

    font-size: 50px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 110px 0;
}

.section-label {
    color: var(--gold-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.about-content h2,
.contact-info h2,
.video-content h2,
.mission-header h2,
.cta-content h2 {
    font-family: "Montserrat", sans-serif;

    font-size: clamp(35px,5vw,55px);

    line-height: 1.1;

    margin-top: 13px;
}

.section-heading h2 span,
.about-content h2 span,
.contact-info h2 span,
.video-content h2 span,
.mission-header h2 span,
.cta-content h2 span {
    color: var(--gold);
}

.section-heading p {
    margin-top: 15px;

    color: #777;

    font-size: 16px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    height: 590px;

    overflow: hidden;
}

.image-frame img {
    height: 100%;

    transition: transform .8s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.experience-card {
    position: absolute;

    right: -25px;
    bottom: 35px;

    background: var(--gold);

    padding: 25px 28px;

    display: flex;
    flex-direction: column;

    box-shadow: var(--shadow);
}

.experience-card strong {
    font-family: "Montserrat", sans-serif;

    font-size: 40px;

    line-height: 1;
}

.experience-card span {
    font-size: 11px;

    font-weight: 700;

    margin-top: 6px;

    line-height: 1.3;
}

.about-content .lead {
    color: var(--black);

    font-size: 18px;

    font-weight: 500;

    margin: 25px 0 15px;
}

.about-content p:not(.lead) {
    color: #666;

    font-size: 15px;

    margin-bottom: 13px;
}

.text-button {
    display: inline-flex;
    gap: 12px;
    align-items: center;

    margin-top: 15px;

    color: var(--black);

    font-weight: 800;

    font-size: 13px;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 5px;
}

.text-button i {
    color: var(--gold-dark);

    transition: var(--transition);
}

.text-button:hover i {
    transform: translateX(5px);
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: white;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 25px;
}

.service-card {
    position: relative;

    padding: 50px;

    min-height: 400px;

    background: var(--light);

    border: 1px solid #e9e9e9;

    transition: var(--transition);

    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.service-card.main-service {
    background: var(--black);
    color: white;
}

.service-number {
    position: absolute;

    top: 25px;
    right: 30px;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    color: var(--gold);
}

.service-icon {
    width: 58px;
    height: 58px;

    border: 1px solid var(--gold);

    display: grid;
    place-items: center;

    color: var(--gold);

    margin-bottom: 35px;
}

.service-card > span {
    color: var(--gold-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;
}

.main-service > span {
    color: var(--gold-light);
}

.service-card h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 28px;

    line-height: 1.2;

    margin: 10px 0 20px;

    max-width: 400px;
}

.service-time {
    color: var(--gold);

    font-weight: 800;

    font-size: 14px;

    margin-bottom: 18px;
}

.service-time i {
    margin-right: 7px;
}

.service-card p {
    max-width: 450px;

    color: #777;

    font-size: 14px;
}

.main-service p {
    color: #aaa;
}

.service-card > a {
    position: absolute;

    bottom: 45px;
    left: 50px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;
}

.service-card > a i {
    transition: var(--transition);
}

.service-card > a:hover i {
    transform: translateX(5px);
}


/* =========================================================
   GROUPS
========================================================= */

.groups-section {
    background: var(--light);
}

.groups-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 18px;
}

.group-card {
    background: white;

    overflow: hidden;

    transition: var(--transition);
}

.group-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.group-image {
    height: 250px;

    overflow: hidden;
}

.group-image img {
    height: 100%;

    transition: .7s ease;
}

.group-card:hover .group-image img {
    transform: scale(1.08);
}

.group-content {
    padding: 25px;
}

.group-content > span {
    color: var(--gold-dark);

    font-size: 10px;

    font-weight: 800;
}

.group-content h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 23px;

    margin: 6px 0;
}

.group-content p {
    color: #777;

    font-size: 13px;

    min-height: 70px;
}

.group-content a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--black);

    font-size: 11px;

    font-weight: 800;

    margin-top: 15px;
}

.group-content a i {
    color: var(--gold-dark);

    transition: var(--transition);
}

.group-content a:hover i {
    transform: translateX(5px);
}

.wide-card {
    grid-column: span 4;

    display: grid;

    grid-template-columns: 1fr 1fr;
}

.wide-card .group-image {
    height: 320px;
}

.wide-card .group-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wide-card .group-content h3 {
    font-size: 36px;
}


/* =========================================================
   MISSION
========================================================= */

.mission-section {
    position: relative;

    background: var(--black);

    color: white;

    padding: 110px 0;

    overflow: hidden;
}

.mission-bg {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(214,174,85,.12),
            transparent 35%
        );
}

.mission-header {
    position: relative;

    margin-bottom: 55px;
}

.mission-header h2 {
    max-width: 600px;
}

.mission-grid {
    position: relative;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 25px;
}

.mission-box {
    padding: 45px;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.025);

    transition: var(--transition);
}

.mission-box:hover {
    border-color: rgba(214,174,85,.5);

    background: rgba(214,174,85,.04);
}

.mission-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    margin-bottom: 25px;
}

.mission-box > span {
    color: var(--gold);

    font-size: 10px;

    font-weight: 800;
}

.mission-box h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 27px;

    margin: 5px 0 15px;
}

.mission-box p {
    color: #aaa;

    font-size: 14px;
}


/* =========================================================
   VIDEO
========================================================= */

.video-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}

.video-content p {
    max-width: 480px;

    color: #777;

    margin: 25px 0;
}

.video-thumbnail {
    position: relative;

    height: 420px;

    overflow: hidden;
}

.video-thumbnail img {
    height: 100%;
}

.video-thumbnail::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.3);
}

.play-button {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 50%;

    transform: translate(-50%,-50%);

    width: 85px;
    height: 85px;

    border-radius: 50%;

    background: var(--gold);

    color: var(--black);

    display: grid;
    place-items: center;

    font-size: 22px;

    transition: var(--transition);
}

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

    background: white;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: var(--light);
}

.gallery-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    max-width: none;
}

.gallery-heading p {
    max-width: 400px;
}

.gallery-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;
}

.filter-btn {
    border: 1px solid #ddd;

    background: transparent;

    padding: 10px 18px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;

    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--black);

    color: white;

    border-color: var(--black);
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 12px;
}

.gallery-item {
    position: relative;

    height: 250px;

    overflow: hidden;

    cursor: pointer;
}

.gallery-item img {
    height: 100%;

    transition: .6s ease;
}

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

.gallery-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    opacity: 0;

    display: flex;

    align-items: end;

    justify-content: space-between;

    padding: 20px;

    color: white;

    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 12px;

    font-weight: 700;
}

.gallery-overlay i {
    color: var(--gold);
}

.gallery-item.hidden {
    display: none;
}


/* =========================================================
   PASTORS
========================================================= */

.pastors-section {
    background: white;
}

.pastors-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 25px;

    max-width: 900px;

    margin: auto;
}

.pastor-card {
    background: var(--light);

    overflow: hidden;

    transition: var(--transition);
}

.pastor-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.pastor-image {
    height: 430px;

    overflow: hidden;
}

.pastor-image img {
    height: 100%;
}

.pastor-info {
    padding: 30px;
}

.pastor-info span {
    color: var(--gold-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.pastor-info h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 26px;

    margin: 5px 0;
}

.pastor-info p {
    color: #777;

    font-size: 13px;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    position: relative;

    min-height: 530px;

    display: grid;
    place-items: center;

    background:
        url("img/carousel-1.jpeg")
        center/cover no-repeat;

    color: white;

    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.78),
            rgba(0,0,0,.78)
        );
}

.cta-content {
    position: relative;
}

.cta-content p {
    color: #ccc;

    margin: 18px 0 30px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.contact-info > p {
    color: #777;

    margin: 20px 0 35px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.contact-item {
    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.contact-icon {
    min-width: 45px;
    height: 45px;

    border: 1px solid var(--gold);

    display: grid;
    place-items: center;

    color: var(--gold-dark);
}

.contact-item span {
    display: block;

    color: #888;

    font-size: 10px;

    text-transform: uppercase;

    font-weight: 800;

    letter-spacing: 1px;
}

.contact-item strong {
    display: block;

    font-size: 14px;

    margin-top: 4px;
}

.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    background: #25d366;

    color: white;

    padding: 14px 20px;

    font-size: 12px;

    font-weight: 800;

    transition: var(--transition);
}

.whatsapp-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(37,211,102,.2);
}


/* FORM */

.contact-form-wrapper {
    background: white;

    padding: 45px;

    box-shadow: var(--shadow);
}

.form-header span {
    color: var(--gold-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.form-header h3 {
    font-family: "Montserrat", sans-serif;

    font-size: 28px;

    margin: 7px 0 30px;
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #ddd;

    background: #fafafa;

    padding: 13px 15px;

    outline: none;

    font-size: 13px;

    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: white;
}

.submit-button {
    width: 100%;

    border: none;

    background: var(--black);

    color: white;

    padding: 15px;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);
}

.submit-button:hover {
    background: var(--gold);

    color: var(--black);
}

.form-message {
    display: none;

    margin-top: 15px;

    padding: 12px;

    background: #e9f9ef;

    color: #1d6d38;

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--black);

    color: white;
}

.footer-top {
    padding: 70px 0;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 45px;
}

.footer-brand p {
    color: #888;

    max-width: 300px;

    font-size: 13px;

    margin-top: 20px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-column h4 {
    color: var(--gold);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column span {
    color: #999;

    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;

    gap: 8px;
}

.social-links a {
    width: 38px;
    height: 38px;

    border: 1px solid #333;

    display: grid;
    place-items: center;

    color: white;
}

.social-links a:hover {
    border-color: var(--gold);

    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #222;

    padding: 22px 0;
}

.footer-bottom .container {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    color: #666;

    font-size: 10px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;

    background: var(--gold);

    color: var(--black);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 500;
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .nav {
        gap: 14px;
    }

    .groups-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .wide-card {
        grid-column: span 2;
    }

    .gallery-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2,1fr);
    }
}


@media (max-width: 800px) {

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;

        top: 90px;
        left: 0;

        width: 100%;

        height: calc(100vh - 90px);

        background: rgba(8,8,8,.98);

        backdrop-filter: blur(20px);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        padding: 30px;

        gap: 20px;

        transform: translateX(100%);

        transition: var(--transition);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;

        transform: none;

        display: none;

        opacity: 1;

        visibility: visible;

        margin-top: 10px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-button {
        width: 100%;
        justify-content: space-between;
    }

    .about-grid,
    .video-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 50px;
    }

    .image-frame {
        height: 450px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid,
    .pastors-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .video-grid {
        gap: 40px;
    }

    .contact-grid {
        gap: 50px;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 75px 0;
    }

    .nav-container {
        height: 75px;
    }

    .nav {
        top: 75px;
        height: calc(100vh - 75px);
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: 750px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-bottom {
        display: none;
    }

    .verse-container {
        grid-template-columns: 30px 1fr;
    }

    .verse-cross {
        display: none;
    }

    .service-card {
        padding: 35px;
        min-height: 380px;
    }

    .service-card > a {
        left: 35px;
        bottom: 35px;
    }

    .groups-grid {
        grid-template-columns: 1fr;
    }

    .wide-card {
        grid-column: span 1;

        grid-template-columns: 1fr;
    }

    .wide-card .group-content {
        padding: 30px;
    }

    .wide-card .group-content h3 {
        font-size: 28px;
    }

    .gallery-heading {
        display: block;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item {
        height: 180px;
    }

    .pastor-image {
        height: 380px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
    }
}


@media (max-width: 400px) {

    .hero h1 {
        font-size: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .experience-card {
        right: 10px;
    }
}
