*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
    font-family: poppins;
  }

html {
    scroll-behavior: smooth;
}

/* Add section IDs for smooth scrolling */
section {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
}

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    text-align: center;
    z-index: 10000;
    display: grid;
    place-items: center;
  }
  
  .loaded {
    animation: fadeOut 1s forwards ease-in-out;
  }
  
  @keyframes fadeOut {
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }

.navbar-brand{
    width: 120px;
}


.navbar-brand img{
    width: 120px;
}


.landing-header{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;

}



/* CSS */
.button-47 {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #be8329;
    background: transparent;
    border: 2px solid #be8329;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    width: auto;
    min-width: 220px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-47:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #be8329;
    transition: all 0.4s ease;
    z-index: -1;
}

.button-47:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(190, 131, 41, 0.2);
}

.button-47:hover:before {
    width: 100%;
}

.button-47:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(190, 131, 41, 0.2);
}

/* CTA Container Styles */
.cta, .about-cta {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.cta {
    margin-top: 10px;
    text-align: justify;
  
}

@media (max-width: 768px) {
    .button-47 {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 200px;
    }
}

.landing-headings {
    padding: 20px 0;
}

.landing-header {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.landing-headings p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.0rem;
    color: #666;
    margin-bottom: 30px;
}

.landing-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-image img {
    max-width: 90%;
    height: auto;


}

/* Button Styles */
.button-47 {
    font-family: 'Poppins', sans-serif;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;

    color: black;
    border: 1px solid #be8329;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-47:hover {
    background-color: #be8329;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}




/* Responsive Styles */
@media (max-width: 991px) {
    .landing-page {
        padding: 40px 0;
    }

    .landing-header {
        font-size: 2rem;
    }

    .landing-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .landing-header {
        font-size: 1.8rem;
    }

    .landing-headings p {
        font-size: 1rem;
    }
}

/* General responsive styles */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Column responsive styles */
@media (max-width: 576px) {
    .col-5, .col-7 {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Add smooth transitions */
.navbar, .container, .row, .col-5, .col-7 {
    transition: all 0.3s ease;
}

/* Improve spacing on mobile */
@media (max-width: 768px) {
    .container {
        margin-top: 1rem !important;
    }
    
    .p-3 {
        padding: 1rem !important;
    }
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.sticky-top {
    padding: 0.5rem 0;
    background-color: #1f6ba9;
}

.navbar .container {
    padding: 0 15px;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 1rem 1.5rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f8f9fa !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.download-btn {
    font-family: 'Poppins', sans-serif;
    
    border: 1px solid #be8329;
 
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}



@media (max-width: 991px) {
    .navbar-nav {
        margin: 20px 0;
    }
    
    .download-btn {
        margin-top: 10px;
    }
}

/* Stats Section Styles */
.stats-section {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.stat-number {
    font-size: 3.0rem;
    font-weight: 700;
    color: #be8329;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-left: 0.5rem;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    .stat-label {
        font-size: 0.95rem;
    }
}

.how-it-works {
    padding: 60px 20px;
    text-align: center;
  
  }
  


  .easy-steps {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 40px;
    font-weight: 500;
  }
  
  .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    max-width: 350px;
  }
  
  .feature {
    text-align: left;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 20px 20px 60px #d9d9d9,
                -20px -20px 60px #ffffff;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  
  .feature:hover {
    transform: scale(1.03) translateY(-5px);
    background: #be8329;
    box-shadow: 0 15px 30px rgba(190, 131, 41, 0.3);
  }
  
  .feature:hover h3 {
    color: #ffffff;
    transform: translateY(-2px);
  }
  
  .feature:hover ul li {
    color: #ffffff;
    transform: translateX(5px);
  }
  
  .feature:hover ul li:before {
    color: #ffffff;
  }
  
  .feature:hover .icon {
    transform: rotate(360deg);
    background-color: white;
    color: #be8329;
    box-shadow: 0 4px 8px rgba(190, 131, 41, 0.2);
  }
  
  .feature h3 {
    transition: all 0.3s ease;
  }
  
  .feature ul li {
    transition: all 0.3s ease;
  }
  
  .feature .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    background-color: #be8329;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Add specific icon styles if using icons or SVGs later */
  @keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
  }

  .phone-mockup {
    max-width: 300px;
    animation: bounce 3s ease-in-out infinite;
  }

  .phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .feature h3 {
    font-size: 1.2rem;
    margin: 0 10px 10px;
    color: #222;
  }
  
  .feature ul {
    list-style: none;
   
    padding: 10px;
    margin: 5px;
  }
  
  .feature ul li {
    font-size: 0.95rem;
    color: #666;
    padding: 0 0 0 10px;
    position: relative;
    margin-bottom: 8px;
  }
  
  .feature ul li:last-child {
    margin-bottom: 0;
  }
  
  .feature ul li:before {
    content: "•";
    color: #be8329;
    position: absolute;
    left: -5px;
  }
  
/* Material Icons CDN */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(to bottom, #ffffff, #f9f3eb);
    padding: 80px 0; /* Adjust padding as needed */
}

.contact-form-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: black; /* Purple color from image */
    margin-bottom: 20px;
}

.contact-form-wrapper p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666; /* Grey color */
    margin-bottom: 40px;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: black; /* Purple color */
    margin-bottom: 5px;
}

.form-control {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 30px; /* Rounded corners */
    border: 1px solid #e0e0e0;
    background-color: #f8f8f8; /* Light grey background */
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #be8329; /* Brown accent color on focus */
    box-shadow: 0 0 5px rgba(190, 131, 41, 0.3); /* Subtle shadow on focus */
    outline: none;
}

textarea.form-control {
    border-radius: 15px; /* Slightly less rounded for textarea */
    min-height: 150px;
    resize: vertical;
}

.contact-info-wrapper {
 position: relative;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-detail .material-icons {
    font-size: 1.8rem;
    margin-right: 15px;
    color: #be8329; /* Brown icon color */
}

.contact-detail div,
.contact-detail span {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666; /* Grey text color */
}

.map-container {
    width: 100%;
    /* You can adjust height here or let the iframe handle it */
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 420px; /* Ensure a minimum height */
    border: none;
    border-radius: 16px;
}
.social-icons{
    display: flex;
       
        margin: 3px;
        height: 50vh;
}

.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;

   
    font-size: 2.0rem;
    transition: background-color 0.3s ease;
}

.social-icons .social-icon:hover {
    background-color: #be8329; /* Brown on hover */
}

/* Update Send Message button style */
.btn-primary {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 30px; /* Rounded button */
    background-image: linear-gradient(to right, #be8329 0%, #db972f 100%); /* Gradient background */
    border: none;
    box-shadow: 0 5px 15px rgba(190, 131, 41, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-image: linear-gradient(to right, #db972f 0%, #be8329 100%);
    box-shadow: 0 8px 20px rgba(190, 131, 41, 0.6);
    transform: translateY(-2px);
}

/* Remove or adjust old contact section styles */
.contact-card, .map-card { /* Adjust or remove as needed based on final structure */
    /* Example: display: none; if completely replaced */
}

@media (max-width: 767px) {
    .contact-form-wrapper h2 {
        font-size: 2rem;
    }
    .contact-form-wrapper p {
        margin-bottom: 30px;
    }
    .contact-info-wrapper {
        padding-left: 0;
        margin-top: 40px;
    }
    .contact-detail {
        align-items: flex-start;
    }
    .contact-detail .material-icons {
        margin-right: 10px;
        margin-top: 5px;
    }
}

/* Footer Styles */
footer {
    background-color: #ffffff; /* White background */
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding-top: 50px; /* Adjust padding as needed */
    padding-bottom: 20px; /* Add padding at the bottom above the legal bar */
    /* Remove background image and related styles */
    background-image: none;
    background-repeat: initial;
    background-position: initial;
    background-size: initial;
    position: static; /* Reset position if it was relative */
    z-index: auto; /* Reset z-index */
}

footer .container {
     max-width: 1200px; /* Match container width */
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 40px; /* Set logo height */
    margin-right: 10px;
}

.footer-brand .brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333; /* Darker color for brand text */
}

.footer-description {
    color: #666; /* Grey text */
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-social-icons {
    display: flex;
   
    gap: 10px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;

    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.footer-social-icon:hover {
    background: #54a3dc;
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 8px rgba(84, 163, 220, 0.3);
}

.footer-social-icon i {
    font-size: 16px;
}

/* Facebook hover */
.footer-social-icon:hover .fa-facebook-f {
    color: #1877f2;
}

/* Twitter/X hover */
.footer-social-icon:hover .fa-x-twitter {
    color: #000000;
}

/* Instagram hover */
.footer-social-icon:hover .fa-instagram {
    color: #e4405f;
}

/* LinkedIn hover */
.footer-social-icon:hover .fa-linkedin-in {
    color: #0077b5;
}

.footer-social-icon:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.footer-social-icon i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333; /* Dark grey heading color */
    margin-bottom: 20px;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 8px;
}

.footer-links a.footer-link {
    color: #666; /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a.footer-link:hover {
    color: #1f6ba9; /* Blue on hover */
}

.footer-contact-list .material-icons {
    font-size: 1rem; /* Adjust icon size */
    color: #1f6ba9; /* Blue icon color */
    margin-top: 0; /* Reset margin-top for better alignment */
     width: 20px; /* Give icons a fixed width for alignment */
     text-align: center;
}

.footer-contact-list li span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* App links were removed in HTML, remove related CSS if any */
/* .app-links img { } Example, if this rule exists from previous footer */

.footer-bottom {
    background-color: #f8f9fa; /* Lighter background for bottom bar */
    border-top: 1px solid #eeeeee;
    font-size: 0.85rem;
    color: #666;
    padding: 15px 0; /* Adjust padding */
}

.footer-bottom .container {
     max-width: 1200px; /* Match container width */
}

.footer-bottom .copyright {
    /* Already styled */
}

.footer-bottom .legal-links a.legal-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 15px; /* Add space between legal links */
}

.footer-bottom .legal-links a.legal-link:first-child {
    margin-left: 0; /* No margin on the first link */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    footer .row > div {
        text-align: left !important;
        margin-bottom: 2rem;
    }
    footer .row > div:last-child {
        margin-bottom: 0;
    }

    .footer-brand {
        justify-content: flex-start !important;
    }

    .footer-social-icons {
        justify-content: flex-start !important;
         margin-top: 15px; /* Add space above social icons on mobile */
    }

    .footer-social-icons .footer-social-icon {
        margin: 0 5px 0 0; /* Adjust spacing */
    }

    .footer-bottom .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom .copyright {
        margin-bottom: 10px;
    }

    .footer-bottom .legal-links a.legal-link {
        margin: 0 5px; /* Adjust spacing */
    }
     .footer-contact-list .material-icons {
         margin-top: 0;
     }
}

/* Our Trusted Partners Section */
.partners-section {
    background-color: #f8f9fb;
}

.partners-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    text-align: center;
}

.partners-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #be8329;
    margin: 10px auto 0;
    border-radius: 2px;
}

.partner-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    height: 100px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-item:hover {
    border-color: #be8329;
    box-shadow: 0 4px 12px rgba(190, 131, 41, 0.2);
}

.partner-logo-item img {
    max-height: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Ensure consistent padding on smaller screens */
@media (max-width: 575.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Further reduce font sizes on very small devices */
    body {
        font-size: 0.9rem;
    }

    .landing-header {
        font-size: 1.6rem;
    }

    .landing-headings p {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .how-title {
        font-size: 1.2rem;
    }

    .how-desc {
        font-size: 1rem;
    }

    .how-card-title {
        font-size: 1rem;
    }

    .how-card-desc {
        font-size: 0.9rem;
    }

    .contact-info-title,
    .contact-info-details {
        font-size: 0.9rem;
    }

    .partners-title {
        font-size: 1rem;
    }

}

/* Header Styles */
.top-header {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1001;
}

.top-header.hide {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

.top-header-logo img {
    height: 40px;
}

.contact-item {
    font-size: 0.9rem;
}

.contact-icon-img {
    width: 24px;
    height: 24px;
}

.top-header-contact .contact-item {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #555;
}

.top-header-contact .contact-item .material-icons {
    font-size: 1.2rem;
    color: #be8329; /* Brown icon color */
}

.top-header-contact .contact-item small {
    font-weight: 600;
    color: #333;
}

.navbar .container {
     max-width: 1200px; /* Match container width */
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #ffffff !important; /* White text color */
    padding: 20px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle highlight on hover/active */
}

.vertical-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    height: 20px;
    margin: 0 15px;
}

.navbar .social-icon {
    color: #ffffff !important; /* White social icons */
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar .social-icon:hover {
    color: #be8329 !important; /* Brown on hover */
}

.navbar .material-icons {
    font-size: 1.2rem;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .top-header {
        display: none; /* Hide top bar on smaller screens */
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }



    .navbar .social-icon,
    .navbar .material-icons {
        color: #ffffff !important;
        margin: 5px;
    }

    .vertical-divider {
        display: none;
    }

   
     .navbar-nav {
        margin-bottom: 10px; /* Add space below nav links in collapsed view */
    }
}


/* Remove or adjust old navbar styles if necessary */
.navbar-light .navbar-nav .nav-link { /* Example of old rule */
    /* color: #333 !important; */
}

.navbar-brand img { /* Adjust if logo is only in top bar */
    /* width: 120px; */
}

.contact-icon-img {
    height: 2.0rem; /* Match the font size of the surrounding text */
    width: auto;
    vertical-align: middle; /* Align with text baseline */
}

.top-header-contact .contact-item .material-icons {
    font-size: 1.2rem;
    color: #be8329; /* Brown icon color */
}


.testimonials-section{
    padding: 60px 0;
    text-align: center;
    background-color: whitesmoke;
}

.testimonials-section .testimonials-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888; /* Lighter grey */
    margin-bottom: 10px;
    text-transform: uppercase;
}


.labels {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #888; /* Lighter grey */
    margin-bottom: 40px;
    text-transform: uppercase;
}
.testimonials-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333; /* Dark grey */
    margin-bottom: 15px;
    line-height: 1.2;
}

.scroll-container {
    display: flex;
    gap: 10px;
    padding-bottom: 20px;
    padding-left: 20px;
}

.card, .video-card {
    scroll-snap-align: start;
    
    border-radius: 20px;
    width: 300px;
    min-width: 280px;
    flex-shrink: 0;
    padding: 24px;
    min-height: 350px;
   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  
background: #f5f5f5;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #be8329;
    background:linear-gradient(to bottom,#ffffff,#ecd69c);
   
  }

.card:hover .quote,
.card:hover .signature,
.card:hover .title {
    color:black;
}

.card img.profile,
.video-card .profile-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    
}

.quote {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
    margin-bottom: 4px;
    color: #111;
}

.title {
    font-size: 13px;
    color: #888;
}

.video-card {
    position: relative;
    background-image: url('https://via.placeholder.com/300x420');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 0;
}

.video-card .profile-thumb {
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid white;
}

.video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    opacity: 0.85;
    cursor: pointer;
}

.video-card .signature {
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: white;
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
}

.video-card .title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ddd;
    font-size: 13px;
}

@media (max-width: 768px) {
    .card, .video-card {
        width: 85vw;
        min-width: 85vw;
    }
}

/* .bordered-card {
    border: 2px solid #ffffff;
    background: #be8329;
} */
.owl-stage-outer{
    padding:20px 0 20px 0;
    background-color: white;
}

/* Center nav container */
.owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .owl-carousel .owl-dots {
    text-align: center;
  }
  
  /* Style the nav buttons */
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    background-color: #be8329;
    color: #fff;
    /* padding: 10px 15px; */
    /* border-radius: 50%; */
    margin: 9px 10px;
    font-size: 18px;
    width: 40px !important;
    height: 40px !important;
    display: inline-block;

  }
  
  /* Optional: hover effect */
  .owl-carousel .owl-nav button:hover {
    background-color: #555;
  }
  .owl-carousel .item {
    background: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);  /* Card shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  /* Optional hover effect for cards */
  .owl-carousel .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }

