/* Page Loader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #f8f9fa;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: #007bff transparent #007bff transparent; /* Blue Loader */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

html, body {
  overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
}

[data-aos] {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body {
    font-family: "Epilogue", sans-serif;
    margin: 0;
    padding: 0;
}
a {
    transition: color 0.3s ease-in-out;
}
.navbar-brand {
    font-weight: bold;
    font-size: 25px;
    padding: 10px;
}
.navbar-brand, .nav-link {
    color: #000 ;
    font-weight: bold;
}
.nav-item {
    padding: 0px 25px;
}
.nav-item a {
    font-size: 14px;
}
.nav-link:hover {
    color: #007bff; /* Change this to your preferred hover color */
}
.social-icons a {
    font-size: 15px;
    margin-left: 15px;
    color: #444444;
}
.social-icons a:hover {
    color: #007bff; /* Change this to your preferred hover color */
}
.nav-link {
    font-size: 12px;
    font-weight: 600;
    color: #444444;
}
.navbar-toggler {
    border-color: white;
}
.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="%23444444" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}
.navbar .dropdown-menu {
    background-color: #ffffff; /* White background */
    border: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for seamless effect */
    transition: all 0.3s ease-in-out;
    border-radius: 0px !important;
}
.navbar .dropdown-item {
    font-weight: bold;
    color: #333; /* Dark gray text */
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}
.navbar .dropdown-item:hover {
    color: #007bff; /* White text */
    background: transparent;
}
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
/* Remove Bootstrap default dropdown arrow */
.navbar .dropdown-toggle::after {
    display: none !important;
}
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-menu .show {
    color: #007bff !important;
    background-color: transparent !important;
    outline: none; /* Removes focus outline */
}
.navbar-nav .nav-link.active {
    color: #007bff !important; /* Change to your active color */
    font-weight: 600;
}
/* Make all nav links and dropdown items use a pointer cursor */
.navbar .nav-link,
.navbar .dropdown-item {
    cursor: pointer !important;
}
/* Sub Navbar Styling */
.sub-navbar {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Container Layout */
.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
}
/* Page Title */
.sub-navbar-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}
/* Breadcrumbs */
.sub-navbar-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    font-size: 14px;
}
/* Breadcrumb Links */
.sub-navbar-breadcrumbs ul li {
    display: inline;
    font-weight: 500;
}
.sub-navbar-breadcrumbs ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.sub-navbar-breadcrumbs ul li a:hover {
    color: #ffdd57;
}
/* Active Breadcrumb */
.sub-navbar-breadcrumbs ul .active {
    color: #ffdd57;
    font-weight: 600;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0;
        padding: 60px 0px;
}
.section-title h2 {
    font-family: Oswald,Helvetica,sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding-bottom: 20px;
    position: relative;
}
.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* Home Section */
.home {
    position: relative;
    height: 100vh;
    margin-top: 0;
}
.carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
}
.carousel-inner {
    transition: transform 5s ease-in-out; /* Slower and smoother transition */
}
.carousel-caption {
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Dynamic Opacity */
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    border-top: 5px solid #007bff;
}
.carousel-caption h1 {
    font-size: 1.5rem;
    font-weight: 900;
    display: inline-block;
    padding-bottom: 0px 5px 1px 2px;
}
.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}       
.carousel-caption p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    white-space: normal; /* Allows paragraph to wrap naturally */
}   
.carousel-caption .btn {
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}
.carousel-caption .btn:hover {
    background-color: #0056b3;
}

/* Join Now Button (Near Bottom) */
.join-now-btn {
    position: fixed;
    bottom: 50px;
    right: 15px;
    background-color: #ff5733;
    color: white;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(255, 87, 51, 0.8);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

/* Show button when scrolling */
.join-now-btn.scrolled {
    opacity: 1;
    transform: scale(0.9);
    animation: bounceIn 0.8s ease-in-out;
}

/* Bounce Effect */
@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Hover Effect */
.join-now-btn:hover {
    color: #ffdd57;
    background-color: #e64a19;
    box-shadow: 0px 0px 25px rgba(255, 87, 51, 1);
    transform: scale(1);
}

/* Close (Redirect) Button */
.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: red;
    font-size: 14px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

/* Show Close Button on Hover */
.join-now-btn:hover .remove-btn {
    opacity: 1;
}

/* Close Button Hover Effect */
.remove-btn:hover {
    background: red;
    color: white;
}

/* Hide Button */
.hidden {
    display: none !important;
}

/* Typing Animation */
#typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 18px;
    font-weight: bold;
}

#typing-text::after {
    content: "Join Now";
    display: inline-block;
    border-right: 2px solid white;
    animation: typing 3s steps(8, end) infinite alternate, blink 0.7s infinite;
}

@keyframes typing {
    0% { width: 0%; }
    100% { width: 9ch; }
}

@keyframes blink {
    50% { border-color: transparent; }
}


/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about .row {
    display: flex;
    align-items: stretch; /* Ensures both columns have equal height */
}

.about-content,
.about-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%; /* Ensures both sections stretch fully */
}

