/* =========================================================
   IMMACULATE DESIGNS — Portfolio Theme
   Liquid-glass, gold-on-navy, luxury studio aesthetic
   All original selectors preserved; new ones added only.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');


html {
    scroll-behavior: smooth;
}

:root {
    --ink: #05060c;
    --navy-1: #0a0f24;
    --navy-2: #0f1a3d;
    --navy-3: #131f4d;
    --gold: #cda45e;
    --gold-bright: #f2d99a;
    --gold-dim: rgba(205, 164, 94, 0.35);
    --blue: #3a63d8;
    --ice: #eef1fb;
    --muted: #a7acc4;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(205, 164, 94, 0.28);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --ease: cubic-bezier(.19,1,.22,1);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

body {
    overscroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    font-family: var(--sans);
    background: var(--ink);
    color: var(--ice);
    min-height: 100vh;
    overflow-x: hidden;
}

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

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* Scroll reveal helper (added, JS toggles .in-view) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(6, 9, 22, 0.62);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    color: var(--gold);
    padding: 14px 40px;
    border-bottom: 1px solid var(--glass-border);
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 500;
}

/* new: wraps logo image so it can size independently of nav */
.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.header img {
    min-width: 184px;
    max-width: 185px;
    min-height: 100px;
    max-height: 101px;
    border-radius: 200px;
    border: 1.5px solid var(--gold-dim);
    background: #050608;
    animation: pulse 5s ease-in-out infinite;
    animation-delay: 2s;
    transform-origin: center;
    transition: transform .5s var(--ease), border-color .5s;
}

.header img:hover {
    border-color: var(--gold);
    transform: scale(1.06) rotate(-2deg);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(205,164,94,0.0); }
    50% { box-shadow: 0 0 22px 4px rgba(205,164,94,0.28); }
    100% { box-shadow: 0 0 0 0 rgba(205,164,94,0.0); }
}

/* nav now carries an additive class for layout control */
.header nav,
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-a {
    color: var(--ice);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .02em;
    margin-left: 12px;
    text-decoration: none;
    vertical-align: top;
    text-align: center;
    position: relative;
    padding: 8px 4px;
    transition: color .35s;
}

.nav-a::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 2px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.nav-a:hover {
    color: var(--gold-bright);
    text-decoration: none;
}

.nav-a:hover::after,
.nav-a.active::after {
    transform: scaleX(1);
}

.nav-a.active {
    color: var(--gold);
}

/* new: hamburger button, phones only */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform .4s var(--ease), opacity .3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO / INTRO
   ========================================================= */
.intro {
    display: flex;
    padding: 90px 24px 110px;
    background:
        radial-gradient(circle at 15% 20%, rgba(58,99,216,0.28), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(205,164,94,0.16), transparent 50%),
        linear-gradient(160deg, var(--ink) 0%, var(--navy-1) 55%, var(--navy-2) 100%);
    position: relative;
}

.grids {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    max-width: 1180px;
    gap: 60px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Hero Text */
.hero-text {
    text-align: left;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 46px 42px;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

.hero-text .eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--gold-bright);
    border: 1px solid var(--gold-dim);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 22px;
}

h1 {
    font-family: var(--serif);
    color: var(--gold-bright);
    font-size: 62px;
    line-height: 1.05;
    font-weight: 600;
}

.hero-text h2 {
    color: var(--muted);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.55;
    margin-top: 20px;
    max-width: 46ch;
}

.btn {
    margin: 34px 0 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.blogs {
    padding: 15px 28px;
    border-radius: 40px;
    border: 1.5px solid var(--gold-dim);
    color: var(--ice);
    font-family: var(--sans);
    font-weight: 700;
    font-size: 15px;
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all .45s var(--ease);
}

.blogs:hover {
    border-radius: 8px;
    border-color: var(--gold);
    background: rgba(205,164,94,0.1);
    transform: translateY(-2px);
}

.CV {
    padding: 15px 28px;
    border-radius: 40px;
    margin-left: 0;
    border: none;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 800;
    font-size: 15px;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    cursor: pointer;
    transition: all .45s var(--ease);
    box-shadow: 0 12px 28px -10px rgba(205,164,94,0.55);
}

.CV:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(205,164,94,0.75);
    background: linear-gradient(100deg, var(--gold-bright), var(--gold));
}

.img-back {
    padding: 7px;
    position: relative;
}

.img-back::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid var(--glass-border);
    border-radius: calc(var(--radius-lg) + 18px);
    pointer-events: none;
}

.hero-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    align-self: center;
    margin: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.75);
}

/* floating badge chips over hero image — new, additive */
.floating-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.f-badge {
    position: absolute;
    background: rgba(10,14,30,0.72);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--gold-bright);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 40px;
    box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6);
}

.f-badge.b1 { top: 8%; right: -6%; animation: float1 6s ease-in-out infinite; }
.f-badge.b2 { bottom: 10%; left: -8%; animation: float2 7s ease-in-out infinite; }

