:root {
  /*--rotary-blue: #005daa;*/
	--rotary-blue: #24187b;
	/*--rotary-blue: #25488d;*/
  --rotary-gold: #f7a81b;
  --dark-blue: #0a2943;
  --dark-gray: #222529;
  --light-gray: #f4f7f9;
  --text-color: #555;
  --header-height: 88px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
section[id] {
  scroll-margin-top: var(--header-height);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark-blue);
}
.section-padding {
  padding: 80px 0;
}
.section-bg {
  background-color: var(--light-gray);
}

/* =================================== */
/* == HEADER & MENU STYLES == */
/* =================================== */
#site-header {
    transition: top 0.4s ease-in-out;
}
#site-header.header-hidden {
    top: -150px; /* Hides the header completely */
}
.top-bar {
  /*background-color: var(--dark-blue);*/
	background-color: #24187b;
  color: #fff;
  padding: 12px 0;
  font-size: 0.9rem;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover {
  color: var(--rotary-gold);
}
.top-bar .social-links a {
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 0 5px;
}
.top-bar .social-links a:hover {
  color: var(--rotary-gold);
  transform: scale(1.2);
}
.main-navbar {
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.navbar-brand img {
  max-height: 50px;
}
.navbar-brand .club-name {
  font-weight: 700;
  font-size: 1.4rem;
  margin-left: 15px;
  color: var(--rotary-blue);
}
.navbar .nav-link {
	font-weight: 600;
    color: var(--dark-blue);
    margin: 0 9px;
    padding: 8px 44px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.navbar .nav-link:hover {
  color: #fff;
  background-color: var(--rotary-blue);
}
.navbar .nav-link.active {
  color: #fff;
  background-color: var(--rotary-blue);
}
.btn-rotary-primary {
	background-color: var(--rotary-gold);
	border-color: var(--rotary-gold);
	color: #fff;
	font-weight: 600;
	padding: 10px 10px;
	border-radius: 5px;
	transition: all 0.3s ease;
}
.btn-rotary-primary:hover {
  background-color: #e0920a;
  border-color: #e0920a;
  transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
  height: 85vh;
  color: #fff;
}
.hero-slider .carousel-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
}
.hero-slider .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: center;
}
.hero-slider h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-slider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 41, 67, 0.5);
}
/* Next Meeting Section */
.next-meeting-section {
  padding-top: 80px;
}
.meeting-box {
	background-color: var(--rotary-blue);
	color: #fff;
	border-radius: 15px;
	padding: 30px;
	margin-top: -75px;
	position: relative;
	z-index: 10;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.meeting-box h3 {
	color: #fff;
}
.meeting-box h5 {
    color: var(--rotary-gold);
}
/* Section Title */
.section-title {
  margin-bottom: 60px;
}
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--rotary-gold);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section-title p {
  max-width: 600px;
  margin: auto;
}
/* About Section & Since Badge */
.about-creative-img {
  position: relative;
}
.about-creative-img img {
  border-radius: 15px;
}
.about-creative-img .since-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--rotary-blue);
  color: #fff;
  padding: 25px;
  border-radius: 50%;
  text-align: center;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.about-creative-img .since-badge span {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}
/* Rotary Values Section with Hover Effect */
.rotary-values-section {
  background-color: var(--rotary-blue);
  color: #fff;
}
.value-item {
  text-align: center;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}
.value-item .icon {
  font-size: 3rem;
  color: var(--rotary-gold);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}