/* General Header Styles for Consistency */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #333;
}

/* Adjust specific headers if needed, maintaining relative size hierarchy */
h1 {
    /* Maintain a larger size for the main page title */
    font-size: 3.0rem; /* Slightly adjusted from 3.5rem for harmony with 2.5rem h2 */
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    /* Base size for main section headings */
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px; /* Consistent margin */
}

h3 {
    /* Smaller size for sub-headings */
    font-size: 1.8rem; /* Example size, adjust as needed */
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Ensure specific existing header styles don't override unintentionally */
.landing-header {
    /* Already an h1, ensure it inherits general h1 styles */
    /* Specific margin kept */
    margin-bottom: 20px;
}

.contact-form-wrapper h2 {
    /* Ensure it inherits general h2 styles for font, weight, color */
    /* Specific margin kept */
    margin-bottom: 40px; /* Keep original margin for layout */
     color: #333; /* Explicitly set color to match others */
}

.how-it-works h2 {
     /* Ensure it inherits general h2 styles for font, weight, color */
     /* Specific margin kept */
     margin-bottom: 10px; /* Keep original margin */
}

.feature h3 {
    /* Ensure it inherits general h3 styles for font, weight, color */
    font-size: 1.2rem; /* Keep original size */
    margin: 0 10px 10px; /* Keep original margin */
    color: #222; /* Keep original color */
    font-weight: 700; /* Ensure bold */
}

.footer-heading {
     /* Already an h5 in the HTML, style accordingly */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}


/* Testimonials Section */
.testimonials-section{
    padding: 60px 0;
    text-align: center;
    background-color: white;
}

.testimonials-section .testimonials-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888; /* Lighter grey */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.testimonials-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333; /* Dark grey */
    margin-bottom: 15px;
    line-height: 1.2;
}

