/* ==========================================
   MICRONETS WEBSITE
   Part 1
   Global + Navbar + Hero
========================================== */

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f7f9fc;

    color:#222;

    line-height:1.7;

    overflow-x:hidden;

}

/* ==========================================
   VARIABLES
========================================== */

:root{

    --primary:#0A2A66;

    --secondary:#1976D2;

    --accent:#00B4FF;

    --dark:#081B4B;

    --light:#ffffff;

    --gray:#777;

    --background:#F7F9FC;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}

/* ==========================================
   GLOBAL
========================================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

section{

    padding:100px 0;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    font-size:40px;

    color:var(--primary);

    margin-bottom:15px;

}

.section-title p{

    color:var(--gray);

    font-size:18px;

    max-width:700px;

    margin:auto;

}

/* ==========================================
   BUTTONS
========================================== */

.btn-primary{

    display:inline-block;

    background:linear-gradient(135deg,
    var(--secondary),
    var(--primary));

    color:white;

    padding:16px 35px;

    border-radius:50px;

    transition:var(--transition);

    font-weight:600;

    box-shadow:0 10px 25px rgba(25,118,210,.25);

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 40px rgba(25,118,210,.35);

}

.btn-secondary{

    display:inline-block;

    padding:16px 35px;

    border:2px solid var(--secondary);

    color:var(--secondary);

    border-radius:50px;

    margin-left:15px;

    transition:var(--transition);

    font-weight:600;

}

.btn-secondary:hover{

    background:var(--secondary);

    color:white;

}

/* ==========================================
   NAVBAR
========================================== */

#header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

}

.navbar{

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(15px);

    box-shadow:0 4px 20px rgba(0,0,0,.05);

    transition:.3s;

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo img{

    height:60px;

}

.nav-menu{

    display:flex;

    gap:35px;

}

.nav-menu a{

    color:var(--dark);

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

.nav-menu a:hover{

    color:var(--secondary);

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}

.mobile-menu{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/* ==========================================
   HERO
========================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:
    linear-gradient(rgba(8,27,75,.88),
    rgba(10,42,102,.88)),
    url("../images/hero-bg.jpg");

    background-size:cover;

    background-position:center;

    color:white;

    padding-top:120px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.hero-tag{

    display:inline-block;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.25);

    padding:10px 20px;

    border-radius:50px;

    margin-bottom:25px;

    letter-spacing:2px;

    font-size:13px;

}

.hero h1{

    font-size:60px;

    line-height:1.2;

    margin-bottom:25px;

    font-weight:700;

}

.hero p{

    font-size:20px;

    opacity:.9;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

}

.hero-image{

    position:relative;

}

.hero-image img{

    width:100%;

    max-width:520px;

    margin:auto;

    animation:float 5s ease-in-out infinite;

    filter:drop-shadow(0 25px 50px rgba(0,0,0,.3));

}

/* Floating circles */

.hero::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    background:rgba(0,180,255,.15);

    border-radius:50%;

    top:120px;

    left:-100px;

    filter:blur(80px);

}

.hero::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    right:-120px;

    bottom:80px;

    filter:blur(80px);

}

/* ==========================================
   ANIMATIONS
========================================== */

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-20px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content{

    animation:fadeUp 1s ease;

}

.hero-image{

    animation:fadeUp 1.3s ease;

}

/* ==========================================
   UTILITIES
========================================== */

.text-center{

    text-align:center;

}

.mt-2{

    margin-top:20px;

}

.mt-4{

    margin-top:40px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-4{

    margin-bottom:40px;

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}
/* ==========================================
   ABOUT SECTION
========================================== */

#about{
    background:#ffffff;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-grid img{
    width:100%;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.about-grid h3{
    font-size:34px;
    color:var(--primary);
    margin-bottom:20px;
}

.about-grid p{
    color:#666;
    margin-bottom:20px;
    font-size:17px;
    line-height:1.9;
}

.stats{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.stats div{
    background:#fff;
    padding:30px;
    text-align:center;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.stats div:hover{
    transform:translateY(-8px);
}

.stats h2{
    font-size:42px;
    color:var(--secondary);
    margin-bottom:10px;
}

.stats span{
    color:#777;
    font-weight:500;
}

/* ==========================================
   SERVICES
========================================== */

#services{

    background:#f7f9fc;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.service-card{

    background:#fff;

    border-radius:20px;

    padding:45px 35px;

    text-align:center;

    transition:0.4s;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--secondary),
        var(--accent)
    );

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.service-card i{

    width:90px;

    height:90px;

    line-height:90px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--secondary),
        var(--primary)
    );

    color:#fff;

    font-size:34px;

    margin-bottom:25px;

}

.service-card h3{

    font-size:24px;

    margin-bottom:18px;

    color:var(--primary);

}

.service-card p{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

.service-card a{

    color:var(--secondary);

    font-weight:600;

}

.service-card:hover a{

    color:var(--primary);

}

/* ==========================================
   TECHNOLOGIES
========================================== */

#technology{

    background:#ffffff;

}

.technology-list{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.technology-list span{

    background:white;

    border:1px solid #e4e8f2;

    padding:16px 30px;

    border-radius:40px;

    font-weight:600;

    color:var(--primary);

    transition:0.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.technology-list span:hover{

    background:linear-gradient(
        135deg,
        var(--secondary),
        var(--primary)
    );

    color:#fff;

    transform:translateY(-5px);

}

/* ==========================================
   PORTFOLIO
========================================== */

#portfolio{

    background:#f7f9fc;

}

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:35px;

}

.portfolio-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:0.35s;

}

.portfolio-card:hover{

    transform:translateY(-10px);

}