.value-item:hover {
  transform: translateY(-10px);
  background-color: var(--dark-blue);
  border-color: var(--rotary-gold);
}
.value-item:hover .icon {
  color: #fff;
  transform: scale(1.1);
}
.value-item h5 {
  color: #fff;
  transition: all 0.3s ease;
}
.value-item:hover h5 {
  color: var(--rotary-gold);
}
.value-item p {
  color: rgba(255, 255, 255, 0.8);
}
/* Cause Card (3-card section) with Gold Border & Lift Hover */
.cause-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
}
.cause-card:hover {
  transform: translateY(-10px);
  border-color: var(--rotary-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.cause-card .card-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: rgba(0, 93, 170, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cause-card .card-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--rotary-blue);
}
/* New 7 Areas of Focus section - Redesigned */
.focus-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.focus-icon {
  font-size: 3rem;
  color: var(--rotary-gold);
  margin-bottom: 15px;
}
.focus-card h6 {
  font-weight: 500;
  color: var(--dark-gray);
}
#focusCarousel .carousel-control-prev-icon, #focusCarousel .carousel-control-next-icon {
  background-color: var(--dark-blue);
  border-radius: 50%;
}
/* Leadership Multi-Item Slider */
.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin: 0 15px;
}
.team-card .team-info {
  padding: 25px;
}
.team-card .team-info h5 {
  color: var(--rotary-blue);
}
.team-card .team-info p {
  color: var(--rotary-gold);
  font-weight: 600;
  margin-bottom: 15px;
}
.team-card .team-social a {
  color: var(--text-color);
  margin: 0 8px;
  font-size: 1.1rem;
}
.team-slider .carousel-control-prev, .team-slider .carousel-control-next {
  width: auto;
}
.team-slider .carousel-control-prev-icon, .team-slider .carousel-control-next-icon {
  background-color: var(--dark-blue);
  border-radius: 50%;
  padding: 1.2rem;
}
/* Updates Section */
.update-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.update-card .read-more {
  color: var(--rotary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.update-card .read-more i {
  display: inline-block;
  transition: transform 0.3s ease;
}
.update-card .read-more:hover {
  color: var(--rotary-blue);
}
.update-card .read-more:hover i {
  transform: translateX(5px);
}
#updatesCarousel .carousel-control-prev-icon, #updatesCarousel .carousel-control-next-icon {
  background-color: var(--dark-blue);
  border-radius: 50%;
}
/* Other common styles */
.cta-parallax {
  /*background: url('https://placehold.co/1920x800/555/fff?text=Community+Impact') no-repeat center center fixed;*/
	background: url("../../images/partnership-for-a-better-future.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  padding: 120px 0;
  color: #fff;
}
.cta-parallax .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 41, 67, 0.75);
}
.cta-parallax .content {
  position: relative;
  z-index: 2;
}
.cta-parallax h2 {
  color: #fff;
  font-size: 3rem;
}
.footer {
  background-color: var(--dark-blue);
  color: #a9b5c1;
  padding-top: 80px;
}
.footer h5 {
  color: #fff;
}
.footer a {
  color: #a9b5c1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--rotary-gold);
}
.footer .footer-bottom {
  background-color: #061e31;
  padding: 20px 0;
  margin-top: 40px;
  color: #7f8c8d;
}
#backToTopBtn {
	position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 41px;
    background-color: var(--rotary-blue);
    color: #fff;
    border: none;
    border-radius: 8%;
    font-size: 1.5rem;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.3s;
}
#backToTopBtn:hover {
	background-color: var(--rotary-gold);
}
#backToTopBtn.show {
	opacity: 1;
	visibility: visible;
}

/* =================================== */
/* == STYLES FOR ABOUT US PAGE == */
/* =================================== */

/* Inner Page Hero (Parallax) */
.page-hero {
    padding: 100px 0;
    position: relative;
    background: url("../../images/banner/5.jpg") no-repeat bottom center fixed;
    background-size: cover;
    color: #fff;
}
.page-hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(37, 72, 141, 0.75);
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 { color: #fff; }
.breadcrumb-item, .breadcrumb-item a { color: #fff; text-decoration: none; }
.breadcrumb-item.active { color: var(--rotary-gold); }
.breadcrumb-item a:hover { color: var(--rotary-gold); }
.breadcrumb-item + .breadcrumb-item::before { color: #fff; }

/* Mission & Vision cards with Gold Border & Lift Hover */
.mission-vision-card {
    background-color: #fff; padding: 40px; border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07); height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}
.mission-vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--rotary-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.mission-vision-card .icon { font-size: 3rem; color: var(--rotary-blue); margin-bottom: 20px; }

/* Animated Counter Section */
.counter-section {
    background-color: var(--dark-blue);
    color: #fff;
}
.counter-box { text-align: center; }
.counter-box .icon { font-size: 3rem; color: var(--rotary-gold); margin-bottom: 15px; }
.counter-box .counter { font-size: 2.5rem; font-weight: 700; color: #fff; }
.counter-box p { font-size: 1.1rem; color: rgba(255,255,255,0.8); }


/* =================================== */
/* == STYLES FOR CAUSES CAROUSEL == */
/* =================================== */
/* =================================== */
/* == STYLES FOR DYNAMIC CAUSES CAROUSEL == */
/* =================================== */
.cause-carousel .carousel-inner {
    display: flex;
}
.cause-carousel .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 100%;
}

/* On medium screens and up, show 3 items */
@media (min-width: 768px) {
    .cause-carousel .carousel-item {
        flex: 0 0 calc(100% / 3);
    }
}

.cause-carousel .carousel-control-prev,
.cause-carousel .carousel-control-next {
    width: 5%;
}
.cause-carousel .carousel-control-prev-icon,
.cause-carousel .carousel-control-next-icon {
    background-color: var(--dark-blue);
    border-radius: 50%;
    padding: 1.2rem;
}