.scroll-container {
    display: flex;
    gap: 10px;
    padding-bottom: 20px;
    padding-left: 20px;
}

.card, .video-card {
    scroll-snap-align: start;
    
    border-radius: 20px;
    width: 300px;
    min-width: 280px;
    flex-shrink: 0;
    padding: 24px;
    min-height: 350px;
   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  
background: white;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #be8329;
    background:linear-gradient(to bottom,#ffffff,#ecd69c);
   
  }

.card:hover .quote,
.card:hover .signature,
.card:hover .title {
    color:black;
}

.card img.profile,
.video-card .profile-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    
}

.quote {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
    margin-bottom: 4px;
    color: #111;
}

.title {
    font-size: 13px;
    color: #888;
}

.video-card {
    position: relative;
    background-image: url('https://via.placeholder.com/300x420');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 0;
}

.video-card .profile-thumb {
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid white;
}

.video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    opacity: 0.85;
    cursor: pointer;
}

.video-card .signature {
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: white;
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
}

.video-card .title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ddd;
    font-size: 13px;
}

@media (max-width: 768px) {
    .card, .video-card {
        width: 85vw;
        min-width: 85vw;
    }
}

/* .bordered-card {
    border: 2px solid #ffffff;
    background: #be8329;
} */
.owl-stage-outer{
    padding:20px 0 20px 0;
    background-color: white;
}

