/* =================================================================== */
/* 1. Global Resets and Typography */
/* =================================================================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #555;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e65c00;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5 {
    font-weight: 300;
    color: #333;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 15px;
    text-align: center;
    color: #555;
}

.title-divider {
    width: 80px;
    height: 2px;
    background-color: #ff6600;
    margin: 0 auto 50px auto;
}

p {
    line-height: 1.7;
    color: #6c757d;
}
.t_align_c {
    text-align: center;
}
.bg_light_3 {
    background-color: #f8f9fa;
}

/* =================================================================== */
/* 2. Header and Navigation */
/* =================================================================== */
.header {
    width: 100%;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.navmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.navmenu li {
    margin-left: 35px;
}

.navmenu a {
    color: #555;
    font-weight: 400;
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.navmenu a:hover,
.navmenu a.active {
    color: #ff6600;
    border-bottom-color: #ff6600;
}

.btn-header-cta {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-left: 35px;
}
.btn-header-cta:hover {
    background-color: #e65c00;
    color: white;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #555;
    margin-left: 15px;
    background: transparent;
    border: 0;
    padding: 0.25rem;
}

.navmenu-mobile {
    display: none;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .navmenu-mobile {
        position: absolute;
        top: 60px;
        right: 15px;
        left: 15px;
        z-index: 999;
        background: white;
        padding: 10px 0;
        border-radius: 4px;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }
    .navmenu-mobile ul {
        display: block;
    }
    .navmenu-mobile li {
        margin: 0;
    }
    .navmenu-mobile a {
        padding: 10px 20px;
        display: block;
        border: none;
    }
    .navmenu.navmenu-mobile {
        display: block;
    }
}

/* =================================================================== */
/* 3. Hero Section & Page Title Banner */
/* =================================================================== */
.hero {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}
.hero-content {
    max-width: 50%;
    text-align: left;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero p {
    font-size: 20px;
    font-weight: 400;
    color: #555;
}
.hero-image {
    max-width: 50%;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-title-banner {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}
.page-title-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
}

/* =================================================================== */
/* 4. Layered Sections */
/* =================================================================== */
.layered-section {
    padding-top: 60px;
    margin-top: -120px;
    position: relative;
    z-index: 10;
}
.services-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* =================================================================== */
/* 5. Services Grid */
/* =================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.service-item {
    text-align: center;
}
.service-item img {
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}
.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}
.btn-read-more {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-read-more:hover {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* =================================================================== */
/* 6. On-Demand Section (REDESIGNED) */
/* =================================================================== */
.on-demand {
    padding: 80px 0;
    background-color: #ffffff;
}
.on-demand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.on-demand-item {
    text-align: center;
    padding: 30px 25px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.on-demand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.on-demand-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    background-color: #fff3e9;
    color: #ff6600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.on-demand-item h4 {
    margin-bottom: 15px;
}
.on-demand-item p {
    font-size: 15px;
}


/* =================================================================== */
/* 7. Bank Partners Section */
/* =================================================================== */
.partners { padding: 80px 0; }
.partners-content { display: flex; align-items: center; gap: 60px; }
.partners-text { flex: 1; text-align: left; }
.bank-logos-container { flex: 1; }
.bank-logos-container img { max-width: 100%; }

/* =================================================================== */
/* 8. Footer */
/* =================================================================== */
.footer { background-color: #343a40; color: #ccc; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; gap: 20px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
.footer-col, .footer-col ul, .footer-col p { font-size: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #ccc; }
.footer-col a:hover { color: #fff; }
.footer-logo { max-width: 150px; }
.footer-col ul li i { margin-right: 10px; color: #ff6600; font-size: 16px; }
.footer-col ul li span, .footer-col ul li a { display: inline-flex; align-items: center;}
.footer-bottom { background-color: #343a40; padding: 20px 0; text-align: center; font-size: 13px; border-top: 1px solid #495057; }
.footer-bottom span { color: #fff; font-weight: 700; }

/* =================================================================== */
/* 9. Floating Buttons & Modal */
/* =================================================================== */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 2px 2px 6px rgba(0,0,0,0.4); z-index: 100; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { font-size: 30px; color: white; }

.hubspot-float { position: fixed; bottom: 90px; right: 20px; z-index: 100; background-color: #ff6600; color: white; padding: 12px 24px; border-radius: 30px; font-weight: 700; box-shadow: 2px 2px 6px rgba(0,0,0,0.4); transition: all 0.3s ease; cursor: pointer; }
.hubspot-float:hover { transform: scale(1.1); color: white; }

.modal .modal-dialog { max-width: 500px; }
.modal-header { border-bottom: none; padding: 1.5rem 1.5rem 0.5rem; }
.modal-title { font-size: 24px; font-weight: 700; }
.modal-body { padding: 1rem 1.5rem 1.5rem; }
.btn-close { box-shadow: none !important; }

/* =================================================================== */
/* 10. Formspree Form Styles */
/* =================================================================== */
.formspree-form .form-label {
    font-weight: 700;
    color: #555;
}
.formspree-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 12px;
}
.formspree-form .form-control:focus {
    border-color: #ff6600;
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}
.formspree-form .btn-primary {
    background-color: #ff6600;
    border-color: #ff6600;
    font-weight: 700;
    padding: 12px;
}
.formspree-form .btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}


/* =================================================================== */
/* 11. Tabbed Content (General) */
/* =================================================================== */
.spotlight-tabs .tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.spotlight-tabs .tab-link {
    padding: 12px 25px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #555;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.spotlight-tabs .tab-link:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}
.spotlight-tabs .tab-link.active {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.fintech-spotlight .tab-content {
    display: none;
    animation: fadeIn 0.5s;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.fintech-spotlight .tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 20px;
}

.tab-image {
    flex: 0 0 45%;
    text-align: center;
}
.tab-image img {
    border-radius: 8px;
}

.spotlight-features {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.spotlight-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.spotlight-features li i {
    font-size: 20px;
    color: #ff6600;
    margin-top: 4px;
}

.spotlight-features li div {
    flex: 1;
}

.spotlight-features li strong {
    color: #333;
    font-weight: 700;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =================================================================== */
/* 12. Build CTA Section */
/* =================================================================== */
.build-cta-section {
    background: linear-gradient(to right, rgba(52, 58, 64, 0.9), rgba(52, 58, 64, 0.8)), url('images/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 100px 0;
}
.build-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-text-content p {
    color: #ccc;
    max-width: 600px;
    margin-bottom: 30px;
}
.cta-steps {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.step {
    display: flex;
    align-items: center;
    gap: 15px;
}
.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff6600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.step p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}
.build-cta-section .btn-contact {
    background-color: #ff6600;
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.build-cta-section .btn-contact:hover {
    background-color: #e65c00;
}

/* =================================================================== */
/* 13. Fintech & Startup Launchpad Page Styles */
/* =================================================================== */
/* --- Fintech Page --- */
.fintech-service-detail { display: flex; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid #e9ecef; }
.fintech-service-detail:last-child { border-bottom: none; padding-bottom: 0; }
.fintech-service-detail:first-child { padding-top: 0; }
.fintech-service-detail:nth-child(even) { flex-direction: row-reverse; }
.fintech-detail-text { flex: 1; }
.fintech-detail-text h3 { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: #ff6600; }
.fintech-detail-image { flex: 0 0 45%; }
.fintech-detail-image img { border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.fintech-points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.fintech-point-item { text-align: center; }
.fintech-point-item i { font-size: 32px; color: #ff6600; margin-bottom: 15px; }
.fintech-point-item h4 { font-size: 18px; margin-bottom: 10px; }
.fintech-point-item p { font-size: 15px; color: #6c757d; }

/* --- Launchpad Page --- */
.launchpad-section { padding-top: 40px; padding-bottom: 40px; }
.launchpad-tab-content { display: none; animation: fadeIn 0.5s; }
.launchpad-tab-content.active { display: block; }
.launchpad-intro { display: flex; gap: 50px; align-items: center; margin-bottom: 40px; padding: 40px; background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.launchpad-intro-text { flex: 1; }
.launchpad-intro-text h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: #333; }
.launchpad-intro-image { flex: 0 0 40%; }
.launchpad-intro-image img { border-radius: 8px; }
.launchpad-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.launchpad-card { background-color: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 30px; text-align: left; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
.launchpad-card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 700; color: #333; }
.launchpad-card h4 i { color: #ff6600; }
.launchpad-card ul { list-style: none; padding: 0; margin: 0; }
.launchpad-card ul li { padding-left: 25px; position: relative; margin-bottom: 10px; color: #6c757d; }
.launchpad-card ul li::before { content: "\F26A"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: #28a745; }


/* =================================================================== */
/* 14. Contact & Career Page Styles */
/* =================================================================== */
.contact-grid,
.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.boxed-section {
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%; /* Make boxes in a grid row the same height */
}

.contact-details-container .section-title,
.contact-form-container .section-title,
.vacancies-container .section-title,
.apply-form-container .section-title {
    text-align: left !important;
    margin-bottom: 20px;
}

.contact-details-container p,
.contact-form-container p,
.vacancies-container p,
.apply-form-container p {
    text-align: left;
    margin-bottom: 30px;
}

.map-section {
    margin-top: 80px;
}
.contact-info-card {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}
.contact-info-item i {
    font-size: 28px;
    color: #ff6600;
    margin-top: 5px;
}
.contact-info-item div {
    display: flex;
    flex-direction: column;
}
.contact-info-item strong {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}
.contact-info-item span, .contact-info-item a {
    color: #6c757d;
}

/* Accordion Styling */
.accordion {
    width: 100%;
}
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important; /* Override bootstrap */
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-link {
    width: 100%;
    background: #fff;
    border: none;
    text-align: left;
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.accordion-link:hover {
    background-color: #f8f9fa;
}
.accordion-content {
    padding: 0 25px;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    border-top: 1px solid #e9ecef;
}
.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 25px;
}
.accordion-link .bi-dash { display: none; }
.accordion-link .bi-plus { display: block; }
.accordion-item.active .accordion-link .bi-dash { display: block; }
.accordion-item.active .accordion-link .bi-plus { display: none; }
.accordion-item.active .accordion-link { color: #ff6600; }

/* =================================================================== */
/* 15. Responsive Styles (Mobile Improvements) */
/* =================================================================== */
@media (max-width: 992px) {
    .navmenu { display: none; }
    .btn-header-cta { display: none; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content, .hero-image { max-width: 100%; margin-bottom: 40px; text-align: center;}
    .services-grid, .on-demand-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-content { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    /* CORRECTED: Grid layout for contact and career pages on mobile */
    .contact-grid,
    .career-grid {
        grid-template-columns: 1fr;
        gap: 40px; /* Add space between stacked items */
    }

    .boxed-section { padding: 30px; }
    .tab-content-inner, .fintech-service-detail { flex-direction: column !important; }
    .tab-image, .fintech-detail-image { margin-top: 30px; }
    .fintech-spotlight .tab-content { padding: 30px 20px; }
    .build-cta-content { flex-direction: column; text-align: center; }
    .build-cta-content .section-title { text-align: center !important; }
    .fintech-service-detail:nth-child(even) .fintech-detail-image { order: -1; }
    .fintech-points-grid, .launchpad-details-grid { grid-template-columns: 1fr; gap: 20px; }
    .launchpad-intro { flex-direction: column; text-align: center; padding: 30px; }
    .launchpad-intro-image { margin-top: 30px; }
}

@media (max-width: 768px) {
    .header .container { flex-direction: row; justify-content: space-between; }
    .services-grid, .on-demand-grid { grid-template-columns: 1fr; }
    .bank-logos-container { margin-top: 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col { align-items: center; display: flex; flex-direction: column; }
    .footer-col ul { width: 100%; }
    .footer-col ul li { justify-content: center; }
    .spotlight-tabs .tab-nav { flex-direction: column; }
    .spotlight-tabs .tab-link { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .section-title { font-size: 28px; }
    .whatsapp-float { width: 50px; height: 50px; }
    .whatsapp-float i { font-size: 24px; }
    .hubspot-float { padding: 10px 20px; font-size: 14px; }
    .cta-steps { flex-direction: column; align-items: center; }
    .step { margin: 10px 0; }
}