* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif !important;
}

:root {
    --primary-color: #58A0C8;
    --text-color: #060606;
    --hover-color: #1A2A80;
    --hover-text: #faf1ed;
}

.container {
    max-width: 1224px !important;
    margin: 0 auto !important;
}

.heading {
    position: relative;
    color: #113F67;
}

.tag {
    width: 100px;
    height: 2px;
    background-color: var(--hover-color);
}

.text {
    color: #58A0C8;
}

.text-two {
    color: #7A85C1;
}

.primary-button {
    padding: 8px 12px;
    border: 2px solid #34699A;
    border-radius: 25px;
    color: #34699A;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.4s ease-in;
}

.primary-button:hover {
    background-color: #58A0C8;
    color: white;
    border-color: #58A0C8;
}

.secondary-button {
    width: fit-content;
    padding: 8px 12px;
    border: 2px solid #58A0C8;
    border-radius: 25px;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.4s ease-in;
    color: #58A0C8;
}

/* header */
.header {
    background-color: #34699A !important;
}

.nav-link {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: white !important;
    padding: 4px !important;
}

.nav-link:hover {
    color: whitesmoke !important;
}


.scrolling-text-wrapper {
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 12s linear infinite;
    font-weight: bold;
    font-size: 1.5rem;
    color: #34699A; 
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


#navbar {
    background-color: #113F67 !important;
}

/* Carousel Styling */
.carousel-inner {
    /* height: 700px !important; */
    display: flex;
    align-items: center; /* Vertically center items */
}

.carousel-item {
    /* height: 700px !important; */
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Center caption */
    text-align: center !important;
}

/* Navigation buttons centered vertically */
.carousel-control-prev,
.carousel-control-next {
    width: 30px !important;
    height: 30px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    border-radius: 50% !important;
    opacity: 0.5;
}

/* icon */
.icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #58A0C8;
    transition: all 0.4s ease-in;
}

.icon i {
    transition: transform 0.4s ease-in;
}

.icon:hover i {
    transform: rotate(-30deg) !important;
}

/* why section */
#why-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.why-card {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    /* border: 2px solid var(--hover-color); */
    border-radius: 10px;
    padding: 12px 10px;
    box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    transition: all 0.4s ease-in;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    color: var(--hover-color) !important;
}

.why-card h4 {
    color: var(--primary-color);
}

/* brand logo */
.brands-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    /*width: 250px;*/
    /*height: 200px;*/
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* About Chairman */
.chairman-card {
    width: 100%;
    height: 300px;
    border: 1px solid #113F67;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.chairman-card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    margin-bottom: 10px;
}

.chairman-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.chairman-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.chairman-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #58A0C8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chairman-card-bottom a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

/* scroll team */
.chairman-card-2 {
    width: 100%;
    height: 300px;
    border: 1px solid #113F67;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.chairman-card-header {
    width: 100%;
    background-color: #113F67; /* Dark blue */
    padding: 10px 0;
    text-align: center;
}

.chairman-card-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chairman-card-2-top {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.chairman-card-2-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollUp 20s linear infinite;
}

.chairman-card-2-top ul li {
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    color: #113F67;
}

/* Scroll animation */
@keyframes scrollUp {
    0% {
        transform: translateY(60%);
    }
    100% {
        transform: translateY(-100%);
    }
}


/* Department card */
 #department-section {
     overflow: hidden;
     padding: 0 10px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
} 

.department-form {
    border: 1px dashed var(--hover-color);
    border-radius: 15px;
    padding: 15px;
}

.department-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.department-card {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 16px;
    background-color: transparent;
    transition: all 0.4s ease-in;
}

.department-card i {
    transition: all 0.4s ease-in;
    color: #58A0C8;
}

.department-card h5 {
    transition: all 0.4s ease-in;
    color: var(--primary-color);
}

.department-card:hover {
    background-color: #34699A;
}

.department-card:hover i {
    color: white;
}

.department-card:hover h5 {
    color: white;
}

.depart-one {
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.depart-two {
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.depart-three {
    border-bottom: 1px solid var(--primary-color);
}
.depart-four {
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.depart-five {
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.depart-six {
    border-bottom: 1px solid var(--primary-color);
}

/* Services Section */
#services {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#service-section {
}

#service-section .container {
    z-index: 999 !important;
}

.filter-btn-container {
    display: flex;
    align-items: Center;
    gap: 15px;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-btn-container button {
    min-width: fit-content;
    padding: 10px;
    border: 1px solid #113F67;
    border-radius: 15px;
    background: #92c4f3;
}

.service-item-container {
    overflow-x: auto;
    scrollbar-width: none;          
    -ms-overflow-style: none;        
    display: flex;
    scroll-snap-type: x mandatory;
    gap: 1rem;
}

.service-item-container::-webkit-scrollbar {
    display: none; 
}

.service-item {
    flex: 0 0 100%;
    gap: 20px;
    scroll-snap-align: start;
    display: none;
}

.service-item-img {
    width: 100%;
    /*max-height: 400px;*/
    border-radius: 15px;
    overflow: hidden;
}

.service-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: Center;
}

.service-item-content {
    width: 100%;
}

.service-item.active {
    display: flex;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Center Section */
#center-section {
    /*overflow: hidden;*/
    /*background-color: var(--hover-color);*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*padding: 0 10px;*/
}

.center-card {
    background-color: var(--hover-text);
    border-radius: 15px;
    overflow: hidden;
}

.center-card .center-img {
    width: 100%;
    height: 250px;
}

.center-card .center-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.center-card .card-body {
    padding: 10px;
}

/* Contact Section */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 10px 12px;
}

.contact-desc {
    padding: 8px 20px;
    border-left: 2px solid var(--primary-color);
}

.contact-time-card {
    padding: 10px 12px;
    background-color: var(--hover-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-time-card span {
    font-weight: 500 !important;
    color: var(--primary-color);
}

/* Donation Section */
.donation-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Section */
#video-section {
    position: relative;
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    z-index: 0;
}

#video-section::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #555;
    opacity: 0.5;
    z-index: 0;
}

#video-section > .content {
    position: relative;
    z-index: 1;
}


