/* ==========================
   Global Settings
========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* ==========================
   Header
========================== */

header {
    background: #111827;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;

    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #38bdf8;
}

/* ==========================
   Navigation
========================== */

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: .25s;
}

nav a:hover {
    color: #38bdf8;
}

/* ==========================
   Hero Section
========================== */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    text-align: center;

    padding: 40px;
}

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

.hero p {
    font-size: 22px;
    color: #cbd5e1;
    max-width: 700px;
}

.small-hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.small-hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.small-hero p {
    font-size: 22px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Improvements */

.subtitle{
    color:#38bdf8;
    text-transform:uppercase;
    letter-spacing:4px;
    margin-bottom:20px;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
}

.hero-text{
    max-width:700px;
    margin:30px auto;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
    justify-content:center;
}

.secondary{
    background:transparent;
    color:white;
    border:2px solid #38bdf8;
}

.secondary:hover{
    background:#38bdf8;
    color:black;
}

.logo{
    text-decoration:none;
}

.cards .card{
    text-align:center;
}

/* ==========================
   Buttons
========================== */

button,
.btn {

    display: inline-block;

    margin-top: 30px;

    background: #38bdf8;
    color: #000;

    text-decoration: none;

    border: none;

    padding: 15px 35px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 18px;

    transition: .3s;
}

button:hover,
.btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(56,189,248,.4);

}

/* ==========================
   Cards
========================== */

.cards {

    width: 90%;

    max-width: 1200px;

    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));

    gap: 30px;

}

.card {

    background: #1e293b;

    padding: 30px;

    border-radius: 15px;

    transition: .3s;

}

.card:hover {

    transform: translateY(-8px);

}

.card h2 {

    color: #38bdf8;

    margin-bottom: 15px;

}

.card p {

    color: #cbd5e1;

}

/* ==========================
   General Sections
========================== */

section {

    padding: 80px 10%;

}

section h1,
section h2 {

    margin-bottom: 20px;

}

section p {

    color: #cbd5e1;

}

/* ==========================
   Images
========================== */

img {

    max-width: 100%;

    border-radius: 12px;

}

/* ==========================
   Footer
========================== */

footer {

    margin-top: 50px;

    background: #111827;

    text-align: center;

    padding: 25px;

    color: #94a3b8;

}

/* ==========================
   Tables
========================== */

table {

    width: 100%;

    border-collapse: collapse;

}

th,
td {

    border: 1px solid #334155;

    padding: 12px;

}

th {

    background: #1e293b;

}

/* ==========================
   Forms
========================== */

input,
textarea {

    width: 100%;

    margin-top: 10px;

    margin-bottom: 20px;

    padding: 12px;

    border-radius: 8px;

    border: 1px solid #334155;

    background: #1e293b;

    color: white;

}

input:focus,
textarea:focus {

    outline: none;

    border-color: #38bdf8;

}

/* ==========================
   Responsive
========================== */

@media (max-width: 768px) {

    header {

        flex-direction: column;

        gap: 20px;

    }

    nav {

        flex-wrap: wrap;

        justify-content: center;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero p {

        font-size: 18px;

    }

}

/* ==========================
   Projects Page
========================== */

.projects {

    width: 90%;

    max-width: 1200px;

    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

}


.project-card {

    background: #1e293b;

    padding: 30px;

    border-radius: 15px;

    transition: .3s;

    border: 1px solid transparent;

}


.project-card:hover {

    transform: translateY(-8px);

    border-color: #38bdf8;

    box-shadow: 0 10px 25px rgba(0,0,0,.3);

}


.project-card h2 {

    color: #38bdf8;

    margin-bottom: 15px;

}


.project-card p {

    color: #cbd5e1;

    margin-bottom: 20px;

}


.project-card span {

    display: inline-block;

    color: #94a3b8;

    font-size: 14px;

    padding: 5px 12px;

    background: #0f172a;

    border-radius: 20px;

}