/* =============================
   GLOBAL STYLE
============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f7f9fc;
    color: #1d1d1d;
    line-height: 1.6;
}


/* Container helper */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =============================
   NAVBAR
============================= */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b63f6;
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #0b63f6;
}


/* Mobile toggle */

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}


/* =============================
   HERO SECTION
============================= */

.hero {
    padding-top: 140px;
    padding-bottom: 100px;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-text h1 span {
    color: #0b63f6;
}

.hero-text .role {
    font-size: 1.4rem;
    margin-top: 5px;
    color: #555;
    font-weight: 500;
}

.hero-desc {
    margin: 20px 0 30px;
    max-width: 500px;
    color: #444;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    padding: 12px 25px;
    background: #0b63f6;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #073e9c;
}

.btn-outline {
    padding: 12px 25px;
    border: 2px solid #0b63f6;
    color: #0b63f6;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0b63f6;
    color: #fff;
}


/* HERO IMAGE */

.hero-img .profile-wrapper {
    width: 330px;
    height: 330px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-img img {
    width: 100%;
    display: block;
}


/* =============================
   SECTION TITLES
============================= */

.section-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}


/* =============================
   SKILLS GRID
============================= */

.skills {
    padding: 90px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 18px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.skill-card img {
    width: 70px;
    margin-bottom: 15px;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.1);
}


/* =============================
   CERTIFICATION
============================= */

.cert {
    padding: 90px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.cert-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-8px);
}

.cert-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}


/* =============================
   CONTACT
============================= */

.contact {
    padding: 90px 0;
    text-align: center;
}

.contact-text {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.contact-icons a {
    font-size: 2.5rem;
    margin: 0 15px;
    color: #0b63f6;
    transition: 0.3s;
}

.contact-icons a:hover {
    color: #073e9c;
}


/* =============================
   FOOTER
============================= */

.footer {
    padding: 20px;
    text-align: center;
    background: #f0f2f7;
    color: #777;
    margin-top: 60px;
}


/* =============================
   RESPONSIVE
============================= */

@media(max-width: 900px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media(max-width: 750px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
}


/* REVEAL ANIMATION */

.skill-card,
.cert-card,
.hero-text,
.hero-img {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.9s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =============================
   TYPOGRAPHY SYSTEM
============================= */


/* Font Base */

body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1d;
}


/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #1d1d1d;
    line-height: 1.3;
    margin-bottom: 10px;
}


/* Heading Sizes */

h1 {
    font-size: 3rem;
    /* 48px */
}

h2 {
    font-size: 2.4rem;
    /* 38px */
}

h3 {
    font-size: 1.9rem;
    /* 30px */
}

h4 {
    font-size: 1.5rem;
    /* 24px */
}

h5 {
    font-size: 1.2rem;
    /* 20px */
}

h6 {
    font-size: 1rem;
    /* 16px */
}


/* Paragraphs */

p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 15px;
}


/* Links */

a {
    text-decoration: none;
    color: #0b63f6;
    transition: 0.3s;
}

a:hover {
    color: #073e9c;
}


/* Small Text */

.small {
    font-size: 0.85rem;
    color: #666;
}


/* Bold & Semibold Helpers */

.bold {
    font-weight: 700;
}

.semibold {
    font-weight: 600;
}


/* Muted Text */

.muted {
    color: #888;
}


/* Highlight / Accent Text */

.highlight {
    color: #0b63f6;
    font-weight: 600;
}


/* =============================
   RESPONSIVE TYPOGRAPHY
============================= */

@media (max-width: 900px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.7rem;
    }
    h3 {
        font-size: 1.4rem;
    }
}