:root {
    --primary-color: #2d9272;
    --secondary-color: #59b868;
    --accent-color: #56a978;
    --deep-blue: #186578;
    --navy: #062856;
    --light-bg: #f8f9fa;
    --dark-text: #062856;
    --navbar-height: 72px;
}


section , div , a, .card{
    scroll-margin-top:90px;
}


/* Base icon styles */
.fas, .fa, .fab, .far, .fal {
    /* color: var(--secondary-color); */
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Noto Sans Kannada', sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    padding-top: 10px; /* reduced from var(--navbar-height) */
}

.kannada-script {
    font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: '#062856';
    letter-spacing: 1px;
}

.kannada-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--deep-blue));
    color: white;
    font-size: 2rem;
    font-family: 'Noto Sans Kannada', sans-serif;
    /* border-bottom: 6px solid var(--secondary-color); */
    box-shadow: 0 2px 10px rgba(6, 40, 86, 0.08);
    height: 900px;
}

.kannada-navbar {
    background: rgba(45, 146, 114, 0.97) !important;
    box-shadow: 0 2px 20px rgba(6, 40, 86, 0.08);
    min-height: var(--navbar-height);
}


.navbar-brand, .nav-link {
    color: var(--navy) !important;
    font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;

}

.nav-link.active, .nav-link:hover {
    color: white !important;
}

.navbar-nav {
    gap: 10px;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--deep-blue));
    color: white;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border: none;
}

.btn-register:hover {
    background: var(--secondary-color);
    color: var(--navy);
}

.footer {
    background: var(--primary-color);
    color:var(--navy);
    padding: 100px 0px;
}

.footer .footer-center {
    text-align: center;
}



.footer-links a:hover {
    color: var(--secondary-color);
}

/* Footer text color to match footer links */
.footer p {
    color: #bde5d3;
}
.footer p a {
    color: #cee7dc;
}
.footer  a:hover {
    color: var(--navy);
}
footer-links a{
    color: var(--navy);
}

.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons a {
    color: var(--navy) !important;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
    /* border: 1px solid var(--navy); */
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.subscribe-btn {
    background: var(--navy);
    color: white;
}

.subscribe-btn:hover {
    background: var(--accent-color);
    color: var(--navy);
}

/* Section dividers and motifs */
section {
    border-bottom: none; /* remove dashed divider for every section */
    padding: 3rem 0; /* consistent vertical padding for each section */
    margin-bottom: 3rem;
    background: white;
    border-radius: 0; /* remove curve for all sections */
    box-shadow: 0 8px 32px rgba(45, 146, 114, 0.05);
}

section:last-child {
    border-bottom: none;
}

/* Kannada motif SVG as section divider */
.kannada-divider {
  display: none;
}

section {
  padding: 60px 0;
}

/* Hero/Banner sizing */
.hero-section {
    min-height: 900px; /* same as previous banner height */
    padding: 80px 0;   /* comfortable vertical spacing */
    border-radius: 0 0 40px 40px; /* keep curve only for banner */
}

.hero-img {
    max-height: 700px; /* requested image height */
    width: auto;
    object-fit: contain;
}

/* Hero buttons */
.btn-get-started {
    background: linear-gradient(135deg, var(--primary-color), var(--deep-blue));
    color: #fff !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-get-started:hover {
    background: var(--secondary-color);
    color: var(--navy) !important;
}

.btn-watch-video {
    background: var(--deep-blue);
    color: #fff !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-watch-video:hover {
    background: var(--accent-color);
    color: var(--navy) !important;
}

@media (max-width: 991.98px) {
    body { padding-top: 10px; }
}

@media (max-width: 768px) {
    .kannada-banner { font-size: 1.2rem; }
    .kannada-script { font-size: 1.1rem; }
    .navbar-brand { font-size: 1.1rem; }
    .hero-section { min-height: 480px; padding: 60px 0; }
    .hero-img { max-height: 300px; }
}

a, a:visited, a:active {
    text-decoration: none !important;
}

.footer-links a, .footer-links a:visited, .footer-links a:active {
    text-decoration: none !important;
}

/* Section headings centered */
.section-title {
    text-align: center;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--deep-blue);
    margin-bottom: 2rem;
}

/* Generic card look */
.about-card, .event-card, .leader-card {
    background: #fff;
    border: 1px solid rgba(6, 40, 86, 0.08);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(6, 40, 86, 0.06);
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about p{
    text-align: justify;
}

.about-card:hover, .event-card:hover, .leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6, 40, 86, 0.12);
}

/* About icons */
.about-card .about-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Event card layout */
.event-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.event-card .event-date {
    min-width: 88px;
    text-align: center;
    background: rgba(45,146,114,0.08);
    color: var(--deep-blue);
    border-radius: 12px;
    padding: 0.5rem;
}