@keyframes float1 { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
@keyframes float2 { 0%,100% { transform: translateY(0);} 50% { transform: translateY(10px);} }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
    background-image:
        linear-gradient(160deg, rgba(6,8,18,0.9), rgba(10,15,35,0.86)),
        url(about-bg.png);
    background-size: cover;
    background-position: center;
    padding: 110px 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
    max-width: 1180px;
    gap: 40px;
    margin-left: auto;
    margin-right: auto;
}

#title {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 18px;
}

.grid-text {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: var(--ice);
    padding: 44px;
    text-align: left;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.grid-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    font-family: var(--sans);
}

/* new: small portrait tucked into the about card */
.about-portrait {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.about-portrait img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
}

.about-portrait span {
    font-size: 14px;
    color: var(--gold-bright);
    font-weight: 700;
    letter-spacing: .03em;
}

.list {
    gap: 0;
    text-align: left;
    order: 1;
    font-size: 17px;
    font-family: var(--sans);
    margin: 0;
    text-justify: auto;
    background: linear-gradient(165deg, rgba(58,99,216,0.16), rgba(255,255,255,0.04));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--gold-bright);
    font-weight: 600;
    margin-bottom: 20px;
}

.ul {
    margin-bottom: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ul li {
    position: relative;
    padding-left: 26px;
    color: var(--ice);
    font-weight: 500;
}

.ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px 1px rgba(205,164,94,0.6);
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
    width: auto;
    height: auto;
    background:
        radial-gradient(circle at 50% 0%, rgba(205,164,94,0.12), transparent 55%),
        linear-gradient(180deg, var(--ink), var(--navy-1));
    padding: 100px 24px;
}

.projects h2 {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--gold-bright);
    text-align: center;
    margin-bottom: 50px;
}

.pro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    max-width: 1180px;
    gap: 28px;
    margin-left: auto;
    margin-right: auto;
}

.pro-1 {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    height: auto;
    border-top-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    border-top-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}

.pro-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px -20px rgba(205,164,94,0.35);
}

.pro-vid1 {
    width: 100%;
    height: 240px;
    object-fit: cover;
    vertical-align: top;
    display: block;
}

.pro-txt {
    background: rgba(6,9,20,0.75);
    color: var(--gold-bright);
    font-size: 17px;
    font-weight: 600;
    font-family: var(--sans);
    height: auto;
    padding: 22px;
    text-align: center;
    position: relative;
}

/* =========================================================
   LIVE PROJECTS — new section
   ========================================================= */
.live-projects {
    background: linear-gradient(180deg, var(--navy-1), var(--ink));
    padding: 20px 24px 110px;
}

.live-projects-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.live-projects h3 {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--gold-bright);
    font-weight: 600;
    margin-bottom: 10px;
}

.live-projects p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 60ch;
}

.live-projects a.visit-btn {
    white-space: nowrap;
    padding: 15px 30px;
    border-radius: 40px;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    box-shadow: 0 12px 28px -10px rgba(205,164,94,0.5);
}

.live-projects a.visit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 34px -10px rgba(205,164,94,0.7);
}

/* =========================================================
   SKILLS
   ========================================================= */
.skills {
    background:
        linear-gradient(180deg, rgba(5,6,12,0.92), rgba(10,15,35,0.95)),
        url(shiny-black__1_.png);
    background-size: cover;
    background-position: center;
    padding: 100px 24px 110px;
}

.skills h2 {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--gold-bright);
    text-align: center;
    margin-bottom: 16px;
}

/* new: descriptive lead-in under heading */
.skills .lede {
    text-align: center;
    color: var(--muted);
    max-width: 60ch;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.6;
}

.Skills-grid,
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 980px;
    gap: 18px;
    margin-left: auto;
    margin-right: auto;
}

.grid-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 130px;
    justify-content: center;
    transition: transform .4s var(--ease), border-color .4s;
}

.grid-box:hover,
.Skills-grid > div:hover,
.skills-grid > div:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.Skills-grid > div,
.skills-grid > div {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 130px;
    justify-content: center;
}

.Skills-grid h3,
.skills-grid h3 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--ice);
}

.Skills-grid img,
.skills-grid img {
    width: 26px;
    height: 26px;
}

/* new: "advancing into" roadmap chips */
.growth {
    max-width: 980px;
    margin: 56px auto 0;
    text-align: center;
}

.growth h4 {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 700;
}

.growth-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.growth-badges span {
    padding: 10px 20px;
    border: 1.5px dashed var(--gold-dim);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-bright);
    background: rgba(205,164,94,0.06);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background-image:
        linear-gradient(180deg, rgba(4,5,10,0.7), rgba(4,5,10,0.92)),
        url("footer-black.png");
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.opacity {
    display: flex;
    flex-direction: column;
    background: rgba(8, 10, 20, 0.55);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: rgba(255, 243, 243, 1);
    border-radius: var(--radius-lg);
    width: auto;
    max-width: 1180px;
    height: auto;
    margin: 10px auto;
    padding: 40px;
    align-items: center;
    gap: 6px;
}

.bottom-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.bottom-nav a {
    text-decoration: none;
    color: var(--ice);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .05em;
    position: relative;
    padding-bottom: 4px;
    transition: color .35s;
}

