:root {
  --primary: #002E5D;    /* Deep Blue */
  --saffron: #FF9933;    /* Saffron */
  --green-ngo: #138808;  /* India Green */
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
}

.bg-primary { background-color: var(--primary) !important; }
.bg-saffron { background-color: var(--saffron) !important; }
.text-saffron { color: var(--saffron) !important; }
.text-primary { color: var(--primary) !important; }

body {
  font-family: 'Dosis', sans-serif;
  color: var(--text-dark);
}

.navbar-brand img {
  max-height: 60px;
}

.ftco-navbar-light {
  background: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
}
.pl-20{padding-left: 20px;}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
  color: var(--saffron) !important;
}

.btn-primary {
  background: var(--saffron) !important;
  border-color: var(--saffron) !important;
  color: var(--white) !important;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #004a8d !important; /* Brighter Blue */
  border-color: #004a8d !important;
  color: var(--primary) !important; /* Blue text on hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,74,141,0.3);
}

/* Specific fix for Navbar Donate Button hover text */
.navbar-nav .btn-primary:hover {
    color: var(--primary) !important;
    background: #fff !important; /* White background with blue text on hover */
    border: 1px solid var(--primary) !important;
}

.hero-wrap .overlay {
  background: linear-gradient(45deg, rgba(0,46,93,0.7), rgba(255,153,51,0.3));
}

.heading-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  padding-bottom: 20px;
}

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

.block-18 {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.block-18:hover {
  transform: translateY(-10px);
}

.color-1 { background: var(--primary) !important; }
.color-2 { background: var(--saffron) !important; }
.color-3 { background: var(--green-ngo) !important; }

.services {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}

.services:hover {
  border-bottom: 4px solid var(--saffron);
  transform: translateY(-5px);
}

.services .icon span {
  color: var(--saffron);
  font-size: 50px;
}

.cause-entry {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cause-entry .text h3 a {
  color: var(--primary);
  font-weight: 700;
}

.custom-progress-success .progress-bar {
  background-color: var(--green-ngo) !important;
}

.testimony-section {
  background: var(--light-bg);
}

.testimony-wrap {
  background: var(--white);
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.05);
}

.qr-card {
  border: 2px dashed var(--saffron);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  background: #fff9f3;
}

.bank-details {
  background: var(--primary);
  color: var(--white);
  padding: 30px;
  border-radius: 15px;
}

.bank-details h4 {
  color: var(--saffron);
  margin-bottom: 20px;
}

.bank-details p {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

/* Responsive adjustments */
  @media (max-width: 768px) {
    .heading-section h2 {
      font-size: 30px;
    }
    .hero-wrap h1 {
      font-size: 35px !important;
    }
  }

/* Top Header */
.top-header {
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block !important;
  visibility: visible !important;
  position: relative;
  z-index: 1001;
}

.top-header .contact-info a {
  text-decoration: none;
  transition: 0.3s;
}

.top-header .contact-info a:hover {
  color: var(--saffron) !important;
}

.top-header .social-top a {
  transition: 0.3s;
}

.top-header .social-top a:hover {
  color: var(--saffron) !important;
}

/* Floating Social */
.floating-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.floating-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-size: 18px;
}

.floating-social a:hover {
  width: 55px;
  padding-left: 10px;
}

.floating-social .email { background: var(--saffron); border-radius: 0 5px 0 0; }
.floating-social .facebook { background: #3b5998; }
.floating-social .instagram { background: #e1306c; }
.floating-social .whatsapp { background: #25d366; border-radius: 0 0 5px 0; }

/* Floating Donate Button */
.floating-donate {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: var(--saffron);
  color: #ffffff !important;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(255,153,51,0.4);
  z-index: 999;
  text-decoration: none !important;
  transition: 0.3s;
}

.floating-donate:hover {
  background: var(--primary);
  transform: scale(1.05);
  color: #ffffff !important;
  box-shadow: 0 15px 30px rgba(0,46,93,0.3);
}

.floating-donate i {
  font-size: 20px;
}

@media (max-width: 768px) {
  .floating-donate span {
    display: none;
  }
  .floating-donate {
    padding: 15px;
    right: 20px;
    bottom: 20px;
  }
  .floating-donate i {
    margin-right: 0 !important;
  }
}

/* Improved Footer */
.ftco-footer {
  padding: 60px 0 20px 0 !important;
  background: #001a35 !important;
}

.ftco-footer .ftco-heading-2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 30px;
  position: relative;
}

.ftco-footer .ftco-heading-2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--saffron);
}

.ftco-footer p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

/* Contact Page Modern Design */
.contact-info-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
  text-align: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-bottom: 3px solid var(--saffron);
}

.contact-info-card .icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255,153,51,0.1);
  color: var(--saffron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 24px;
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.contact-info-card p, .contact-info-card a {
  color: #666;
  font-size: 15px;
  margin-bottom: 0;
  text-decoration: none;
}

.contact-form-wrap {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-form-wrap h2 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-control-custom {
  height: 55px !important;
  background: #f9f9f9 !important;
  border: 1px solid #eee !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-family: 'Dosis', sans-serif;
}

.form-control-custom:focus {
  border-color: var(--saffron) !important;
  background: #fff !important;
  box-shadow: none !important;
}

textarea.form-control-custom {
  height: auto !important;
}

.map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
}

.ftco-footer .list-unstyled li a {
  color: rgba(255,255,255,0.7) !important;
  transition: 0.3s;
  padding: 5px 0 !important;
}

.ftco-footer .list-unstyled li a:hover {
  color: var(--saffron) !important;
  padding-left: 5px !important;
}

.ftco-footer .block-23 ul li span.text {
  color: rgba(255,255,255,0.7);
}

.ftco-footer .block-23 ul li i {
  color: var(--saffron);
  width: 30px;
}

.footer-bottom {
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Professional Breadcrumbs */
.breadcrumb-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.breadcrumb-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 46, 93, 0.7);
}

.breadcrumb-section .breadcrumb-content {
  position: relative;
  z-index: 1;
}

.breadcrumb-section h1 {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--saffron);
}

.breadcrumb-section .breadcrumb-links a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-section .breadcrumb-links span {
  margin: 0 10px;
  color: var(--saffron);
}

/* Floating Background Icons */
.ftco-section {
  position: relative;
  overflow: hidden;
}

.bg-icon {
  position: absolute;
  font-size: 150px;
  color: rgba(0, 46, 93, 0.03);
  z-index: -1;
  pointer-events: none;
}

.bg-icon-left {
  left: -30px;
  top: 10%;
  transform: rotate(-15deg);
}

.bg-icon-right {
  right: -30px;
  bottom: 10%;
  transform: rotate(15deg);
}

/* Testimonial Professional Look */
.testimony-wrap {
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  padding: 50px 40px 40px 40px !important;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 25px;
  background: #fff;
  margin: 30px 10px;
  transition: 0.4s;
  position: relative;
  overflow: visible;
}

.testimony-wrap:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.testimony-wrap .quote-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--saffron);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(255,153,51,0.3);
}

.testimony-wrap .user-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 25px auto;
  border: 4px solid #f8f9fa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background-size: cover;
  background-position: center;
}

.testimony-wrap .name {
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 5px;
}

.testimony-wrap .position {
  color: var(--saffron);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

.testimony-wrap p {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}

.testimony-wrap .position {
  color: var(--saffron);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimony-wrap .text p {
  font-style: italic;
  color: #666;
  line-height: 1.8;
}
