
/* Updated Color Scheme Based on User Preferences */
:root {
--primary: #008d84; /* Teal/Green - 1st preference */
--secondary: #38afde; /* Light Blue - 2nd preference */
--dark: #14306f; /* Dark Blue - 3rd preference */
--text-dark: #444444; /* Dark gray for body text */
--bg-light: #f5f5f5; /* Light gray background */
--text-light: #ffffff; /* White text for contrast */

--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Open Sans', sans-serif;
color: var(--text-dark);
line-height: 1.6;
background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
color: var(--dark);
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

.btn {
display: inline-block;
padding: 12px 24px;
background: #ffffff00;
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
transition: var(--transition);
border: 2px solid #fff;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
background: var(--primary);
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
color:#fff !important;
}

/* top btn css */
/* Scroll To Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #51bde6; 
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
}
/* top btn css end */

/* Mobile dropdown behavior */
.mobile-menu-overlay .dropdown-menu {
  display: none;
  padding-left: 12px;
  margin-top: 8px;
}
.mobile-menu-overlay .dropdown.open > .dropdown-menu {
  display: block;
}
.mobile-menu-overlay .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.btn-about {
    margin-right: 15px;
display: inline-block;
padding: 12px 24px;
background: var(--primary);
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
border: 2px solid #fff;
cursor: pointer;

}


.btn-about:hover{
display: inline-block;
padding: 12px 24px;
background: transparent;
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
border: 2px solid #fff;
cursor: pointer;
    
}



.btn-join{
     display: inline-block;
padding: 12px 24px;
    background: var(--primary);
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
border: 2px solid #fff;
cursor: pointer;
}

.btn-join:hover{
display: inline-block;
padding: 12px 24px;
background: transparent;
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0,0,0,0.15);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
border: 2px solid #fff;
cursor: pointer;
}

.btn-outline {
background: transparent;
border: 2px solid var(--primary);
color: var(--primary);
}

.btn-outline:hover {
background: var(--primary);
color: #fff;
}

.btn-accent {
background: var(--secondary);
}

.btn-accent:hover {
background: #2a9bc9;
}

.btn-sm {
padding: 8px 16px;
font-size: 0.9rem;
}

.btn-outline-sm {
padding: 8px 16px;
font-size: 0.9rem;
}

section {
padding: 60px 0;
}

.section-title {
text-align: center;
margin-bottom: 50px;
position: relative;
}

h3.footer-title {
    position: relative;
    left: 30px;
}

.section-title h2 {
font-size: 2.5rem;
position: relative;
display: inline-block;
padding-bottom: 15px;
}

.section-title h2:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: var(--primary);
border-radius: 2px;
}

/* Header Styles */
header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 100;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
}

.logo {
display: flex;
align-items: center;
}

nav ul li ul.dropdown-menu li a:hover{
  background: transparent !important;
}

nav ul li ul.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    font-size: 15px;
}


.logo img {
height: 80px;
}

nav ul {
display: flex;
list-style: none;
}

nav ul li {
margin-left: 30px;
}

nav ul li a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: var(--transition);
text-transform: uppercase;
}

nav ul li a:hover {
color: var(--primary);
}

.header-actions {
display: flex;
align-items: center;
}

.search-box {
position: relative;
margin-right: 20px;
}

.search-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: var(--primary);
color: #fff;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}

.search-btn:hover {
background-color: var(--dark);
color: #fff;
}

.auth-buttons {
display: flex;
align-items: center;
}

.auth-buttons a {
margin-left: 15px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
border-radius: 30px;
padding: 8px 20px;
}

.login-btn {
background-color: var(--primary);
color: #fff;
}

.login-btn:hover {
background-color: #006e6a;
color: #fff;
}

.signup-btn {
background-color: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}

.signup-btn:hover {
background-color: var(--primary);
color: #fff;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.5rem;
color: var(--text-dark);
cursor: pointer;
}