.portfolio-image{

    height:230px;

    overflow:hidden;

}

.portfolio-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.portfolio-card:hover img{

    transform:scale(1.08);

}

.portfolio-content{

    padding:30px;

}

.portfolio-content h3{

    font-size:24px;

    color:var(--primary);

    margin-bottom:15px;

}

.portfolio-content p{

    color:#666;

    margin-bottom:20px;

}

.portfolio-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}

.portfolio-tags span{

    background:#eef4ff;

    color:var(--secondary);

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.portfolio-btn{

    display:inline-block;

    color:var(--secondary);

    font-weight:600;

    transition:.3s;

}

.portfolio-btn:hover{

    color:var(--primary);

}

/* ==========================================
   HOVER EFFECTS
========================================== */

.service-card,
.portfolio-card,
.stats div{

    cursor:pointer;

}

.service-card:hover i{

    transform:rotate(8deg) scale(1.08);

    transition:.3s;

}

/* ==========================================
   SECTION ANIMATION
========================================== */

#about,
#services,
#technology,
#portfolio{

    animation:fadeUp 1s ease;

}
/* ==========================================
   WHY CHOOSE US
========================================== */

#why{

    background:#ffffff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.why-card{

    background:#fff;

    padding:40px 30px;

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    border:1px solid #edf2f7;

}

.why-card:hover{

    transform:translateY(-10px);

    background:linear-gradient(135deg,#0A2A66,#1976D2);

    color:#fff;

}

.why-card i{

    font-size:45px;

    color:var(--secondary);

    margin-bottom:20px;

    transition:.3s;

}

.why-card:hover i{

    color:#fff;

}

.why-card h3{

    margin-bottom:15px;

    font-size:22px;

}

.why-card p{

    line-height:1.8;

    color:#666;

}

.why-card:hover p{

    color:#f5f5f5;

}

/* ==========================================
   ACADEMY
========================================== */

#academy{

    background:linear-gradient(135deg,#081B4B,#0A2A66);

    color:#fff;

}

#academy .section-title h2{

    color:#fff;

}

#academy .section-title p{

    color:#d7e4ff;

}

.academy-text{

    max-width:900px;

    margin:auto;

    text-align:center;

    font-size:20px;

    line-height:1.9;

    margin-bottom:50px;

}

.academy-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.course-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,.15);

    padding:35px;

    border-radius:20px;

    transition:.35s;

    text-align:center;

}

.course-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.15);

}

.course-card i{

    font-size:45px;

    margin-bottom:20px;

    color:#00B4FF;

}

.course-card h3{

    margin-bottom:15px;

}

/* ==========================================
   TESTIMONIALS
========================================== */

#testimonials{

    background:#f7f9fc;

}

.testimonial-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

}

.testimonial{

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.testimonial:hover{

    transform:translateY(-8px);

}

.testimonial i{

    color:#FFC107;

    font-size:18px;

    margin-bottom:20px;

}

.testimonial p{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

.client{

    display:flex;

    align-items:center;

    gap:15px;

}

.client img{

    width:65px;

    height:65px;

    border-radius:50%;

}

.client h4{

    margin-bottom:5px;

}

.client span{

    color:#888;

    font-size:14px;

}

/* ==========================================
   FAQ
========================================== */

#faq{

    background:#fff;

}

.faq{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:#fff;

    margin-bottom:20px;

    border-radius:15px;

    box-shadow:var(--shadow);

    overflow:hidden;

}

.faq-question{

    padding:25px;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    color:var(--primary);

}

.faq-answer{

    padding:0 25px 25px;

    color:#666;

    line-height:1.8;

}

/* ==========================================
   CONTACT
========================================== */

#contact{

    background:#f7f9fc;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

.contact-grid form{

    background:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.contact-grid input,
.contact-grid textarea{

    width:100%;

    padding:16px 18px;

    margin-bottom:20px;

    border:1px solid #dbe3ee;

    border-radius:12px;

    outline:none;

    font-family:inherit;

    transition:.3s;

}

.contact-grid input:focus,
.contact-grid textarea:focus{

    border-color:var(--secondary);

}

.contact-grid button{

    border:none;

    cursor:pointer;

    width:100%;

}

.contact-info{

    padding:20px;

}

.contact-info h3{

    font-size:30px;

    color:var(--primary);

    margin-bottom:20px;

}

.contact-info p{

    color:#666;

    margin-bottom:18px;

    line-height:1.8;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.contact-item i{

    width:55px;

    height:55px;

    line-height:55px;

    border-radius:50%;

    text-align:center;

    background:linear-gradient(135deg,var(--secondary),var(--primary));

    color:#fff;

    font-size:20px;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#081B4B;

    color:#fff;

    padding:70px 0 30px;

    text-align:center;

}

.footer-logo{

    width:140px;

    margin:auto;

    margin-bottom:25px;

}

footer p{

    color:#d7d7d7;

    margin-bottom:10px;

}

.social-icons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:30px 0;

}

.social-icons a{

    width:50px;

    height:50px;

    line-height:50px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:#fff;

    transition:.3s;

}

.social-icons a:hover{

    background:#1976D2;

    transform:translateY(-5px);

}

/* ==========================================
   SCROLL TO TOP
========================================== */

#scrollTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:linear-gradient(135deg,#1976D2,#0A2A66);

    color:#fff;

    font-size:20px;

    cursor:pointer;

    display:none;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

#scrollTop:hover{

    transform:translateY(-5px);

}

/* ==========================================
   SIMPLE FADE-IN ANIMATION
========================================== */

.fade-in{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade-in.show{

    opacity:1;

    transform:translateY(0);

}