
:root {
    --primary-color-dark: #122849;

    --accent-color: #ff9900;
 
    --text-light: #ffffff;
    --text-dark: #333;
    --secondary-accent: #20c997;
   
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 html,
        body {
            height: 100%;
            overflow-x: hidden;
            /* overflow: hidden; */
          
        }
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
 
    background-color: white; 
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #122849;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions button {
    padding: 10px 20px;
}

.form-actions a {
    font-size: 0.9em;
    color: #ff9900;
    text-decoration: none;
}

.form-actions a:hover {
    text-decoration: underline;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
}
.main-nav {
    display: flex;
    /* gap: 20px; */
}




/* MOBILE MENU */
@media (max-width: 768px) {
   

    .main-nav {
        display: flex; 
        flex-direction: column;
       
        background: white !important;
        position: absolute;
        top: 125px; 
        right: 0;
        width: 100%;
        height: auto;
       
        z-index: 999;
        transform: translateY(-100%); 
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    
    }
    .containerr{
               padding-top: 50px;
        padding-left: 16px;
    }
.container{
    
 
    margin: 0 auto;
    padding:  0px !important;
    padding-top: 50px;
    text-align: center;
}

.features-grid {
    display: grid !important;
}
    .main-nav a {
        color: black !important;
        text-decoration: none;
        padding: 12px 0;
        font-size: 1rem;
        text-align: center;
    }

    .main-nav.active {
        transform: translateY(0); 
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
                display: flex;
        font-size: 2rem;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 1000;
        justify-content: right;
        /* justify-items: flex-end; */
        /* float: right; */
        /* left: 50px;   */
    }
    .services-grid {
   display: flex !important;
    }
}

.log{
    width: 120px;
    height: 120px;
        background-color: #a9a9a954;
    border-radius: 50%;
   
}

.container {
    width: 90%;
  
    margin: 0 auto;
    padding: 0 10px;
    padding-top: 50px;
    text-align: center;
}



h2 {
    font-size: 2.5em;
    color: var(--primary-color-dark);
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    color: var(--primary-color-dark);
}

/* --- Utility Classes --- */
.py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
        padding-left: 10px;
    padding-right: 10px;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
        padding-left: 10px;
    padding-right: 10px;
}

.text-dark-title {
    color: var(--primary-color-dark);
}

/* --- Header & Navigation Styling (Using Grid for Centering) --- */

.main-header {
  
  justify-content: space-between;
    display: flex;
    
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    /* max-width: 1300px; */
    margin: 0 auto;
    position: relative;
  
    width: 90%;
}

.content-image img{
 width:100%;
     border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
@media(min-width:1440px){
.content-image img{
 width:80%;
}
.col-right img{
    width:80% !important;
    transform:translateY(-50px);
}
}
@media (max-width: 768px) {
    .main-header{
        padding-left: 10px;
    }
    .content-text {
        order: 1; 
    }
    
    .content-image {
        order: 2; 
        margin-top: 20px; 
    }
}

.main-header .logo {
    grid-area: logo;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-light); 
    white-space: nowrap; 
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding-left: 15px; 
}



.main-nav a {
    padding: 10px 15px;
    font-weight: 500;
    color: var(--text-light); 
    text-transform: uppercase;
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
}
.login-btn {
    grid-area: login;
    background-color: var(--accent-color);
    color: var(--text-dark) !important;
    padding: 8px 20px !important;
    border: none;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #e68a00;
}

.main-header.dark-mode-header .logo,
.main-header.dark-mode-header .main-nav a,
.main-header.dark-mode-header .menu-toggle {
    color: #ffffff; 
}

.main-header.dark-mode-header .money-text {
    color: var(--accent-color);
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color-dark);
}

.logo-tagline {
    font-size: 0.8em;
    color: var(--accent-color);
}



.main-nav a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}
.finma-hero {
    position: relative;
    width: 100%;
    padding: 30px 8%;
    background: url('images/background.jpg') center/cover no-repeat;
     border-radius: 0px 0 200px 0;
    
}

.finma-hero-overlay {
    position: absolute;
    inset: 0;
         background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
        border-radius: 0px 0 200px 0;
}
.border{
     border-radius: 200px 0 200px 0;
}
.borderr{
     border-radius: 0px 0 200px 0;
}
*{
    margin:0px;
    padding:0px;
    box-sizing:border-box;
}
.icon {
    background: url("assets/images/icons/user.png");
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 8px 9px;
}