.mobile-menu-overlay {
position: fixed;
top: 0;
right: -100%;
width: 80%;
height: 100%;
background-color: #fff;
z-index: 1000;
transition: var(--transition);
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
padding: 20px;
overflow-y: auto;
}

.mobile-menu-overlay.active {
right: 0;
}

.close-menu-btn {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
font-size: 1.5rem;
color: var(--text-dark);
cursor: pointer;
}

.mobile-menu-overlay ul {
list-style: none;
margin-top: 80px;
}

.mobile-menu-overlay ul li {
margin-bottom: 20px;
}

.mobile-menu-overlay ul li a {
text-decoration: none;
color: var(--text-dark);
font-size: 1.2rem;
font-weight: 500;
transition: var(--transition);
display: block;
padding: 10px 30px;
}

.mobile-menu-overlay ul li a:hover {
color: var(--primary);
padding-left: 30px;
}

.mobile-menu-overlay .search-box {
margin: 30px 0;
}

.mobile-menu-overlay .search-box input {
width: 100%;
}

.mobile-menu-overlay .auth-buttons {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 30px;
}

.mobile-menu-overlay .auth-buttons a {
padding: 10px;
text-align: center;
border: 1px solid var(--primary);
border-radius: 30px;
}

/* Search Popup */
.search-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: var(--transition);
}

.search-popup.active {
opacity: 1;
visibility: visible;
}



.search-popup-content {
background-color: #fff;
width: 80%;
max-width: 800px;
padding: 40px;
border-radius: 10px;
text-align: center;
position: relative;
}

.close-search-popup {
position: absolute;
top: 15px;
right: 15px;
font-size: 1.5rem;
color: var(--text-dark);
cursor: pointer;
transition: var(--transition);
width:45px;
height:45px;
border-radius:200px;
}

.close-search-popup:hover {
color: var(--primary);
}

.search-popup h2 {
margin-bottom: 20px;
color: var(--primary);
}

.search-popup-form {
display: flex;
max-width: 600px;
margin: 0 auto;
}

.search-popup-form input {
flex: 1;
padding: 12px 20px;
border: 1px solid var(--secondary);
border-radius: 30px 0 0 30px;
font-family: 'Open Sans', sans-serif;
font-size: 1rem;
}

.search-popup-form button {
padding: 12px 25px;
background-color: var(--primary);
color: #fff;
border: none;
border-radius: 0 30px 30px 0;
cursor: pointer;
transition: var(--transition);
}

.search-popup-form button:hover {
background-color: var(--dark);
}



/*last slider css */

.logo-carousel {
  overflow: hidden;
  position: relative;
  background: #fff;
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: calc(250px * 12); /* adjust based on number of slides */
  animation: scroll 30s linear infinite;
}

.logo-slide {
  width: 300px;   /* medium size */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  max-width: 290px;
  max-height: 250px;
  object-fit: contain;
  filter: grayscale(100%); /* optional: make all grey */
  transition: filter 0.5s;
}

.logo-slide img:hover {
  filter: grayscale(0%); /* color on hover */
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/*last slider css */


/* Hero Section with Slider */


section.main-slider {
    padding: 0px;
}
.carousel-control-prev,
.carousel-control-next {
  opacity: 1 !important;   /* always visible */
}

/*.carousel-control-prev-icon,*/
/*.carousel-control-next-icon {*/
/*  filter: invert(1) brightness(200%); */
/*  width: 3rem;   */
/*  height: 3rem;  */
/*}*/
/* Force all carousel next/prev icons to white */
/* Light, outlined-style chevron arrows */
/* Extra light outlined chevron arrows */
/* Super light outlined chevron arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none !important;
  width: 2rem;
  height: 2rem;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.25; /* lighter white */
  transition: opacity 0.3s ease;
}

/* Left arrow - very thin outlined chevron */
.carousel-control-prev-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='white' fill='none' stroke-width='1.2' viewBox='0 0 16 16'%3E%3Cpath d='M11 2L5 8l6 6'/%3E%3C/svg%3E");
}

