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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#f8fafc;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

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

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(8px);
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
    color:#0f766e;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#334155;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#0f766e;
}

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

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-bg{
    position:absolute;
    inset:0;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('../images/bg1small.jpg');

    background-size:110%;
    background-position:center;

    animation:pan 20s ease-in-out infinite alternate;

    z-index:1;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(20,184,166,0.06),
            rgba(255,255,255,0),
            rgba(20,184,166,0.06)
        );

    background-size:200% 100%;
    animation:shine 15s linear infinite;
    z-index:2;
}

.hero-content{
    position:relative;
    z-index:3;
    max-width:800px;
    padding:20px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    font-size:1.2rem;
    margin-bottom:35px;
    line-height:1.8;
}

.btn{
    display:inline-block;
    padding:14px 34px;
    background:#14b8a6;
    color:white;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;
}

.btn:hover{
    background:#0f766e;
    transform:translateY(-2px);
}

/* ==========================
   ANIMATIONS
========================== */

@keyframes pan{
    from{
        background-position:center center;
    }

    to{
        background-position:center top;
    }
}

@keyframes shine{
    from{
        background-position:0% 0;
    }

    to{
        background-position:200% 0;
    }
}

.fade-up{
    opacity:0;
    transform:translateY(20px);
    animation:fadeUp 1s ease forwards;
}

.delay-1{
    animation-delay:.4s;
}

.delay-2{
    animation-delay:.8s;
}

@keyframes fadeUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ==========================
   SECTIONS
========================== */

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.3rem;
    color:#0f766e;
}

.about-content{
    max-width:850px;
    margin:auto;
    text-align:center;
    line-height:1.9;
    color:#475569;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    color:#0f766e;
    margin-bottom:15px;
}

.card p{
    color:#64748b;
}

/* ==========================
   CONTACT
========================== */

.contact{
    background:#0f172a;
    color:white;
    text-align:center;
}

.contact p{
    margin-bottom:10px;
}

.socials{
    margin-top:20px;
}

.socials a{
    color:white;
    text-decoration:none;
    margin:0 12px;
}

/* ==========================
   FOOTER
========================== */

footer{
    background:#020617;
    color:#cbd5e1;
    text-align:center;
    padding:20px;
}

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

@media(max-width:768px){

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

    nav ul{
        gap:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .hero p{
        font-size:1rem;
    }
}