:root {
    --top-header-color: #2D3E50;
  }
  

/* Brand Text Styles */
.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

.brand-text {
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-subtext {
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .brand-text-container {
    margin-left: 10px;
  }
  
  .brand-text {
    font-size: 20px;
  }
  
  .brand-subtext {
    font-size: 10px;
  }
}

/* Top Header Styles */

.top-header{
  background: var(--top-header-color);
  padding: 12px 0;
  border-bottom: 1px solid rgba(2, 13, 25, 0.08);
}

.top-header .helpline-info{
  display: flex;
  align-items: center;
}

.top-header .helpline-icon{
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.top-header .helpline-icon i{
  color: #FFFFFF;
  font-size: 16px;
}

.top-header .helpline-content{
  display: flex;
  align-items: center;
}

.top-header .helpline-text{
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
}

.top-header .helpline-tooltip{
  cursor: help;
}

.top-header .helpline-tooltip i{
  color: var(--primary-color);
  font-size: 14px;
}

/* Language Switcher Styles */
.language-switcher{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-label{
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  margin-right: 12px;
}

.language-options{
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 4px;
  border: 1px solid rgba(2, 13, 25, 0.08);
}

.lang-btn{
  background: transparent;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #020D19;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active{
  background: var(--primary-color);
  color: #FFFFFF;
}

.lang-btn:hover:not(.active){
  background: #F8F9FA;
  color: var(--primary-color);
}

.language-divider{
  color: #020D19;
  font-weight: 500;
  margin: 0 4px;
}

/* Helpline Content Styles */
.helpline-content p{
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.helpline-content h3{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.helpline-content h3 a{
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.helpline-content h3 a:hover{
  color: var(--accent-color);
}

/* Responsive Styles for Top Header */
@media only screen and (max-width: 991px) {
  .top-header {
    padding: 8px 0;
  }
  
  .top-header .helpline-text {
    font-size: 13px;
  }
  
  .top-header .language-label {
    font-size: 13px;
  }
  
  .top-header .lang-btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 767px) {
  .top-header .row {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  
  .top-header .col-md-6 {
    width: 50%;
    padding: 0 5px;
  }
  
  /* Ensure the second column (with language switcher) aligns to the right */
  .top-header .col-md-6:last-child {
    display: flex;
    justify-content: flex-end;
  }
  
  .top-header .helpline-info {
    justify-content: flex-start;
    margin-bottom: 0;
  }
  
  .top-header .language-switcher {
    justify-content: flex-end;
    margin-bottom: 0;
  }
  
  .top-header .language-label {
    display: none; /* Hide "Language:" text on mobile */
  }
  
  .top-header .language-options {
    margin-left: 0; /* Remove left margin since label is hidden */
    margin-right: 5px; /* Add small right margin for better spacing from edge */
  }
  
  .top-header .helpline-text {
    font-size: 11px;
    white-space: nowrap;
  }
  
  .top-header .helpline-icon {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    min-width: 24px;
  }
  
  .top-header .helpline-icon i {
    font-size: 12px;
  }
  
  .top-header .lang-btn {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .top-header .helpline-tooltip {
    display: none;
  }
}

/* impact section */

.impact-box i {
  padding: 15px;
  font-size: 3rem;
  color: #FF6D00; /* All icons orange */
}
.impact-box h4 {
  font-weight: bold;
  margin-top: 15px;
  color: #000;
}
.impact-box p {
  font-size: 15px;
  color: #333;
}

/* Donation Section Styles */
.donation-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section-header .highlight {
    color: #FF6B00;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.donation-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.donation-card.popular {
    border: 2px solid #FF6D00;
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #FF6D00;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6D00;
    margin-bottom: 15px;
}

.donation-card h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

.donation-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.impact-tag {
    background: #E8F5E8;
    color: #006400;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 20px 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #006400;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background: #004d00;
}

.donate-btn.highlight-btn {
    background: #FF6D00;
}

.donate-btn.highlight-btn:hover {
    background: #e65c00;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .donation-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .donation-section {
        padding: 60px 0;
    }

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

    .donation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .donation-card {
        padding: 20px;
    }

    .impact-tag {
        min-height: auto;
        padding: 10px;
    }
}

/* Custom Donation Section Styles */
.custom-donation-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.custom-donation-form {
    max-width: 600px;
    margin: 0 auto;
}

.amount-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding-left: 15px;
}

.custom-amount {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 1.2rem;
    outline: none;
    color: #333;
}

.custom-amount::placeholder {
    color: #999;
}

.donate-now-btn {
    background: #FF6D00;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.donate-now-btn:hover {
    background: #e65c00;
}

.donate-now-btn i {
    font-size: 0.9rem;
}

.donation-security {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.donation-security i {
    color: #006400;
}

.bullet {
    color: #ccc;
}

/* Responsive styles for custom donation section */
@media (max-width: 768px) {
    .custom-donation-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .amount-input-group {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .currency-symbol {
        padding-left: 0;
    }

    .custom-amount {
        width: 100%;
        text-align: center;
    }

    .donate-now-btn {
        width: 100%;
        justify-content: center;
    }

    .donation-security {
        flex-direction: column;
        gap: 5px;
    }

    .bullet {
        display: none;
    }
}

/* Where Your Donation Goes Section Styles */
.donation-allocation-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.allocation-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.allocation-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.allocation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6D00, #006400);
    border-radius: 4px 4px 0 0;
}

.allocation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.allocation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF6D00, #006400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.allocation-icon i {
    font-size: 32px;
    color: white;
}

.allocation-card h3 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.allocation-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive styles for allocation section */
@media (max-width: 1200px) {
    .allocation-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .donation-allocation-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .allocation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .allocation-card {
        padding: 25px 20px;
    }

    .allocation-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .allocation-icon i {
        font-size: 24px;
    }
}

/* Donation Modal Styles */
.donation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donation-modal.show {
    display: block;
    opacity: 1;
}

.donation-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.5s;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.donation-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.donation-modal-close:hover {
    color: var(--primary-color);
}

.donation-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.donation-modal-header h2 {
    margin: 0 0 10px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.donation-modal-header p {
    margin: 0;
    color: var(--light-text);
    font-size: 16px;
}

.donation-modal-body {
    padding: 30px;
}

.donation-amount-display {
    background-color: var(--light-bg);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.donation-amount-display h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: var(--text-color);
}

.selected-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donation-type {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 5px;
}

.donation-personal-info {
    margin-bottom: 30px;
}

.donation-personal-info h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--text-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.donation-personal-info .form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.form-group .required {
    color: var(--error-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.payment-method-section {
    margin-bottom: 20px;
}

.payment-method-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--text-color);
}

.payment-options {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
}

.payment-option.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.payment-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
}

.payment-option span {
    font-weight: 500;
}

.payment-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
}

.donation-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.secure-payment-info {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-size: 14px;
}

.secure-payment-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.secure-payment-info .bullet {
    margin: 0 8px;
}

#completePaymentBtn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

#completePaymentBtn:hover {
    background-color: #e65c00;
}

/* Responsive styles for modal */
@media (max-width: 768px) {
    .donation-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .donation-modal-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .secure-payment-info {
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* ========================================
   Floating WhatsApp Button Styles
   ======================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 3s infinite;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn i {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover i {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 5px solid transparent;
    border-top-color: #333;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        bottom: 60px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .whatsapp-tooltip {
        bottom: 55px;
        font-size: 10px;
        padding: 5px 8px;
    }
}

/* Hide on very small screens to avoid interference */
@media (max-width: 320px) {
    .floating-whatsapp {
        display: none;
    }
}

/* ========================================
   Language Switcher Styles
   ======================================== */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.language-options {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #25D366;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
}

.language-divider {
    display: none;
}

/* Language switching animations */
[data-translate] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Responsive language switcher */
@media (max-width: 768px) {
    .language-switcher {
        gap: 8px;
    }
    
    .language-label {
        font-size: 12px;
    }
    
    .language-options {
        padding: 1px;
    }
    
    .lang-btn {
        padding: 5px 12px;
        font-size: 11px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        gap: 6px;
    }
    
    .language-label {
        font-size: 11px;
    }
    
    .language-options {
        padding: 1px;
    }
    
    .lang-btn {
        padding: 4px 10px;
        font-size: 10px;
        border-radius: 14px;
    }
}