/* Center nav container */
.owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .owl-carousel .owl-dots {
    text-align: center;
  }
  
  /* Style the nav buttons */
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    background-color: #be8329;
    color: #fff;
    /* padding: 10px 15px; */
    /* border-radius: 50%; */
    margin: 9px 10px;
    font-size: 18px;
    width: 40px !important;
    height: 40px !important;
    display: inline-block;

  }
  
  /* Optional: hover effect */
  .owl-carousel .owl-nav button:hover {
    background-color: #555;
  }
  .owl-carousel .item {
    background: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);  /* Card shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  /* Optional hover effect for cards */
  .owl-carousel .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  }

/* About Us Section Styles */
.about-us {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-content {
    padding: 20px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.about-content .lead {
    color: var(--text-color);
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.about-features {
    margin-top: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 10px;
}

.feature-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.feature-content {
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h4 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-content {
        padding: 20px;
    }
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.parallax-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.parallax-image {
    width: 100%;
    height: 660px;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.about-image:hover .parallax-image {
    transform: scale(1.15);
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1.1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        transform: translateY(0px) scale(1.1);
    }
}

/* Add a subtle gradient overlay */
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(190, 131, 41, 0.1),
        rgba(190, 131, 41, 0.05)
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .parallax-container {
        min-height: 300px;
    }
}

/* Media Page Styles */
.media-hero {
    padding: 100px 0 60px;
    background-color: #f8f9fa;
    text-align: center;
}

.media-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.media-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.latest-news {
    padding: 80px 0;
}

.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #be8329;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: #333;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: #be8329;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8b5e1f;
}

.press-releases {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.press-list {
    max-width: none !important;
    margin: 0 auto;
}

.press-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.press-item:hover {
    transform: translateX(10px);
}

.press-date {
    color: #be8329;
    font-weight: 500;
    margin-bottom: 10px;
}

.press-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.press-content p {
    color: #666;
    margin-bottom: 15px;
}

.media-resources {
    padding: 80px 0;
}

.resource-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.resource-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.resource-card p {
    color: #666;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #be8329;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #8b5e1f;
    color: #ffffff;
}

/* Download Page Styles */
.download-hero {
    padding: 100px 0 60px;
    background-color: #f8f9fa;
}

.download-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.download-content .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.download-btn-store img {
    height: 50px;
    transition: transform 0.3s ease;
}

.download-btn-store:hover img {
    transform: scale(1.05);
}

.download-image {
    text-align: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.download-features {
    padding: 80px 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    margin: 0;
}

.ussd-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.ussd-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.ussd-content p {
    color: #666;
    margin-bottom: 30px;
}

.ussd-code {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ussd-code span {
    font-size: 2rem;
    font-weight: 700;
    color: #be8329;
    display: block;
    margin-bottom: 10px;
}

.ussd-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ussd-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ussd-feature img {
    width: 24px;
    height: 24px;
}

.ussd-feature span {
    color: #333;
    font-weight: 500;
}

.ussd-image {
    text-align: center;
}

.ussd-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.system-requirements {
    padding: 80px 0;
}

.requirements-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.requirements-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.requirements-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-card ul li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.requirements-card ul li:before {
    content: "•";
    color: #be8329;
    position: absolute;
    left: 0;
}

@media (max-width: 991px) {
    .media-hero h1,
    .download-content h1 {
        font-size: 2.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .ussd-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .media-hero h1,
    .download-content h1 {
        font-size: 2rem;
    }

    .news-card,
    .press-item,
    .resource-card,
    .feature-card,
    .requirements-card {
        margin-bottom: 30px;
    }

    .ussd-features {
        margin-bottom: 30px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Social Icons Animation */
.social-icons a,
.footer-social-icon {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-icons a::before,
.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.social-icons a:hover::before,
.footer-social-icon:hover::before {
    left: 100%;
}

.social-icons a:hover,
.footer-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Specific animations for each social platform */
.social-icons a.facebook:hover,
.footer-social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icons a.twitter:hover,
.footer-social-icon.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-icons a.instagram:hover,
.footer-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icons a.linkedin:hover,
.footer-social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Add pulse animation for new notifications */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.social-icons a.has-notification::after,
.footer-social-icon.has-notification::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: #be8329;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Add bounce animation on click */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.social-icons a:active,
.footer-social-icon:active {
    animation: bounce 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-icons a:hover,
    .footer-social-icon:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .social-icons a.has-notification::after,
    .footer-social-icon.has-notification::after {
        width: 6px;
        height: 6px;
    }
}

.about-image.parallax-container {
    overflow: hidden;
    position: relative;
}

.about-image .parallax-image {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 10px;
    grid-gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    grid-row: span 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-item.tall {
    grid-row: span 4;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.feature-item.wide {
    grid-column: span 2;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Grid Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #be8329;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #be8329;
}

.feature-icon i {
    font-size: 2rem;
    color: #be8329;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Features Masonry Grid Styles */
.features-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    height: 100%;
}

.feature-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #be8329;
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #be8329;
}

.feature-icon i {
    font-size: 1rem;
    color: #be8329;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.2;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .features-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-masonry {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 0.5rem;
        min-height: 80px;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.35rem;
    }
    
    .feature-icon i {
        font-size: 0.9rem;
    }
}

/* Features Section Styles */
.features-section {
    padding-bottom: 8rem;
    padding-top: 40px;
    background-color: #f8f9fa;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #333;
}

.features-section .labels {
    text-align: center;
    margin-bottom: 0.5rem;
}

.features-masonry {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #be8329;
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #be8329;
}

.feature-icon i {
    font-size: 1rem;
    color: #be8329;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.2;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .features-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .features-masonry {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 0.5rem;
        min-height: 80px;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.35rem;
    }
    
    .feature-icon i {
        font-size: 0.9rem;
    }
    
    .features-section h2 {
        font-size: 1.5rem;
    }
}

/* About CTA Styles */
.about-cta {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}






@media (max-width: 768px) {
    .about-cta .button-47 {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 200px;
    }
}

/* Partner Saccos Section Styles */
.partner-saccos {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.partner-saccos .section-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.sacco-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.sacco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sacco-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.sacco-card h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .sacco-card {
        padding: 1.5rem;
    }
    
    .sacco-logo {
        width: 100px;
        height: 100px;
    }
}

/* Ensure smooth transition for navbar */
.navbar-collapse {
    transition: all 0.2s ease;
}

/* Mobile Navbar Slide-in from Left */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
      
        z-index: 1050 !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 3rem 1.5rem !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4) !important;
        overflow-y: auto !important;
    }
    
    .navbar-collapse.show {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    /* Navbar items styling for mobile */
    .navbar-nav {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.3s ease !important;
    }
    
    .navbar-nav .nav-item:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        transform: translateX(5px) !important;
    }
    
    .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 1.2rem 0 !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        border: none !important;
        background: transparent !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        left: -1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 2px;
        background: #ffffff;
        transition: width 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: transparent !important;
        color: #ffffff !important;
        transform: translateX(8px) !important;
    }
    
    .navbar-nav .nav-link:hover::before {
        width: 12px;
    }
    
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    
    .navbar-nav .nav-link.active::before {
        width: 12px;
    }
    
    /* Overlay when navbar is open */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
        pointer-events: none;
    }
    
    .navbar-collapse.show::before {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Close button for mobile navbar */
    .navbar-collapse .close-btn {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.8rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-collapse .close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    /* Adjust main content when navbar is open */
    body.navbar-open {
        overflow: hidden;
    }
    
    /* Ensure navbar brand stays visible */
    .navbar-brand {
        z-index: 1060;
        position: relative;
    }
    
    /* Smooth entrance animation for nav items */
    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.4s ease;
        transition-delay: calc(var(--item-index, 0) * 0.1s);
    }
    
    .navbar-collapse.show .navbar-nav .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add some spacing when navbar becomes sticky */
.navbar.sticky-top + section {
    margin-top: 76px; /* Adjust this value based on your navbar height */
}

/* Services Page Styles */
.services-hero {
    padding: 100px 0 60px;
    background-color: #f8f9fa;
}

.services-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.services-hero .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.main-services {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1f6ba9;
    font-weight: bold;
}

.cta-section {
    padding: 80px 0;
    background-color: #1f6ba9;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-section .button-47 {
    color: #ffffff;
    border-color: #ffffff;
}

.cta-section .button-47:hover {
    background-color: #ffffff;
    color: #1f6ba9;
}

/* Responsive Styles for Services Page */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 40px;
        text-align: center;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .cta-section {
        text-align: center;
        padding: 60px 0;
    }

    .cta-section .button-47 {
        margin-top: 2rem;
    }
}

/* Dropdown Styles */

/* Show dropdown on hover */



/* Responsive adjustments */


/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.sticky-top {
    padding: 0.5rem 0;
}

.nav-link {
    padding: 0.5rem 1rem !important;
    position: relative;
}



/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.login-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-image: url('../Assets/images/about3.png');
}

.login-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.login-form {
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.login-form .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.btn-login {
    background-color: #1f6ba9;  /* Bootstrap primary blue color */
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
}

.btn-login:hover {
    background-color: #1f6ba9;  /* Darker blue on hover */
    transform: translateY(-2px);
    color: white;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.login-form .form-floating {
    margin-bottom: 1rem;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1rem;
}

.error-message {
    color: #dc3545;
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

/* Password Toggle Styles */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password-toggle:hover {
    color: #0d6efd;
}

.bg-gradient-primary {
    background-image: linear-gradient(to bottom, #ffffff, #1f6ba9 49%);
}

/* Add this style section to the end of styles.css */

body {
    background-color: #f0f2f5;
}
.modern-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 2rem;
    border: none;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.modern-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
    border: none;
}
.modern-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    filter: brightness(0.85) saturate(1.1);
    transition: filter 0.2s ease-in-out;
}
.modern-card:hover .modern-card-image {
    filter: brightness(0.95) saturate(1.15);
}
.modern-card-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    background: linear-gradient(0deg, rgba(31, 107, 169, 0.9) 60%, rgba(31, 107, 169, 0.4) 90%, rgba(31, 107, 169, 0) 100%);
    border-radius: 0 0 20px 20px;
    color: #fff;
    text-align: left;
    flex: unset;
}
.modern-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
}
.modern-card-desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: #e8e8e8;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
}
.modern-card-info {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    color: #222;
    font-size: 0.95rem;
}
.modern-card-info span {
    display: flex;
    align-items: center;
    gap: 0.3em;
    color: #222;
}
.modern-card-info .fa {
    color: #b0b0b0;
    font-size: 1em;
}
.modern-card-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
}
.modern-card-btn {
    flex: 1 1 auto;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
}
.modern-card-btn:hover {
    background: #0d6efd;
    color: #fff;
}
.modern-card-heart {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #e74c3c;
    transition: border 0.2s, color 0.2s;
}
.modern-card-heart:hover {
    border: 2px solid #e74c3c;
    color: #fff;
    background: #e74c3c;
}

/* Modal Styles */
.modal-body {
    padding: 1.5rem;
}

.modal-image-container {
    max-width: 200px;
    margin: 0 auto 1rem;
}

.modal-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-description {
    color: #495057;
    line-height: 1.6;
}

.footer-contact-list i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-contact-list a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: inherit;
    text-decoration: none;
}