/* Video Section */
.video-parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, auto); /* or 100px, or auto */
    align-items: center;
    gap: 8px;
}

.video-parent .div2 {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}

.video-parent .div3 {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 1;
}

.video-parent .div4 {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 4;
}

.video-parent .div5 {
    /* grid-row: span 6 / span 6; */
    grid-column-start: 3;
    grid-row: 1 / 7;
}

.video-parent .div6 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 1;
}

.video-parent .div7 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 4;
}

.video-parent .div9 {
    grid-row: span 2 / span 2;
    grid-column-start: 5;
    grid-row-start: 3;
}

.video-thumb {
    background: #ccc;
    height: 250px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.youtube-overlay {
    position: absolute;
    width: 60px !important;
    height: 42px !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    transition: transform 0.3s ease;
}

.video-thumb:hover .youtube-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 0;
    border-radius: 10px;
}

.modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}




/* Testimonial Card */

#testimonial-section {
    overflow: hidden;
    padding: 0 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonial-card {
    background-color: #58A0C8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 10px;
}

.testimonial-card .author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-card .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h5 {
    color: #ffffff;
}

.testimonial-img {
    border-radius: 10%;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Owl Carousel Custom Navigation */
.testimonial-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: #113F67 !important;
    color: white !important;
    font-size: 20px !important;
}

.testimonial-carousel .owl-nav button.owl-prev {
    left: -50px;
    color: white !important;
}

.testimonial-carousel .owl-nav button.owl-next {
    right: -50px;
    color: white !important;
}

.testimonial-carousel .owl-nav button:hover {
    background: #333 !important;
}

/* Footer */
.footer-section {
    background-color: var(--primary-color);
    position: relative;
}

.footer-content p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #113F67;
    color: white;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #113F67;
    transform: translateX(5px);
}

.footer-contact li i {
    color: var(--hover-color);
    font-size: 1.2rem;
}

/* breadcrumb */
/* Breadcrumb styling */
.breadcrumb-section {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0;
    position: relative;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white !important;
}

/* Accordion */

.faq-section {
    background-color: var(--hover-text);
}

.custom-accordion .accordion-item {
    border: 1px solid #113F67;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-accordion .accordion-button {
    background-color: #113F67;
    color: white;
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #58A0C8;
    color: var(--hover-text);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.custom-accordion .accordion-button::after {
    filter: brightness(0) invert(1); /* Make icon white */
}

.custom-accordion .accordion-body {
    background-color: #f9f9f9;
    color: var(--text-color);
    padding: 1rem 1.25rem;
    border-top: 1px solid #ccc;
    font-size: 0.95rem;
}

/* news Tickers */
.news-ticker {
    background: #34699A;
    color: white;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    position: relative;
}

.ticker-title {
    background: #58A0C8;
    color: white;
    padding: 0 15px;
    font-weight: bold;
    white-space: nowrap;
}

.ticker-wrap {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.ticker-items {
    display: flex;
    animation: ticker-scroll 16s linear infinite;
    white-space: nowrap;
    padding-left: 30px;
}

.ticker-item {
    margin-right: 50px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Gallery Section - Activity Page */
#gallery-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Brand Carousel */
.brand-carousel-wrapper {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.brand-carousel {
    animation: scroll 10s linear infinite;
    width: 100%;
    gap: 40px;
}

.brand-carousel .brand-logo {
    padding: 0 20px;
    width: 200px !important;
}

.brand-logo img {
    width: 100%;
    /*object-fit: contain;*/
    display: block;
}

/* Animate logos left to right */
@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    25% {
        transform: translateX(-10%);
    }
    50%{
        transform: translateX(0%);
    }
    75% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(0%);
    }
}

    @keyframes scroll-mobile {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }

/* Responsive height handling */
@media screen and (max-width: 768px) {
    
   .brand-carousel {
        animation: scroll-mobile 15s linear infinite;
        gap: 20px;
    }
    
    .brand-carousel .brand-logo {
        padding: 0 10px;
        height: 100px;
    }
    
    .brand-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        display: block;
    }
    
    .carousel-inner,
    .carousel-item {
        height: auto !important;
    }

    .carousel-caption {
        position: static;
        transform: none;
        padding: 1rem;
    }
    
    .department-card {
        box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    }

    .depart-one,
    .depart-two,
    .depart-three,
    .depart-four,
    .depart-five,
    .depart-six {
        border: none;
    }

    .testimonial-carousel .owl-nav button {
        display: none;
    }
    
    .owl-nav {
        display: none;
    }
    
    .chairman-card {
        height: auto;
    }
    
    .chairman-card-top {
        flex-direction: column;
    }
    
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--hover-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Director Page */
.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
}

.experience-badge span {
    display: block;
}

#phone {
    position: fixed;
    top: 80%;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #113f67;
    z-index: 9999;
    transition: all 0.4s ease;
}

#phone:hover {
    border-radius: 10%;
}

#whatsapp {
    position: fixed;
    top: 80%;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #1daa61;
    z-index: 9999;
    transition: all 0.4s ease;
}

#whatsapp:hover {
    border-radius: 10%;
}

#news-card {
    height: 300px !important;
}

#news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