/* Right arrow - very thin outlined chevron */
.carousel-control-next-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='white' fill='none' stroke-width='1.2' viewBox='0 0 16 16'%3E%3Cpath d='M5 2l6 6-6 6'/%3E%3C/svg%3E");
}

/* Hover effect: gently brighter */
.carousel-control-prev-icon:hover::after,
.carousel-control-next-icon:hover::after {
  opacity: 0.8;
}


.sp.carousel-control-prev-icon,
.sp.carousel-control-next-icon {
  background-image: none !important;
  width: 18px;
  height: 18px;
}

.sp.carousel-control-prev-icon::after,
.sp.carousel-control-next-icon::after {
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.25; /* lighter white */
  transition: opacity 0.3s ease;
}

/* Left arrow - very thin outlined chevron */
.sp.carousel-control-prev-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='white' fill='none' stroke-width='1.2' viewBox='0 0 16 16'%3E%3Cpath d='M11 2L5 8l6 6'/%3E%3C/svg%3E");
}

/* Right arrow - very thin outlined chevron */
.sp.carousel-control-next-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='white' fill='none' stroke-width='1.2' viewBox='0 0 16 16'%3E%3Cpath d='M5 2l6 6-6 6'/%3E%3C/svg%3E");
}

/* Hover effect: gently brighter */
.sp.carousel-control-prev-icon:hover::after,
.sp.carousel-control-next-icon:hover::after {
  opacity: 0.8;
}

.slider-top {
    
    width: 100%;
    
}

.carousel-dark .carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.carousel-item {
  position: relative;
}

.carousel-caption {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}


.hero {
background: linear-gradient(rgb(0 0 0 / 36%), rgb(19 50 106 / 28%)), url(../afmt/img/herobg.jpg) no-repeat center center / cover;
padding: 0;
text-align: center;
position: relative;
min-height: 600px; /* Fixed height for consistent sizing */
display: flex;
align-items: center;
}

.hero-slider {
position: relative;
width: 100%;
max-width: 1200px;
margin: 0 auto;
height: 600px; /* Fixed height for consistent sizing */
}

.hero-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
pointer-events: none;
transition: opacity 1s ease;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column; /* Keeps the heading, text, and button stacked */
}
.hero-slide.active {
opacity: 1;
pointer-events: auto;
}

.hero-text {
max-width: 800px;
text-align: center;
padding: 0 20px;
}

.hero-title {
font-size: 40px; /* Increased font size */
font-weight: 700;
margin-bottom: 20px;
line-height: 1.2; /* Reduced line height */
color: #fff; /* White text as requested */
}

.hero-subtext {
font-size: 24px; /* Increased font size */
margin-bottom: 30px;
line-height: 30px; /* Set line height as requested */
max-width: 600px;
text-align: center;
color: var(--text-light); /* Lighter blue from logo */
}


.slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
color: #fff;
font-size: 2rem;
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
width: auto;
height: auto;
line-height: 1;
outline: none;
}
.slider-arrow:focus {
outline: none;
box-shadow: none;
}
.prev {
left: -50px;
}
.next {
right: -50px;
}

.slider-dots {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 12px;
z-index: 10;
}

.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: var(--transition);
}

.dot.active {
background-color: #fff;
}

img.d-block.w-100 {
    border-radius: 10px;
}

/* Responsive adjustments for slider */
@media (max-width: 992px) {
.hero {
min-height: 600px;
}

.hero-slider {
height: 600px;
}

.hero-title {
font-size: 40px;
}

.hero-subtext {
font-size: 20px;
line-height: 28px;
}

.slider-arrow {
width: 0px;
height: 0px;
font-size: 1.2rem;
}

.prev {
left: -50px;
}

.next {
right: -50px;
}

.slider-dots {
bottom: 20px;
}

.dot {
width: 10px;
height: 10px;
}
}