/* Video Testimonial Styles */
.video-testimonial {
    position: relative;
    overflow: hidden;
    height: 400px;
    padding: 0;
    border: 1px solid rgba(0,0,0,0.1);
    background: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(84, 163, 220, 0.2) 0%,
        rgba(84, 163, 220, 0.3) 50%,
        rgba(84, 163, 220, 0.8) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.video-testimonial:hover .video-thumbnail img {
    transform: scale(1.08);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: buzz 2s infinite;
}

.play-button i {
    font-size: 50px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
    animation: none;
}

.play-button:hover i {
    color: #54a3dc;
}

.video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 100%
    );
    text-align: center;
    z-index: 2;
}

.video-content .signature {
    font-size: 1em;
    font-weight: 400;
    color: #666;
    font-family: inherit;
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: normal;
}

@keyframes buzz {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Ensure all cards have the same height */
.testimonials .card {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonials .card .quote {
    flex-grow: 1;
    max-height: 120px;
    overflow: hidden;
}

/* Video Modal Styles */
.modal-content {
    background: #000;
    border: none;
    border-radius: 8px;
}

.modal-header {
    background: #fff;
    border-bottom: none;
    padding: 1rem;
}

.modal-title {
    color: #333;
    font-weight: 500;
}

.btn-close {
    background-color: #fff;
}

.modal-body {
    background: #000;
    position: relative;
}

#videoPlayer {
    border: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#videoPlayer.loaded {
    opacity: 1;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 1;
}

.video-loading.hidden {
    display: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}



 p{
    text-align: left !important;
    word-break: break-word;
}

/* Remove any previous justify rules for clarity */
.media-gallery-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
  transition: box-shadow 0.2s;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.media-gallery-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.media-gallery-image-wrapper {
  position: relative;
  width: 100%;
  
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.media-gallery-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  object-position: top;
  display: block;
  border-radius: 18px 18px 0 0;
  transition: transform 0.3s;
}
.media-gallery-card:hover .media-gallery-image {
  transform: scale(1.04);
}
.media-gallery-heart {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.7rem;
  color: #ff6b81;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  padding: 0.2em 0.3em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.media-gallery-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.6rem 1.2rem 0.1rem 1.2rem;
  color: #222;
  line-height: 1.3;
  text-align: justify;
}
.media-gallery-desc {
  font-size: 0.98rem;
  color: #555;
  margin: 0 1.2rem;
  line-height: 1.5;
  min-height: 2.2em;
}

/* ===== PAGE-SPECIFIC STYLES ===== */

/* Blog Page Styles */
.blog-modal-content {
    border-radius: 15px;
    border: none;
}

.blog-modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.blog-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.blog-modal-body {
    padding: 1.5rem;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    text-align: justify;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.blog-modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
}

.btn-close:focus {
    box-shadow: none;
}

/* Blog card styles */
.press-card {
    min-width: 0;
    width: 100%;
    text-align: justify;
}

.press-author {
    color: #f57c00;
    font-size: 0.98em;
}

.press-date {
    font-size: 0.95em;
}

.press-title {
    font-size: 1.18em;
    color: #222;
    line-height: 1.3;
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: justify;
}

.press-snippet {
    font-size: 1em;
    min-height: 2.2em;
    color: #555;
    text-align: justify;
}

.read-more-link {
    font-size: 0.98em;
    color: #1976d2;
    text-decoration: none;
    text-align: justify;
}

.read-more-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Press card image wrapper */
.press-card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.press-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1);
}

