/* =========================================================
   MR ENTERPRISE
   ULTRA MODERN MASTER UI
   assets/style.css
========================================================= */

:root{
    --primary:#2563eb;
    --primary-2:#4f46e5;
    --cyan:#06b6d4;
    --dark:#07111f;
    --dark-2:#0f172a;
    --text:#334155;
    --muted:#64748b;
    --white:#fff;
    --light:#f8fafc;
    --border:#e2e8f0;

    --success:#16a34a;
    --danger:#dc2626;

    --radius:18px;

    --shadow-sm:0 5px 18px rgba(15,23,42,.06);
    --shadow:0 15px 45px rgba(15,23,42,.09);
    --shadow-lg:0 25px 70px rgba(15,23,42,.14);

    --gradient:
        linear-gradient(135deg,#2563eb 0%,#4f46e5 50%,#06b6d4 100%);

    --transition:
        260ms cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color:var(--text);
    background:#f8fafc;

    line-height:1.65;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;
}

body::selection{
    background:var(--primary);
    color:#fff;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    cursor:pointer;
}


/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

body::before{
    content:"";

    position:fixed;

    inset:0;

    pointer-events:none;

    z-index:-2;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(37,99,235,.07),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(6,182,212,.06),
            transparent 25%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.container{
    width:min(92%,1200px);

    margin-inline:auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
    position:sticky;

    top:0;

    z-index:1000;

    color:#fff;

    background:
        rgba(7,17,31,.82);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 8px 35px rgba(0,0,0,.12);

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled{
    background:
        rgba(7,17,31,.94);

    box-shadow:
        0 12px 40px rgba(0,0,0,.18);
}

.navbar{
    min-height:76px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;
}


/* =========================================================
   LOGO
========================================================= */

.logo{
    display:flex;

    align-items:center;

    gap:12px;

    flex-shrink:0;
}

.logo-mark{
    width:44px;
    height:44px;

    display:grid;

    place-items:center;

    border-radius:13px;

    color:#fff;

    font-size:16px;

    font-weight:900;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.22),
            rgba(255,255,255,.06)
        );

    border:
        1px solid rgba(255,255,255,.2);

    box-shadow:
        inset 0 1px rgba(255,255,255,.2),
        0 8px 25px rgba(0,0,0,.12);

    transition:var(--transition);
}

.logo:hover .logo-mark{
    transform:
        rotate(-5deg)
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(37,99,235,.25);
}

.logo-text{
    display:flex;

    flex-direction:column;
}

.logo-text strong{
    color:#fff;

    font-size:19px;

    letter-spacing:.4px;

    line-height:1.15;
}

.logo-text span{
    color:rgba(255,255,255,.65);

    font-size:10px;

    letter-spacing:.5px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-menu{
    display:flex;

    align-items:center;

    gap:6px;
}

.main-menu > a{
    position:relative;

    padding:10px 13px;

    border-radius:9px;

    color:rgba(255,255,255,.82);

    font-size:13px;

    font-weight:650;

    transition:var(--transition);
}

.main-menu > a:not(.nav-btn):hover{
    color:#fff;

    background:
        rgba(255,255,255,.08);
}

.main-menu > a:not(.nav-btn)::after{
    content:"";

    position:absolute;

    left:13px;
    right:13px;
    bottom:5px;

    height:2px;

    border-radius:20px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            #fff
        );

    transform:
        scaleX(0);

    transform-origin:center;

    transition:var(--transition);
}

.main-menu > a:not(.nav-btn):hover::after{
    transform:scaleX(1);
}


/* =========================================================
   NAV CTA
========================================================= */

.nav-btn{
    margin-left:7px;

    padding:10px 17px !important;

    color:#0f172a !important;

    background:#fff;

    border-radius:10px;

    font-weight:800 !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.12);

    transition:var(--transition);
}

