/* Global Style*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #95271a;
    --secondary-color: #F7F7F7;
    --therd-color: #ffffff;
    --forth-color: #7C858E;
    --text-color: #333333;

}

p {
    font-family: 'Poppins', sans-serif;
}

.section-padding {
    padding: 4rem 0;
}

.title {
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 55px;
    color: #2A2A2A;
}

.has-dash {
    position: relative;
    display: inline-block; /* ensures the dashes align properly with the text */
}

.has-dash:after,
.has-dash:before {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.has-dash:after {
    right: 105%;
}

.has-dash:before {
    left: 105%;
}


.sub-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.bg-white-2 {
    background-color: var(--secondary-color);
}

/*header*/
header .container {
    top: 50px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
}

header .navbar {
    background-color: #FFFFFF2E;
    color: #fff;
}

header .navbar-nav {
    gap: 25px;
}

header .navbar .logo img {
    width: 200px;
}

header .nav-link {
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
}

header .navbar .sub_logo img {
    max-width: 0;
}

header .navbar .sub_logo {
    display: none !important;
}

@keyframes headerAnimation {
    from {
        top: -100px;
    }
    to {
        top: 0;
    }
}

.hero-section {
    padding-block: 10rem;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* carousel section*/

#carouselExampleAutoplaying img {
    width: 100%;
    height: 85vh;
}

#carouselExampleAutoplaying .carousel-caption {
    top: 60% !important;
    bottom: auto;
    transform: translateY(-50%);
}

#carouselExampleAutoplaying h2 {
    font-size: 9rem;
    line-height: 1;
    text-shadow: 4px 0 rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

#carouselExampleAutoplaying p {
    font-size: 2rem;
    margin-bottom: 0;
    font-family: "Roboto", sans-serif;
}

/* information section*/
.information-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

/*manager-section*/
.manager-section {
    background-image: url("https://deeds.wpcharity.com/wp-content/uploads/2024/08/bg-parallax.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--therd-color);
}

.manager-section .title {
    color: var(--therd-color);
}

.manager-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.manager-section .overlay:after {
    content: "";
    height: 60%;
    width: 30%;
    position: absolute;
    right: 0;
    background-color: #95271a;
    bottom: 0;
    border-radius: 15px 0 0 0;
}

/*verses-section*/

.verses-section {
    background-color: var(--forth-color);
}

/*courses section*/

.ministry-card {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: .3s;
}


.ministry-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 15px 0 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.bg-light-red {
    background-color: #fef0ec;
}

.bg-light-blue {
    background-color: #f3f9fc;
}

/*today-message-section*/

.today-message-section {
    background-image: url("https://deeds.wpcharity.com/wp-content/uploads/2024/09/give-us-do.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*newsletter*/
.subscribe-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.input-wrapper .input-icon {
    margin-inline-end: 10px;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.input-wrapper input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}

.subscribe-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #731f15;
}


/* footer */
.footer-section {
    background-color: #111111;
    padding: 2rem 0;
    text-align: center;
    color: var(--therd-color);
}

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}


/* Play Button Circle */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1s infinite;
}

/* Triangle (Play) */
.play-icon::before {
    content: '';
    border-left: 18px solid #0008;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}


/* responsive */
@media screen and (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }

    .title {
        font-size: 30px;
    }

    #carouselExampleAutoplaying img {
        height: 35vh;
    }

    #carouselExampleAutoplaying h2 {
        font-size: 2rem;
    }

    #carouselExampleAutoplaying p {
        font-size: 1rem;
    }

    .manager-section .overlay:after,
    .has-dash:after,
    .has-dash:before {
        display: none;
    }

    header .container {
        top: 30px;
    }

    header .navbar {
        border-radius: 10px !important;
    }

    header .navbar .logo img {
        width: 100px;
    }

    .hero-section {
        margin-top: 0 !important;
    }
}