.press-card-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Media Page Styles */
.media-modal-content {
    border-radius: 15px;
    border: none;
}

.media-modal-header {
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.media-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.media-modal-body {
    padding: 1.5rem;
}

.media-modal-footer {
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
}

/* Download Page Styles */
.downloadable-content {
    background: #f8f9fa;
}

.download-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.download-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.download-icon i {
    font-size: 30px;
    color: #54a3dc;
}

.download-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3em;
}

.download-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #54a3dc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.download-btn:hover {
    background: #3d8bc0;
    color: white;
    transform: translateY(-2px);
}

.download-btn i {
    margin-right: 8px;
}

/* Services Page Styles */
.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3em;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #54a3dc;
    font-weight: bold;
}

.how-it-works-btn {
    background: #54a3dc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.how-it-works-btn:hover {
    background: #3d8bc0;
    transform: translateY(-2px);
}

.coming-soon-text {
    background: #ffc107;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: auto;
}

.service-card.blurred {
    opacity: 0.7;
    filter: blur(1px);
}

.service-card.blurred:hover {
    opacity: 1;
    filter: blur(0);
}

/* Responsive Styles for Modals */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .download-card {
        margin-bottom: 20px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}

/* Footer animations */
.footer-social-icons a {
    transition: all 0.3s ease;
   
}

