:root {
    --primary-color: #c3922e;
    --secondary-color: #8a4a24;
    --light-bg: #ffffff;
    --light-text: #333333;
    --dark-bg: #1a1a1a; 
    --dark-text: #f0f0f0;
}

body {
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

body.light-mode {
    background-color: var(--light-bg);
    color: var(--light-text);
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

.header-text {
    font-family: 'Cinzel', serif;
}

.logo-container img {
    max-height: 120px;
}

.slide {
    display: none;
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

.active-slide {
    display: block;
}

.scripture-ref {
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    font-style: italic;
    font-weight: 500;
}

.scripture-min {
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    border-top: 4px solid var(--primary-color);
    padding: 10px;
    font-style: italic;
    font-weight: 500;
}

.scripture-quote {
    color: var(--light-text);
    border-right: 4px solid var(--light-text);
    border-bottom: 4px solid var(--light-text);
    padding: 10px;
    font-style: italic;
    font-weight: 500;
}


.text-primary{
    color: var(--primary-color);
}

.ministry-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px; /* Adds spacing between the icon and text */
}

.ministry-card {
    transition: all 0.3s ease;
    /*border-left: 4px solid var(--primary-color);*/
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ministry-card .scripture {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ministry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.dark-mode .ministry-card {
    background-color: #1C1C1C;
    /*--card-bg: #242424;*/
}

.dark-mode .section-bg{
    background-color: #1C1C1C;
}

.light-mode .ministry-card {
    background-color: #e4e4e4;
}

.bg-white{
    background-color: #f3f3f3;
}

.dark-mode .header {
    background-color: #1a1a1a;
}

.light-mode .header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dark-mode .bg-white{
    background-color: #000000;
}

.bg-dark{
    background-color: black;
}

.theme-toggle {
    cursor: pointer;
}

/*.slider-container {
    position: relative;
    overflow: hidden;
}*/

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:  #ccc;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(23px);
}

.slider i {
    color: white;
    font-size: 14px;
    z-index: 1;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0 1rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slide-content {
    padding: 2rem;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.navigation-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.active-dot, .navigation-dot:hover {
    background-color: var(--primary-color);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.dark-mode .btn-primary {
    background-color: var(--primary-color);
}

.dark-mode .btn-primary:hover {
    background-color: #d4a549;
}

.pillar-card {
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateX(5px);
}

.dark-mode .pillar-card {
    background-color: #2a2a2a;
}

.light-mode .pillar-card {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .logo-container img {
        max-height: 80px;
    }
    
    .slide-content {
        padding: 1rem;
    }
}