/* ====== Global Reset ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}


/* ====== Header & Navigation ====== */
header {
    background: linear-gradient(90deg, #020617, #0f172a);
    padding: 15px 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 26px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

/* Navigation Links */
.nav a {
    position: relative;
    margin-left: 30px;
    text-decoration: none;
    color: #cbd5f5;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 2px;
    transition: 
        color 0.3s ease,
        transform 0.3s ease;
}

/* Hover Effect */
.nav a:hover {
    color: #38bdf8;
    transform: scale(1.12);
}

/* Underline Animation */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Active Page (Optional) */
.nav a.active {
    color: #38bdf8;
}

/* ====== Responsive Nav ====== */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
    }

    .nav a {
        margin-left: 18px;
        font-size: 15px;
    }
}


/* ====== Hero Section ====== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    background: linear-gradient(to right, #0f172a, #020617);
    color: #ffffff;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: #38bdf8;
}

.hero-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #d1d5db;
}

/* ====== Buttons ====== */
.cta.button {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #38bdf8;
    color: #020617;
}

.btn.primary:hover {
    background: #0ea5e9;
}

.btn.secondary {
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.btn.secondary:hover {
    background: #38bdf8;
    color: #020617;
}

/* ====== Hero Image ====== */
.hero-image img {
    border-radius: 50%;
    border: 4px solid #38bdf8;
    object-fit: cover;
}

/* ====== Highlights Section ====== */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 70px 60px;
    background: #ffffff;
}

.highlight-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.highlight-card i {
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 15px;
    color: #555;
}

/* ====== Footer ====== */
footer {
    background: #020617;
    padding: 20px 0;
    text-align: center;
}

.social-links a {
    color: #38bdf8;
    font-size: 22px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #a9acae;
}

/* ====== Responsive Design ====== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image {
        margin-bottom: 30px;
    }

    header {
        padding: 15px 30px;
    }

    /* ====== Highlights Section ====== */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 70px 60px;
    background: #ffffff;
}

.highlight-card {
    background: #f8fafc;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* ====== Icon Base Style ====== */
.highlight-card i {
    display: inline-block;
    font-size: 36px;
    color: #38bdf8;
    margin-bottom: 15px;
}

/* ====== Web Development Icon ====== */
.highlight-web::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f121"; /* code icon */
}

/* ====== Programming Skills Icon ====== */
.highlight-skills::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f085"; /* gears icon */
}

/* ====== Soft Skills Icon ====== */
.highlight-soft::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c0"; /* users icon */
}

/* ====== Text Styling ====== */
.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #020617;
}

.highlight-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

}