.nav-btn:hover{
    transform:translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.2);

    opacity:1 !important;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn{
    display:none;

    width:42px;
    height:42px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:11px;

    background:
        rgba(255,255,255,.08);

    color:#fff;

    font-size:23px;

    transition:var(--transition);
}

.mobile-menu-btn:hover{
    background:
        rgba(255,255,255,.15);
}


/* =========================================================
   MAIN
========================================================= */

main{
    min-height:60vh;
}


/* =========================================================
   HERO
========================================================= */

.hero{
    position:relative;

    isolation:isolate;

    padding:
        clamp(75px,9vw,125px)
        0;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(37,99,235,.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(6,182,212,.10),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fff,
            #f8fbff
        );
}


/* Decorative grid */

.hero::before{
    content:"";

    position:absolute;

    inset:0;

    z-index:-1;

    opacity:.35;

    background-image:
        linear-gradient(
            rgba(37,99,235,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37,99,235,.055) 1px,
            transparent 1px
        );

    background-size:
        45px 45px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}


/* Floating glow */

.hero::after{
    content:"";

    position:absolute;

    width:420px;
    height:420px;

    right:-180px;
    top:-180px;

    z-index:-1;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.18),
            transparent 68%
        );

    animation:
        heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat{
    0%,100%{
        transform:translate(0,0);
    }

    50%{
        transform:translate(-25px,25px);
    }
}


.hero-content{
    display:grid;

    grid-template-columns:
        1.1fr
        .9fr;

    align-items:center;

    gap:65px;
}

.hero-badge{
    display:inline-flex;

    align-items:center;

    gap:7px;

    margin-bottom:20px;

    padding:8px 14px;

    border:
        1px solid rgba(37,99,235,.14);

    border-radius:999px;

    color:var(--primary);

    background:
        rgba(37,99,235,.06);

    font-size:11px;

    font-weight:800;

    letter-spacing:.8px;

    box-shadow:
        0 5px 20px rgba(37,99,235,.05);
}

.hero-badge::before{
    content:"";

    width:6px;
    height:6px;

    border-radius:50%;

    background:var(--cyan);

    box-shadow:
        0 0 0 5px rgba(6,182,212,.12);
}

.hero h1{
    max-width:760px;

    color:var(--dark);

    font-size:
        clamp(42px,6vw,72px);

    font-weight:850;

    letter-spacing:-2.5px;

    line-height:1.02;

    margin-bottom:24px;
}

.hero h1 span{
    display:inline;

    color:transparent;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-2),
            var(--cyan)
        );

    background-clip:text;
    -webkit-background-clip:text;
}

.hero p{
    max-width:680px;

    color:var(--muted);

    font-size:17px;

    line-height:1.8;

    margin-bottom:30px;
}

.hero-buttons{
    display:flex;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card{
    position:relative;

    padding:32px;

    overflow:hidden;

    border:
        1px solid rgba(255,255,255,.8);

    border-radius:24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.94),
            rgba(248,250,252,.82)
        );

    box-shadow:var(--shadow-lg);

    backdrop-filter:blur(18px);
}

.hero-card::before{
    content:"";

    position:absolute;

    width:180px;
    height:180px;

    right:-90px;
    top:-90px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.16),
            transparent 68%
        );
}

.hero-card h3{
    position:relative;

    color:var(--dark);

    font-size:21px;

    margin-bottom:16px;
}

.hero-feature{
    position:relative;

    display:flex;

    align-items:flex-start;

    gap:13px;

    padding:15px 0;

    border-bottom:
        1px solid rgba(226,232,240,.8);
}

.hero-feature:last-child{
    border-bottom:0;
}

.hero-feature strong{
    color:var(--dark);

    font-size:14px;
}

.hero-feature small{
    color:var(--muted);

    font-size:12px;
}

.check{
    width:30px;
    height:30px;

    flex-shrink:0;

    display:grid;

    place-items:center;

    border-radius:50%;

    color:var(--primary);

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ecfeff
        );

    border:
        1px solid #dbeafe;

    font-size:13px;

    font-weight:900;
}


