* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1,6;
}

.navbar {
    background: linear-gradient(135deg, #1a7e38, #1a7e38);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.logo h1 {
  text-decoration: none; 
  color:white;        
  cursor: pointer;        
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(79,195,247,0.2);
}

.login-btn {
    background: #335413;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.login-btn:hover {
    background-color: #21350c;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    padding: 3rem 2rem;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url("images/money.webp");
    background-size: cover;
    background-position: center;
    min-height: 95vh; 
}

.hero-content {
    flex: 1;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(6px);
    margin-right: 2rem;
    text-decoration: none;
}

.hero h2 {
    font-size: 2.5rem;
    color: #0a421c;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #384347;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(103, 70, 70, 0.1);
}

.no-underline,
.no-underline:hover,
.no-underline:focus,
.no-underline:active {
    text-decoration: none ;
}

.slideshow-container {
    width: 100%;       
    max-width: 500px;  
    height: 300px;     
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.slideshow-container .slide {
    width: 100%;
    height: 100%;      
    object-fit: cover; 
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.slideshow-container .slide.active {
    display: block;
    position: relative;
    opacity: 1;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: #186e32;
    color: white;
}

.btn-primary:hover {
    background-color: #0e401d;
}

.btn-secondary {
    background: #3eb646;
    color: white;
}

.btn-secondary:hover {
    background-color: #339439;
}

.finance-planning {
    padding: 40px 30px;
    text-align: center;
    background: rgb(230, 236, 217);
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.finance-planning h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: #555;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  flex: 0 0 220px;
  perspective: 1000px;
  margin-bottom: 20px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 250px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  background: white;
}

.feature-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  padding: 20px;
  backface-visibility: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-front {
  background: white;
  color: #333;
  text-align: center;
}

.card-back {
  background: #1a7e38;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
}

.card-front i {
  font-size: 2.2rem;
  color: #1a7e38;
  margin-bottom: 10px;
}

.card-front h3,
.card-back h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
}

.card-front p,
.card-back p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.discount-item {
  flex: 0 0 calc(33.333% - 20px);
  background: white;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: #00965a;
  color: white;
  border: none;
  width: 40px;           
  height: 40px;          
  cursor: pointer;
  border-radius: 50%;   
  z-index: 2;
  display: flex;        
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}
.arrow:hover {
  background: #007a44;   
}

.left { left: 5px; }
.right { right: 5px; }
.discounts {
    padding: 50px;
    text-align: center;
    background-color: #b4da9f;
}

.discounts h2 {
    margin-bottom: 20px;
    color: #0a6603; 
}

.discounts p {
    margin-bottom: 30px;
}

.discount-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.discount-item {
    background-color: white;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.4s ease;
}

.discount-item:hover {
    box-shadow:0 0 15px #0a421c;
}

.discount-item img {
    width: 100%;
    height: 150px;
    object-fit: cover; 
    border-radius: 10px;
    margin-bottom: 10px;
}

.discount-item h3 {
    margin: 10px 0;
    color: #1a7e38;
}

.discount-item p {
    font-size: 14px;
    color: #22a549;
}

/*on mobile*/
@media (max-width: 768px) {
    .discount-list {
        flex-direction: column;
        align-items: center;
    }
}
/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 15px;
    background: #fff;
    width: 220px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .nav-links a {
    color: #1a7e38;
  }
}

.offers-btn {
    background-color: #2ab353; 
    color: white;
    padding: 10px 20px; 
    border: none; 
    border-radius: 5px;  
    cursor: pointer; 
    font-size: 16px; 
    margin-top: 20px; 
}

.offers-btn:hover {
    background-color: #186e32; 
}
.footer {
    background: #1a7e38;
    color: white;
    padding: 3rem 2rem 1rem;
    font-family: Arial, sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.map-container h4 {
    color: #3afc74;
    margin-bottom: 10px;
}
.map-container iframe {
    padding-top: 1rem;
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 8px;
    padding-bottom: 1rem;
}

.footer-section h4 {
    color: #3afc74;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.footer-social-links a {
    background: #333;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    transition: 0.3s ease;
}

.footer-social-links a:hover {
    background: #3afc74;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}


/*For mobile view*/
@media (max-width: 778px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .balance-cards {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr 1fr;
    }
}
