/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
    --black1: #000000;
    font-family: Barlow;
}
body{
    background-color: #FFFFFF;
    overflow-x: hidden;
}
.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* image border */
.custom-image {
    width: 100%;
    height: auto;
    border: 3px solid #ddd; /* Change color and width as needed */
    padding: 5px; /* Optional padding for the image */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.logoheader{
    background-color: #201E43;
}
.custom-card {
    border: 2px solid black;
    
    position: relative;
}

.card-img {
    height: 100%;
    object-fit: cover;
}

.card-img-overlay {
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.custom-card h5, .custom-card p {
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Padding for container-fluid */
.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    /* Text size adjustments for smaller screens */
    .card-img-overlay h5 {
        font-size: 1rem;
    }

    .card-img-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-img-overlay h5 {
        font-size: 0.9rem;
    }

    .card-img-overlay p {
        font-size: 0.75rem;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

/* form */
.form-section {
    background-color: #000000;
    padding: 40px;
    border-radius: 8px;
    margin-top: 20px;
}

.form-control {
    margin-bottom: 20px;
}

.btn-submit {
    background-color: #f06292;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #ec407a;
}

/* footer */
footer {
    background-color: #201E43;
    padding: 20px 0;
}


/* Styling for headings and links */
h5 {
    font-weight: bold;
    margin-bottom: 15px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

/* Horizontal line in footer */
/* Dropdown button styling */
.dropdown-btn {
    background-color: transparent;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chevron icon for dropdown */
.dropdown-btn::after {
    content: "\f078"; /* Unicode for FontAwesome chevron-down */
    font-family: "Font Awesome 5 Free"; /* Adjust according to your icon library */
    font-weight: 900;
    margin-left: 8px;
    /* background-color: #161D6F; */
}

/* Dropdown content styling */
.dropdown-content {
    display: none;
    position: absolute;
    /* background-color: #161D6F; */
    background-color: #201E43;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Dropdown content links */
.dropdown-content a {
    color: white;
    padding: 10px 20px;
    display: block;
    text-align: left;
}

/* Show dropdown on hover */
.footer-section:hover .dropdown-content {
    display: block;
}

/* Adjust for mobile screens */
@media (max-width: 768px) {
    .text-center {
        margin-bottom: 20px;
    }

    /* Stack columns vertically */
    .col-md-4 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px; /* Add margin for spacing */
    }

    /* Center the dropdown button on smaller screens */
    .dropdown-btn {
        width: 100%;
        text-align: center;
    }

    /* Make sure dropdown content is positioned properly */
    .dropdown-content {
        position: relative;
        min-width: 100%; /* Make it full-width on small screens */
    }

    /* Adjust the alignment for mobile */
    .dropdown-content a {
        text-align: center;
        padding: 15px;
    }
}

/* Ensure equal spacing for footer sections */
@media (min-width: 576px) {
    .footer-section {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-section h5 {
        margin: 0;
    }

    .footer-section a {
        display: block;
        padding: 0 10px;
        width: 100%;
    }
}
  
  
/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
.img1 img {
    width: 100%; /* Let Bootstrap handle the responsiveness */
    display: block;
    margin: 0 auto; /* Center the image */
}

.img1 .boody {
    margin-top: 10px;
    text-align: center;
    font-size: larger;
    font-family: "Oswald", system-ui;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

@media (min-width: 576px) { /* For small screens and above */
    .img1 .boody {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (min-width: 768px) { /* For medium screens and above */
    .img1 .boody {
        margin-left: 8%;
        margin-right: 8%;
    }
}

@media (min-width: 992px) { /* For large screens and above */
    .img1 .boody {
        margin-left: 10%;
        margin-right: 10%;
    }
}



@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* Additional CSS to handle smaller screens */
@media (max-width: 991px) {
    .feature-text {
        padding: 1rem;
    }

    .img-fluid {
        height: auto;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .feature-text p {
        font-size: 1.2rem;
        padding: 0;
    }

    .container.feature {
        padding: 0 !important;
    }

    .feature-text {
        padding: 1rem !important;
    }
}
/* events and campaign */
.custom-card {
    border: 2px solid black;
    position: relative;
}

.card-img {
    height: 100%;
    object-fit: cover;
}

.card-img-overlay {
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.custom-card h5, .custom-card p {
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Padding for container-fluid */
.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    /* Text size adjustments for smaller screens */
    .card-img-overlay h5 {
        font-size: 1rem;
    }

    .card-img-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-img-overlay h5 {
        font-size: 0.9rem;
    }

    .card-img-overlay p {
        font-size: 0.75rem;
    }
}
/* event and campaign end */
  
/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item {
    margin-left: auto;
    margin-right: auto;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