@media (max-width: 768px) {
.hero {
min-height: 600px;
}

.hero-slider {
height: 600px;
}

.hero-title {
font-size: 32px;
}

.hero-subtext {
font-size: 18px;
line-height: 28px;
}

.slider-arrow {
width: 0px;
height: 0px;
font-size: 1rem;
}

.prev {
left: -20px;
}

.next {
right: -20px;
}

.slider-dots {
bottom: 20px;
}
}

@media (max-width: 576px) {
.hero {
min-height: 600px;
}

.hero-slider {
height: 600px;
}

.hero-title {
font-size: 28px;
}

.hero-subtext {
font-size: 16px;
line-height: 24px;
}

.slider-arrow {
width: 0px;
height: 0px;
font-size: 0.9rem;
}

.prev {
left: -20px;
}

.next {
right: -20px;
}

.slider-dots {
bottom: 15px;
}
}

/* AD Section Styles */
.ad-section {
padding: 20px 0;
background-color: #f9f9f9;
text-align: center;
}
.ad-container {
position: relative;
max-width: 970px;
margin: 0 auto;
overflow: hidden;
}
/*.sponser {*/
/*position: absolute;*/
/*top: 245%;*/
/*right: 85%;*/
/*background-color: rgba(0, 0, 0, 0.7);*/
/*color: #fff;*/
/*font-size: 10px;*/
/*text-transform: uppercase;*/
/*padding: 2px 6px;*/
/*letter-spacing: 1px;*/
/*}*/
ul {
    margin-left: 0px;
    margin-bottom: 0px;
}
span.sponser {
    position: relative;
    top: -89%;
    left: 36%;
    background: #000;
    color: #fff;
    padding: 5px;
    font-size: 11px;
}
.ad-image {
width: 100%;
height: auto;
background-size: cover;
background-position: center;
}
/* Responsive AD sizes */
@media (min-width: 992px) {
.ad-image {
height: 250px;
background-image: url('desktop.jpg');
}
}
@media (min-width: 768px) and (max-width: 991px) {
.ad-image {
height: 90px;
background-image: url('tablet.jpg');
}
}
@media (max-width: 767px) {
.ad-image {
height: 280px;
background-image: url('mobile.jpg');
}
}


/* Quick Search Section */
.quick-search {
background-color: var(--bg-light);
padding: 40px 0;
}

/* Search Form Styling */
/*.search-form {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    flex-wrap: nowrap;*/
/*    gap: 15px;*/
    /* max-width: 100%; */
    /* margin: 0 auto; */
/*    width: 100%;*/
/*    flex-direction: row;*/
/*    align-content: space-between;*/
/*}*/


.search-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 11px;
    /* max-width: 100%; */
    /* margin: 0 auto; */
    width: 100%;
    align-content: center;
    align-items: center;
}

.start-50 {
    left: 6% !important;
}



.search-form select, .search-form input {
padding: 12px 20px;
border: 1px solid var(--secondary);
border-radius: 30px;
font-family: 'Open Sans', sans-serif;
width: 330px;
}
.search-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3e%3cpath fill='none' stroke='%23444' stroke-width='2' d='M1 1l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 45px;
}

/*.search-form select, .search-form input {*/
/*background-image: none;*/
/*background-repeat: no-repeat;*/
/*background-position: calc(100% - 15px) center;*/
/*padding-right: 45px;*/
/*}*/
.search-form select {
  padding-right: 45px; /* more space for the dropdown arrow */
}


.search-form select:focus, .search-form input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(0, 141, 132, 0.2);
}

.search-form input {
padding-right: 20px; /* Remove padding for regular input */
background-image: none; /* Remove any background image */
}

/*.search-form button {*/
/*padding: 12px 25px;*/
/*background-color: var(--primary);*/
/*color: #fff;*/
/*border: none;*/
/*border-radius: 30px;*/
/*cursor: pointer;*/
/*transition: var(--transition);*/
/*}*/

