/* Custom Styles & Bootstrap Overrides */

/* Color Palette Variables */
:root {
    --bs-primary: #006400; /* Dark Green */
    --bs-danger: #d62828;  /* Red - (Bootstrap default danger is often red, but defined here explicitly) */
    --bs-link-color: var(--bs-primary); /* Use primary color for links */
    --bs-link-hover-color: color-mix(in srgb, var(--bs-primary) 80%, black); /* Slightly darker green on hover */
    --primary-red: #d62828;
    --primary-green: #006400;
    --light-green: #e6f2e6;
    --dark-green: #004d00;
    --light-red: #f8e8e8;
    --dark-red: #b31e1e;
}
   

.btn-primary {
    --bs-btn-color: #fff; /* White text on button */
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-link-hover-color); 
    --bs-btn-hover-border-color: var(--bs-link-hover-color);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-primary) 90%, black); 
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-primary) 90%, black);
}

/* --- Custom Header Styles --- */
.page-header {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
  }
  
  /* Clickable logo above overlay */
  .page-header .logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
  }
  .page-header .logo img {
    height: 50px;
  }
  
  /* Overlay covers hero */
  .page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
  }
  
  /* Hero text selectable and clickable */
  .page-header .overlay h1.section-title,
  .page-header .overlay p {
    pointer-events: auto;
    margin: 0;
    text-align: center;
    color: white;
  }
  .page-header .overlay h1.section-title {
    font-size: 6rem;
    font-weight: bold;
  }
  .page-header .overlay p {
    font-size: 2vw;
    margin-top: 0.5em;
    max-width: 800px;
  }
  
  /* Nav links clickable over overlay */
  .page-header .overlay nav.nav-bar {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 30px;
    pointer-events: auto;
  }
  .page-header .overlay nav.nav-bar a {
    color: white; 
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle border */
    border-radius: 5px;
    margin: 0; 
  }
  .page-header .overlay nav.nav-bar a:hover {
    color: var(--bs-primary); /* Green text on hover */
      background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background on hover */
      border-color: white;
  }
  
  /* Highlight the current page’s nav link in red */
  .nav-bar a.active {
    background-color: #ffff;  /* flag-red */
    color: var(--bs-danger) !important;
  }
  
  /* Scroll‐Down Indicator (right side)   */
  .scroll-wrapper {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    z-index: 3;
    opacity: 1; /* Default state */
    transition: opacity 0.3s ease;
  }
  .scroll-wrapper.hidden {
    opacity: 0; /* Hide when scrolled down */
    pointer-events: none; /* Disable interaction when hidden */
  }
  
  .scroll-indicator {
   
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto 5px;
    position: relative;
    overflow: hidden;
  }
  .scroll-indicator::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
  }
  
  .scroll-text {
    margin-top: 8px;
    font-size: 0.4rem;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
  }
  
  /* Bounce animation */
  @keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
  }
.scroll-text {
    font-size: 0.9rem;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
/* --- Main Content Styling --- */
.content {
    padding: 2rem 1rem;
}

/* Style for section titles and their SVG icons */
.section-title {
    color: var(--bs-primary); /* Use primary green */
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.75rem; /* Adjust font size */
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}


.section-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    bottom: 0;
    left: 0;
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-red);
}

.content-section {
    padding: 4rem 0;
}

.bg-light-green {
    background-color: var(--light-green);
}

.card-custom {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-custom img {
    height: 200px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    color: var(--primary-green);
    font-weight: 700;
}

.btn-custom {
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 104, 0, 0.3);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom-outline:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.currency-converter {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control-custom {
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    padding: 10px 20px;
}

.form-control-custom:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 100, 0, 0.25);
    border-color: var(--dark-green);
}

.fun-fact-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-left: 5px solid var(--primary-red);
}

.fun-fact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fun-fact-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-right: 10px;
}

footer {
    background-color: var(--primary-green);
    color: white;
    padding: 3rem 0;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-red);
    transform: translateY(-5px);
}

.copyright {
    background-color: var(--dark-green);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-red);
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-custom .nav-link {
        margin: 5px 0;
    }
}
/* --- Footer Styling --- */
.footer {
    font-size: 0.9rem;
}
.btn {
    background-color: #469f46; 
    color: white; /* White text */
    border-radius: 20px; /* Rounded corners */
    padding: 0.5rem 1.5rem; /* More padding */
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--bs-danger); /* Red background on hover */
    color: white; /* White text on hover */
    text-decoration: none; /* Remove underline */
}

.footer p {
    margin: 0; /* Remove default margin */
    color: var(--bs-secondary); /* Use Bootstrap secondary color for muted text */
}