.iconp {
    background: url("assets/images/icons/lock.png");
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 8px 9px;
}

.error {
    color: red
}

.website-logo .logo img.logo-size {
    opacity: 1 !important;
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none;
    z-index: 10;
    padding: 20px 50px;
}

.dark-mode-header {
    background: transparent !important;
}

.finma-hero {
    background: url("images/background.jpg") center/cover no-repeat;
    height: 100vh;
    position: relative;
}

.finma-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.finma-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px; 
}

@media(max-width:768px){
   .service-card-grid-top, .growth-section, .finma-join-wrapper, .hm-how, .hero-section, .cta, .border,  .aeps-section {
               border-radius: 50px 0 50px 0 !important;
   } 
   .hero-title{
       font-size:35px !important;
   }
   .hero-subtitle, .tagline{
           font-size: 14px !important;
   }
   .inner-hero, .inner-hero-overlay, .finma-hero-overlay, .finma-hero, .borderr{
        border-radius: 0 0 50px 0 !important;
   }
}
.inner-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    background: url("images/background.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
     border-radius: 0 0 200px 0;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
       background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
      border-radius: 0 0 200px 0;
}

.inner-hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
}

.inner-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #fff;
    font-size: 18px;
}

.breadcrumb a {
    color: #ffa76e;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.finma-hero-content {
    position: relative;
    max-width: 650px;
    color: white;
}

.tagline {
    color: #0d6efd;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
        background-color: var(--primary-color-dark);
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    transition: 0.3s ease;
}

.hero-btn:hover {
     background-color: #0b5ed7;;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border-radius: 5px;
}


.main-header.dark-mode-header .logo-text,
.main-header.dark-mode-header .main-nav a {
    color: var(--text-light);
}

.main-header.dark-mode-header .menu-toggle {
    color: var(--text-light);
}

.main-header.dark-mode-header .logo-tagline {
    color: var(--accent-color);
}

.main-header.dark-mode-header .main-nav a:hover,
.main-header.dark-mode-header .main-nav a.active {
    border-bottom: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.main-header.dark-mode-header .money-text {
  
    font-size: 0.6em;
    display: block;
    line-height: 0.1;
    color: var(--accent-color);
}

.hero-wrapper {
     background:  #0d6efd;   
    z-index: 1;
}

.hero-section {
       background-color: #E6F0FA;
    padding: 45px 20px;
    border-radius: 0px 0 200px 0;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
    text-align: left;
}

.display-title {
    font-size: 2.5rem;
    color: #122849;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.lead-text-light {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.hero-features li {
    margin-bottom: 10px;
    color: #122849;
    font-size: 1rem;
}

.hero-features i {
    color: #0d6efd;
    margin-right: 10px;
}

.btn-hero-cta {
    
    color:var(--primary-color-dark);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color-dark);
}

.btn-hero-cta:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    color: white;
}

/* Right Image */
.hero-image {
    flex: 1;
  
    text-align: center;
}



/* Responsive */
@media (max-width: 768px) {
    .hero-flex {
       
        text-align: center;
    }
    .hero-image img {
        max-width: 350px;
        margin-top: 20px;
        margin-left: -20px;
        box-shadow: none !important;
    }
    .main-header{
            padding: 0px 15px !important;
    }
    .inner-hero-content h1 {
    font-size: 40px;}
    .breadcrumb {
    color: #fff;
    font-size: 15px;
    }
    .service-cards{
        display: flex;
    flex-wrap: wrap;
    }
    .display-title{
    font-size: 2rem;
    }
    .lead-text-light {
    font-size: 1rem;
    margin-right: 20px;
    }
}


.btn-hero-cta {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    text-decoration: none;
    background-color: #122849;;
    color: white;
    border-radius: 5px;
    margin-top: 10px;
}

.hero-image {
    width: 80%;
   
}

.hero-image .responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* --- Service Card Grid --- */
.service-card-grid-top {
    padding-top: 30px;
    padding-bottom: 30px;
        border-radius: 0 0 200px 0;
}
.growth-section{
        border-radius: 200px 0 200px 0;
}
.service-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.card-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 25%;
    min-width: 150px;
    transition: transform 0.3s, border 0.3s;
     border: 1px solid #eee;
     border-bottom: 4px solid  var(--primary-color-dark) ;
}