.search-form button {
    padding: 12px 25px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    display: flex
;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
}

.search-form button:hover {
background-color: #006e6a;
}

/* Mission Section */
.mission {
background-color: #fff;
margin-top: 0px;
}

.mission-cards {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
margin-top: 40px;
}

.mission-card {
flex: 1;
min-width: 300px;
text-align: center;
padding: 30px 20px;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: var(--transition);
border-bottom: 10px solid var(--primary);
}

.mission-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mission-icon {
font-size: 3rem;
color: var(--primary);
margin-bottom: 20px;
}

.mission-card h3 {
margin-bottom: 15px;
color: var(--dark);
}

/* Featured Members */
.featured-members {
background-color: var(--bg-light);
}

.members-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin-top: 40px;
}

.member-card {
background-color: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: var(--transition);
}

.member-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.member-logo {
height: 120px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--bg-light);
padding: 20px;
}

.member-logo img {
height: auto;
width: 80%;
object-fit: cover;
}

.member-info {
padding: 20px;
}

.member-info h3 {
margin-bottom: 10px;
color: var(--dark);
}

.member-info p {
color: var(--text-dark);
margin-bottom: 15px;
}

.member-link {
display: inline-block;
color: var(--primary);
font-weight: 600;
text-decoration: none;
}

.member-category, .member-location {
display: flex;
align-items: center;
margin-bottom: 8px;
color: var(--text-dark);
}

.member-category i, .member-location i {
width: 24px;
height: 24px;
background-color: var(--bg-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
color: var(--primary);
font-size: 0.8rem;
}

/* Blogs Section */
.blogs {
background-color: #fff;
}

.blog-cards {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
margin-top: 40px;
}

.blog-card {
flex: 1;
min-width: 300px;
background-color: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: var(--transition);
}

.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-image {
height: 200px;
background-color: var(--bg-light);
}

.blog-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.blog-content {
padding: 20px;
}

.blog-content h3 {
margin-bottom: 15px;
color: var(--dark);
}

.blog-content p {
color: var(--text-dark);
margin-bottom: 20px;
}
/* Events Section */
.events {
background-color: var(--bg-light);
}
.events-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 30px;
margin-top: 40px;
}
.event-card {
background-color: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: var(--transition);
display: flex;
flex-direction: column;
}
.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.event-image {
height: 200px;
background-color: var(--bg-light);
}
.event-image img {
width: 100%;
height: auto;
object-fit: contain;
}
.event-content {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.event-date {
display: inline-block;
background-color: var(--primary);
color: #fff;
padding: 5px 15px;
border-radius: 20px;
font-size: 0.9rem;
margin-bottom: 15px;
margin-top: 170px;
}
.event-content h3 {
margin-bottom: 15px;
color: var(--dark);
}
.event-location {
color: var(--text-dark);
margin-bottom: 20px;
display: flex;
align-items: center;
}
.event-location i {
margin-right: 10px;
color: var(--primary);
}
.event-description {
margin-bottom: 10px;
color: var(--text-dark);
}
.event-buttons {
margin-top: auto;
display: flex;
gap: 10px;
align-items: center;
}
.register-btn {
flex: 1;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--primary);
color: #fff;
border: none;
border-radius: 30px;
font-weight: 600;
transition: var(--transition);
}
.register-btn:hover {
background-color: #006e6a;
}
.download-btn {
flex: 0 0 auto;
background-color: transparent;
color: var(--primary);
border: 1px solid var(--primary);
padding: 8px 15px;
border-radius: 30px;
font-size: 0.9rem;
font-weight: 500;
transition: var(--transition);
height: 40px;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}

.fas {
    padding-right: 0px;
    padding-left: 2px;
} 

.download-btn:hover {
background-color: var(--bg-light);
color: var(--primary);
}

