/* =========================================================
   SSMF - HOME PAGE
   Bootstrap 5 + Custom Responsive CSS
========================================================= */

:root {
    --primary: #42479a;
    --primary-dark: #303477;
    --primary-light: #eef0ff;
    --accent: #12b6e9;
    --accent-dark: #0797c5;
    --green: #0ca678;
    --yellow: #e7ed25;
    --dark: #17202a;
    --text: #586174;
    --muted: #7a8394;
    --light: #f7f9fc;
    --white: #ffffff;
    --border: #e7eaf0;
    --shadow: 0 18px 55px rgba(30, 39, 73, .10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.section-padding {
    padding: 100px 0;
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    margin: 0 0 18px;
    color: var(--dark);
    font-size: clamp(32px, 4vw, 38px);
    line-height: 1.13;
    font-weight: 900;
}

.section-title span {
    color: var(--primary);
}

.section-title.small-title {
    font-size: 34px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 20px;
}

.section-heading > p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

.section-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #495467;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 25px rgba(26, 34, 67, .07);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 86px;
    padding: 8px 0;
}

.logo-wrap {
    width: 190px;
    flex-shrink: 0;
}

.logo-wrap img {
    width: 100%;
    max-height: 68px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #333b4e;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 15px !important;
    position: relative;
    transition: .25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    border-radius: 20px;
    background: var(--accent);
    left: 15px;
    bottom: 4px;
    transition: .25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff !important;
    border: 2px solid var(--primary);
    padding: 12px 21px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(66, 71, 154, .20);
    transition: .25s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary-custom i,
.btn-dark-custom i {
    margin-left: 7px;
}

.btn-dark-custom {
    display: inline-block;
    background: var(--dark);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 800;
    transition: .25s ease;
}

.btn-dark-custom:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* =========================
   HERO
========================= */

.hero-slide {
    min-height: 670px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 25, 66, .92) 0%, rgba(36, 40, 104, .76) 45%, rgba(25, 30, 67, .20) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 720px;
    color: #fff;
    padding: 70px 0;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .6px;
    margin-bottom: 20px;
}

.eyebrow i {
    color: var(--yellow);
}

.hero-copy h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.03;
    margin: 0 0 20px;
    letter-spacing: -1.5px;
}

.hero-copy h1 span {
    color: var(--yellow);
}

.hero-copy p {
    font-size: 19px;
    line-height: 1.75;
    max-width: 650px;
    color: rgba(255,255,255,.88);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline-light {
    border-radius: 50px;
    font-weight: 800;
    padding: 12px 22px;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 21px;
}

.carousel-indicators {
    z-index: 5;
    margin-bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border: 0;
    border-radius: 20px;
}

/* =========================
   WELCOME
========================= */

.welcome-section {
    background: #fff;
}

.image-card {
    position: relative;
    padding: 0 35px 35px 0;
}

.image-card::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 24px;
    z-index: 0;
}

.image-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    z-index: 2;
    left: -15px;
    bottom: 20px;
    background: var(--white);
    padding: 17px 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.experience-badge strong {
    font-size: 25px;
    color: var(--primary);
    font-weight: 900;
}

.experience-badge span {
    font-size: 13px;
    color: var(--muted);
    max-width: 90px;
    line-height: 1.3;
}

.feature-list {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: #e8fbf4;
    font-size: 20px;
}

.feature-item h5 {
    color: var(--dark);
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 3px;
}

.feature-item p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* =========================
   COUNTERS
========================= */

.counter-section {
    padding: 45px 0;
    background: linear-gradient(100deg, #363b87, #4b50a4);
    color: #fff;
}

.counter-box {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.15);
}

.counter-section .col-lg-3:last-child .counter-box {
    border-right: 0;
}

.counter-icon {
    font-size: 24px;
    color: var(--yellow);
    margin-bottom: 3px;
}

.counter {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.counter-plus {
    font-size: 27px;
    color: var(--yellow);
    font-weight: 900;
}

.counter-box p {
    margin: 7px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

/* =========================
   JOBS
========================= */

.jobs-section {
    background: var(--light);
}

.job-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 35px rgba(35, 43, 70, .05);
    transition: .3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(66,71,154,.22);
}

.job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.job-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 24px;
}

.job-status {
    color: var(--green);
    background: #e8fbf4;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 50px;
}

.job-card h3 {
    color: var(--dark);
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 10px;
}

.job-card > p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.job-meta span {
    font-size: 13px;
    font-weight: 700;
}

.job-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.job-link {
    color: var(--primary);
    font-weight: 900;
    font-size: 14px;
}

.job-link i {
    margin-left: 5px;
    transition: .2s;
}

.job-link:hover i {
    margin-left: 10px;
}

/* =========================
   WHY CHOOSE
========================= */

.why-section {
    background: #fff;
}

.why-card {
    position: relative;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    transition: .3s ease;
}

.why-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.why-card > span {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 12px;
    font-weight: 900;
    color: #b4b9c5;
}

.why-card > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 17px;
}

.why-card h4 {
    color: var(--dark);
    font-size: 19px;
    font-weight: 900;
}

.why-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =========================
   PROCESS
========================= */

.process-section {
    background: var(--light);
}

.process-row {
    margin-top: 35px;
}

.process-card {
    position: relative;
    height: 100%;
    padding: 34px 25px 28px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 7px 28px rgba(30,40,70,.04);
}