.card-item:hover {
       transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color-dark);
}

.card-item.active-card {
    border: 3px solid var(--accent-color);
}


.icon-circle{
  width:64px; 
  height:64px;
  margin:0 auto 12px;
  border-radius:50%;
  display:grid; 
  place-items:center;
 color: var(--primary-color-dark); 
  background:linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow:0 10px 20px rgba(13,95,241,.25);
}


.icon-circle i{
    font-size:28px;
    line-height: 1;
      margin: 0;             
}

.card-item h3 {
    font-size: 1em;
    font-weight: bold;
    color: var(--primary-color-dark);
}




.finma-hero::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -50px; right: -50px;
    transform: rotate(45deg);
}
.finma-hero {
    position: relative; 
    overflow: hidden; 
}

.main-footer {
    position: relative;
    overflow: hidden; 
}

.snowflake {
    position: fixed;
    top: -10px;
    color: rgba(18,40,73,0.7); 
    font-size: 1em;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.snowflake {
    text-shadow: 0 0 5px rgba(0,0,0,0.2);
}


/* Falling animation */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

body {
    background: linear-gradient(135deg, #122849 0%, #E6F0FA 100%);
    overflow-x: hidden;
    position: relative;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: #fff;
}

.bg-circle:nth-child(1){
    width: 300px; height: 300px;
    top: 50px; left: 20px;
}

.bg-circle:nth-child(2){
    width: 400px; height: 400px;
    bottom: 100px; right: 50px;
}

.bg-circle:nth-child(3){
    width: 200px; height: 200px;
    top: 200px; right: 150px;
}


.content-area {
  
    position: relative;
    z-index: 2;
}

.aeps-section {
      border-radius: 200px 0 200px 0;
    padding: 60px 0;
}

.aeps-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
 
}

.aeps-section p {
   
    margin-bottom: 25px;
}

.flip-card-front, .flip-card-back {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
}

.flip-card-front {
    background-color: #ffffff;
    color: var(--primary-color-dark);
}

.flip-card-back {
    background: var(--accent-color); 
    color: var(--text-light);
    transform: rotateY(180deg);
}
/*
 Services Section 
*/
@media (min-width: 320px) and (max-width: 768px) {
    #services {
        padding: 30px 0; 
   
    }
    
    .container {
        padding:  15px 0 !important; 
        width: 100%;
        margin: 0 auto;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center; 
        gap: 15px; 
    }

    .service-card {
        width: 90%; 
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); 
    }

    .section-title, .section-subtitle {
        padding: 0 15px; 
    }
}

/* --- Features Section --- */


.features-section .section-heading {
    font-size: 2.5rem;
    
    margin-bottom: 10px;
}

.features-section .section-subheading {
    font-size: 1rem;

}

.features-section .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 30px;
}

.features-section .feature-item {
    background: #f7f7f7; 
    border-radius: 12px;
    padding: 2rem 1rem;
    width: 220px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.features-section .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

.features-section .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f0ff;
    border-radius: 50%;
    color: var(--primary-color-dark);
    font-size: 1.8rem;
}

.features-section .feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color-dark);
}

.features-section .feature-item p {
    font-size: 0.95rem;
    color: #555;
}


/* 
    CONTACT PAGE STYLING
 */


#contact-form-section {
    padding: 0 !important;
background-color: #E6F0FA;

}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    /* background: #fff; */
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 40px;
}
.contact-form h2 {
    margin-bottom: 25px;
    color: #122849;
    font-size: 1.6rem;
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
    outline: none;
}

/* Submit Button */
.btn.primary-btn {
    background-color: var(--primary-color-dark);
    color: #fff !important;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    
    margin-bottom: 9px !important;

}
.btn.primary-btn:hover {
    background-color: #0b5ed7;
}

/* Contact Details */
.contact-details {
    flex: 1;
    min-width: 320px;
    padding: 20px 10px;
}
.contact-details h2 {
    color: #122849;
    font-size: 1.6rem;
    margin-bottom: 25px;
}
.contact-details p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    text-align: left;
}
.contact-details i {
    color: #0d6efd;
    margin-right: 10px;
    font-size: 18px;
}

/* Social Icons */
.social-icons a {
   
    font-size: 22px;
    margin-right: 15px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: black;
    transform: translateY(-2px);
}

