/* ==========================================================
   SafeCapital Prime - Main Website CSS
   File: assets/css/style.css
   ========================================================== */

/* 01. RESET / BASIC */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#fff;
    color:#0b2d55;
    line-height:1.5;
    padding-top:64px; /* Sticky header spacing */
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:88%;
    max-width:1180px;
    margin:auto;
}


/*.logo{display:flex; align-items:center;} .logo img{height:42px; width:auto; object-fit:contain; transition:.3s;} .logo img:hover{transform:scale(1.05);}*/
/* 02. BUTTONS */
.btn{
    display:inline-block;
    padding:13px 35px;
    border-radius:4px;
    font-weight:700;
    border:none;
    cursor:pointer;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,.2);
}

.btn-blue{
    background:#006fbd;
    color:#fff;
}

.btn-blue:hover{
    background:#004f91;
    color:#fff;
}

.btn-white{
    background:#fff;
    color:#064377;
}

.btn-white:hover{
    background:#e8eef7;
    color:#064377;
}

/* 03. HEADER / NAVBAR */
.header{
    background:rgba(4,31,64,.97);
    height:64px;
    position:fixed; /* Sticky menu fixed */
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    box-shadow:0 3px 15px rgba(0,0,0,.18);
    backdrop-filter:blur(8px);
}

.nav{
    height:64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    color:#fff;
    font-size:25px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
    transition:.3s;
}

.logo:hover{
    transform:scale(1.04);
}

.logo span{
    color:#b7c3d4;
}

.logo i{
    width:38px;
    height:38px;
    border:2px solid #fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.menu{
    display:flex;
    align-items:center;
    gap:28px;
}

.menu a{
    color:#fff;
    font-size:15px;
    position:relative;
    transition:.3s;
}

.menu a:hover{
    color:#b7d7ff;
}

.menu a::after{
    content:"";
    position:absolute;
    bottom:-8px;
    left:0;
    width:0;
    height:2px;
    background:#fff;
    transition:.3s;
}

.menu a:hover::after,
.menu a.active::after{
    width:100%;
}

.menu a.active{
    color:#b7d7ff;
}

.signin{
    background:#006fbd;
    padding:8px 17px;
    border-radius:4px;
}

.signin:hover{
    background:#005a9c;
}

.mobile-toggle{
    display:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

/* 04. HOME SLIDER / HERO */
.hero-slider{
    position:relative;
    min-height:448px;
    overflow:hidden;
    color:#fff;
    margin-top:-64px; /* homepage hero header overlay */
}

.slide{
    min-height:448px;
    background-size:cover;
    background-position:center;
    display:none;
    position:relative;
    padding-top:64px;
}

.slide.active{
    display:block;
}

.slide::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(4,31,64,.95) 0%,
        rgba(4,31,64,.65) 45%,
        rgba(255,255,255,.05) 100%
    );
}

.slide::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,.12));
    opacity:.6;
}

.hero-content{
    position:relative;
    z-index:2;
    padding-top:80px;
    max-width:720px;
}

.hero-content h1{
    font-size:43px;
    line-height:1.2;
    margin-bottom:18px;
}

.hero-content h1 small{
    font-size:25px;
    font-weight:400;
}

.hero-content p{
    font-size:18px;
    font-weight:700;
    margin-bottom:32px;
}

.slider-dots{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:5;
}

.slider-dots span{
    width:11px;
    height:11px;
    border-radius:50%;
    background:#fff;
    opacity:.5;
    cursor:pointer;
}

.slider-dots span.active{
    opacity:1;
    background:#006fbd;
}


/* 05. FEATURE CARDS */
.features-wrap{
    background:#f3f5f8;
    padding:13px 0 16px;
}

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.feature-card{
    background:#fff;
    min-height:84px;
    padding:18px 25px;
    display:flex;
    align-items:center;
    gap:22px;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
    transition:.3s;
}

.feature-card i{
    font-size:40px;
    color:#073b72;
    transition:.3s;
}

.feature-card h3{
    font-size:17px;
    margin-bottom:6px;
}

.feature-card p{
    font-size:13px;
    color:#111;
}