.event-card .event-content h5 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.event-card p {
    margin-bottom: 0.25rem;
}

/* Leadership cards */
.leader-card {
    text-align: center;
}

.leader-card .leader-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,40,86,0.08);
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.leader-card h5 {
    margin-bottom: 0.25rem;
    color: #3b9e6f;
}

.leader-card .text-muted {
    margin-bottom: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .event-card { flex-direction: column; }
    .event-card .event-date { width: 100%; }
}

/* Simplified and Optimized Accordion Styles */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-button {
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    color: var(--navy);
    background-color: #f8f9fa;
    border: 1px solid rgba(6, 40, 86, 0.1);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23062856'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transition: transform 0.15s ease;
}

.accordion-body {
    padding: 1rem 1.25rem;
    background-color: white;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(6, 40, 86, 0.1);
    border-top: none;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 0.75rem;
}

.accordion-button i {
    margin-right: 10px;
    font-size: 1.1em;
}

/* Remove complex animations */
.accordion-collapse {
    transition: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-button {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 0.9rem 1rem;
    }
}

/* Remove any complex hover effects */
.accordion-button:hover {
    background-color: #f1f3f5;
}

.accordion-button:not(.collapsed):hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* Ensure proper spacing for accordion sections */
#cultureAccordion, #childhoodAccordion {
    margin-top: 1.5rem;
}

/* Add smooth scroll for better UX when opening accordions */
.accordion-button:not(.collapsed) {
    transition: all 0.3s ease;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-filters {
  padding: 0;
  margin: 0 0 40px 0;
  list-style: none;
  text-align: center;
}

.gallery .gallery-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #444;
  margin: 0 4px 8px 4px;
  background: #f5f5f5;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: "Poppins", sans-serif;
}

.gallery .gallery-filters li:hover,
.gallery .gallery-filters li.filter-active {
  color: #fff;
  background: #2d9272;
}

.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

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

.gallery .gallery-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery .gallery-wrap img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery .gallery-item:hover .gallery-wrap img {
  transform: scale(1.05);
}

.gallery .gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translateY(100%);
}

.gallery .gallery-item:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery .gallery-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.gallery .gallery-info p {
  font-size: 14px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.gallery .gallery-links {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
}

.gallery .gallery-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: 10px;
  font-size: 18px;
}

.gallery .gallery-links a:hover {
  background: #2d9272;
  color: #fff;
}

/* Responsive styles */
@media (max-width: 992px) {
  .gallery .gallery-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .gallery .gallery-filters li {
    padding: 6px 15px;
    font-size: 14px;
  }
  
  .gallery .gallery-info h4 {
    font-size: 16px;
  }
  
  .gallery .gallery-info p {
    font-size: 13px;
  }
}

/* Lightbox customization */
.glightbox-clean .gslide-description {
  background: #2d9272 !important;
  color: #fff !important;
}

.glightbox-clean .gslide-title {
  color: #fff !important;
  font-family: 'Noto Sans Kannada', sans-serif !important;
}

.glightbox-clean .gslide-desc * {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  background: #f9f9f9;
  margin-bottom: 30px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

/* ===== Events Section ===== */
#events {
    position: relative;
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

/* #events1 .h5{
    color:var(--navy   );
} */

#events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #2d9272, #59b868, #56a978, #186578);
    z-index: 1;
}

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

#events .section-title h2 {
    display: inline-block;
    font-size: 2.5rem;
    color: #186578;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    background: #f8f9fa;
}

#events .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2d9272;
    border-radius: 3px;
}

#events .section-title p {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Event Cards */
.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(45, 146, 114, 0.1);
    position: relative;
    z-index: 1;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2d9272, #59b868);
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(6, 40, 86, 0.15) !important;
}

.event-date {
    position: relative;
    text-align: center;
    color: white;
    padding: 20px 15px;
    z-index: 1;
    overflow: hidden;
}

.event-date::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 C0,22.4 22.4,0 50,0 C77.6,0 100,22.4 100,50 C100,77.6 77.6,100 50,100 C22.4,100 0,77.6 0,50 Z" fill="rgba(255,255,255,0.1)"/></svg>') center/contain;
    opacity: 0.3;
    z-index: -1;
}