@media (min-width:375px) and (max-width:768px) {
    

.features-section .feature-item {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 2rem 1rem;
    width: 320px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
}

    .main-nav a {
        padding: 10px 20px;
        color: var(--text-light);
       
    }

    .login-btn {
        margin-left: 20px;
            margin-right: 20px;
        margin-bottom: 10px;
    }

   

    .main-header.dark-mode-header .main-nav a {
        color: var(--text-light);
      
    }


    .service-cards {
        /* flex-wrap: wrap; */
        justify-content: center;
    }

    .card-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .feature-blocks {
        flex-direction: column;
    }


@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
     
        gap: 20px;
    }
    .btn.primary-btn{
            margin: 0 auto;
    width: 70%;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-form,
    .contact-details {
        width: 100%;
    }

    .page-header {
        padding: 80px 20px 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .card-item {
        width: 90%;
    }
}


.flip-box {
    background-color: transparent;
    width: 100%;
    height: 220px;
 
    perspective: 1000px;
    border-radius: 10px;
    margin: 0 auto;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;

    border-radius: 10px;
}
.item:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 30px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flip-box-front {
    background-color: #ffffff;
    color: var(--primary-color-dark);
}

.flip-box-back {
    background-color: var(--primary-color-dark);
  
    color: var(--text-light);
    transform: rotateY(180deg);
}

.flip-box-back h5 {
    color: var(--accent-color);
   
}

.flip-box-back .text-light-p {
    color: #ffffff !important;

}

.flip-box-front i {
    font-size: 3em;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 50%;
    background-color: #eaf7ff;
    color: var(--secondary-accent);
   
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.step-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.step-item h3 {
    font-size: 1.2em;
    margin-top: 5px;
    color: var(--primary-color-dark);
}


.feature-blocks {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}

.feature-item h3 {
 
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--text-light);
    margin-right: 15px;
    font-size: 1.3em;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.social-icon {

    font-size: 1em;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #a0a8b3;
    border-radius: 50%;
    margin-right: 10px;
    color: #ffffff;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}


.app-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-links img {
    height: 30px;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--text-light);
    text-align: center;
    line-height: 45px;
    font-size: 1.2em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.back-to-top:hover {
    background: var(--primary-color-dark);
}


.owl-nav {
    display: none !important;

}

.owl-dots {
    margin-top: 20px;
    text-align: center;
    display: block !important;
}
.aeps-carousel .flip-card {
    perspective: 1000px;
    margin: 0 12px;
}

.flip-card-inner {
    position: relative;
    width: 220px;
    height: 300px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background:linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.flip-card-front img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.flip-card-back {
    background-color: #E6F0FA; ;
    color:black;
    transform: rotateY(180deg);
}

.flip-card-back p {
    color: black;
    font-size: 0.85rem;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.owl-nav button,
.owl-dots {
    margin-top: 10px;
}
.aeps-carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 8px;
}

.aeps-carousel-dots .owl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aeps-carousel-dots .owl-dot.active {
    background-color: #E6F0FA; ;
    transform: scale(1.2);
}
#services {
    padding: 80px 20px;

}
.section-title {
    text-align: center;
    font-size: 2rem;

    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    font-size: 1rem;

    margin-bottom: 50px;
}

/* Grid Layout */
.services-grid {
   display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 30px;
}


/* Service Cards */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.service-card i {
    font-size: 40px;
    color: #0d6efd;
    margin-bottom: 15px;
}
.service-card h3 {
    color: #122849;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    /* background: linear-gradient(135deg, #0d6efd, #122849); */
    /* color: #fff; */
    text-align: center;
    padding: 80px 20px;
    margin-top: 80px;
    border-radius: 0;
    border-radius: 200px 0 200px 0;
}
.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}
.cta .btn {
    background-color: #fff;
    color: #0d6efd;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta .btn:hover {
    background-color: #f1f5ff;
}


/* FOOTER STYLING */

.main-footer {
        /*background: linear-gradient(135deg, #cfd9e400 0%, #122849 100%); */
            background: linear-gradient(135deg, #6f88a3 -97%, #122849 168%);
    color: #f0f0f0; 
    padding: 50px 20px; 
}

.main-footer .container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}
.footer-logo img {
    width: 160px;

}

.footer-logo p {
    font-size: 14px;
    color: #ccc;
}
.footer-section h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 18px;
    position: relative;
}


.footer-col h3 {
    color: black; 
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
       color: #ffffffb5;
    text-decoration: none;
    transition: 0.3s ease;
        font-weight: 700;
}

.footer-col ul li a:hover {
       color: #ff7a00;
    padding-left: 5px;
}

.footer-col.contact-info p {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #ffffffb5;
     font-weight: 700;
}

.footer-col.contact-info .icon {
  
    margin-right: 10px;
    display: inline-block;
    width: 15px; 
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
    
}

.social-icons a:hover {
    color: #ff9900;
}
.social-icons i{
text-align: center;
    padding: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap; 
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px; 
}

.footer-bottom .app-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom .app-links p {
    margin: 0;
    font-weight: 600;
    opacity: 1;
}

.footer-bottom .app-links img {
    height: 35px; 
    vertical-align: middle;
}


@media (max-width: 768px) {
    .footer-content-grid {
  
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

   

  
}

@media (max-width: 480px) {
    .footer-content-grid {
     
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-col.contact-info {
        grid-column: auto; 
        text-align: center;
    }

    .social-icons {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column; 
        text-align: center;
    }

    .footer-bottom p {
        width: 100%;
        order: 2; 
    }

    .footer-bottom .app-links {
        order: 1; 
        margin-bottom: 20px;
        justify-content: center;
        width: 100%;
    }
}

.content-side {
  padding: 40px 30px;
  
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    text-align: left;
}

.content-side h2 {
    font-size: 2rem;
    color: var(--primary-color-dark);
    margin-bottom: 15px;
}

.content-side p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-side ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-side ul li {
    font-size: 0.95rem;
    color: black;
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-side .btn.primary-btn {
    display: inline-block;
    text-decoration: none;
        width: 250px;
    text-align: center;
    background-color: var(--primary-color-dark);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-side .btn.primary-btn:hover {
    background-color: var(--primary-color-dark);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .content-side {
        padding: 30px 20px;
        text-align: center;
    }

    .content-side ul {
        padding-left: 0;
        list-style-position: inside;
    }
}
/* POLICY PAGE STYLES*/
.policy-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 25px;
  background: linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  color: #333;
  line-height: 1.8;
}

.policy-section h1 {
  text-align: center;
  font-size: 2rem;
  color: #122849;
  margin-bottom: 30px;
}

.policy-section h2 {
  font-size: 1.3rem;
  color:var(--primary-color-dark);
  margin-top: 25px;
  margin-bottom: 10px;
}

.policy-section p,
.policy-section ul {
  font-size: 1rem;
  margin-bottom: 15px;
}

.policy-section ul {
  padding-left: 20px;
  list-style-type: disc;
}

.policy-section a {
  color: #122849;
  text-decoration: underline;
}

.policy-section a:hover {
  color: #ff9900;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 25px 15px !important;
    margin: 50px 0px;
  }

  .policy-section h1 {
    font-size: 1.6rem;
  }
}
.finma-join-wrapper {
border-radius:200px 0 200px 0;
    background: #E6F0FA;
    
}

.join-title h3 {
    text-align: center;
    font-size: 32px;
    color: #122849;
    font-weight: 700;
}

.join-underline {
    width: 90px;
    height: 6px;
    margin: 10px auto;
    border-radius: 20px;
    background: #122849;
}

.join-slider .join-card {
    background: linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.join-content {
    width: 50%;
}

.join-content h4 {
    font-size: 28px;
    color: #122849;
    margin-bottom: 10px;
}

.join-content p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.join-btn {
    background: #122849;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.join-image img {
    width: 260px;
    border-radius: 15px;
}

/* Responsive */
@media(max-width: 768px) {
    .join-slider .join-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px;
    }

    .join-content, .join-image {
        width: 100%;
    }

    .join-image img {
        width: 80%;
        margin: auto;
    }
}












input[type=text]:focus {
    border: 1px solid #4361ee;
}

@media only screen and (max-width: 767px) {
    .sign-in-detail {
        display: none;
    }

    .navbar .btn {
        display: none;
    }
    .finma-hero{
        height:auto !important;
    }

    .ddd {
        margin-right: 9%;
    }
.imge{
                width:100%;
            }
            
    .quick-links  ul{
            display: grid;
    grid-template-columns: repeat(4, 2fr);
    }
}
.login-box {
    /* ADJUSTED WIDTH AND ADDED MARGIN FOR CENTERING */
    width: 90%; 
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    /* END ADJUSTMENTS */
    
    background: #234072;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 15px;
    color:white !important;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color:white !important;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

.login-btn {
    /*width: 100%;*/
    background: #007bff;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #0056b3;
}
:root {
    --primary-color-dark: #122849;
    --accent-color: #ff9900;
    --text-light: #ffffff;
    --text-dark: #333;
    --secondary-accent: #20c997;
}

/* Section background */
.why-us-section {

  color: var(--text-dark);
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 10px;

}

.section-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-dark);
  margin: 0 0 38px;
  line-height: 1.6;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
  .commitment-quote {
      width:100% !important;
  }
}

.value-card {
  background: linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
  border: 1px solid var(--primary-color-dark);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #E6F0FA 0%, #ffffff 100%);
}

.value-card .icon {
  font-size: 26px;
  width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0d6efd;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    box-shadow: 0 10px 20px rgba(13, 95, 241, .25);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--primary-color-dark);
}

/* List */
.value-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.value-card li {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.55;
  position: relative;
  padding-left: 14px;
}

.value-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-accent);
}