/* =========================================================
   SECTIONS
========================================================= */

section{
    position:relative;

    padding:
        clamp(65px,8vw,100px)
        0;
}

section:nth-of-type(even){
    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #fff
        );
}

.section-heading{
    max-width:760px;

    margin:
        0 auto
        48px;

    text-align:center;
}

.section-heading h2{
    color:var(--dark);

    font-size:
        clamp(28px,4vw,42px);

    line-height:1.15;

    letter-spacing:-1px;

    margin-bottom:12px;
}

.section-heading p{
    max-width:650px;

    margin:auto;

    color:var(--muted);

    font-size:15px;
}


/* =========================================================
   CARD GRID
========================================================= */

.card-grid{
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:22px;
}


/* =========================================================
   PREMIUM CARD
========================================================= */

.card{
    position:relative;

    overflow:hidden;

    padding:28px;

    border:
        1px solid rgba(226,232,240,.9);

    border-radius:18px;

    background:
        rgba(255,255,255,.9);

    box-shadow:var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:3px;

    opacity:0;

    background:var(--gradient);

    transition:var(--transition);
}

.card:hover{
    transform:translateY(-7px);

    border-color:#bfdbfe;

    box-shadow:var(--shadow-lg);
}

.card:hover::before{
    opacity:1;
}

.card h3{
    color:var(--dark);

    font-size:18px;

    line-height:1.3;

    margin-bottom:10px;
}

.card p{
    color:var(--muted);

    font-size:14px;

    line-height:1.75;

    margin-bottom:7px;
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon{
    width:50px;
    height:50px;

    display:grid;

    place-items:center;

    margin-bottom:19px;

    border-radius:14px;

    color:var(--primary);

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ecfeff
        );

    border:
        1px solid #dbeafe;

    font-size:13px;

    font-weight:900;

    box-shadow:
        0 8px 20px rgba(37,99,235,.08);

    transition:var(--transition);
}

.card:hover .service-icon{
    transform:
        scale(1.08)
        rotate(-3deg);

    box-shadow:
        0 12px 28px rgba(37,99,235,.13);
}


/* =========================================================
   BUTTON SYSTEM
========================================================= */

.btn{
    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    min-height:46px;

    padding:0 21px;

    border:0;

    border-radius:11px;

    font-size:13px;

    font-weight:800;

    overflow:hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.btn::before{
    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    transition:.55s;
}

.btn:hover::before{
    left:100%;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn-primary{
    color:#fff;

    background:var(--gradient);

    box-shadow:
        0 10px 25px rgba(37,99,235,.22);
}

.btn-primary:hover{
    box-shadow:
        0 16px 35px rgba(37,99,235,.28);
}

.btn-secondary{
    color:var(--dark);

    background:#fff;

    border:
        1px solid var(--border);

    box-shadow:
        0 5px 15px rgba(15,23,42,.04);
}

.btn-secondary:hover{
    border-color:#bfdbfe;
}

.btn-success{
    color:#fff;

    background:var(--success);
}

.btn-danger{
    color:#fff;

    background:var(--danger);
}


/* =========================================================
   RATE TABLE
========================================================= */

.table-wrapper{
    width:100%;

    overflow-x:auto;

    border:
        1px solid var(--border);

    border-radius:18px;

    background:#fff;

    box-shadow:var(--shadow);

    scrollbar-width:thin;
}

table{
    width:100%;

    min-width:650px;

    border-collapse:collapse;
}

th{
    padding:17px 20px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #172554
        );

    text-align:left;

    font-size:12px;

    letter-spacing:.3px;

    white-space:nowrap;
}

td{
    padding:17px 20px;

    color:var(--text);

    border-bottom:
        1px solid #edf2f7;

    font-size:13px;

    vertical-align:top;
}

tbody tr{
    transition:background .2s ease;
}

tbody tr:hover{
    background:#f8fbff;
}

tbody tr:last-child td{
    border-bottom:0;
}

.price{
    color:var(--primary);

    font-weight:900;

    white-space:nowrap;
}


/* =========================================================
   FORMS
========================================================= */

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;

    margin-bottom:7px;

    color:var(--dark);

    font-size:12px;

    font-weight:800;
}