.footer-social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    color: #1976d2;
}

.footer-links li {
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #1976d2;
    text-decoration: none;
}

.footer-contact-list li {
    transition: all 0.3s ease;
}

.footer-contact-list li:hover {
    transform: translateX(5px);
}

.footer-contact-list a {
    transition: all 0.3s ease;
}

.footer-contact-list a:hover {
    color: #1976d2;
}

.legal-link {
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #1976d2;
    text-decoration: none;
}

.footer-brand img {
    transition: all 0.3s ease;
}

.footer-brand img:hover {
    transform: scale(1.05);
}

/* Footer section animations */
#footer {
    transition: all 0.8s ease;
}

#footer .col-md-3,
#footer .col-md-2 {
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

#footer .col-md-3.aos-animate,
#footer .col-md-2.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Ensure footer is visible even without AOS */
#footer .col-md-3,
#footer .col-md-2 {
    opacity: 1;
    transform: translateY(0);
}

.footer-bottom {
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.footer-bottom.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Ensure footer bottom is visible even without AOS */
.footer-bottom {
    opacity: 1;
    transform: translateY(0);
}

.about-image img:hover {
    transform: scale(1.01);
}

.service-card.blurred:hover {
    opacity: 1;
    filter: blur(0);
}

/* Additional service card styles */
.service-card.blurred {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

.service-card.blurred::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.service-card.blurred > *:not(.coming-soon-text) {
    filter: blur(4px);
}

.service-card.blurred .service-content {
    opacity: 0.3;
}

.service-card.blurred .coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
    z-index: 999;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5em;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-features li:before {
    content: "•";
    color: #54a3dc;
    position: absolute;
    left: 0;
}

.service-card .how-it-works-btn {
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 15px;
    background: #54a3dc;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: calc(100% - 0px);
}

.service-card .how-it-works-btn:hover {
    background: #3d8bc0;
    transform: translateY(-2px);
}

/* Tawk Widget Overflow Fix */
#tawkto-container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    right: 10px !important;
    left: auto !important;
}

#tawkto-container iframe {
    max-width: calc(100vw - 20px) !important;
    width: auto !important;
    right: 0 !important;
    left: auto !important;
}