.event-date div:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.event-date div:last-child {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.event-content {
    padding: 25px;
    position: relative;
}

.event-content::before {
    content: '✻';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d9272;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.event-content h4 {
    color: #186578;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.event-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #2d9272, #59b868);
}

.event-meta {
    margin: 15px 0;
}

.event-meta p {
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.event-meta i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.event-highlights {
    background: rgba(45, 146, 114, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    border: 1px dashed rgba(45, 146, 114, 0.2);
}

.event-highlights h6 {
    color: #2d9272 !important;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-highlights h6 i {
    margin-right: 8px;
}

.event-highlights ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.event-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.95rem;
}

.event-highlights li::before {
    content: '❖';
    position: absolute;
    left: 0;
    color: #2d9272;
    font-size: 0.8em;
}

.btn-event {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, #2d9272, #186578);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #59b868, #56a978);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 146, 114, 0.3);
    color: white;
}

.btn-event:hover::before {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .event-card {
        margin-bottom: 30px;
    }
}

/* Traditional Decorative Elements */
.traditional-pattern {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.pattern-1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #2d9272 0%, transparent 70%);
    border-radius: 50%;
}

.pattern-2 {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: conic-gradient(from 45deg, #2d9272, #59b868, #56a978, #186578, #2d9272);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: none;
}

/* Gallery Preview Section - For individual pages */
.gallery-preview-section {
  padding: 40px 0;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.gallery-preview-section h3 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.gallery-preview-section h3:after {
  content: '';
  position: absolute;
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-preview-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 250px; /* Fixed height for all images */
  margin-bottom: 20px;
}

.gallery-preview-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-preview-item:hover img {
  transform: scale(1.05);
}

/* Adjust button styles */
.gallery-preview-section .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.gallery-preview-section .btn-primary:hover {
  background-color: var(--deep-blue);
  border-color: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* gallery */
.video-gallery {
    padding: 80px 0;
    background: #f9f9f9;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-content h4 {
    color: #2d9272;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-content p {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.video-meta span {
    color: #888;
    font-size: 0.9em;
}

.btn-watch-video {
    background: linear-gradient(135deg, #2d9272, #59b868);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-watch-video:hover {
    background: linear-gradient(135deg, #186578, #2d9272);
    color: white;
    transform: translateY(-2px);
}

/* Traditional decorative elements */
.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d9272, #59b868);
    margin: 15px auto 0;
    border-radius: 2px;
}

.video-card:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: -10px;
    background: rgba(45, 146, 114, 0.1);
    z-index: -1;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

/* Community Page Styles */
.community-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--deep-blue));
    color: white;
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../Assets/Images/pattern.png') center/cover;
    opacity: 0.05;
    z-index: 1;
}

.community-hero .container {
    position: relative;
    z-index: 2;
}

/* Services Navigation */
.services-nav {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.services-nav .nav-link {
    color: var(--navy);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.services-nav .nav-link.active,
.services-nav .nav-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Service Sections */
.service-section {
    padding: 100px 0;
    position: relative;
}

.service-section h2.section-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.service-section h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.service-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 40, 86, 0.1);
}

.service-feature i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(45, 146, 114, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    color: var(--primary-color);
}

.service-feature h4 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-feature p {
    color: #666;
    margin-bottom: 0;
}

/* Counter Section */
.counter-box {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter-box i {
    color: white;
}

.counter-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    color: white;
}

.counter-box p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-section {
        padding: 60px 0;
    }
    
    .service-section .col-lg-6.mb-4.mb-lg-0 {
        margin-bottom: 2rem !important;
    }
    
    .service-feature {
        margin-bottom: 1rem;
    }
}

/* Animation for service sections */
[data-aos] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Custom scroll behavior for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Ensure proper spacing for fixed header */
:target::before {
    content: "";
    display: block;
    height: 80px;
    margin: -80px 0 0;
}

/* Button hover effects */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--deep-blue);
    border-color: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 40, 86, 0.2);
}

.btn-outline-primary {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-primary:hover {
    background-color: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 40, 86, 0.1);
}

/* Image hover effect */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 10px;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

/* Section Spacing */
section {
    padding: 5rem 0;
    position: relative;
}

/* Badge Styling */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 50px;
}

/* Button Styling */
.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50px;
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--deep-blue);
    transition: all 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 40, 86, 0.2);
}

.btn:hover:before {
    width: 100%;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Section Title
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
} */

/* List Styling */
.list-unstyled li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.list-unstyled li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 40, 86, 0.1) !important;
}

/* Responsive Typography */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.075) !important;
}

/* Background Overlay */
.bg-overlay {
    position: relative;
    z-index: 1;
}

.bg-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 40, 86, 0.7);
    z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
}

/* Traditional Contact Page Styles */
.contact-hero {
    /* background: linear-gradient(135deg, var(--primary-color), var(--deep-blue)); */
    color: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 8px solid var(--secondary-color);
}



.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Traditional Form Styling */
.contact-form {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(6, 40, 86, 0.1);
    border: 1px solid rgba(6, 40, 86, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--deep-blue));
}