/* CTA Section */
.cta {
background: linear-gradient(rgba(20, 48, 111, 0.9), rgba(20, 48, 111, 0.9)), url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3') no-repeat center center/cover;
color: #fff;
text-align: center;
padding: 80px 0;
}

.cta-content {

margin: 0 auto;
}

.cta h2 {
font-size: 3rem;
margin-bottom: 30px;
font-weight: 700;
color: #fff;
}

.benefits-cards {
display: flex;
flex-wrap: wrap;
gap: 30px;
margin: 40px 0;
}

.benefit-card {
flex: 1;
min-width: 280px;
background-color: #fff;
backdrop-filter: none;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: var(--transition);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
border-bottom: 10px solid var(--primary);
}

.benefit-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 20px;
}

.benefit-card h3 {
margin-bottom: 15px;
font-size: 1.2rem;
font-weight: 600;
color: var(--dark);
}

.benefit-card p {
margin-bottom: 20px;
color: var(--text-dark);
}

/* Responsive Styles for CTA Cards */
@media (max-width: 992px) {
.benefit-card {
min-width: 100%;
max-width: 350px;
}
}

@media (max-width: 768px) {
.benefits-cards {
flex-direction: column;
align-items: center;
}

.benefit-card {
width: 100%;
max-width: 100%;
}
}

@media (max-width: 576px) {
.benefits-cards {
flex-direction: column;
align-items: center;
}

.benefit-card {
width: 100%;
}
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
    border-top: 1px solid #fff;
}

/*.footer-content {*/
/*display: grid;*/
/*grid-template-columns: repeat(4, 1fr);*/
/*gap: 30px;*/
/*margin-bottom: 40px;*/
/*}*/

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    margin-bottom: 40px;
    font-size: 14.5px;
}

.footer-column {
min-width: 250px;
}

.footer-column h3 {
color: #fff;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}

.footer-column h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background: var(--primary);
border-radius: 2px;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 10px;
}

.footer-links a {
color: #ddd;
text-decoration: none;
transition: var(--transition);
}

.footer-links a:hover {
color: var(--primary);
padding-left: 5px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255,255,255,0.1);
color: #fff;
border-radius: 50%;
transition: var(--transition);
}

.social-links a:hover {
background-color: var(--primary);
transform: translateY(-3px);
}

.copyright {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255,255,255,0.1);
color: #ddd;
font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
.header-container {
flex-wrap: wrap;
}

nav ul {
margin: 15px 0;
}

.search-box {
order: 3;
margin-top: 15px;
margin-right: 0;
}

.hero h1 {
font-size: 2.8rem;
}
}

@media (max-width: 768px) {
.mission-cards {
flex-direction: column;
}

.search-form {
flex-direction: column;
align-items: center;
}

.search-form select, .search-form input {
width: 100%;
max-width: 300px;
margin-bottom: 10px;
}

.events-grid {
grid-template-columns: 1fr;
}

.hero h1 {
font-size: 2.3rem;
}
}

@media (max-width: 576px) {
.mobile-menu-btn {
display: block;
}

nav ul {
display: none;
}

.search-box, .auth-buttons {
display: none;
}

.section-title h2 {
font-size: 2rem;
}

.hero h1 {
font-size: 2rem;
}

.cta h2 {
font-size: 2rem;
}

.footer-content {
grid-template-columns: repeat(2, 1fr);
}

.search-popup-content {
width: 95%;
padding: 30px;
}
}

@media (max-width: 480px) {
.benefits-cards {
flex-direction: column;
}

.benefit-card {
width: 100%;
}

.footer-content {
grid-template-columns: 1fr;
}
}