.about-content {
    background-color: color-mix(in srgb, #444444, transparent 96%);
    padding: 40px;
    flex: 1; /* Ensures equal height */
}

.about-img {
    flex: 1; /* Ensures equal height */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the col-6 */
    border-radius: 10px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img:hover img {
    transform: scale(1.05); /* Pop-out effect */
}

.about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.about-content p {
    font-size: 0.8rem;
    color: #666;
}


/*Footer*/
.footer {
    background-color: #000;
    color: #fff;
    padding: 50px 0px 15px;
}
.footer h6 {
    font-weight: bold;
    margin-bottom: 10px;
}
.footer ul {
    font-size: 14px;
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 4px;
}
.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.footer ul li a:hover {
    text-decoration: underline;
}
.footer .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 15px;
    text-align: center;
    line-height: 30px;
    border-radius: 25%;
    margin-right: 10px;
    transition: 0.3s;
}
.footer .social-icons a:hover {
    background: rgba(255, 255, 255, 0.4);
}
.footer .newsletter input {
    width: 70%;
    padding: 8px;
    border: none;
    border-radius: 5px;
}
.footer .newsletter button {
    background: transparent;
    color: #fff;
    border: none;
    padding: 8px 1px;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer ul li a {
    text-decoration: none !important; /* Removes underline */
    color: white;
    transition: color 0.3s ease-in-out;
}

.footer ul li a:hover {
    color: #007bff; /* Change text color on hover */
}

.footer-bottom strong:hover {
    color: #007bff; /* Change text color on hover */
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}
.newsletter {
    position: relative;
    width: 100%;
    max-width: 300px; /* Adjust width as needed */
}
.newsletter-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 0px !important;
    border-bottom: 2px solid white !important; /* White bottom border */
    outline: none;
    font-size: 16px;
    background: transparent;
    color: white; /* White text color */
}
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Slightly faded white for placeholder */
}

/* Sub Navbar Styling */
.sub-navbar {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Container Layout */
.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
}
/* Page Title */
.sub-navbar-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}
/* Breadcrumbs */
.sub-navbar-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    font-size: 14px;
}
/* Breadcrumb Links */
.sub-navbar-breadcrumbs ul li {
    display: inline;
    font-weight: 500;
}
.sub-navbar-breadcrumbs ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.sub-navbar-breadcrumbs ul li a:hover {
    color: #ffdd57;
}
/* Active Breadcrumb */
.sub-navbar-breadcrumbs ul .active {
    color: #ffdd57;
    font-weight: 600;
}
/* Members Section */
.members-section {
    padding: 60px 0;
    background: transparent;
    text-align: center;
}

/* Members Grid (Custom Row) */
.members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Member Card */
.member-card {
    width: calc(25% - 20px); /* 4 columns per row */
    background: white;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px; /* Consistent height */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Lift effect on hover */
}

/* Member Photo */
.member-photo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10%;
    border: 4px solid #ddd; /* Optional border */
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevent cropping */
}

/* Member Details */
.member-details {
    flex-grow: 1;
    padding: 10px;
}

.member-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-role {
    font-size: 14px;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .member-card {
        width: calc(33.33% - 20px); /* 3 per row on tablets */
    }
}

@media (max-width: 768px) {
    .member-card {
        width: calc(50% - 20px); /* 2 per row on smaller screens */
    }
}

@media (max-width: 576px) {
    .member-card {
        width: 100%; /* Full width for mobile */
    }
}

.focus-projects {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.project-card {
    background: #fff;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.project-card p {
    font-size: 0.9rem;
    color: #555;
}

.project-card .icon {
    font-size: 2.5rem;
    color: #007bff;
}

@media (max-width: 768px) {
    .project-card {
        padding: 20px;
    }
}
.news-media .video-container, 
.news-media .news-container {
  background: #fff;
  padding: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.accent-title {
  font-size: 1.2rem;
  font-weight: bold;
  padding-left: 10px;
  border-left: 4px solid #007bff; /* Blue accent */
  margin-bottom: 15px;
  color: #333;
}

/* Events Section */
.events {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Events Section */
.events {
    padding: 80px 0;
    background: #f8f9fa;
}

.event-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.event-item:hover {
    transform: scale(1.05);
}

.event-img {
    position: relative;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}

.event-date i {
    margin-right: 5px;
}

.event-content {
    padding: 10px;
}
.event-footer {
    background: color-mix(in srgb, #007bff, transparent 96%);
    padding: 20px;
}
.event-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}
.event-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.event-meta i {
    color: #dc3545;
    margin-right: 5px;
}
.event-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}
.readmore {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none; /* Removes underline */
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.readmore:hover {
    text-decoration: none; /* Ensures no underline on hover */
}

.readmore i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.readmore:hover i {
    transform: translateX(5px);
}

.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.partners-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 2px;
}

.partner-logo {
    border: 2px solid color-mix(in srgb, #444444, transparent 85%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.partner-logo img {
    width: 180px;  /* Set a fixed width */
    height: 100px; /* Set a fixed height */
    object-fit: contain; /* Ensures logos fit without distortion */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.partner-logo img:hover {
    transform: scale(1.1);
}

.partnership-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
#board-of-trustees-list {
    background: #f8f9fa;
    padding: 50px 0;
}

.section-title .highlight {
    color: #007bff;
}

/* Trustee List */
.trustees-list {
    max-width: 800px;
    margin: 0 auto;
}

.list-group {
    overflow: hidden;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.list-group-item {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: color-mix(in srgb, #444444, transparent 16%);
    color: white;
    transform: translateX(5px);
    cursor: pointer;
}

/* Trustee Icons */
.list-group-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-right: 10px;
}

.fw-bold {
    font-weight: bold;
}

/* Additional Trustees */
.text-yellow {
    color: #ffcc00 !important;
}


.reviews-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.review-card {
    background: #fff;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-left: 5px solid #007bff;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
}

.review-name {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.review-role {
    font-size: 14px;
    color: #777;
}

.review-text {
    font-size: 16px;
    color: #333;
    font-style: italic;
    line-height: 1.5;
}

.quote-icon-left, .quote-icon-right {
    color: #007bff;
    font-size: 20px;
    margin: 0 5px;
}