@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --primary: rgb(30, 91, 184);
    --primaryLight:rgb(47, 164, 231);
    --secondary: rgb(62, 209, 192);
    --accent: #3ED1C0;
    --success: rgba(110, 231, 183);
    --danger: #ef4444;
    --darkNavy:#0B1F3A;
    --softGlow:#7FE9D4;
    --border-color:rgb(30 91 184 / 25%);
    --gradient: linear-gradient(135deg, #1E5BB8, #2FA4E7, #3ED1C0, #6EE7B7);
    --font-color-content:#fffc;
    --radical-gradient: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}
body {
    font-family: 'Inter', Roboto, sans-serif;
    color: var(--font-color-content);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--darkNavy);
}
h1, h2, h3, h4, h5 {
    font-family: "Poppins", sans-serif;
    color: #fff;
}
/* Header & Navigation */
#mainHeader{
    background-color:transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
}
.sticky-header {    
    background-color: var(--darkNavy)!important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
}
#mainHeader .navbar{
    background-color: transparent;
}
#mainHeader .navbar-brand, .footer-logo {    
    display: flex;
    align-items: center;
    gap: 10px;
}
#mainHeader .navbar-brand span, .footer-logo span {
    font-family: "Exo", sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--softGlow);
}
#mainHeader .navbar-brand span{
    font-size: 2.2rem;
}
.footer-logo span {
    font-size: 1.8rem;
}

#mainHeader .navbar-brand img, .footer-logo img{
    width: 60px;
}
#mainHeader.sticky-header .navbar-brand span{
    font-size: 1.6rem;
}
#mainHeader.sticky-header .navbar-brand img{
    width: 45px;
}
#mainHeader .navbar-toggler{
    border-color: var(--secondary);
    color: var(--secondary);
}
#mainHeader .navbar .navbar-nav .nav-link {
    font-family:'Inter', sans-serif;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}
#mainHeader .navbar .navbar-nav .nav-link:hover {
    color: var(--accent);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}
.navbar-nav .btn.btn-signin{
    background: var(--gradient);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.3s ease;
}
.btn-signin:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-started {
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); */
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-started:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
    color: white;
}
.homepage{
    background-color: var(--darkNavy);
}
/* Hero Section */
.heroBannerSection {
    background:url('../img/hero-img.png') no-repeat;
    background-position: center right;
    background-size: contain;
    /* padding: 100px 0; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.heroBannerSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--radical-gradient);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
}
/* .hero .right-column{
    background:url('../img/hero-image.jpg') no-repeat;
    background-position: center right;
    background-size: cover;
    height: 100%;

} */
.heroBannerSection h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}
.heroBannerSection h1 span{color: var(--accent);}

.heroBannerSection p {
    font-size: 20px;
    color: var(--font-color-content);
    margin-bottom: 40px;
    max-width: 600px;
    padding-right: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-image{
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
}
.btn.btn-outline-accent{
    border-color: var(--secondary);
    color: var(--secondary);
    line-height: 30px;
}  
.aboutSection{
    padding: 6rem 0;
}  
.aboutSection h2 {
    text-align: center;
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 20px;
    font-weight: 600;
}
.aboutSection h2 .gradient-text {color: var(--secondary);}
.aboutSection p {
    text-align: center;
    color: var(--font-color-content);
    font-size: 1rem;
    margin: 0 auto 1rem;
    max-width: 45vw;
} 
/* Trading Services Section */
.services {padding: 6rem 0;}

.services h2 {
    text-align: center;
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 20px;
    font-weight: 600;
}
.services h2 .gradient-text {color: var(--secondary);}
.services-subtitle {
    text-align: center;
    color: var(--font-color-content);
    font-size: 18px;
    margin: 0 auto 4rem;
    max-width: 36vw;
}
.service-card {
    background: var(--radical-gradient);
    border: 1px solid rgb(30 91 184 / 25%);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}
.service-card h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--font-color-content);
    font-size: 1rem;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
}
.features h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 60px;
}

.features h2 .gradient-text {color: var(--secondary);}

.feature-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.feature-item:nth-child(2) { animation-delay: 0.1s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.3s; }
.feature-item:nth-child(5) { animation-delay: 0.4s; }
.feature-item:nth-child(6) { animation-delay: 0.5s; }

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 24px;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom:0.5rem;
}
.feature-content p {
    color:var(--font-color-content);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--radical-gradient);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta h2 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1rem;
    margin: 0 auto 3rem;
    opacity: 0.95;
    max-width: 700px;
    color: var(--font-color-content);
}

