/* home page */
.header {
    width: 100%;
}

.logo-img {
    max-height: 60px;
    width: auto;
}

.nav-hover {
    position: relative;
    display: inline-block;
}

.nav-hover:hover {
    color: rgb(245, 123, 52);
}

.nav-hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 2px;
    margin-bottom: -5px;
    background-color: rgb(245, 123, 52);
    transition: 0.3s ease;
}

.nav-hover:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.call-btn {
    background-color: rgb(245, 123, 52);
    color: black;
    font-weight: bold;
    padding: 8px 14px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.call-btn i {
    margin-right: 6px;
}

.offcanvas-nav a {
    font-weight: 500;
    margin-bottom: 10px;
}

.bg-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    min-height: 100vh;
    opacity: 1;
}

/* ✅ Mobile adjustments */
@media (max-width: 767.98px) {
    .header {
        padding: 10px 15px;
    }

    .logo-img {
        max-height: 15px;
    }

    .carousel-inner img {
        height: 40vh;
        object-fit: cover;
    }

    .call-btn span {
        display: none;
    }
}

/*Optional: For very small screens, reduce height so images don’t overflow */
@media (max-width: 767.98px) {
    .carousel-img {
        height: 100vh;
    }
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    list-style: none;
    margin: 0 auto;
    max-width: 1000px;
}

.feature-list li {
    flex: 1 1 calc(33.33% - 40px);
    min-width: 220px;
    text-align: center;
}

.feature-list li div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-list i {
    font-size: 40px;
    color: #fbbc04;
    margin-bottom: 0.5rem;
}

.feature-list strong {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #001b34;
    margin-bottom: 4px;
}

.feature-list span {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .feature-list li {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 576px) {
    .feature-list li {
        flex: 1 1 100%;
    }
}

.yellow-btn {
    background-color: #f4c014;
    color: #000;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.yellow-btn:hover {
    background: #0422a5;
    color: white;
}

.yellow-btn i {
    margin-right: 8px;
}

/* icons position fixed */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    flex-direction: row;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* initiative img size  */
.initiativ-card {
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    background: #fff;
}

.initiativ-card:hover {
    transform: translateY(-5px);
}

.initiativ-card img {
    width: 100%;
    display: block;
}

.initiativ-card img {
    height: 250px;
    object-fit: cover;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

.initiativ-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(32, 27, 23, 0.1);
}

/* gallery */
.bhadana-gallery {
    background: linear-gradient(135deg, #ff8b07, #1f7e02);
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
}

.bhadana-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

.bhadana-gallery img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.bhadana-gallery img:hover {
    transform: scale(1.05);
}

/* font-family */
.font-family {
    font-family: 'Montserrat', sans-serif;
}

/* news page */
body {
    background-color: #f8f9fa;
    font-family: "Segoe UI", sans-serif;
}

.download-card {
    transition: transform 0.2s ease;
    border-left: 5px solid #dc3545;
}

.download-card:hover {
    transform: scale(1.02);
}

.btn-download {
    background-color: #cc0000;
    color: white;
}

.btn-download:hover {
    background-color: #a10000;
}

/* about */
.bio-img{
    border: 5px solid #ffe2cf; 
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
}
.bg-img-bio {
    background: linear-gradient(rgba(167, 160, 160, 0.7), rgba(132, 158, 138, 0.952)),
                    url('https://i.pinimg.com/736x/84/a8/eb/84a8eb07c7add24a24cd7d3e1d416524.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
}
/* achivment */

.img-fluid-achiv {
    max-width: 100%;
    height: auto;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
}

/*marquee */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: white;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 200px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.04);
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 100px;
    }
}

/*marquee */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: white;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 200px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.04);
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 100px;
    }
}

/* icons position fixed */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    flex-direction: row;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* dot section about */
.bg-dots {
    background-image: radial-gradient(#f8e9e9 1px, transparent 1px);
    background-size: 5px 5px;
    overflow-x: hidden;
}

.circle-behind {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2), transparent);
    border-radius: 50%;
    top: 10%;
    left: 85%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
    transform: rotate(4deg);
    border: 8px solid red;
    max-width: 100%;
}

/* contact */

/* icons position fixed */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    flex-direction: row;
}

.icon-btn:hover {
    transform: scale(1.1);
}

/* Footer */
.footer-link {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease-in-out;
}

.footer-link:hover {
    color: #176b06;
}

.footer-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #176b06;
    left: 0;
    bottom: 0;
    transition: 0.3s ease-in-out;
}

.footer-link:hover::after {
    width: 100%;
}