/* =========================
   GLOBAL STYLES
========================= */

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f7f8;
    color: #0f172a;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

 a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   SHARED NAVBAR
========================= */

header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 24px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-btn:hover {
    background: #1d4ed8;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #111827;
}

.nav-toggle-label {
    letter-spacing: 0.02em;
}

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

footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    text-align: center;
    padding: 22px 16px;
    font-size: 14px;
    color: #64748b;
    margin-top: 60px;
}

/* =========================
   HOME PAGE
========================= */

.hero {
    background: linear-gradient(90deg, #eef4ff 0%, #f7f0ff 100%);
    padding: 110px 20px 120px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.hero h1 span {
    background: linear-gradient(90deg, #2563eb 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h2 {
    font-size: 34px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 24px;
}

.hero p {
    max-width: 780px;
    margin: 0 auto 38px;
    font-size: 21px;
    line-height: 1.8;
    color: #475569;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.cta-btn,
.download-btn,
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.primary-btn {
    background: #2563eb;
    color: #ffffff;
    padding: 16px 30px;
    border: 2px solid #2563eb;
}

.primary-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.secondary-btn {
    background: transparent;
    color: #111827;
    padding: 16px 30px;
    border: 2px solid #1f2937;
}

.secondary-btn:hover {
    background: #111827;
    color: #ffffff;
}

.featured-home-section {
    padding: 90px 20px 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.featured-home-header {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.featured-home-header h2 {
    font-size: 46px;
    line-height: 1.12;
    color: #0f172a;
    margin: 0 0 16px;
}

.featured-home-header p:last-child {
    font-size: 19px;
    line-height: 1.8;
    color: #475569;
}

.featured-home-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-project-card {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.home-project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e7eb;
}

.home-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-project-content {
    padding: 24px;
}

.home-project-content h3 {
    font-size: 30px;
    color: #0f172a;
    margin: 0 0 12px;
}

.home-project-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 18px;
}
.services-section {
    padding: 90px 20px 100px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0f172a;
}

.services-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    border-radius: 22px;
    padding: 34px 30px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.service-card.blue {
    background: #eef5ff;
    border-color: #bfd6ff;
}

.service-card.purple {
    background: #f5efff;
    border-color: #dccbff;
}

.service-card.green {
    background: #eefaf2;
    border-color: #bde7c9;
}

.service-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.service-card.blue .service-icon {
    background: #2563eb;
}

.service-card.purple .service-icon {
    background: #9333ea;
}

.service-card.green .service-icon {
    background: #16a34a;
}

.service-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}

.service-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.cta-section {
    background: linear-gradient(90deg, #2563eb 0%, #a21caf 100%);
    padding: 90px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
}

.cta-section p {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto 34px;
}

.cta-btn {
    background: #ffffff;
    color: #2563eb;
    padding: 18px 34px;
    border: 2px solid #ffffff;
}

.cta-btn:hover {
    background: transparent;
    color: #ffffff;
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.about-hero {
    text-align: center;
    margin-bottom: 48px;
}

.about-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0f172a;
}

.about-hero p {
    font-size: 21px;
    line-height: 1.7;
    color: #475569;
    max-width: 760px;
    margin: 0 auto;
}

.about-card,
.skills-card {
    background: #ffffff;
    border: 1px solid #d9dde5;
    border-radius: 20px;
    padding: 34px 38px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.about-card {
    margin-bottom: 36px;
}

.about-card h2,
.skills-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
}

.about-card p {
    font-size: 18px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 18px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.skills-card {
    background: #f3f4ff;
    border: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 60px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #334155;
    font-weight: 500;
}

.skill-icon {
    width: 22px;
    height: 22px;
    border: 2px solid #2563eb;
    color: #2563eb;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================
   PORTFOLIO PAGE
========================= */

.portfolio-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.portfolio-hero {
    text-align: center;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563eb;
}

.portfolio-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 18px;
    color: #0f172a;
}

.portfolio-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.8;
    color: #475569;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project {
    border-color: #c9d8ff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9efff 0%, #f3f4f6 100%);
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.86);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.project-content {
    padding: 22px 22px 24px;
}

.project-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #0f172a;
}

.project-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 18px;
}

.project-highlights {
    margin: 0 0 20px;
    padding-left: 18px;
    color: #334155;
}

.project-highlights li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.project-highlights li:last-child {
    margin-bottom: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tags span {
    background: #eef2ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.project-links a {
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #1d4ed8;
}

.project-links a.code-link {
    color: #334155;
}

.project-links a.code-link:hover {
    color: #111827;
}

/* =========================
   RESUME PAGE
========================= */

.resume-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.resume-hero {
    text-align: center;
    margin-bottom: 50px;
}

.resume-hero h1 {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.resume-hero p {
    font-size: 20px;
    color: #475569;
    margin: 0 0 28px;
}

.download-btn {
    background: #2563eb;
    color: #ffffff;
    padding: 14px 24px;
}

.download-btn:hover {
    background: #1d4ed8;
}

.resume-section {
    margin-bottom: 42px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.section-icon {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.icon-blue {
    background: #2563eb;
}

.icon-purple {
    background: #9333ea;
}

.icon-green {
    background: #16a34a;
}

.resume-card {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.resume-card-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.resume-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #0f172a;
}

.resume-card .sub-title {
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    margin: 0;
}

.resume-card .date {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.resume-card p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

.certifications-box {
    background: #eef9f0;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #d5edd9;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.certification-item {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certification-item span {
    color: #16a34a;
    font-weight: 700;
}

/* =========================
   BLOG PAGE
========================= */

.blog-page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.blog-hero {
    text-align: center;
    margin-bottom: 52px;
}

.blog-hero h1 {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.blog-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    color: #475569;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.blog-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.blog-content {
    padding: 18px 20px 22px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
    color: #0f172a;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 18px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

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

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 48px;
}

.contact-hero h1 {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
}

.contact-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    color: #475569;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(180deg, #2563eb 0%, #9333ea 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.contact-info-card h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 26px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #ffffff;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.contact-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.24);
    margin: 26px 0;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    min-width: 64px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 20px;
    padding: 28px 28px 30px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.contact-form-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #0f172a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #cfd6df;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    font-size: 14px;
    color: #64748b;
    margin-top: -6px;
}

.submit-btn {
    width: fit-content;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1100px) {
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-hero h1,
    .blog-hero h1 {
        font-size: 48px;
    }

    .portfolio-hero p,
    .blog-hero p {
        font-size: 19px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 19px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 42px;
    }

    .cta-section p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    nav {
        flex-wrap: wrap;
        padding: 16px 20px;
        gap: 16px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        order: 2;
    }

    .nav-btn {
        order: 3;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 12px 0 4px;
        order: 4;
    }

    .nav-links.show {
        display: flex;
    }

    .hero,
    .about-page,
    .portfolio-page,
    .resume-page,
    .blog-page,
    .contact-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        padding-top: 90px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p,
    .about-hero p,
    .portfolio-hero p,
    .resume-hero p,
    .blog-hero p,
    .contact-hero p {
        font-size: 17px;
    }

    .about-hero h1,
    .portfolio-hero h1,
    .resume-hero h1,
    .blog-hero h1,
    .contact-hero h1 {
        font-size: 38px;
    }

    .skills-grid,
    .certifications-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .resume-card-top {
        flex-direction: column;
        gap: 8px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .service-card p,
    .project-content p,
    .resume-card p,
    .blog-content p {
        font-size: 16px;
    }

    .project-content h3,
    .blog-content h3,
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 24px;
    }

    .cta-section {
        padding: 70px 18px;
    }

    .cta-section h2 {
        font-size: 34px;
    }

    .cta-section p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .nav-toggle,
    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1,
    .about-hero h1,
    .portfolio-hero h1,
    .resume-hero h1,
    .blog-hero h1,
    .contact-hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .project-content,
    .blog-content,
    .resume-card,
    .contact-info-card,
    .contact-form-card,
    .about-card,
    .skills-card {
        padding: 18px;
    }

    .submit-btn {
        width: 100%;
    }
}

.contact-support-copy {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1100px) {
    .featured-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .featured-home-grid {
        grid-template-columns: 1fr;
    }

    .featured-home-header h2 {
        font-size: 36px;
    }

    .home-project-content h3 {
        font-size: 24px;
    }

    .home-project-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        width: 100%;
        justify-content: center;
    }
}
.blog-article-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.blog-article {
    background: #ffffff;
    border: 1px solid #d8dde6;
    border-radius: 24px;
    padding: 34px 36px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.blog-article h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #0f172a;
}

.blog-article-meta {
    margin-bottom: 22px;
}

.blog-article-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 26px;
}

.blog-article p {
    font-size: 18px;
    line-height: 1.9;
    color: #334155;
    margin: 0 0 20px;
}

.blog-article .read-more {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .blog-article-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-article {
        padding: 22px 20px;
    }

    .blog-article h1 {
        font-size: 34px;
    }

    .blog-article-image {
        height: 220px;
    }

    .blog-article p {
        font-size: 16px;
    }
}

.blog-article h2 {
    font-size: 28px;
    line-height: 1.35;
    margin: 36px 0 14px;
    color: #0f172a;
}

.blog-article ul {
    margin: 0 0 24px 22px;
    color: #334155;
}

.blog-article li {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 10px;
}

.blog-article li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .blog-article h2 {
        font-size: 24px;
    }

    .blog-article li {
        font-size: 16px;
    }
}
