/* =====================================================
   36th Division NMC Website
   Main Stylesheet
===================================================== */

/* ---------- Google Font ---------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- Variables ---------- */

:root{

    --primary:#1E3A5F;
    --secondary:#00A99D;
    --accent:#2E7DFF;
    --background:#F5F8FC;
    --white:#FFFFFF;
    --text:#333333;
    --light-text:#777777;
    --border:#E5E7EB;

    --shadow:0 10px 30px rgba(0,0,0,.08);
    --transition:.35s ease;

}

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

}

/* ---------- Global ---------- */

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

.section{

    padding:90px 0;

}

.section-title{

    font-size:40px;

    text-align:center;

    margin-bottom:20px;

    color:var(--primary);

}

.section-text{

    max-width:900px;

    margin:auto;

    text-align:center;

    color:var(--light-text);

    font-size:18px;

}

.light-bg{

    background:#EDF3F8;

}

/* ---------- Buttons ---------- */

.btn{

    display:inline-block;

    padding:14px 28px;

    border-radius:50px;

    transition:var(--transition);

    font-weight:600;

}

.btn-primary{

    background:var(--secondary);

    color:white;

}

.btn-primary:hover{

    background:#008f85;

    transform:translateY(-4px);

}

.btn-secondary{

    border:2px solid white;

    color:white;

    margin-left:15px;

}

.btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/* ---------- Header ---------- */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(30,58,95,.95);

    backdrop-filter:blur(12px);

    box-shadow:var(--shadow);

}

.navbar{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    color:white;

    font-weight:700;

    font-size:22px;

}

.logo img{

    width:55px;

}

.nav-links{

    display:flex;

    gap:30px;

}

.nav-links a{

    color:white;

    transition:var(--transition);

    font-weight:500;

}

.nav-links a:hover{

    color:var(--secondary);

}

.menu-toggle{

    display:none;

    font-size:32px;

    color:white;

    cursor:pointer;

}

/* ---------- Hero ---------- */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:140px 8% 80px;

    background:linear-gradient(135deg,#1E3A5F,#0F2238);

    color:white;

}

.hero-content{

    width:52%;

}

.hero h1{

    font-size:60px;

    margin-bottom:10px;

}

.hero h2{

    font-size:28px;

    color:#A8F0EA;

    margin-bottom:20px;

}

.hero p{

    font-size:18px;

    margin-bottom:35px;

    opacity:.9;

}

.hero-image{

    width:42%;

    text-align:center;

}

.hero-image img{

    max-height:600px;

    animation:float 4s ease-in-out infinite;

}

/* ---------- Features ---------- */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;

}

.feature-card{

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.feature-card:hover{

    transform:translateY(-10px);

}

.feature-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

/* ---------- Screenshots ---------- */

.screenshots{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-top:50px;

}

.screenshots img{

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.screenshots img:hover{

    transform:scale(1.05);

}

/* ---------- Download ---------- */

.download-section{

    background:var(--primary);

    color:white;

    text-align:center;

    padding:90px 20px;

}

.download-section h2{

    font-size:42px;

    margin-bottom:15px;

}

.download-section p{

    margin-bottom:30px;

}

/* ---------- FAQ ---------- */

.faq{

    max-width:900px;

    margin:auto;

}

.faq h3{

    margin-top:25px;

    color:var(--primary);

}

/* ---------- CTA ---------- */

.cta{

    background:linear-gradient(135deg,var(--secondary),#17c4b7);

    color:white;

    text-align:center;

    padding:90px 20px;

}

.cta h2{

    font-size:42px;

    margin-bottom:15px;

}

.cta p{

    margin-bottom:35px;

}

/* ---------- Footer ---------- */

footer{

    background:#0D2035;

    color:white;

    padding-top:70px;

}

.footer-content{

    width:90%;

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:40px;

}

.footer-content h3,

.footer-content h4{

    margin-bottom:20px;

}

.footer-content li{

    margin-bottom:12px;

}

.footer-content a{

    color:#d5d5d5;

}

.footer-content a:hover{

    color:var(--secondary);

}

.copyright{

    text-align:center;

    padding:25px;

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.1);

}

/* ---------- Animation ---------- */

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ==========================================
   Active Navigation
========================================== */

.nav-links a.active-link{

    color: var(--secondary);

    font-weight: 600;

}

/* ==========================================
   Scroll To Top Button
========================================== */

.scroll-top{

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: var(--secondary);

    color: white;

    font-size: 22px;

    cursor: pointer;

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transition: .3s;

    z-index: 999;

}

.scroll-top.show{

    opacity: 1;

    visibility: visible;

}

.scroll-top:hover{

    transform: translateY(-5px);

}

/* ==========================================
   Fade Animation
========================================== */

.feature-card,
.section-title,
.section-text,
.screenshots img,
.faq h3,
.faq p{

    opacity: 0;

    transform: translateY(30px);

    transition: all .7s ease;

}

.fade-in{

    opacity: 1 !important;

    transform: translateY(0) !important;

}