@media screen and (max-width: 600px) {
    .start-50 {
    left: 23% !important;
}
    .carousel-control-prev {
    left: 0;
    top: -66%;
}
.carousel-control-next {
    
    top: -66%;
}
img.hafele.w-100 {
    height: 210px;
}
.slider-top {
    width: 100%;
    height: 240px;
}

.ad-main img {
    height: 150px;
    margin-bottom: 20px;
}
span.carousel-control-next-icon {
    top: 16%;
    position: relative;
}
span.carousel-control-prev-icon {
    top: 16%;
    position: relative;
}
.blog-image img {
width: 100%;
height: 100%;
object-fit: fill;
}
.hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}
}



    /* Dropdown Base */
nav ul li {
  position: relative;
}

nav ul li ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -80px;
  background: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

nav ul li ul.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

nav ul li ul.dropdown-menu li a:hover {
  background: #f4f4f4;
}

/* Show dropdown on hover */
nav ul li:hover > ul.dropdown-menu {
  display: block;
}






.main-banner {
    background-image: url(../img/b1.png);
    height: 80vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    background-size: cover;
}

.about-banner {
    background-image: url(../img/aboutb1.png);
    height: 20vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    background-size: cover;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #008d84;
    border-color: #008d84;
}
.page-link {
    color:#008d84;
}
/* Make the banner look cleaner */
.card img {
  object-fit: cover;
  height: 250px;
}

/* Circle logo shadow and alignment */
.rounded-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Adjust spacing for the nav links */
.nav-link {
  color: #000 !important;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f39c12 !important;
}

/* Vertical separator style */
.nav-item span {
  color: #000;
  font-size: 16px;
}


.custom-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #008d84 50%, #ccc 50%);
}

/* Card shadow and padding */
.card {
  background-color: #fff;
}

/* Text styling */
/*p {*/
/*  font-size: 16px;*/
/*  line-height: 1.6;*/
/*  color: #000;*/
/*}*/