.btn-cta {
    background:var(--gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding:0.75rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background:var(--darkNavy);
    color:var(--font-color-content);
    padding:4rem 0 1.5rem;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
}

footer a:hover {
    color: var(--accent);
}

.footer-divider {
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
    padding-top: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 8px;
    margin: 0;
    color: #d1d5db;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
@media (min-width: 768px) and (max-width: 1024px) {
    #mainHeader .navbar-nav{background-color: var(--darkNavy);padding: 2rem 0;}
    .heroBannerSection {
        background-position: right center;
        min-height: auto;
        padding: 8rem 1.5rem 4rem;
    }
     .heroBannerSection h1 {
        font-size: 40px;
        line-height: 52px;
    }
    .heroBannerSection p {
        font-size: 1.125rem;
    }
    .aboutSection, .services, .features, .footer{padding: 4rem 1.5rem;}
    .aboutSection h2, .services h2, .features h2, .cta h2{
        font-size: 32px;
        line-height: 40px;
    }
    .aboutSection p, .services-subtitle{max-width: 100%;font-size: 18px;}
    .service-card{padding: 1.5rem;}
    .service-icon{width: 45px;height: 45px;font-size: 20px;margin-bottom: 1rem;}
    .service-card h3{font-size: 25px;line-height: 36px;}
}
        /* Responsive */
@media (max-width: 767px) {
    #mainHeader{padding: 0 .5rem;}
    #mainHeader .navbar-brand span{display: none;}
    #mainHeader .navbar-nav{background-color: var(--darkNavy);padding: 2rem 0;}
    .heroBannerSection {
        background:url('../img/hero-image.jpg') no-repeat;
        background-size: contain;
        background-position: bottom center;
        padding: 6rem 1.5rem 4rem;
        min-height: auto;
    }
    .heroBannerSection h1 {
        font-size: 34px;
        line-height: 42px;
    }
    .heroBannerSection p {
        font-size: 1rem;
    }
    .heroBannerSection .right-column{
        min-height: 30vh;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 0;
    }
    .aboutSection, .services, .features, .footer{padding: 4rem 1.5rem;}
    .aboutSection h2, .services h2, .features h2, .cta h2{
        font-size: 30px;
        line-height: 40px;
    }
    .aboutSection p, .services-subtitle{max-width: 100%;font-size: 18px;}
    .cta{padding: 2rem 1.5rem 4rem;}

    .service-card {
        padding: 30px 20px;
    }
    .footer-divider{margin: 40px 0 20px;padding-top: 20px;}
}
/* Login Page */
.auth-page-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}
.login-container, .register-container {
    width: 100%;
    padding: 50px 20px;
}
.login-card, .register-card {
    background:var(--radical-gradient);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header .logo {
    display: flex;
    flex-direction: column;
    gap:1rem 0;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.login-header .logo span{
    font-family: "Exo", sans-serif;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--softGlow);
    font-size: 2rem;
}
.login-header h2 {
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
}
 .login-card form{
    padding:0 2rem
 }
.login-card  .form-group {
    margin-bottom: 2rem;
}
.login-card .form-group .form-label, .register-card .form-group .form-label {
    font-size: 0.875rem;
    color: var(--font-color-content);
}
.login-card .form-control, .register-card .form-control{
    padding: .75rem 1rem;
    background-color: #03142a;
    border-color: var(--border-color);
    color: #fff;
}
.login-card .form-control:focus{
    border-color: var(--primary);
    background-color: var(--darkNavy);
    box-shadow: none;
}
.login-card .form-control::placeholder, .register-card .form-control::placeholder{
    color: var(--font-color-content);
    opacity: 0.7;
}

.login-card form input:-webkit-autofill,
.login-card form input:-webkit-autofill:hover, 
.login-card form input:-webkit-autofill:focus, 
.login-card form input:-webkit-autofill:active, .register-card form input:-webkit-autofill,
.register-card form input:-webkit-autofill:hover, 
.register-card form input:-webkit-autofill:focus, 
.register-card form input:-webkit-autofill:active{ -webkit-box-shadow: 0 0 0 30px rgb(47, 164, 231) inset !important;}

.btn-login {
    width: 100%;
    background: var(--secondary);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}    
.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}
    
.btn-login:hover {
    transform: translateY(-3px);
    background-color: var(--accent);
}
    
.btn-login:active {
    transform: translateY(-1px);
}
.card-text{margin-top: 1.5rem;text-align: right;}
.card-text span {
    color: var(--font-color-content);
    font-size: 0.9rem;
}
.card-text a{
    color:var(--accent);
    text-decoration: none;
}
.card-bg-wrap{
    z-index: -1;
    opacity: .3;
    filter: blur(80px);
    background-image: radial-gradient(circle, #74d3ef, #74d3ef00);
    border-radius: 100%;
    width: 100%;
    min-width: 300px;
    max-width: 300px;
    height: 100%;
    min-height: 300px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
        inset: 20% 0% 0%;
}
.card-bg-wrap.login-bg{
    inset: 0% auto auto -30%;
}
.card-bg-wrap.register-bg{
    inset: 0% -30% auto auto;
}
.register-card p{
    color: var(--font-color-content);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.card .form-text{
    color: var(--font-color-content);
    font-size: 0.875rem;
}

/* Password Strength Bar Styles */
.strength-bar {
    width: 100%;
    height: 6px;
    background-color: #0B1F3A;
    border-radius: 3px;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.05);
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0%;
}

.password-strength {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color:var(--font-color-content);
    transition: color 0.3s ease;
}
.form-check.custom-form-check{
	padding-left: 0;
}
.custom-form-check input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}
.custom-form-check .form-check-label{
    position: relative;
    cursor: pointer;
}
.custom-form-check .form-check-label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid rgb(30 91 184 /50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.custom-form-check input:checked + .form-check-label:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid var(--primaryLight);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media screen and (min-width:1400px) {
    .login-container {
        max-width: 30vw;
    }
    .register-container{
        width:50%;
    } 
}
@media screen and (min-width:1200px) and (max-width:1399px) {
    .login-container {
        max-width: 35vw;
    }
    .register-container{
        width:60%;
    }    
}
@media screen and (min-width:992px) {
    .login-card, .register-card {
        padding: 2rem;
    }
    .login-header .logo .lg-logo{
        width: 80px;
    }
}
@media (max-width: 767px) {
    .login-container{padding: 1.5rem;}
    .login-card {
        padding: 1.5rem;
    }
     .login-header .logo{margin-bottom: 1rem;}
    .login-header .logo span{
        font-size: 1.5rem;
    }
    .login-header .logo .lg-logo{
        width: 60px;
    }
    .login-header h2{
        font-size:1rem;
    }
    .login-card form{
        padding:0;
    }
    .login-card .card-text{display: flex;flex-direction: column;align-items: center;}
}  
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    
   
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

    