/* =========================
   GLOBAL
========================= */

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

body{
    background:#050816;
    color:white;
    font-family:Arial, sans-serif;
    overflow-x:hidden;
    position:relative;
}

/* =========================
   LOADER
========================= */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:black;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:0.5s;
}

.loader-logo{
    width:120px;
    animation:spin 2s linear infinite;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

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

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);
    position:sticky;
    top:0;
    z-index:1000;
}

/* LOGO */

.logo-container{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo{
    width:60px;
}

.logo-text{
    font-size:30px;
    font-weight:bold;
    color:white;
}

/* NAVIGATION */

nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:white;
    font-size:20px;
    transition:0.3s;
}

nav a:hover{
    color:cyan;
}

/* =========================
   BACKGROUND ANIMATION
========================= */

.bg-animation{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    overflow:hidden;
    z-index:-2;
}

.bg-animation img{
    position:absolute;
    width:180px;
    opacity:0.12;
    animation:float 12s linear infinite;
}

/* FLOAT ANIMATION */

@keyframes float{

0%{
transform:translateY(0px) rotate(0deg);
}

50%{
transform:translateY(-20px) rotate(10deg);
}

100%{
transform:translateY(0px) rotate(0deg);
}

}

/* BIG INFINITY LOGO */

.infinity-logo{
    width:260px !important;
    opacity:0.15 !important;
    right:20px;
    top:120px;
}

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

.hero{
    position:relative;
    z-index:2;
    padding:80px 40px;
}

.hero h1{
    font-size:60px;
    max-width:800px;
    line-height:1.3;
    margin-bottom:30px;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:15px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
    margin:10px;
}

.primary{
    background:cyan;
    color:black;
}

.primary:hover{
    transform:scale(1.05);
    box-shadow:0 0 25px cyan;
}

.secondary{
    border:2px solid cyan;
    color:white;
}

.secondary:hover{
    background:cyan;
    color:black;
}

/* =========================
   FEATURED PROJECT
========================= */

.featured-project{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:40px;
    margin:40px;
    border-radius:25px;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);
    box-shadow:0 0 25px rgba(0,255,255,0.2);
    flex-wrap:wrap;
}

.featured-text{
    max-width:500px;
}

.featured-text h2{
    color:cyan;
    margin-bottom:15px;
}

.featured-text h1{
    font-size:45px;
    margin-bottom:20px;
}

.featured-image{
    width:300px;
}

/* =========================
   VIDEO SECTION
========================= */

.youtube-section{
    padding:40px;
}

.youtube-section h2{
    margin-bottom:30px;
    font-size:40px;
}

.video-container{
    display:flex;
    justify-content:center;
}

.video-container iframe{
    width:90%;
    max-width:700px;
    height:400px;
    border:none;
    border-radius:25px;
    box-shadow:0 0 25px cyan;
}

/* =========================
   CONTAINER
========================= */

.container{
    max-width:1100px;
    margin:auto;
    padding:30px;
}

/* =========================
   PROJECT TITLE
========================= */

.project-title{
    font-size:50px;
    margin-bottom:40px;
    text-align:center;
}

/* =========================
   CARDS
========================= */

.card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(0,255,255,0.3);
    border-radius:25px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:0 0 15px rgba(0,255,255,0.15);
    transition:0.3s;
    backdrop-filter:blur(10px);
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 30px cyan;
}

.card h2{
    color:cyan;
    margin-bottom:20px;
}

.card p{
    line-height:1.8;
    font-size:17px;
}

/* LIST */

.card ul,
.card ol{
    padding-left:20px;
}

.card li{
    margin-bottom:12px;
    line-height:1.7;
}

/* PROJECT IMAGE */

.project-image{
    width:100%;
    border-radius:20px;
    box-shadow:0 0 20px cyan;
}

/* =========================
   AI BUTTON
========================= */

.ai-chat{
    position:fixed;
    bottom:20px;
    right:20px;
    background:cyan;
    color:black;
    padding:15px 22px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    box-shadow:0 0 20px cyan;
    z-index:999;
    transition:0.3s;
}

.ai-chat:hover{
    transform:scale(1.1);
    box-shadow:0 0 35px cyan;
}

/* =========================
   CURSOR GLOW
========================= */

.cursor-glow{
    width:25px;
    height:25px;
    background:cyan;
    border-radius:50%;
    position:fixed;
    pointer-events:none;
    transform:translate(-50%,-50%);
    box-shadow:0 0 25px cyan;
    z-index:9999;
}

/* =========================
   AI PAGE
========================= */

.ai-container{
    padding:40px;
    text-align:center;
}

.ai-title{
    font-size:55px;
    color:cyan;
    text-shadow:0 0 20px cyan;
}

.ai-subtitle{
    margin-top:10px;
    margin-bottom:40px;
    opacity:0.8;
}

/* TYPING BOX */

.typing-box{
    max-width:700px;
    margin:auto;
    background:rgba(255,255,255,0.05);
    border:1px solid cyan;
    padding:20px;
    border-radius:20px;
    margin-bottom:40px;
    box-shadow:0 0 20px cyan;
}

/* SEARCH SECTION */

.search-section{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:40px;
}

/* INPUT */

.search-section input{
    width:350px;
    padding:15px;
    border:none;
    border-radius:15px;
    background:#111;
    color:white;
    border:1px solid cyan;
    outline:none;
    font-size:16px;
}

/* BUTTONS */

.search-section button{
    padding:15px 25px;
    border:none;
    border-radius:15px;
    background:cyan;
    color:black;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.search-section button:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px cyan;
}

/* ANSWER BOX */

#answerBox{
    max-width:800px;
    margin:auto;
    background:rgba(255,255,255,0.05);
    border:1px solid cyan;
    border-radius:20px;
    padding:25px;
    box-shadow:0 0 20px cyan;
    min-height:100px;
    line-height:1.8;
}

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

@media(max-width:768px){

header{
    flex-direction:column;
    text-align:center;
    gap:20px;
}

nav{
    flex-direction:column;
    gap:15px;
}

.logo-text{
    font-size:24px;
}

.hero{
    padding:50px 20px;
}

.hero h1{
    font-size:36px;
}

.infinity-logo{
    width:180px !important;
    top:150px;
    right:-30px;
}

.bg-animation img{
    width:120px;
}

.featured-project{
    flex-direction:column;
    text-align:center;
    margin:20px;
}

.featured-image{
    width:220px;
    margin-top:20px;
}

.featured-text h1{
    font-size:32px;
}

.youtube-section{
    padding:20px;
}

.youtube-section h2{
    font-size:30px;
}

.video-container iframe{
    height:220px;
}

.container{
    padding:20px;
}

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

.card{
    padding:20px;
}

.ai-title{
    font-size:35px;
}

.search-section{
    flex-direction:column;
    align-items:center;
}

.search-section input{
    width:90%;
}

.search-section button{
    width:90%;
}

.ai-container{
    padding:20px;
}

.btn{
    width:90%;
    text-align:center;
}

}