.contact-form h3 {
    color: var(--navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(45, 146, 114, 0.25);
    background-color: white;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(6, 40, 86, 0.1);
    border: 1px solid rgba(6, 40, 86, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 40, 86, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(45, 146, 114, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-info-card:hover .contact-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-info-card h5 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-info-card p {
    color: #555;
    margin-bottom: 0;
}

/* Social Media Icons - Updated for better visibility */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
}

.social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(6, 40, 86, 0.1);
}

/* Update the contact page social media section */
.contact-info-card .social-links {
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.contact-info-card .social-links a {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.contact-info-card .social-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(6, 40, 86, 0.1);
}

/* Make sure the social icons are properly spaced in the contact info card */
.contact-info-card .social-links {
    margin-left: -0.5rem;
}

.contact-info-card .social-links a {
    margin: 0 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .social-links {
        justify-content: center;
    }
    
    .contact-info-card .social-links {
        justify-content: center;
    }
}

/* Map Section */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(6, 40, 86, 0.1);
    border: 1px solid rgba(6, 40, 86, 0.1);
    margin-top: 3rem;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 4rem 0;
    }
    
    .contact-form,
    .contact-info-card {
        margin-bottom: 2rem;
    }
}

/* Traditional Decorative Elements */
.decorative-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--primary-color);
    border-style: solid;
    border-width: 0;
    opacity: 0.3;
}

.decorative-corner.top-left {
    top: 15px;
    left: 15px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.decorative-corner.top-right {
    top: 15px;
    right: 15px;
    border-top-width: 2px;
    border-right-width: 2px;
}

.decorative-corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.decorative-corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* ====================================
   COMMUNITY PAGE STYLES
   ==================================== */

/* Icon hover effects */
.settlement-icon,
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    margin: 0 auto 1.5rem;
    background-color: rgba(89, 184, 104, 0.1);
}

.settlement-icon i,
.service-icon i {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.settlement-icon:hover,
.service-icon:hover {
    background-color: var(--secondary-color) !important;
}

.settlement-icon:hover i,
.service-icon:hover i {
    color: var(--navy);
    transform: scale(1.1);
}

/* Settlement and Service Cards */
.settlement-card,
.service-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 40, 86, 0.08);
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(6, 40, 86, 0.05);
}

.settlement-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(6, 40, 86, 0.1);
}

.settlement-card h4,
.service-card h4 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 600;
}

.settlement-card p,
.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--deep-blue));
    color: white;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p.lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .settlement-card,
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .settlement-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Ensure proper spacing above footer */
#settlement {
    padding-bottom: 6rem;
}

/* Donate Now Button */
.btn-outline-primary {
    color: var(--navy);
    /* border-color: var(--navy); */
}

.btn-outline-primary:hover {
    background-color: var(--navy);
    color: white;
    /* border-color: var(--navy); */
}

/* Social Media Icons */
.social-icons a {
    color: var(--navy) !important;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
    /* border: 1px solid var(--navy); */
}

.social-icons a:hover {
    background: var(--navy);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure text in buttons is always visible */
.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--navy) !important;
}

.btn-outline-primary:hover {
    color: white !important;
}

/* Fix for CTA section buttons */
.cta-section .btn-outline-light {
    color: white !important;
    border-color: white !important;
}

.cta-section .btn-outline-light:hover {
    background: white !important;
    color: var(--navy) !important;
}

/* Ensure all buttons have proper text contrast */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Make sure links are visible in all states
a:not(.btn) {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration: underline;
} */

/* Event Card Styling */
.event-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 100%;
}

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

.event-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-date-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(45, 146, 114, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.event-date-overlay .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-overlay .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-meta {
    margin: 10px 0 15px;
    font-size: 0.9rem;
    color: #666;
}

.event-meta span {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.event-highlights {
    margin: 15px 0;
    flex-grow: 1;
}

.event-highlights span {
    display: block;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.event-highlights i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.btn-register {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    text-align: center;
    margin-top: 15px;
}

.btn-register:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

/* Events Section Styling */
#events .card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

#events .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

#events .card-img-container {
    position: relative;
    overflow: hidden;
}

#events .card-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

#events .card:hover .card-img-container::before {
    opacity: 1;
}

#events .card-img-container img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#events .card:hover .card-img-container img {
    transform: scale(1.1);
}

#events .card-body {
    background: #fff;
    padding: 1.25rem;
    z-index: 2;
}

#events .card-title {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* About Section Image on Homepage */
.about-home-image {
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    margin: 0 auto;
}

/* Style for the copied address field */
.copied-address {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

/* Style for the 'Same as Current Address' checkbox */
.form-check-input:checked + .form-check-label::before {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Add some spacing between the checkbox and label */
.form-check {
    margin-bottom: 1rem;
}

/* Style for the checkbox container */
.form-check-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Style for the checkbox itself */
.form-check-input {
    margin-top: 0;
    margin-right: 0.5rem;
}