/* MAIN SECTION */
.improved-activities {
    padding: 70px 0;
    background: #f8fafc;
}

/* CARD DESIGN */
.card-box {
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease-in-out;
    text-align: center;
}

.card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ICON STYLE */
.card-box .icon {
    width: 70px;
    height: 70px;
    background: #174793;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 18px auto;
    font-size: 28px;
    transition: 0.3s;
}

.card-box:hover .icon {
    background: #e84c3d;
    transform: scale(1.1);
}

/* HEADINGS */
.card-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #04273F;
    margin-bottom: 10px;
}

/* TEXT */
.card-box p {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

/* MOBILE RESPONSIVE */
@media (max-width: 767px) {
    .card-box {
        padding: 22px;
    }
    .card-box h3 {
        font-size: 18px;
    }
    .card-box .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}



/* SECTION SPACING */
.improved-value {
    padding: 60px 0;
}

/* NUMBERED BOX DESIGN */
.value-box {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* NUMBER CIRCLE */
.value-number {
    min-width: 60px;
    height: 60px;
    background: #174793;
    color: white;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-number.bg-alt {
    background: #e84c3d;
}

/* TEXT */
.value-text h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #04273F;
}

.value-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* IMAGE */
.value-image img {
    border-radius: 18px;
    width: 100%;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    .value-box {
        flex-direction: row;
        gap: 15px;
        padding: 18px;
    }

    .value-number {
        min-width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .value-text h4 {
        font-size: 19px;
    }

    .value-text p {
        font-size: 14px;
    }
}


audio{
display:none;
}

.carousel-control-next, .carousel-control-prev {
    width: 5%!important;
}
  
    @media only screen and (max-width: 600px) {
  .who-we-are{
    padding-top:16px!important;
   padding-bottom:16px!important;
  }
}
    .content {
        position: relative;
        width: 100%;
        margin: auto;
        overflow: hidden;
    }
    
    .rating-box:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}


    .content .content-overlay {
        background: rgba(0, 0, 0, 0.7);
        position: absolute;
        height: 99%;
        width: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        opacity: 0;
        -webkit-transition: all 0.4s ease-in-out 0s;
        -moz-transition: all 0.4s ease-in-out 0s;
        transition: all 0.4s ease-in-out 0s;
    }
    .content:hover .content-overlay {
        opacity: 1;
    }
    .content-image {
        width: 100%;
    }

    .content-details {
        position: absolute;
        text-align: center;
        padding-left: 1em;
        padding-right: 1em;
        width: 100%;
        top: 50%;
        left: 50%;
        opacity: 0;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        -webkit-transition: all 0.3s ease-in-out 0s;
        -moz-transition: all 0.3s ease-in-out 0s;
        transition: all 0.3s ease-in-out 0s;
    }
    .content:hover .content-details {
        top: 50%;
        left: 50%;
        opacity: 1;
    }
    .content-details h3 {
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.15em;
        margin-bottom: 0.5em;
        text-transform: uppercase;
    }
    .content-details p {
        color: #fff;
        font-size: 0.8em;
    }
    .fadeIn-bottom {
        top: 80%;
    }
       .h3, h3 {
        font-size: 18px;
        padding-bottom:20px;
    }
 
 .popup {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
  z-index: 9999; /* Ensure popup is on top */
  margin: 40px;
}

.screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
  z-index: 9998; /* Below the popup */
  display: none; 
}


.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #f44336; /* Red */
  color: white;
  border: none;
  padding: 5px 5px;
  border-radius: 5px;
  cursor: pointer;
}
#popup {
    width: 655px;
    height: 375px;
    background: #FFFFFF;
    border: 1px solid #cacaca;
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    position: relative;
    top: 150px;
    left: 375px;
}

#ac-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: #ffffff8c;
}


@media only screen and (max-width: 600px) {
    .popup {
    position: fixed;
    top: 50%!important;
    left: 40%!important;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px!important;
    display: none;
    z-index: 9999;
    width: 100%!important;
}
}

.homepage-features img {
    transition: transform 0.4s ease;
}
.homepage-features img:hover {
    transform: scale(1.05);
}
.homepage-features .feature-title {
    position: relative;
}
.homepage-features .feature-subtitle {
    color: #f0542c;
}

.feature-block:nth-child(3) .feature-title::after {
    background: #ffc107;
}
.feature-block:nth-child(2) .feature-title::after {
    background: #28a745;
}

.btn:hover {
    color: #fff;
    background-color: #f0542c;
    border-color: #f0542c;
}