/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    width: 100%;
    height: 60vh;
    background-image: 
    linear-gradient(to right, rgba(61, 217, 82, 0.95), rgba(50, 167, 191, 0.95), rgba(89, 2, 149, 0.95)), 
    url(../images/banner.png);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    overflow: hidden;
    position: relative;
}





/* Adjust header background and gradient on mobile */
@media (max-width: 500px) {
    .header {
        height: 400px; 
        background-position: center;
        background-size: cover; 
    }
}

@media (max-width: 500px) {
    .header {
        height: 300px; 
        background-size: cover; 
        background-position: center; 
    }
}

/* Header Section Styling */
.header-section {
    width: 100%;
    height: 60vh; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    position: relative;
    color: white;
    background-image: 
        linear-gradient(to right, rgba(61, 217, 82, 0.5), rgba(50, 167, 191, 0.5), rgba(89, 2, 149, 0.5));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

/* Center the text and make the div responsive */
.center-div {
    width: 100%;
    max-width: 900px; /* Set max-width for larger screens */
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    display: flex;
}

h1 {
    font-size: 48px;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.2;
    font-weight: bolder !important;
    margin: 0 auto;
    word-wrap: break-word; /* Ensures long text wraps */
    animation: fadeInUp 1s ease-out forwards; /* Animation applied here */
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px); /* Starts below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Ends in the normal position */
    }
}



/* Mobile Responsive Adjustments */
@media (max-width: 500px) {
    .header-section {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .center-div {
        width: 100%; /* Full width for mobile */
        max-width: none;
        padding: 20px;
    }

    h1 {
        font-size: 16px; /* Smaller font size on mobile */
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 30px!important;;  /* Further reduction for smaller devices */
    }
}


/* Additional Styling for Header Offer Section */
.header-offer {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.col-lg-4 img {
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Navbar Image Size Adjustments */
.navbar-brand img {
    height: 50px;
    width: auto;
    margin-right: 50px;
}

/* Adjust Navbar Image on Smaller Screens */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 500px) {
    .navbar-brand img {
        height: 40px;
    }
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0; /* Remove the margin from the last item */
}

.navbar-nav .nav-item .btn {
    background-color:#0D9920; /* Normal state background */
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.navbar-nav .nav-item .btn:hover {
    background-color:#3DD952; /* Hover state background */
    border: none;
    transform: scale(1.05); /* Slightly grow on hover */

}


    







        /* Footer Styles */
        .footer {
            background-color: #f1f1f1;
            color: #000;
            padding: 20px 0;
        }
        
        .footer-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #ccc;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 10px;
            font-size: 14px;
            color: #000;
            margin-top: 10px;  /* Add some space above */
        }
        




/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    background-color: #3DD952;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.1s ease;
    animation: pulse 2s infinite;
}

.back-to-top:hover {
    background-color: #3DD952;
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(61, 217, 82, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}




/* banner card */
.custom-card {
    max-width: 400px;
    height: 300px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 60px 20px 20px;
    margin: 60px auto 0;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  
    /* Smooth animation on hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .custom-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Optional: animate icon-circle separately */
  .icon-circle {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(61, 217, 82);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .custom-card:hover .icon-circle {
    transform: translateX(-50%) rotate(10deg) scale(1.05);
  }
  
  
  .icon-circle img {
    width: 50px;
    height: 50px;
  }
  
  .card-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
  }
  
  .card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Responsive behavior */
  @media (max-width: 450px) {
    .icon-circle {
      width: 70px;
      height: 70px;
      top: -30px;
    }
  
    .icon-circle img {
      width: 35px;
      height: 35px;
    }
  }
  
  /* Flex container to align cards side by side */
.card-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;         /* Allows cards to wrap on small screens */
    gap: 30px;               /* Space between cards */
    margin-top: -100px;      /* Pull up to overlap banner */
    z-index: 5;
    position: relative;
  }
  
  /* Optional: override auto-margin on custom-card when in flex */
  .card-row .custom-card {
    margin: 60px 0 0;        /* Remove auto horizontal margin */
  }
  






/* Gray Background Section */
.gray-section {
    background-color: #f5f7fa;
    padding: 80px 20px;
    margin-top: 100px;
  }
  
  /* Feature Card Row: stacked vertically */
  .feature-card-row {
    max-width: 800px;
    margin: 0 auto;
    display: block;
  }
  
  /* Individual Card Base Styles */
  .feature-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 30px 25px;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    background-blend-mode: overlay;
    background-image: 
      repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px,
        transparent 8px
      );
  }
  
  /* Different background colors for each card */
  .feature-card:nth-child(1) {
    background-color:  #590295;
  }
  
  .feature-card:nth-child(2) {
    background-color:  #590295;
  }
  
  .feature-card:nth-child(3) {
    background-color:  #590295;
  }
  
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  
  /* Card Content */
  .feature-card .card-content h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: white;
  }
  
  .feature-card .card-content p {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
    color: white;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .feature-card {
      padding: 25px 20px;
    }
  
    .feature-card .card-content h2 {
      font-size: 1.4rem;
    }
  }
  
  @media (max-width: 600px) {
    .gray-section {
      padding: 40px 15px;
    }
  
    .feature-card {
      padding: 20px 15px;
      margin-bottom: 15px;
    }
  
    .feature-card .card-content h2 {
      font-size: 1.2rem;
    }
  
    .feature-card .card-content p {
      font-size: 0.95rem;
      line-height: 1.3;
    }
  }
  


  

  