.step-number {
    position: absolute;
    top: 13px;
    right: 17px;
    color: #dfe2e9;
    font-size: 13px;
    font-weight: 900;
}

.process-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 28px;
}

.process-card h4 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 900;
}

.process-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-section {
    background: #fff;
}

.testimonial-card {
    max-width: 860px;
    margin: auto;
    padding: 42px 50px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f4f5ff, #f8fdff);
    border: 1px solid var(--border);
    text-align: center;
}

.quote-icon {
    color: var(--accent);
    font-size: 46px;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-card > p {
    color: #3d4657;
    font-size: 19px;
    line-height: 1.8;
    font-style: italic;
    margin: 0 auto 25px;
}

.person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.person h5 {
    text-align: left;
    color: var(--dark);
    font-size: 15px;
    font-weight: 900;
    margin: 0;
}

.person span {
    display: block;
    text-align: left;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testimonial-controls button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    transition: .2s;
}

.testimonial-controls button:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================
   LOGOS
========================= */

.logo-section {
    padding: 75px 0;
    background: var(--light);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.partner-logo {
    min-height: 82px;
    display: grid;
    place-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #8a91a0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
}

/* =========================
   CTA
========================= */

.apply-cta {
    padding: 30px 0;
    background: #fff;
}

.cta-inner {
    position: relative;
    overflow: hidden;
    padding: 50px 60px;
    border-radius: 25px;
    background: linear-gradient(100deg, var(--primary-dark), var(--primary), #5960b7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #fff;
}

.cta-inner::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    right: -80px;
    top: -130px;
    background: rgba(255,255,255,.07);
}

.light-kicker {
    color: var(--yellow);
}

.cta-inner h2 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 900;
}

.cta-inner p {
    margin: 0;
    color: rgba(255,255,255,.75);
}

.cta-btn {
    position: relative;
    z-index: 2;
    color: var(--primary) !important;
    border-radius: 50px;
    padding: 13px 24px;
    font-weight: 900;
    white-space: nowrap;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 80px 0 0;
    background: #151a2b;
    color: #aab1c2;
}

.footer-logo {
    display: inline-block;
    width: 205px;
    background: #fff;
    padding: 9px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

.footer-about {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 23px;
}

.footer-links,
.contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aab1c2;
    font-size: 14px;
    transition: .2s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    gap: 11px;
    margin-bottom: 17px;
    font-size: 13px;
    line-height: 1.6;
}

.contact-list i {
    color: var(--accent);
    margin-top: 3px;
    flex: 0 0 auto;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    transition: .2s;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.site-footer .newsletter-form {
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    margin: 18px 0 10px;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 9px 13px;
    font-family: inherit;
    border-radius: 50px;
    font-size: 13px;
}

.newsletter-form button {
    flex: 0 0 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
}

.newsletter-note {
    font-size: 11px;
    color: #7f8798;
}

.footer-bottom {
    margin-top: 55px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.09);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #9ea6b7;
    margin-left: 18px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navbar-nav .nav-link::after {
        left: 10px;
    }

    .logo-wrap {
        width: 175px;
    }

    .hero-slide {
        min-height: 610px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 76px;
    }

    .navbar-collapse {
        padding: 15px 0 10px;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        padding: 11px 0 !important;
    }

    .navbar-nav .nav-link::after {
        left: 0;
        bottom: 2px;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 50px;
    }

    .header-action {
        margin-top: 10px;
    }

    .hero-slide {
        min-height: 590px;
    }

    .counter-box {
        border-right: 0;
    }

    .image-card {
        max-width: 700px;
        margin: 0 auto;
    }

    .cta-inner {
        padding: 42px;
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .hero-slide {
        min-height: 620px;
    }

    .hero-copy {
        padding: 50px 15px 70px;
    }

    .hero-copy h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .image-card {
        padding-right: 18px;
        padding-bottom: 18px;
    }

    .image-card img {
        height: 390px;
    }

    .experience-badge {
        left: 0;
        bottom: 5px;
    }

    .counter-section {
        padding: 25px 0;
    }

    .counter-box {
        min-height: 120px;
    }

    .counter {
        font-size: 31px;
    }

    .job-card {
        padding: 25px;
    }

    .testimonial-card {
        padding: 35px 25px;
    }

    .testimonial-card > p {
        font-size: 16px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-logo {
        min-height: 70px;
        font-size: 11px;
    }

    .cta-inner {
        padding: 35px 25px;
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-inner h2 {
        font-size: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 16px;
    }
}

@media (max-width: 575.98px) {
    .logo-wrap {
        width: 155px;
    }

    .hero-slide {
        min-height: 600px;
    }

    .hero-copy {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-copy h1 {
        font-size: 37px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .section-title {
        font-size: 31px;
    }

    .section-title.small-title {
        font-size: 27px;
    }

    .image-card img {
        height: 330px;
    }

    .experience-badge {
        padding: 13px 15px;
    }

    .experience-badge strong {
        font-size: 21px;
    }

    .experience-badge span {
        font-size: 11px;
    }

    .partner-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        width: 180px;
    }
}
/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1025;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: #fff;

    font-size: 19px;
    cursor: pointer;

    box-shadow: 0 10px 28px rgba(31, 38, 89, .25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: all .3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 575.98px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        right: 15px;
        bottom: 15px;
        font-size: 17px;
    }
}