.feature-card:hover{
    background:linear-gradient(135deg,#062f5d,#006fbd);
    color:#fff;
    transform:translateY(-6px);
}

.feature-card:hover i,
.feature-card:hover h3,
.feature-card:hover p{
    color:#fff;
}

/* 06. COMMON SECTION TITLE */
.section{
    padding:35px 0;
    text-align:center;
}

.title{
    font-size:27px;
    color:#083d76;
    margin-bottom:5px;
    position:relative;
    display:inline-block;
}

.title::before,
.title::after{
    content:"";
    width:75px;
    height:1px;
    background:#c7cdd4;
    position:absolute;
    top:50%;
}

.title::before{
    right:105%;
}

.title::after{
    left:105%;
}

.subtitle{
    font-size:15px;
    color:#333;
    margin-bottom:24px;
}

/* 07. INVESTMENT PLAN CARDS */
.plans{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    max-width:850px;
    margin:0 auto 18px;
}

.plan{
    background:#fff;
    border:1px solid #cfd5dc;
    box-shadow:0 2px 7px rgba(0,0,0,.13);
    transition:.3s;
}

.plan:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.plan h3{
    background:linear-gradient(#064e91,#062d60);
    color:#fff;
    padding:12px;
    font-size:22px;
}

.rate{
    padding:20px 10px 12px;
    font-size:39px;
    font-weight:800;
    color:#03417d;
}

.rate span{
    font-size:15px;
}

.min{
    border-top:1px solid #ddd;
    padding:12px;
    color:#222;
    font-size:14px;
}

/* 08. TRADING PLATFORM SECTION */
.platform-section{
    background:
    linear-gradient(rgba(245,248,252,.9),rgba(245,248,252,.9)),
    url('../images/platform.jpg');
    background-size:cover;
    background-position:center;
    padding:35px 0;
}

.platforms{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    max-width:850px;
    margin:auto;
}
.platform{
    background:rgba(255,255,255,.92);
    border:1px solid #d6dce3;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
    min-height:115px;
    padding:22px 25px;
    display:flex;
    align-items:center;
    gap:15px;
    text-align:left;
    transition:.3s;

    max-width: 360px;   /* card width control */
    width: 100%;
    margin: 0 auto;     /* center horizontally */
}

.platform:hover{
    transform:translateY(-6px);
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.platform i{
    font-size:46px;
    color:#074379;
    transition:.3s;
}

.platform:hover i{
    transform:scale(1.1);
}

.platform h3{
    font-size:20px;
    margin-bottom:7px;
}

.platform p{
    font-size:14px;
    color:#111;
}





/* 09. EDUCATION / RESOURCES */
.resources{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    max-width:980px;
    margin:auto;
}



.resource{
    background:#fff;
    border:1px solid #d8dde4;
    box-shadow:0 2px 7px rgba(0,0,0,.10);
    padding:19px 25px;
    display:flex;
    align-items:center;
    gap:18px;
    text-align:left;
    transition:.3s;
}

.resource:hover{
    transform:translateY(-5px);
    box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.resource i{
    font-size:40px;
    color:#073d76;
}

.resource h3{
    font-size:18px;
    margin-bottom:5px;
}

.resource p{
    font-size:13px;
    color:#222;
}

/* 10. TESTIMONIAL */
.testimonial{
    max-width:930px;
    margin:28px auto 0;
    border-top:1px solid #d6dce3;
    padding:22px 20px 0;
    color:#102f55;
    font-size:17px;
    font-style:italic;
}

.testimonial i{
    font-size:28px;
    color:#b8c2ce;
    margin-right:8px;
}

.testimonial b{
    display:block;
    margin-top:15px;
    font-style:normal;
    font-size:15px;
}

/* 11. BREADCRUMB PAGE BANNER */
.page-banner{
    padding:85px 0 60px;
    background:
    linear-gradient(rgba(4,31,64,.88),rgba(4,31,64,.88)),
    url('../images/breadcrumbs.jpg');
    background-size:cover;
    background-position:center;
    color:#fff;
    text-align:center;
}

.page-banner h1{
    font-size:38px;
    margin-bottom:10px;
}

.breadcrumb{
    display:flex;
    justify-content:center;
    gap:8px;
    font-size:15px;
}

.breadcrumb a{
    color:#fff;
}

.breadcrumb span{
    color:#b8cbe2;
}

/* 12. ABOUT CONTENT */
.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
    align-items:center;
    text-align:left;
}

.about-text h2{
    color:#083d76;
    font-size:32px;
    margin-bottom:15px;
}

.about-text p{
    color:#333;
    margin-bottom:15px;
}

.about-list li{
    margin-bottom:10px;
    color:#333;
}

.about-list i{
    color:#006fbd;
    margin-right:8px;
}

/* 13. BLOG CARD */
.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.blog-card{
    background:#fff;
    border:1px solid #dde3ea;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
    text-align:left;
    overflow:hidden;
    transition:.3s;
}

.blog-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 22px rgba(0,0,0,.2);
}

.blog-img{
    height:210px;
    overflow:hidden;
}

.blog-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.blog-card:hover img{
    transform:scale(1.08);
}

.blog-content{
    padding:20px;
}

.blog-content h3{
    color:#083d76;
    margin-bottom:10px;
}

.blog-content p{
    color:#333;
    font-size:14px;
    margin-bottom:15px;
}

.blog-meta{
    font-size:13px;
    color:#777;
    margin-bottom:8px;
}

/* 14. GALLERY */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
}

.gallery-item{
    height:210px;
    border-radius:4px;
    overflow:hidden;
    cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    position:relative;
}

.gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.3);
    opacity:0;
    transition:.3s;
}

