/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#081120;
    color:#ffffff;
    line-height:1.7;
    overflow-x:hidden;
}

/* =========================
   GLOBAL
========================= */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:48px;
    margin-bottom:10px;
    font-weight:700;
}

.section-title p{
    color:#cbd5e1;
    font-size:18px;
}

/* =========================
   HEADER
========================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(8,17,32,0.95);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo img{
    width:180px;
}

/* NAVIGATION */

nav ul{
    display:flex;
    align-items:center;
    list-style:none;
    gap:35px;
}

nav ul li a{
    color:#fff;
    font-size:16px;
    font-weight:500;
    transition:0.3s;
    position:relative;
}

nav ul li a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0%;
    height:2px;
    background:#00c2ff;
    transition:0.3s;
}

nav ul li a:hover::after{
    width:100%;
}

nav ul li a:hover{
    color:#00c2ff;
}

/* MOBILE MENU */

.menu-toggle{
    display:none;
    color:#fff;
    font-size:30px;
    cursor:pointer;
}

/* =========================
   HERO
========================= */
.hero{
    min-height:100vh;
    padding-top:180px;
    padding-bottom:140px;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;

    background:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.75)
    ),
    url('../images/accodeme-cover.png');

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

/* HERO CONTENT */

.hero-content{
    width:100%;
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:25px;
    max-width:700px;
    color:#fff;
}

.hero p{
    font-size:20px;
    color:#dbeafe;
    margin-bottom:35px;
    max-width:650px;
}

/* MOBILE FIX */

@media(max-width:768px){

    .hero{
        padding-top:150px;
        padding-bottom:100px;
        text-align:center;
        min-height:auto;
    }

    .hero h1{
        font-size:42px;
        max-width:100%;
    }

    .hero p{
        font-size:17px;
        max-width:100%;
    }

    .hero-buttons{
        justify-content:center;
    }
}
/* BUTTONS */

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 32px;
    border-radius:50px;
    font-weight:600;
    transition:0.3s;
    display:inline-block;
}

.primary-btn{
    background:#00c2ff;
    color:#fff;
}

.primary-btn:hover{
    transform:translateY(-4px);
    background:#0ea5e9;
}

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
}

.secondary-btn:hover{
    background:#fff;
    color:#081120;
}

/* =========================
   FEATURE CARDS
========================= */

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:40px 30px;
    transition:0.4s;
}

.card:hover{
    transform:translateY(-10px);
    border-color:#00c2ff;
}

.card h3{
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    color:#cbd5e1;
}

/* =========================
   SERVICES
========================= */

.dark-section{
    background:#030712;
}

.service-box{
    background:#111827;
    padding:40px 30px;
    border-radius:24px;
    transition:0.3s;
    border:1px solid rgba(255,255,255,0.06);
}

.service-box:hover{
    transform:translateY(-10px);
    border-color:#00c2ff;
}

.service-box h3{
    margin-bottom:15px;
    font-size:24px;
}

.service-box p{
    color:#cbd5e1;
}

/* =========================
   CTA
========================= */

.cta-box{
    background:linear-gradient(135deg,#00c2ff,#2563eb);
    border-radius:30px;
    padding:70px 40px;
    text-align:center;
}

.cta-box h2{
    font-size:42px;
    margin-bottom:25px;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner{
    padding:180px 0 100px;
    background:linear-gradient(135deg,#020617,#081120);
    text-align:center;
}

.page-banner h1{
    font-size:60px;
}

/* =========================
   ABOUT
========================= */

.about-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:center;
}

.responsive-img{
    border-radius:24px;
}

.about-grid h2{
    font-size:42px;
    margin-bottom:20px;
}

.about-grid p{
    color:#cbd5e1;
    margin-bottom:20px;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.portfolio-item{
    overflow:hidden;
    border-radius:24px;
    background:#111827;
    transition:0.3s;
}

.portfolio-item:hover{
    transform:translateY(-10px);
}

.portfolio-item img{
    height:260px;
    object-fit:cover;
}

.portfolio-content{
    padding:25px;
}

/* =========================
   CONTACT
========================= */

.contact-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:start;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:18px;
    border:none;
    border-radius:14px;
    background:#111827;
    color:#fff;
    outline:none;
    font-size:16px;
}

.contact-form textarea{
    min-height:180px;
    resize:none;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#020617;
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:50px;
}

.footer-logo{
    width:180px;
    margin-bottom:20px;
}

.footer h3{
    margin-bottom:20px;
}

.footer p,
.footer li{
    color:#cbd5e1;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#cbd5e1;
    transition:0.3s;
}

.footer ul li a:hover{
    color:#00c2ff;
}

.footer-bottom{
    margin-top:60px;
    text-align:center;
    padding:25px;
    border-top:1px solid rgba(255,255,255,0.08);
}

/* =========================
   TABLETS
========================= */

@media(max-width:992px){

    .hero h1{
        font-size:56px;
    }

    .grid-3,
    .portfolio-grid,
    .footer-grid,
    .about-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .about-grid{
        text-align:center;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .section{
        padding:80px 0;
    }

    .nav-container{
        padding:15px 0;
    }

    .logo img{
        width:150px;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#020617;
        display:none;
        border-top:1px solid rgba(255,255,255,0.08);
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        padding:25px 0;
        gap:25px;
    }

    .hero{
        text-align:center;
        padding-top:160px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:17px;
        margin:auto;
        margin-bottom:30px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .section-title h2{
        font-size:36px;
    }

    .page-banner h1{
        font-size:42px;
    }

    .cta-box{
        padding:50px 20px;
    }

    .cta-box h2{
        font-size:32px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .card,
    .service-box{
        padding:30px 22px;
    }

    .section-title h2{
        font-size:30px;
    }
}