@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

/* ===========================
   RIZTHA Technologies
   Premium Corporate Theme
=========================== */

:root{
    --bg:#0b1220;
    --bg2:#131c31;
    --card:#18233d;
    --primary:#8b5cf6;
    --secondary:#a855f7;
    --text:#ffffff;
    --muted:#b8c2d4;
    --border:rgba(255,255,255,.08);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:var(--text);

    background:
    linear-gradient(180deg,#081120 0%,#0b1220 45%,#10182d 100%);

    overflow-x:hidden;
}

/* ===========================
   Floating Logo
=========================== */

@keyframes floatLogo{
    0%{transform:translateY(0);}
    50%{transform:translateY(-8px);}
    100%{transform:translateY(0);}
}

/* ===========================
   Header
=========================== */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:rgba(8,17,32,.88);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.05);

    z-index:9999;
}

.logo img{

    width:185px;
    height:auto;

    animation:floatLogo 5s ease-in-out infinite;

    filter:drop-shadow(0 0 18px rgba(168,85,247,.45));
}

nav a{

    color:#fff;
    text-decoration:none;
    margin-left:35px;
    font-weight:500;
    transition:.3s;
}

nav a:hover{

    color:var(--primary);
}

/* ===========================
   Hero
=========================== */

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    padding:130px 8% 80px;

    background:

    linear-gradient(180deg,
    #111933 0%,
    #0d1629 35%,
    #09111f 100%);
}

.hero h1{

    font-family:'Montserrat',sans-serif;
    font-size:clamp(52px,6vw,82px);

    font-weight:800;

    line-height:1.1;

    margin-bottom:18px;
}

.hero span{

    color:var(--primary);
}

.hero p{

    max-width:900px;

    margin:auto;

    margin-top:18px;

    color:var(--muted);

    font-size:22px;

    line-height:1.7;
}

.btn{

    display:inline-block;

    margin:40px 12px 0;

    padding:15px 36px;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

    color:#fff;

    background:linear-gradient(135deg,#7c3aed,#8b5cf6);

    transition:.35s;
}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 40px rgba(139,92,246,.30);
}

/* ===========================
   Sections
=========================== */

section{

    padding:100px 8%;
}

h2{

    font-family:'Montserrat',sans-serif;

    text-align:center;

    font-size:42px;

    margin-bottom:55px;
}

/* ===========================
   Cards
=========================== */

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:28px;
}

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:18px;

    padding:30px;

    transition:.35s;
}

.card:hover{

    transform:translateY(-10px);

    border-color:#8b5cf6;

    box-shadow:0 20px 45px rgba(0,0,0,.30);
}

.card h3{

    margin-bottom:14px;

    color:#fff;
}

.card p{

    color:var(--muted);

    line-height:1.7;
}

/* ===========================
   About & Contact
=========================== */

#about p,
#contact{

    color:var(--muted);

    line-height:1.8;
}

#contact p{

    margin:12px 0;
}

/* ===========================
   Footer
=========================== */

footer{

    background:#050b16;

    color:#94a3b8;

    text-align:center;

    padding:35px;

    margin-top:80px;

    border-top:1px solid rgba(255,255,255,.05);
}

/* ===========================
   Mobile
=========================== */

@media(max-width:768px){

header{

    flex-direction:column;

    gap:18px;
}

.logo img{

    width:150px;
}

nav{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;
}

nav a{

    margin:8px 12px;
}

.hero h1{

    font-size:44px;
}

.hero p{

    font-size:18px;
}

.btn{

    display:block;

    width:230px;

    margin:18px auto;
}

section{

    padding:80px 6%;
}

}