.form-control{
    width:100%;

    min-height:46px;

    padding:11px 13px;

    color:var(--text);

    background:#fff;

    border:
        1px solid var(--border);

    border-radius:10px;

    outline:0;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.form-control::placeholder{
    color:#94a3b8;
}

.form-control:hover{
    border-color:#cbd5e1;
}

.form-control:focus{
    border-color:var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(37,99,235,.09);

    transform:translateY(-1px);
}

textarea.form-control{
    min-height:145px;

    resize:vertical;
}

select.form-control{
    cursor:pointer;
}


/* =========================================================
   ALERT
========================================================= */

.alert{
    position:relative;

    padding:15px 18px;

    margin-bottom:25px;

    border-radius:12px;

    font-size:13px;

    font-weight:700;

    animation:
        alertIn .4s ease both;
}

@keyframes alertIn{
    from{
        opacity:0;
        transform:translateY(-8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.alert-success{
    color:#166534;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ecfdf5
        );

    border:
        1px solid #bbf7d0;
}

.alert-error{
    color:#991b1b;

    background:
        linear-gradient(
            135deg,
            #fef2f2,
            #fff1f2
        );

    border:
        1px solid #fecaca;
}


/* =========================================================
   CTA
========================================================= */

.cta{
    position:relative;

    isolation:isolate;

    overflow:hidden;

    padding:
        clamp(45px,6vw,70px)
        30px;

    text-align:center;

    color:#fff;

    border-radius:25px;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #4f46e5,
            #0891b2
        );

    box-shadow:
        0 25px 65px
        rgba(37,99,235,.23);
}

.cta::before{
    content:"";

    position:absolute;

    width:300px;
    height:300px;

    left:-120px;
    bottom:-170px;

    z-index:-1;

    border-radius:50%;

    background:
        rgba(255,255,255,.08);
}

.cta::after{
    content:"";

    position:absolute;

    width:250px;
    height:250px;

    right:-100px;
    top:-130px;

    z-index:-1;

    border-radius:50%;

    background:
        rgba(255,255,255,.08);
}

.cta h2{
    position:relative;

    font-size:
        clamp(28px,4vw,40px);

    line-height:1.15;

    letter-spacing:-1px;

    margin-bottom:12px;
}

.cta p{
    position:relative;

    max-width:650px;

    margin:
        0 auto
        27px;

    color:rgba(255,255,255,.86);

    font-size:15px;
}

.cta .btn{
    background:#fff;

    color:var(--primary);

    box-shadow:
        0 10px 30px rgba(0,0,0,.14);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer{
    position:relative;

    margin-top:80px;

    padding:
        65px 0
        20px;

    color:#cbd5e1;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(37,99,235,.13),
            transparent 28%
        ),
        #07111f;
}

.footer-grid{
    display:grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1fr;

    gap:45px;

    padding-bottom:42px;
}

.site-footer h3{
    color:#fff;

    font-size:15px;

    margin-bottom:14px;
}

.site-footer p,
.site-footer li{
    color:#94a3b8;

    font-size:13px;
}

.footer-description{
    max-width:400px;

    margin-top:10px;

    line-height:1.8;
}

.site-footer ul{
    list-style:none;
}

.site-footer li{
    margin-bottom:8px;
}

.site-footer li a{
    transition:
        color var(--transition),
        transform var(--transition);
}

.site-footer li a:hover{
    color:#fff;
}

.copyright{
    padding-top:20px;

    color:#64748b;

    text-align:center;

    font-size:12px;

    border-top:
        1px solid rgba(255,255,255,.07);
}


/* =========================================================
   UTILITY
========================================================= */

.text-center{
    text-align:center;
}

.text-primary{
    color:var(--primary);
}

.text-muted{
    color:var(--muted);
}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal{
    opacity:0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.8,.2,1);
}

.reveal.show{
    opacity:1;

    transform:
        translateY(0);
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media(max-width:950px){

    .hero-content{
        grid-template-columns:1fr;

        gap:40px;
    }

    .card-grid{
        grid-template-columns:
            repeat(2,1fr);
    }

    .footer-grid{
        grid-template-columns:
            1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media(max-width:650px){

    .container{
        width:92%;
    }

    .navbar{
        min-height:65px;
    }

    .logo-text strong{
        font-size:17px;
    }

    .logo-text span{
        display:none;
    }


    /* Mobile Menu */

    .mobile-menu-btn{
        display:grid;

        place-items:center;
    }

    .main-menu{
        display:none;

        position:absolute;

        top:65px;

        left:0;
        right:0;

        padding:12px 5% 16px;

        flex-direction:column;

        align-items:stretch;

        gap:3px;

        background:
            rgba(7,17,31,.97);

        backdrop-filter:blur(18px);

        border-top:
            1px solid rgba(255,255,255,.08);

        box-shadow:
            0 20px 40px rgba(0,0,0,.2);

        animation:
            mobileMenuIn .25s ease both;
    }

    .main-menu.active{
        display:flex;
    }

    @keyframes mobileMenuIn{

        from{
            opacity:0;
            transform:translateY(-8px);
        }

        to{
            opacity:1;
            transform:translateY(0);
        }

    }

    .main-menu > a{
        padding:12px 10px;
    }

    .nav-btn{
        margin:
            5px 0
            0 !important;

        text-align:center;
    }


    /* Hero */

    .hero{
        padding:
            65px 0
            70px;
    }

    .hero h1{
        font-size:
            clamp(38px,11vw,52px);

        letter-spacing:-1.8px;
    }

    .hero p{
        font-size:15px;

        line-height:1.75;
    }

    .hero-card{
        padding:23px;
    }


    /* Sections */

    section{
        padding:
            65px 0;
    }

    .section-heading{
        margin-bottom:32px;
    }

    .section-heading h2{
        font-size:29px;
    }


    /* Cards */

    .card-grid{
        grid-template-columns:1fr;

        gap:16px;
    }

    .card{
        padding:23px;
    }


    /* Buttons */

    .hero-buttons{
        width:100%;

        flex-direction:column;

        align-items:stretch;
    }

    .hero-buttons .btn{
        width:100%;
    }


    /* CTA */

    .cta{
        padding:
            45px 22px;
    }

    .cta h2{
        font-size:29px;
    }

    .cta .btn{
        width:100%;
    }


    /* Footer */

    .footer-grid{
        grid-template-columns:1fr;

        gap:30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:420px){

    .logo-mark{
        width:40px;
        height:40px;
    }

    .hero h1{
        font-size:35px;
    }

    .service-icon{
        width:46px;
        height:46px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }

}
/* =========================================================
   CONTACT ACTIONS
========================================================= */

.contact-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:20px;
}

.contact-actions .btn{
    flex:1;
    min-width:120px;
}

@media(max-width:650px){

    .contact-actions{
        flex-direction:column;
    }

    .contact-actions .btn{
        width:100%;
    }

}

/* =========================================================
   LEGAL / POLICY PAGES privacy 
========================================================= */

.card > h2 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.3;
}

.card > h2:first-of-type {
    margin-top: 0;
}

.card > p {
    margin-bottom: 14px;
    color: #475569;
    line-height: 1.8;
}

.card > ul {
    margin: 0 0 18px 22px;
    color: #475569;
}

.card > ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

@media (max-width: 600px) {

    .card > h2 {
        font-size: 18px;
    }

}