/*
Custom Css
*/

/* --- TRICOLOR FOOTER STYLES --- */

/* Main Footer Gradient (Orange -> White -> Green) */
.footer-orange-green-gradient {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 25%, #FFFFFF 50%, #32CD32 75%, #228B22 100%);
    color: #212529; /* Dark text for readability on white/orange */
}

/* Force dark text for headers and paragraphs inside the footer */
.footer-orange-green-gradient .text-light,
.footer-orange-green-gradient h2,
.footer-orange-green-gradient .h2,
.footer-orange-green-gradient li, 
.footer-orange-green-gradient p {
    color: #212529 !important;
    font-weight: 600; /* Bolder text helps read against the gradient */
}

/* Link Styles */
.footer-orange-green-gradient a {
    color: #212529 !important; /* Dark links */
    text-decoration: none;
    font-weight: 600;
}

.footer-orange-green-gradient a:hover {
    color: #004499 !important; /* Blue on hover */
    text-decoration: underline;
}

/* Bottom Copyright Bar (Orange) */
.footer-bottom-orange {
    background: linear-gradient(90deg, #FF8C00 0%, #FF7F50 50%, #FFA500 100%);
    color: #ffffff;
    padding: 20px 0;
}

.footer-bottom-orange p,
.footer-bottom-orange a {
    color: #ffffff !important;
    font-weight: normal;
}

/* Update Social Icons to stand out against the gradient */
.footer-orange-green-gradient .social-icons a {
    background-color: #212529; /* Dark background */
    color: #fff; /* White icon */
    border: 1px solid #fff;
}
.footer-orange-green-gradient .social-icons a:hover {
    background-color: #fff;
    color: #FF8C00;
}

/* Ensure proper contrast for all text elements */
.footer-orange-section .text-light,
.footer-orange-section h2,
.footer-orange-section .h2,
.footer-green-section .text-light,
.footer-green-section h2,
.footer-green-section .h2 {
    color: #ffffff !important;
}

.footer-white-section .text-light,
.footer-white-section h2,
.footer-white-section .h2 {
    color: #212529 !important;
}

.footer-orange-section a,
.footer-green-section a {
    color: #ffffff !important;
}

.footer-white-section a {
    color: #0066cc !important;
}

/* Border adjustments for new color scheme */
.footer-orange-green-gradient .border-light,
.footer-orange-section .border-light,
.footer-green-section .border-light {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.footer-white-section .border-light {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Form styling adjustments */
.footer-orange-green-gradient .form-control,
.footer-orange-section .form-control,
.footer-green-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.footer-white-section .form-control {
    background-color: #ffffff;
    border-color: #ced4da;
    color: #212529;
}

/* Social media icons styling */
.footer-orange-green-gradient .footer-icons li,
.footer-orange-section .footer-icons li,
.footer-green-section .footer-icons li {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.footer-white-section .footer-icons li {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-orange-green-gradient {
        background: linear-gradient(180deg, #FF8C00 0%, #FFA500 30%, #FFFFFF 50%, #32CD32 70%, #228B22 100%);
    }
}
/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Modern Card Design */
.policy-card {
    border: none;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

/* Header Gradient */
.page-header-gradient {
    background: linear-gradient(to right, #000000, #0f9b0f);
    color: white;
    padding: 3rem 0;
    margin-bottom: -3rem; /* Overlap effect */
    padding-bottom: 5rem;
}

/* Typography */
.section-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* --- HEADER STYLES --- */
#top-bar {
    background-color: #212529; /* Dark background */
    font-size: 0.85rem;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #198754 !important; /* Green */
}


.nav-pills .nav-link {
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background: #198754;
}

.table th {
    font-weight: 600;
}

/* Search Box Design */
.input-group-text {
    border-color: #198754;
}

/* --- FOOTER STYLES --- */
footer {
    background-color: #1a1a1a;
    color: #b0b0b0; /* Softer grey text */
    font-size: 0.9rem;
}

footer h2, footer h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: #198754; /* Green on hover */
    transform: translateX(5px); /* Slide right animation */
}

footer .social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

footer .social-icons a:hover {
    background: #198754;
    color: #fff;
    transform: translateY(-3px); /* Pop up animation */
}

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 40px;
  right: 30px;
  background-color: #f4f4f7;
  color: #31e40d;
  border-radius: 50px;
  text-align: center;
  font-size: 36px;
  box-shadow: 1px 1px 2px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #f07b2e;
  color: #FFF;
  transform: scale(1.1);
}

/* Pulse Animation to attract attention */
@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: pulse-green 2s infinite;
}