.gallery-item:hover::after{
    opacity:1;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

/* 15. MODAL */
.custom-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:99999;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.custom-modal.active{
    display:flex;
}

.modal-box{
    background:#fff;
    max-width:750px;
    width:100%;
    border-radius:6px;
    overflow:hidden;
    animation:modalZoom .25s ease;
}

@keyframes modalZoom{
    from{transform:scale(.85);opacity:0}
    to{transform:scale(1);opacity:1}
}

.modal-header{
    background:#062f5d;
    color:#fff;
    padding:14px 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.modal-close{
    cursor:pointer;
    font-size:22px;
}

.modal-body{
    padding:20px;
    color:#333;
}

.modal-body img{
    width:100%;
    max-height:500px;
    object-fit:contain;
}

/* 16. PAGINATION */
.pagination{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:30px;
    flex-wrap:wrap;
}

.pagination a,
.pagination span{
    min-width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #cfd5dc;
    color:#083d76;
    background:#fff;
    border-radius:4px;
    font-weight:600;
}

.pagination a:hover,
.pagination .active{
    background:#006fbd;
    color:#fff;
    border-color:#006fbd;
}

/* 17. FORM DESIGN */
.form-box{
    background:#fff;
    padding:25px;
    border:1px solid #dde3ea;
    box-shadow:0 3px 10px rgba(0,0,0,.10);
}

.form-group{
    margin-bottom:15px;
}

.form-group label{
    display:block;
    margin-bottom:7px;
    font-weight:600;
    color:#083d76;
}

.form-control{
    width:100%;
    height:44px;
    border:1px solid #ccd5df;
    padding:10px 12px;
    border-radius:4px;
    outline:none;
    transition:.3s;
}

textarea.form-control{
    height:120px;
    resize:none;
}

.form-control:hover,
.form-control:focus{
    border-color:#006fbd;
}

/* 18. CERTIFICATE FOOTER */
.cert-footer{
    background:#f7f9fc;
    border-top:1px solid #dce1e7;
    padding:22px 0;
}

.cert-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cert-logo{
    font-size:38px;
    font-weight:700;
    color:#06437a;
}

.circle-logo{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#0b5797;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    font-weight:700;
    transition:.3s;
}

.circle-logo:hover{
    transform:rotate(10deg) scale(1.1);
}

.terms a{
    color:#063d76;
    margin:0 12px;
    font-size:15px;
}

.social a{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#0b5797;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:8px;
    transition:.3s;
}

.social a:hover{
    transform:translateY(-3px) scale(1.1);
    background:#006fbd;
}

/* 19. BOTTOM FOOTER */
.bottom-footer{
    background:linear-gradient(#062f5d,#031d3c);
    color:#fff;
    padding:25px 0;
}

.footer-menu{
    display:flex;
    justify-content:center;
    gap:35px;
    margin-bottom:18px;
}

.footer-menu a{
    color:#fff;
    font-size:13px;
    position:relative;
}

.footer-menu a::after{
    content:"";
    position:absolute;
    bottom:-4px;
    left:0;
    width:0;
    height:2px;
    background:#fff;
    transition:.3s;
}

.footer-menu a:hover::after{
    width:100%;
}

.copy{
    text-align:center;
    font-size:13px;
    color:#dbe6f4;
}

/* 20. IMAGE HOVER COMMON */
.about-img img,
.trade-img img,
.account-img img,
.aff-hero-img img,
.copy-img img,
.app-img-box img{
    transition:.4s;
}

.about-img:hover img,
.trade-img:hover img,
.account-img:hover img,
.aff-hero-img:hover img,
.copy-img:hover img,
.app-img-box:hover img{
    transform:scale(1.05);
}

/* 21. APP DOWNLOAD */
.app-download-btns{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:24px;
}

.store-btn{
    background:#061f40;
    color:#fff;
    padding:12px 20px;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:185px;
    transition:.3s;
}

.store-btn:hover{
    background:#006fbd;
    transform:translateY(-4px);
    color:#fff;
}

.store-btn i{
    font-size:32px;
}

.store-btn span{
    display:flex;
    flex-direction:column;
    font-size:18px;
    font-weight:700;
    line-height:1.1;
}

.store-btn small{
    font-size:11px;
    font-weight:400;
}

.app-img-box{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.app-img-box img{
    width:100%;
    height:430px;
    object-fit:cover;
}

.app-badge{
    position:absolute;
    left:20px;
    bottom:20px;
    background:linear-gradient(135deg,#062f5d,#006fbd);
    color:#fff;
    padding:15px 22px;
    border-radius:8px;
}

.app-badge h3{
    font-size:23px;
    margin-bottom:4px;
}

/* 22. RESPONSIVE DESIGN */
@media(max-width:991px){

    body{
        padding-top:64px;
    }

    .container{
        width:94%;
    }

    .mobile-toggle{
        display:block;
    }

    .menu{
        display:none;
        position:fixed;
        top:64px;
        left:0;
        width:100%;
        max-height:calc(100vh - 64px);
        overflow-y:auto;
        background:#06264b;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:8px 0;
        box-shadow:0 10px 22px rgba(0,0,0,.25);
        z-index:9998;
    }

    .menu.active{
        display:flex;
    }

    .menu a{
        display:block;
        width:100%;
        padding:13px 25px;
        border-bottom:1px solid rgba(255,255,255,.12);
    }

    .menu a::after{
        display:none;
    }

    .signin{
        margin:8px 20px 8px 20px;
        text-align:center;
        max-width: 88%;
    }

    .hero-slider{
        margin-top:-64px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .features,
    .plans,
    .platforms,
    .resources,
    .about-grid,
    .blog-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .title::before,
    .title::after{
        display:none;
    }

    .cert-row{
        flex-wrap:wrap;
        justify-content:center;
        text-align:center;
    }
}

@media(max-width:575px){

    .logo{
        font-size:19px;
    }

    .logo i{
        width:34px;
        height:34px;
        font-size:14px;
    }

    .hero-slider,
    .slide{
        min-height:390px;
    }

    .hero-content{
        padding-top:55px;
    }

    .hero-content h1{
        font-size:29px;
    }

    .hero-content h1 small{
        font-size:19px;
    }

    .hero-content p{
        font-size:15px;
    }

    .btn{
        padding:11px 22px;
        margin-bottom:10px;
    }

    .feature-card,
    .resource,
    .platform{
        padding:18px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .footer-menu{
        flex-wrap:wrap;
        gap:15px;
    }

    .page-banner h1{
        font-size:30px;
    }

    .store-btn{
        width:100%;
        justify-content:center;
    }

    .app-img-box img{
        height:auto;
    }
}


.header-scrolled{
    background:rgba(4,31,64,.99);
    box-shadow:0 4px 18px rgba(0,0,0,.28);
}

.back-to-top{
    position:fixed;
    right:22px;
    bottom:22px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#006fbd;
    color:#fff;
    font-size:17px;
    cursor:pointer;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.3s;
    box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:#004f91;
    transform:translateY(-4px);
}