/* Product Card Styling */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image img {
  transition: transform 0.3s ease;
  object-fit: cover;
  height: 200px;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Product Name */
.product-card h6 {
  font-size: 16px;
}

/* Price Styling */
.product-card span {
  color: #f39c12;
  font-size: 16px;
}
/* Let content overflow so the circle can sit outside the card */
.banner-card { overflow: visible; }

/* Banner image keeps rounded corners without needing overflow-hidden */
.banner-img {
  height: 260px;              /* adjust as needed */
  object-fit: cover;
  border-radius: 1rem;        /* same as .rounded-4 */
  display: block;
}

/* Circular logo badge pinned to bottom center of banner */
.banner-logo{
  position: absolute;
  left: 6%;
  bottom: -54px;              /* pulls it over the white section */
  transform: translateX(-50%);
  z-index: 10;                /* sit ABOVE next sections */
}

/* Circle sizing + subtle ring */
.logo-ring{
  width: 110px;
  height: 110px;
  border: 3px solid #e9ecef;  /* outer ring */
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Toggle look */
.show-toggle {
  color: #000;               /* purple */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  width: 160px;
}

.circle-icon{
  width: 26px; height: 26px;
  border: 2px solid #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.show-toggle .minus { display: none; }
.show-toggle .label-less { display: none; }

/* When expanded, switch to minus + "Show Less" */
.show-toggle[aria-expanded="true"] .plus { display: none; }
.show-toggle[aria-expanded="true"] .minus { display: inline; }
.show-toggle[aria-expanded="true"] .label-more { display: none; }
.show-toggle[aria-expanded="true"] .label-less { display: inline; }

.btn:hover {
    background: transparent;
    
    /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
}

.btn-outline:hover {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

a.menu-link.info-tabs {
    color: #244082;
    font-weight: 800;
}

a.menu-link.info-tabs:hover {
    color: #008d84;
    font-weight: 800;
}
 .contact-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #fff;
    }
    .contact-item {
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }
    .icon-red {
      background-color: #d32f2f;
    }
    .icon-blue {
      background-color: #0d47a1;
    }
    .contact-text {
      margin-left: 15px;
    }
    h3.footer-title {
    font-size: 22px;
}

 p.footer-column {
   color: #fff;
}
nav.d-flex.justify-content-left.members {
    padding-left: 35px;
    margin-top: -21px;
}
fieldset{ border:1px solid #e9ecef; border-radius:10px; padding:1rem; }
    legend{ font-size:1rem; font-weight:600; width:auto; padding:0 .5rem; }
    .small-note{ font-size:.9rem; color:#6c757d; }
    
    .accordion {
      max-width: 100%;
      margin: 0 auto;
      border: 1px solid #ddd;
      border-radius: 5px;
      background: #fff;
    }

    .accordion-item {
      border-bottom: 1px solid #ddd;
    }

    .accordion-header:hover {
    background: #244082;
}
.accordion-header {
    background: #008d84;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    color: #fff;
}
    .accordion-content {
      display: none;
      padding: 15px;
      font-size: 14px;
      background: #fff;
    }

    .accordion-header.active + .accordion-content {
      display: block;
    }

    /* Optional arrow icon */
    .arrow {
      transition: transform 0.3s ease;
    }

    .accordion-header.active .arrow {
      transform: rotate(90deg);
    }

    /* Overlay show/hide */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; justify-content: flex-end;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1050;
}
.mobile-menu-overlay.open { transform: translateX(0); }

/* Panel */
.mobile-menu-overlay > ul,
.mobile-menu-overlay .panel {
  width: 86vw; max-width: 420px; height: 100%;
  background: #fff; padding: 20px;
  box-shadow: -10px 0 30px rgba(0,0,0,.12);
}

/* Overlay backdrop (covers full viewport) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000; /* above header/navbar */
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Right drawer panel */
.mobile-menu-panel {
  position: absolute;
  right: 0; top: 0;
  width: 86vw; max-width: 420px;
  height: 100vh; /* full height */
  background: #fff;
  box-shadow: -12px 0 32px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 28px;
}
.mobile-menu-overlay.open .mobile-menu-panel {
  transform: translateX(0);
}

/* Close button */
.close-menu-btn {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent; border: 0; font-size: 22px;
}

/* Scrollable content */
.mobile-menu-panel { overflow-y: auto; }

/* Mobile nav */
.mobile-nav { list-style: none; margin: 40px 0 16px; padding: 0; }
.mobile-nav > li { border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; padding: 12px 4px; color: #333; text-decoration: none; }

/* Submenu accordion */
.mobile-nav .dropdown > .dropdown-toggle {
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav .dropdown > .dropdown-toggle::after {
  content: "\f107"; /* Font Awesome chevron-down */
  font-family: "Font Awesome 5 Free"; font-weight: 900;
  transition: transform .2s ease;
}
.mobile-nav .dropdown.open > .dropdown-toggle::after { transform: rotate(180deg); }

.mobile-nav .dropdown-menu {
  list-style: none; margin: 0 0 10px 0; padding-left: 10px;
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.mobile-nav .dropdown.open > .dropdown-menu { max-height: 400px; }

/* Optional: prevent body scroll when menu open */
body.no-scroll { overflow: hidden; }


/* RESET Bootstrap dropdown inside the mobile drawer */
.mobile-menu-overlay .dropdown-menu {
  position: static !important;   /* not absolute */
  inset: auto !important;        /* ignore top/left from Bootstrap */
  transform: none !important;    /* disable BS transform popper */
  display: block !important;     /* always render; we control visibility via max-height */
  float: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Our accordion animation stays the same */
.mobile-nav .dropdown-menu {
  list-style: none;
  margin: 0 0 10px 0;
  padding-left: 10px !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.mobile-nav .dropdown.open > .dropdown-menu {
  max-height: 400px; /* enough to show items */
}

/* Optional: submenu link look */
.mobile-menu-overlay .dropdown-menu > li > a {
  padding: 10px 40px;
  color: #444;
  text-decoration: none;
  display: block;
}
.mobile-menu-overlay.active {
    right: 0;
    left: 19% !important;
}