.value-card li strong {
  color: var(--primary-color-dark);
  font-weight: 700;
}


.commitment-quote {
  margin: 36px 0 0;
  padding: 18px 22px;
  border-left: 4px solid #122849;
  background: linear-gradient(135deg, #ffffff 0%, #E6F0FA 100%);
  border-radius: 12px;
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  display:inline-block;
  width:50%;
}

.commitment-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}


.hm-how {

  background-color: #E6F0FA;;
  padding: 4rem 7px; 

  border-radius:200px 0 200px 0;
}

.hm-how .container {

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base); 
}


.hm-header {
  text-align: center;
  margin-bottom: 3rem;

}

.hm-steps {
  list-style: none; 
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem; 
}

.hm-step {
  flex-basis: 25%; 
  text-align: center;
  position: relative;
  padding: 0 1rem; 
}


.hm-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.8rem; 
  right: -25%; 
  left: 75%; 
  width: 50%; 
  height: 2px;
  background-color: #e9ecef;
  z-index: 1; 
}


.hm-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: #fff; 
  border: 2px solid #007bff; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
  z-index: 10;
}

.hm-icon svg {
  width: 24px; 
  height: 24px;
  color: #007bff; 
}

.hm-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hm-step-desc {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}


.hm-cta {
  text-align: center;
  margin-top: 3rem;
}

