@import url('https://fonts.googleapis.com/css2?family=Forum&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


/* General Styles */

html, body {
    height: 100%;
}

/* Main content area - flex grow to push footer down */
main {
    flex: 1;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f2f1ec;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: 'Forum', serif;
    color: #fff;
} 

h2, h3, h4, h5, h6 {
    font-family: 'Forum', serif;
    color: #2c3e50;
}

.section {
    margin-top: 100px;
}

#header h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

hr {
    border: none;
    height: 2px;
    background: #718f75;
    margin: 20px auto;
    width: 50%;
}

/* Custom Styles */

.green {
    /* background-color: #cee0d1; */
    background: linear-gradient(135deg, rgba(206, 224, 209, 0.2) 0%, rgba(206, 224, 209, 0.2) 15%, rgba(206, 224, 209, 0.8) 100%);
}

.rounded {
    border-radius: 20px;
}

.custom-button {
    background-color: #f2f1ec;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-button:hover {
    background-color: #718f75;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Navigation Bar */
.navbar {
    background-color: #e3d1b3;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 1rem;
}

.navbar-brand {
    font-family: 'Forum', serif;
    font-size: 1.5rem;
}

.navbar-toggler {
    border: none;
}

/* Hero Section */
.hero {
    background: url("../images/hero.webp") no-repeat center center / cover;
    color: white;
    height: 100vh;
    width: 100vw;
    flex-shrink: 0;
}

.hero div {
    padding-top: 100px;
}

#hero-buttons .btn {
    margin: 10px 0;
    padding: 10px;
    font-size: 0.7rem;
    border-radius: 30px;
    max-width: 200px;
    max-height: 40px;
}

.hero-btn {
    background-color: #718f75;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: #f2f1ec;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Affirmation Carousel */
.carousel-container {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-inner {
    background: linear-gradient(135deg, rgba(227, 209, 179, 0.2) 0%, rgba(227, 209, 179, 0.8) 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    min-width: 100%;
    transition: transform 0.5s ease;
    padding: 0 10px;
    box-sizing: border-box;
}

#affirmationCarousel .carousel-item p,
#affirmationCarousel2 .carousel-item p {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    padding: 20px;
    color: #2c3e50;
}



/* ABOUT Section */

/* Card styling for Our Mission section */
#about {
    padding-top: 77px
}

#about .card {
    border: none;
    overflow: hidden; /* Ensures image doesn't overflow card boundaries */
}

#about .card-img-top1 {
    width: 100%;
    height: 250px; /* Set a consistent height */
    object-fit: cover; /* Ensures image covers the area while maintaining aspect ratio */
    object-position: center; /* Centers the image */
}

#about .card-img-top2 {
    width: 100%;
    height: 250px; /* Set a consistent height */
    object-fit: cover;
    object-position: center 40%;
}

#about .card-body {
    padding: 2rem;
}

#about ul {
    list-style-type: none;
    text-align: left;
    line-height: 1.8rem;
}

#about ul li i {
    color: #718f75;
    margin-right: 10px;
}

/* Cards */
.card-bg-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../images/learn.jpg") no-repeat center center / cover;
    color: white;
}

.card-bg-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url("../images/practise.jpg") no-repeat center center / cover;
    color: white;
}

.card-bg-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5) 50%), url("../images/resources.jpg") no-repeat center center / cover;
    color: white;
}

/* Where to Start section - align buttons to bottom */
.card-bg-1, .card-bg-2, .card-bg-3 {
    display: flex;
    flex-direction: column;
}

.card-bg-1 .card-body, 
.card-bg-2 .card-body, 
.card-bg-3 .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-bg-1 .btn, 
.card-bg-2 .btn, 
.card-bg-3 .btn {
    margin-top: auto;
}

/* Help and Support */

#help-support {
    padding-top: 77px;
    padding-bottom: 40px;
}

.circular-container {
    border-radius: 50%;
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.helpline-circle {
    background: linear-gradient(135deg, #cee0d1 0%, #718f75 70%, #718f75 100%);
    color: white;
}

.online-sessions-circle {
    background: linear-gradient(135deg, #cee0d1 0%, #718f75 70%, #718f75 100%);
    color: white;
}

.circular-container h3 {
    color: inherit;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.circular-container p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 30px;
} 

.circular-container .btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.circular-container .btn:hover {
    background-color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}



/* Footer */
footer {
    background-color: #e3d1b3;
    color: #2c3e50;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

/* Form styling */

#contact-form {
    padding: 40px 0;
    background-color: #cee0d1;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contact-form h2 {
    margin-bottom: 30px;
    padding-left: 15px;
}

#contact-form .form-label {
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 500;
}

#contact-form .form-control {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

#contact-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Success message */
#success-message {
    color: #2c3e50;
    text-align: center;
    margin: 20px;
}

#success {
    padding-top: 65px;
    margin: 50px auto;
}

/* Learn Page Cards */

#learn .card {
    background: linear-gradient(-135deg, #cee0d1 0%, #718f75 70%, #718f75 100%);
}

#learn .card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.accordion-item {
    background-color: transparent !important;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.accordion-header {
    background-color: transparent !important;
    color: white;
    border: none;
}

.accordion-button {
    background-color: transparent !important;
    color: white;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: white;
    box-shadow: none;
}

.accordion-body {
    background-color: transparent !important;
    color: white;
    border: none;
}

.accordion-button:focus {
    box-shadow: none;
}

#learn .accordion-body {
    text-align: left;
}

#learn .accordion-body ul {
    text-align: left;
}

#learn .accordion-body li {
    text-align: left;
    padding: 2px;
}
/* Media Queries */

/* Small devices (phones, 320px) */
@media screen and (min-width: 320px) {
    .health-cards .card-body{
        min-height: 248px;
    }

    .circular-container {
        width: 300px;
        height: 300px;
        padding: 20px;
    }

}

/* Medium devices (tablets, 768px) */

@media screen and (min-width: 768px) {
    .health-cards .card-body{
        min-height: 297px;
    }

    #hero-buttons {
    right: 10%;  
    }
}


/* Large devices (desktops, 992px) */
@media screen and (min-width:992px) {
    .health-cards .card-body{
        min-height: 303px;
    }

    .about-card {
        margin-right: 20px;
    }
}