﻿/* =========================
   Embedded CSS (full page)
   ========================= */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roobert PRO", "Roobert PRO Medium", sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: #ffffff;
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: 5px;
    scrollbar-color: #003a78 #f0f0f0;
    overflow-y: scroll;
}

/* Webkit scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #003a78;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

    ::-webkit-scrollbar-thumb:hover {
        /*                background-color: #005eff;*/
        background-color: #00c6ff;
    }

::-webkit-scrollbar-corner {
    background: #f0f0f0;
}

/* Page layout */
.page-container {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
    display: block;
}

/* Header */
.mms-header {
    width: 100%;
    padding: 18px 45px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: 0.3s ease;
}

    .logo-section:hover {
        transform: translateY(-3px);
    }

.logo {
    height: 62px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.header-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #003a78;
    letter-spacing: 0.5px;
    position: relative;
}

    .header-title::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0%;
        height: 3px;
        background: linear-gradient(90deg, #007bff, #00c6ff);
        transition: width 0.4s ease;
        border-radius: 10px;
    }

.logo-section:hover .header-title::after {
    width: 100%;
}


/* Nav */
/* NAVBAR CENTER */
.mms-menu {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 40px;
    display: flex;
    justify-content: center;
}

.mms-tabs {
    list-style: none;
    display: flex;
    gap: 40px;
}

/* TABS */
.tab {
    position: relative;
    cursor: pointer;
}

.tab-label {
    font-size: 14px;
    padding: 8px 6px;
    border-radius: 6px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .tab-label:hover {
        background: #f0f7ff;
        color: #0078ff;
    }

/* STANDARD DROPDOWN */
.dropdown {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 0;
    position: absolute;
    top: 36px;
    left: 0;
    min-width: 230px;
    display: none;
    list-style: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    z-index: 1000;
}

    .dropdown.open {
        display: block !important;
    }

    .dropdown li {
        list-style-type: none;
    }

        .dropdown li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            text-decoration: none;
        }

            .dropdown li a:hover {
                background: #f5faff;
                color: #0078ff;
            }

        .dropdown li a,
        .mega-col a {
            font-size: 14px !important;
            font-weight: 400 !important;
            color: #333;
        }


/* HORIZONTAL SEPARATOR */
.separator {
    border-top: 1px solid #eee;
    margin: 6px 0;
}

.mega-menu .separator {
    display: none !important;
}

.mega-menu {
    position: absolute;
    top: 36px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px 30px;
    display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    z-index: 2000;
    width: auto;
    max-width: 95vw;
    white-space: normal;
}

    .mega-menu.open {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

/* COLUMN */
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    /* LINKS INSIDE COLUMNS */
    .mega-col a {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 5px 0;
        color: #333;
        white-space: normal;
        line-height: 1.4;
        text-decoration: none;
    }

        .mega-col a:hover {
            color: #0078ff;
        }

/* Add vertical separator AFTER 1st column only */
.mega-menu.open .mega-col + .mega-col {
    border-left: 1px solid #eee;
    padding-left: 20px;
}

/* HIDE RAW SOURCE LIST */
.mega-source {
    display: none;
}

/*hero*/
.hero {
    position: relative;
    padding: 140px 20px 160px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), #005eff );
    color: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
}

    .hero::before {
        content: "";
        position: absolute;
        bottom: -1px;
        width: 100%;
        height: 150px;
        background: url("https://svgshare.com/i/15H4.svg");
        background-size: cover;
        opacity: 0.35;
    }

    .hero::after {
        content: "";
        position: absolute;
        top: -1px;
        width: 100%;
        height: 150px;
        background: url("https://svgshare.com/i/15H4.svg");
        background-size: cover;
        opacity: 0.20;
        transform: rotate(180deg);
    }

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    filter: blur(90px);
    animation: softFloat 10s ease-in-out infinite alternate;
}

    .hero-glow.g1 {
        top: -50px;
        left: -70px;
    }

    .hero-glow.g2 {
        bottom: -80px;
        right: -70px;
        animation-delay: 3s;
    }

@keyframes softFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: .6;
    }

    100% {
        transform: translateY(-40px) scale(1.2);
        opacity: 1;
    }
}

.hero-card {
    position: relative;
    max-width: 860px;
    margin: auto;
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 25px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: fadeUp 1.2s ease-out forwards;
    opacity: 0;
}

    .hero-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
        transform: skewX(-25deg);
        animation: shine 4s infinite ease-out;
    }

@keyframes shine {
    0% {
        left: -120%;
    }

    70% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.hero-heading {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.hero-subtext {
    font-size: 18px;
    opacity: 0.92;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 25px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .hero-badges span {
        background: rgba(255,255,255,0.25);
        padding: 8px 16px;
        font-size: 15px;
        border-radius: 20px;
        backdrop-filter: blur(6px);
    }

.hero-cta {
    display: inline-block;
    background: white;
    color: #005eff;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 10px;
}

    .hero-cta:hover {
        background: #eaf1ff;
        transform: translateY(-4px);
    }

.hero-icon {
    position: absolute;
    font-size: 32px;
    opacity: 0.35;
    color: white;
    animation: floatIcon 6s ease-in-out infinite alternate;
}

    .hero-icon.i1 {
        top: 40%;
        left: 6%;
    }

    .hero-icon.i2 {
        top: 18%;
        right: 10%;
        animation-delay: 1.5s;
    }

    .hero-icon.i3 {
        bottom: 20%;
        left: 12%;
        animation-delay: 2.5s;
    }

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-18px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 28px;
    }

    .hero-card {
        padding: 30px 24px;
    }
}


/* Swiper */
.swapper1, .swapper2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.swiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.mySwiper .swiper-slide {
    width: calc(100% / 3) !important;
    display: flex;
    justify-content: center;
    padding: 8px;
}

/* QA Card */
.qa-card {
    width: 160px;
    padding: 14px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    text-align: center;
    transition: 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    transform: scale(0.85);
}

    .qa-card img {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .qa-card h5 {
        font-size: 13px;
        color: #003a78;
        font-weight: 600;
    }

.swiper-slide-active .qa-card {
    transform: scale(1.15) rotate(0deg);
    opacity: 1;
    background: linear-gradient(145deg, #e8f1ff, #ffffff);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.25), 0 0 20px rgba(0, 140, 255, 0.35);
    border: 1px solid rgba(0, 110, 255, 0.3);
}

.swiper-slide-next .qa-card,
.swiper-slide-prev .qa-card {
    transform: scale(0.95) rotateY(5deg);
    opacity: 0.85;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.qa-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .mySwiper .swiper-slide {
        width: calc(100% / 2) !important;
    }
}

@media (max-width: 560px) {
    .mySwiper .swiper-slide {
        width: 90% !important;
    }
}
