/*!
 * FCC Website Stylesheet
/*!
 * style.css
 * Author: M.R.
 * Description: Main stylesheet for the FCC Website.
 * Last updated: 2025-27-2025
 */
/*
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: linear-gradient(to bottom, #2c1c46, #383837);
  background-image: url(/images/Hero-bg.jpg);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  margin-top: -260px;
  overflow: hidden;
}*/

/* Hero section styles */
/* Hero Video Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    background-color: #000;
    z-index: 1;
}


.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:2;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}



/* Hero Background (shows after video ends) */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/Page head banner .jpg'); /* Use your preferred background image */
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

/* Add this class when transitioning */
.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease-in-out;
}

.fade-in {
    display: block !important;
    opacity: 1 !important;
}

/*.hero-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}*/

.hero-content {
    position: relative;
    z-index: 15;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    top:-220px;
    
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        line-height: 1.2;
    }

.h1-sm {
    font-size: 2.5rem;
    font-weight: 400;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 99;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .video-control-btn:hover {
        background: rgba(0, 0, 0, 0.8);
        border-color: #fff;
        transform: scale(1.05);
    }

    .video-control-btn i {
        font-size: 1.2rem;
    }

/* Volume Indicator */
.volume-indicator {
    position: absolute;
    bottom: 30px;
    right: 95px;
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    z-index: 999;
}

.volume-level {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    transition: width 0.1s ease;
}

/* Loading Spinner */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}



/* Responsive Styles */
/*@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .h1-sm {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .h1-sm {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 80%;
        max-width: 300px;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }

    .volume-indicator {
        bottom: 20px;
        width: 60px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: .7rem;
    }

    .h1-sm {
        font-size: .5rem;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
    }

        .video-control-btn i {
            font-size: 1rem;
        }
}*/
.h1-sm {
    font-size: .5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 400px;
    }

    .h1-sm {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/*.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(44, 28, 70, 0.5) 30%,
    rgba(150, 150, 149, 0.2) 70%
  );
  pointer-events: none;
}*/

.intro {
  background-color: #fff8e1;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-box {
  max-width: 800px;
  text-align: center;
  background-color: #fff3cd;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.logo-anniv {
  width: 100px;
  margin-top: 1rem;
}

.volume-indicator {
    width: 60px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
}

.volume-level {
    position: absolute;
    height: 100%;
    background-color: white;
    border-radius: 2px;
    width: 50%; /* Initial 50% volume */
}

.video-controls {
    display: flex;
    align-items: center;
    bottom: -216px;
    z-index:10
}

.welcome {
    position: relative;
    margin-top: -58px;
    margin-bottom: 0px;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 20px 0;
    z-index: 1;
}

.fcc-welcome {
  background-color: #fcefd8;
  padding: 2rem 1rem;
  margin-top: 0px;
}

.welcome-container {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
}

.welcome-text {
  flex: 1 1 60%;
  padding: 2rem 2rem;
  font-size: 1.4rem;
  color: var(--brown-dark);
  line-height: 1.6;
}

.statement {
  margin-left: -50px;
  margin-top: 80px;
  position: relative;
  background-color: var(--beige-light);
}

.ministries {
  margin-right: -80px;
  margin-top: 50px;
  position: relative;
  color: var(--beige-light);
  background-color: var(--purple);
  z-index: 1;
}

.welcome-logo {
  flex: 1 1 30%;
  text-align: center;
}

.welcome-logo img {
  max-width: 100%;
  height: auto;
}


/* Arrow Down Button */
.scroll-arrow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .scroll-arrow span {
        font-size: 0.9rem;
        margin-bottom: 10px;
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

.arrow-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

    .arrow-icon i {
        font-size: 1.2rem;
        transform: translateY(2px);
    }

.scroll-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

    .scroll-arrow:hover .arrow-icon {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: white;
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-arrow {
        bottom: -140px;
    }

        .scroll-arrow span {
            font-size: 0.8rem;
        }

    .arrow-icon {
        width: 35px;
        height: 35px;
    }
}