.hm-cta .btn-primary,
.hm-cta .btn-ghost {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  text-decoration: none;
  border-radius: 0.3rem;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.hm-cta .btn-primary {
  background-color: #122849;;
  color: #fff;
  border: 1px solid #007bff;
}

.hm-cta .btn-primary:hover {
  background-color: #0056b3; 
  border-color: #0056b3;
}

.hm-cta .btn-ghost {
  background-color: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.hm-cta .btn-ghost:hover {
  background-color: #007bff;
  color: #fff;
}

@media (max-width: 992px) {
  .hm-how {
    padding: 3rem 0;
  }

  .hm-header #how-title {
    font-size: 2rem;
  }

  .hm-steps {
    flex-direction: column; 
    gap: 2rem;
  }

  .hm-step {
    flex-basis: auto;
    display: flex; 
    text-align: left;
    padding: 0 0 0 1rem;
    align-items: center;
  }

  .hm-icon {
    margin: 0 1.5rem 0 0; 
    min-width: 3.5rem; 
    min-height: 3.5rem;
  }

  .hm-step-title,
  .hm-step-desc {
    margin: 0;
  }

  .hm-step-title {
    font-size: 1.1rem;
  }

  .hm-step:not(:last-child)::after {
    left: 1.75rem; 
    top: 3.5rem;
    width: 2px;
    height: calc(100% - 1.5rem);
    background-color: #e9ecef;
    right: auto;
  }

  .hm-step > div:not(.hm-icon) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hm-cta .btn-primary,
  .hm-cta .btn-ghost {
    display: inline-block; 
    margin: 0.5rem 0;
  }
}
@media(max-width:767px){
    .hm-steps{
        flex-direction:column;
}   
}
@media (max-width: 768px) {
    .log {
        margin-top: 13px;
            width: 100px;
    height: 100px;
    }
    
}