/* Ensure tawk widget doesn't cause horizontal scroll */
.tawk-min-container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    right: 10px !important;
    left: auto !important;
}

.tawk-max-container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    right: 10px !important;
    left: auto !important;
}

/* Fix for tawk widget on mobile devices */
@media (max-width: 768px) {
    #tawkto-container,
    .tawk-min-container,
    .tawk-max-container {
        max-width: 100vw !important;
        width: auto !important;
        right: 10px !important;
        left: auto !important;
        overflow-x: hidden !important;
    }
    
    #tawkto-container iframe {
        max-width: calc(100vw - 20px) !important;
        width: auto !important;
    }
}

/* Additional fix for very small screens */
@media (max-width: 480px) {
    #tawkto-container,
    .tawk-min-container,
    .tawk-max-container {
        right: 5px !important;
        max-width: calc(100vw - 10px) !important;
    }
    
    #tawkto-container iframe {
        max-width: calc(100vw - 10px) !important;
    }
}

/* Force tawk widget to stay within viewport */
[data-tawk-to],
[class*="tawk"],
[class*="Tawk"] {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    right: 10px !important;
    left: auto !important;
}

/* Additional tawk widget containment */
div[style*="tawk"],
iframe[src*="tawk"] {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    right: 10px !important;
    left: auto !important;
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 24px;
  left: 20px;
  z-index: 1201;
  padding: 0;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 4px;
  background: #222;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s;
}

/* Overlay styles */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Sidebar styles */
.mobile-nav-sidebar {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100vh;
  background: #2874b2;
  z-index: 1202;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 16px rgba(0,0,0,0.08);
  color: #fff;
}
.mobile-nav-sidebar.active {
  display: block;
  transform: translateX(0);
}
.mobile-nav-header {
  background: #fff;
  border-bottom: 1px solid rgba(40,116,178,0.12);
  box-shadow: 0 2px 8px rgba(40,116,178,0.06);
  padding: 24px 20px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.mobile-nav-header img {
  margin: 0;
  display: block;
}
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
}
.mobile-nav-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 18px 24px;
  transition: background 0.2s;
}
.mobile-nav-menu a:hover {
  background: rgba(255,255,255,0.08);
}

/* Responsive: show/hide navs */
@media (max-width: 991.98px) {
  .navbar {
    display: none !important;
  }
  .hamburger-menu {
    display: flex !important;
  }
  .mobile-nav-sidebar {
    display: block;
  }
}
@media (min-width: 992px) {
  .hamburger-menu,
  .mobile-nav-overlay,
  .mobile-nav-sidebar {
    display: none !important;
  }
  .navbar {
    display: flex !important;
  }
}

@media (max-width: 991.98px) {
  .landing-page,
  .landing-headings,
  .landing-header,
  .landing-headings p {
    text-align: center !important;
  }
  .landing-header {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }
  .landing-headings p {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
  }
  .landing-page .stats-section {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .landing-page .stats-section .row {
    justify-content: center !important;
  }
  .landing-page .stat-item {
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .landing-page .stat-number {
    font-size: 2rem !important;
  }
  .landing-page .stat-label {
    font-size: 1.1rem !important;
  }
  .landing-page .cta {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .landing-page .cta .button-47 {
    display: inline-block;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

@media (max-width: 991.98px) {
  .landing-page {
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('/Assets/images/home2.png') center center/cover no-repeat !important;
    position: relative;
  }
  .landing-image img {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .about-us {
    background: linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)), url('/Assets/images/about3.png') center center/contain no-repeat !important;
    position: relative;
    max-height: 60%;
    background-size: 100% auto !important;
  }
  .about-image img {
    display: none !important;
  }
  
  /* Hide parallax container completely on mobile */
  .parallax-container {
    display: none !important;
  }
}

.about-content .cta {
    text-align: center !important;
}

.about-content .cta .button-47 {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (max-width: 771.98px) {
  .how-it-works .phone-mockup {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .testimonials .card {
    max-width: 280px;
    margin: 0 auto 20px;
    padding: 20px;
  }
  
  .testimonials .card .quote {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .testimonials .card .signature {
    font-size: 0.95rem;
  }
  
  .testimonials .card .title {
    font-size: 0.85rem;
  }
  
  .testimonials .card img.profile {
    width: 50px;
    height: 50px;
  }
}