.bottom-nav a:hover {
    color: var(--gold-bright);
}

#copyright {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.logo-txt {
    background: none;
    text-align: center;
    padding-top: 22px;
    width: 100%;
    height: auto;
}

.logo-txt h2 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .08em;
    font-size: 26px;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================================
   BLOG PAGE
   ========================================================= */
.blog {
    padding: 110px 24px 100px;
    align-content: center;
    text-align: center;
    background-image:
        linear-gradient(160deg, rgba(6,8,18,0.92), rgba(10,15,35,0.9)),
        url(about-bg.png);
    background-size: cover;
    background-position: center;
    min-height: 70vh;
}

#blog-h2 {
    margin-bottom: 16px;
    background: none;
    color: var(--gold-bright);
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    display: block;
}

/* new: subheading under the blog title */
.blog .blog-sub {
    color: var(--muted);
    max-width: 60ch;
    margin: 0 auto 54px;
    font-size: 16px;
    line-height: 1.6;
}

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

/* new: card wrapper used inside blog-grid, replaces empty iframes */
.blog-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 46px -18px rgba(205,164,94,0.3);
}

.blog-card video,
.blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-body h3 {
    font-family: var(--serif);
    color: var(--gold-bright);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.blog-card-body a {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-dim);
    padding-bottom: 2px;
}

.blog-card.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 30px;
}

.blog-card.coming-soon p {
    color: var(--muted);
    font-size: 15px;
    text-align: center;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact {
  background-image:
        linear-gradient(160deg, rgba(6,8,18,0.92), rgba(10,15,35,0.9)),
        url(about-bg.png);
  background-size: cover;
  background-position: center;
  text-align: center;
  height: auto;
  padding: 120px 24px;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--ice);
    padding: 56px;
    border-radius: var(--radius-lg);
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 40px 70px -30px rgba(0,0,0,0.7);
}

.box h2 {
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.box p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/* new: professional note about not having a physical office */
.availability-note {
    margin-top: 26px;
    padding: 18px 22px;
    background: rgba(58,99,216,0.1);
    border: 1px solid rgba(58,99,216,0.3);
    border-radius: var(--radius-md);
    text-align: left;
}

.availability-note p {
    color: var(--ice);
    font-size: 14.5px;
    line-height: 1.65;
}

.availability-note strong {
    color: var(--gold-bright);
}

.box a.btn-primary {
    display: inline-block;
    margin-top: 26px;
    padding: 15px 30px;
    border-radius: 40px;
    background: linear-gradient(100deg, var(--gold), var(--gold-bright));
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    box-shadow: 0 12px 28px -10px rgba(205,164,94,0.5);
}

.box a.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.box > div > p {
    margin-top: 24px;
    color: var(--muted);
    font-size: 15px;
}

.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

/* new: wraps the social icon buttons (kept separate from .socials, which wraps the email link) */
.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-icons p {
    width: 100%;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 4px;
}

.socials1,
.socials2,
.socials3,
.socials4 {
  border-radius: 60px;
  border: 1px solid var(--glass-border);
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  background-color: white;
  background-repeat: no-repeat;
  background-position: center;
}

.socials1 { background-image: url("Facebook-icon.jpg"); background-size: cover; }
.socials2 { background-image: url("Instagram-icon.png"); background-size: cover; }
.socials3 { background-image: url("WhatsApp-icon.png"); background-color: #25D366; background-size: cover; }
.socials4 { background-image: url("X-icon.png"); background-size: 60%; }

.socials1:hover,
.socials2:hover,
.socials3:hover,
.socials4:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px -10px rgba(205,164,94,0.5);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .pro-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .header nav,
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        background: rgba(6, 8, 18, 0.86);
        backdrop-filter: blur(26px) saturate(160%);
        -webkit-backdrop-filter: blur(26px) saturate(160%);
        border-left: 1px solid var(--glass-border);
        padding: 40px;
        transform: translateX(100%);
        transition: transform .55s var(--ease);
        z-index: 15;
    }

    .header nav.nav-open,
    .main-nav.nav-open {
        transform: translateX(0);
    }

    .nav-a {
        font-size: 22px;
        margin-left: 0;
        padding: 14px 0;
        width: 100%;
    }

    .grids {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        text-align: center;
        order: 1;
    }
    .img-back {
        order: -1;
        width: 78%;
        margin: auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .live-projects-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .live-projects p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
    }
    .header img {
        width: 60px;
    }
    h1 {
        font-size: 42px;
    }
    .hero-text h2 {
        font-size: 17px;
        max-width: 100%;
    }
    .about {
        padding: 70px 18px;
    }
    .grid-text,
    .list {
        padding: 30px;
    }
    .list {
        text-align: center;
        margin: auto;
    }
    .ul li {
        text-align: left;
    }
    .projects,
    .skills {
        padding: 70px 18px;
    }
    .projects h2,
    .skills h2 {
        font-size: 32px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .box {
        padding: 36px 26px;
    }
    .f-badge {
        display: none;
    }
}
