/* Navbar Section */
.navbar-custom {
  background-color: #fff;
  padding: 0.8rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-toggler-icon {
  /* This is the SVG for the dark "hamburger" icon from Bootstrap */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
  font-weight: bold;
  color: green !important;
  font-size: 1.3rem;
}

.nav-link {
  color: #444 !important;
  font-size: 0.95rem;
  margin: 0 0.6rem;
}

.nav-link:hover {
  color: green !important;
}

.auth-links a {
  color: #444;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
}

.auth-links a:hover {
  color: green;
}

@media (max-width: 991.98px) {
  .auth-links {
    margin-top: 1rem;
  }
}

/* Hero Section */
.hero {
  background: url("./Images/hero.png") no-repeat center
    center/cover;
  min-height: 600px;
  position: relative;
  color: #000;
  display: flex;
  align-items: center;
  padding: 50px 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
a:hover {
  text-decoration: none;
  color: inherit !important;
}
.controls-container {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.city-dropdown {
  /* Resetting default browser styles */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom Arrow */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;

  /* Sizing and Spacing */
  width: 100%;
  max-width: 300px;
  font-size: 1.3rem;
  padding: 0.5rem 2.5rem 0.5rem 1rem; /* Adjusted padding for arrow */

  /* Border and Effects */
  border: 1px solid #ced4da; /* Softer border color */
  border-radius: 8px; /* Slightly more rounded corners */
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.city-dropdown:focus {
  border-color: #28a745; /* Using your theme's green */
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.city-dropdown:hover {
  border-color: #868e96;
}

/* Style for the placeholder option */
.city-dropdown:required:invalid {
  color: #6c757d;
}
.btn-check-now {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
  cursor: pointer;
}
.btn-check-now:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}
@media (max-width: 767px) {
  .controls-container {
    flex-direction: column;
    align-items: stretch;
  }
  .city-dropdown,
  .btn-check-now {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* Feature Section */
.features-section {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}
.features-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #000;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0px;
}
.feature-icon {
  width: 80px;
  height: 80px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}
.feature-item p {
  font-size: 1rem;
  color: #333;
  margin: 0;
}
@media (max-width: 768px) {
  .feature-item {
    margin-bottom: 20px;
  }
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  .feature-icon svg {
    width: 30px;
    height: 30px;
  }
}
@media (min-width: 992px) {
  .col-lg-2 {
    max-width: 14% !important;
  }
  .col-6{
    max-width: 41% !important;
  }
}
.info-sec1{
    display: flex !important;
    justify-content: flex-start !important;
}
.info-sec2{
    display: flex !important;
    justify-content: flex-end !important;
}
@media (max-width: 768px) {
  .col-6{
    max-width: 41% !important;
  }
  .features-section{
    padding: 30px 0;
  }
  .info-sec1, .info-sec2{
    justify-content: center !important;
  }
  .info-sec2 img{
    margin-bottom: 18px;
  }
}

/* Insight Section */
.insights-section {
  padding: 60px 0;
  color: #fff;
}
.left-column {
  background-color: #28a745;
  padding-block: 80px;
}
.right-column {
  background-color: #1f8b38;
  padding-block: 80px;
}
.insights-content {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 30px;
}
.insights-item {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}
.insights-item h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.insights-item p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.btn-custom {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 10px 30px;
  font-weight: bold;
  text-transform: uppercase;
}
.btn-custom:hover {
  background-color: #ffca28;
}
.btn-warning:hover{
    background-color: #f6bf1a !important;
}
.spending-graph,
.card-offer {
  margin-top: 20px;
}
.spending-graph img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.card-offer img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.card-offer p {
  font-size: 0.9rem;
  background-color: #fff;
  color: #28a745;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 10px;
}
.card-offer a {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 991px) {
  .insights-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .insights-item h3 {
    font-size: 1.5rem;
  }
  .insights-item p {
    font-size: 0.9rem;
  }
  .spending-graph img,
  .card-offer img {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .insights-section{
    padding: 30px 0;
  }
}

/* App Section */
.app-section {
  padding-top: 0px;
  background-color: #fff;
}
.app-item {
  text-align: center;
}
.app-mockup img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 350px;
}
.app-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #000;
}
.app-item p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}
.btn-signup {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-weight: bold;
  border-radius: 5px;
}
.btn-signup:hover {
  background-color: #218838;
  color: #ffff !important;
}
@media (max-width: 767px) {
  .app-mockup{
    margin-bottom: 20px;
  }
  .app-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Testimonial Section */
.testimonial-section {
  padding: 60px 0;
  background-color: #28a745;
  color: #fff;
}
.testimonial-item {
  text-align: center;
}
.testimonial-item p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.testimonial-item span {
  font-size: 1rem;
  font-style: italic;
}
.testimonial-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .testimonial-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Security Section */
.security-section {
  padding: 60px 0;
  background-color: #fff;
  color: #000;
}
.security-item {
  text-align: center;
}
.security-item h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.security-item ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.security-item ul li {
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.security-item ul li svg {
  margin-right: 10px;
  width: 64px;
  height: 64px;
  fill: #000;
}
@media (max-width: 767px) {
  .security-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}
.footer a {
  color: #ccc;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-logo img {
  height: 24px;
  margin: 0 10px 10px 0;
}
.social-icons a {
  color: #fff;
  margin-right: 15px;
  font-size: 1.2rem;
}
.qr-box img {
  width: 100px;
  height: 100px;
}
.footer hr {
  border-top: 1px solid #333;
}
.footer-small {
  font-size: 0.75rem;
  color: #aaa;
}
