/* =========================
   Global Styling
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}


/* =========================
        Header
========================= */

header {
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    letter-spacing: 1px;
}


nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 17px;
    transition: 0.3s;
}


nav a:hover {
    color: #38bdf8;
}


/* =========================
        Hero Section
========================= */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background:
    linear-gradient(135deg,#2563eb,#06b6d4);
    color:white;
    text-align:center;
}


.hero h2 {
    font-size: 45px;
    margin-bottom: 15px;
}


.hero p {
    font-size:22px;
    margin-bottom:30px;
}


.buttons {
    margin-top:25px;
}


.btn {
    display:inline-block;
    padding:12px 25px;
    margin:8px;
    border-radius:30px;
    background:white;
    color:#2563eb;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}


.btn:hover {
    transform:translateY(-5px);
}


.btn.dark {
    background:#0f172a;
    color:white;
}



/* =========================
      Sections
========================= */


section {
    padding:70px 0;
}


section h2 {
    text-align:center;
    font-size:35px;
    margin-bottom:35px;
    color:#0f172a;
}


#about p {
    max-width:800px;
    margin:auto;
    text-align:center;
    font-size:18px;
}



/* =========================
        Cards
========================= */


.cards {

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}



.card,
.project {

    background:white;
    padding:30px;
    text-align:center;

    border-radius:15px;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.08);

    transition:0.4s;
}



.card:hover,
.project:hover {

    transform:translateY(-10px);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.15);

}



.card {

    font-size:20px;
    font-weight:bold;
    color:#2563eb;

}



.project h3 {

    color:#2563eb;
    margin-bottom:10px;

}



.project p {

    color:#64748b;

}



/* =========================
        Contact
========================= */


#contact {

    background:#e2e8f0;

    text-align:center;

}


#contact p {

    margin:12px;
    font-size:18px;

}


#contact a {

    color:#2563eb;
    text-decoration:none;

}



#contact a:hover {

    text-decoration:underline;

}



/* =========================
        Footer
========================= */


footer {

    background:#0f172a;
    color:white;
    text-align:center;
    padding:20px;

}



/* =========================
     Responsive Design
========================= */


@media(max-width:768px){


header .container {

    flex-direction:column;

}


nav {

    margin-top:15px;

}


nav a {

    margin:10px;

}


.hero h2 {

    font-size:35px;

}


.hero p {

    font-size:18px;

}


}
.project-btn {

    display:inline-block;
    margin-top:15px;
    padding:10px 20px;

    background:#2563eb;
    color:white;

    text-decoration:none;

    border-radius:25px;

    transition:0.3s;

}


.project-btn:hover {

    background:#0f172a;
    transform:translateY(-3px);

}