/* =============================================================
   AbhiM — Main Stylesheet  (Simon Sinek–inspired redesign)
   File: assets/css/style.css

   TABLE OF CONTENTS
   1.  CSS Variables
   2.  Reset & Base
   3.  Typography
   4.  Buttons & Utilities
   5.  Announcement Bar
   6.  Navigation
   7.  Hero
   8.  Purpose Strip
   9.  Three Ways
   10. Blog / Articles
   11. Newsletter
   12. Quote Section
   13. Portfolio / Research
   14. AI Tools
   15. Profile / About
   16. Contact
   17. Footer
   18. Scroll-Reveal Animation
   19. Responsive
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. CSS VARIABLES — Simon Sinek palette applied to AbhiM
   ───────────────────────────────────────────────────────────── */
:root {
  /* ── Simon Sinek exact colors ──
     #2a1e2a  deep plum-black  (his theme-color / dark backgrounds)
     #e8681a  warm orange      (his CTA / accent / spark color)
     #fdf6ee  warm cream       (his page background)
     #f5ece0  slightly deeper cream (his card / section bg)
     #e8e0d8  warm border      (his card borders)
  */

  /* Brand accent — Simon's orange */
  --red:          #e8681a;
  --red-dark:     #c4510d;
  --red-light:    #fdf0e6;
  --red-border:   #f0c8a0;

  /* Neutrals — Simon's warm cream palette */
  --white:        #ffffff;
  --offwhite:     #fdf6ee;   /* Simon's exact warm cream background */
  --gray-200:     #e8e0d8;   /* Simon's warm card border */
  --gray-300:     #d4c8bc;
  --black:        #2a1e2a;   /* Simon's exact deep plum-black */

  /* Text */
  --text:         #1a1212;   /* near-black with warm tint */
  --muted:        #6b5f58;   /* warm brown-gray like Simon's body text */
  --light-muted:  rgba(255,255,255,0.72);

  /* Spacing */
  --pad-h:        6%;        /* horizontal page padding */
  --section-v:    5.5rem;    /* vertical section padding */

  /* Type */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.09);
  --shadow-red:  0 8px 28px rgba(230,57,70,0.18);

  /* Transitions */
  --ease: 0.22s ease;
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--offwhite);  /* Simon Sinek's warm cream page bg */
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { max-width:100%; display:block; }
a    { color:inherit; }
ul   { list-style:none; }


/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
}
h1 em { font-style: italic; color: var(--red); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 0.5rem;
}
h2.light  { color: var(--white); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
p  { font-size: 0.95rem; line-height: 1.8; color: var(--muted); }

.accent   { color: var(--red); }
.light    { color: var(--white) !important; }
.light-muted { color: var(--light-muted) !important; font-size: 0.95rem; line-height: 1.8; }


/* ─────────────────────────────────────────────────────────────
   4. BUTTONS & SHARED UTILITIES
   ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.7rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-primary.sm   { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  background: var(--black);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.75rem 1.7rem;
  border-radius: var(--r-sm);
  transition: background var(--ease), color var(--ease);
}
.btn-ghost:hover { background: #3a2e3a; color: var(--white); }

/* Section layout */
.section { padding: var(--section-v) var(--pad-h); }
.bg-offwhite { background: var(--offwhite); }
.bg-red      { background: var(--red); }

.section-header { margin-bottom: 2.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.section-tag.light { color: rgba(255,255,255,0.7); }

.section-sub {
  max-width: 500px;
  line-height: 1.75;
  margin-top: 0.4rem;
}

.section-cta { margin-top: 2.5rem; text-align: center; }


/* ─────────────────────────────────────────────────────────────
   5. ANNOUNCEMENT BAR
   ───────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem var(--pad-h);
  position: relative;
}
.topbar a { color: var(--white); font-weight: 700; text-decoration: underline; }
.topbar-close {
  position: absolute;
  right: var(--pad-h);
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0.8;
}
.topbar-close:hover { opacity: 1; }
.topbar.hidden { display: none; }


/* ─────────────────────────────────────────────────────────────
   6. NAVIGATION
   ───────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-h);
  height: 68px;
  background: var(--white);
  border-bottom: 2px solid var(--red);  /* orange accent like Simon Sinek */
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow var(--ease);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--red);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--text); }
.footer-logo { font-size: 1.8rem; }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--ease);
}
.nav-cta:hover { background: var(--red-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}


/* ─────────────────────────────────────────────────────────────
   7. HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem var(--pad-h) 4rem;
  background: var(--offwhite);  /* warm cream like Simon Sinek */
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  position: relative;
}

.hero-content {
  text-align: left;
}

.hero-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo img {
  width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 4px solid var(--red);
  box-shadow: var(--shadow-md);
}

/* Large decorative background text */
.hero::before {
  content: 'AI';
  position: absolute;
  font-family: var(--font-display);
  font-size: 28vw;
  font-weight: 900;
  color: var(--red);
  opacity: 0.03;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
  position: relative;
}

.hero h1 { max-width: 780px; position: relative; }

.hero-sub {
  max-width: 540px;
  font-size: 1.1rem;
  line-height: 1.75;
  margin: 1.4rem 0 2.2rem;
  position: relative;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* ─────────────────────────────────────────────────────────────
   8. PURPOSE STRIP
   ───────────────────────────────────────────────────────────── */
.purpose-strip {
  background: var(--black);
  padding: 3rem var(--pad-h);
}
.purpose-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.purpose-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: 2rem;
}
.purpose-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────────
   9. THREE WAYS
   ───────────────────────────────────────────────────────────── */
.three-ways {
  background-color: #4A554C;
}
.three-ways .section-tag,
.three-ways h2,
.three-ways .section-sub {
  color: var(--white);
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.way-card {
  display: block;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.way-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}
.way-card--featured {
  background: var(--red);
  border-color: var(--red);
}
.way-card--featured h3,
.way-card--featured p,
.way-card--featured .way-link { color: var(--white); }
.way-card--featured p { color: rgba(255,255,255,0.8); }
.way-card--featured .way-icon { background: rgba(255,255,255,0.15); }
.way-card--featured:hover { box-shadow: var(--shadow-red); border-color: var(--red-dark); }

.way-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.way-card h3 { margin-bottom: 0.5rem; color: var(--text); }
.way-card p  { font-size: 0.88rem; line-height: 1.65; }

.way-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  transition: gap var(--ease);
}


/* ─────────────────────────────────────────────────────────────
   10. BLOG / ARTICLES
   ───────────────────────────────────────────────────────────── */
.blogs-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Featured post */
.blog-featured {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.blog-featured:hover { box-shadow: var(--shadow-md); }

.blog-featured-thumb {
  background: linear-gradient(135deg, #fdf0e6, #f5c8a0);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-featured-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-full);
}
.thumb-graphic {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red);
  opacity: 0.55;
}

.blog-featured-body {
  padding: 1.5rem;
}
.blog-featured-body h3 {
  font-size: 1.15rem;
  margin: 0.4rem 0 0.6rem;
  color: var(--text);
}

/* Side post cards */
.blog-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 1.2rem 1.3rem;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.blog-card h3 { font-size: 0.95rem; margin: 0.25rem 0 0.35rem; color: var(--text); }
.blog-card p  { font-size: 0.83rem; }

.blog-meta { font-size: 0.74rem; color: var(--muted); }
.blog-cat  { color: var(--red); font-weight: 600; }

.blog-read {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.blog-read:hover { text-decoration: underline; }


/* ─────────────────────────────────────────────────────────────
   11. NEWSLETTER
   ───────────────────────────────────────────────────────────── */
.newsletter { background: var(--black); padding: var(--section-v) var(--pad-h); }

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.newsletter-text h2 { color: var(--white); margin-bottom: 0.7rem; }
.newsletter-text p  { color: rgba(255,255,255,0.7); }

.newsletter-perks {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.newsletter-perks li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-form input {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--red); }

.newsletter-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  padding: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--ease);
}
.newsletter-form button:hover { background: var(--red-dark); }

.newsletter-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   12. QUOTE SECTION
   ───────────────────────────────────────────────────────────── */
.quote-section {
  background: var(--black);
  padding: 4rem var(--pad-h);
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.quote-section blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.quote-section cite {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────
   13. PORTFOLIO / RESEARCH
   ───────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.project-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
}
.thumb-red    { background: linear-gradient(135deg,#fdf0e6,#f5c8a0); color: var(--red); }
.thumb-orange { background: linear-gradient(135deg,#fef9f0,#fde8c0); color: #8a5a00; }
.thumb-green  { background: linear-gradient(135deg,#f0f5f0,#c8dcc8); color: #2a4a2a; }
.thumb-blue   { background: linear-gradient(135deg,#f0f0f8,#c8c8e8); color: #2a2a5a; }

.project-info { padding: 1.1rem 1.2rem 1.3rem; }
.project-info h3 { margin: 0.4rem 0 0.4rem; color: var(--text); }
.project-info p  { font-size: 0.84rem; line-height: 1.6; }

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--red-light);
  color: var(--red-dark);
  padding: 0.18rem 0.6rem;
  border-radius: var(--r-full);
}

.project-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.project-link:hover { text-decoration: underline; }


/* ─────────────────────────────────────────────────────────────
   14. AI TOOLS
   ───────────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.tool-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
/* Left red stripe */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}
.tool-card:hover {
  border-color: var(--red-border);
  box-shadow: 0 8px 24px rgba(230,57,70,0.1);
  transform: translateX(4px);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.tool-icon { font-size: 1.7rem; }
.tool-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--red-light);
  color: var(--red-dark);
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-full);
}

.tool-card h3 { color: var(--text); margin-bottom: 0.3rem; }
.tool-card p  { font-size: 0.84rem; line-height: 1.6; }

.tool-btn {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 1px;
  transition: opacity var(--ease);
}
.tool-btn:hover { opacity: 0.75; }


/* ─────────────────────────────────────────────────────────────
   15. PROFILE / ABOUT
   ───────────────────────────────────────────────────────────── */
.profile-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  /* To use a real photo instead:
     background-image: url('../img/avatar.jpg');
     background-size: cover;
     font-size: 0; */
}

.stats-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mini-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 0.4rem 0.7rem;
}
.mini-stat strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
}
.mini-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-right h2 { margin: 0.3rem 0 0.2rem; }
.profile-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.profile-bio { margin-bottom: 0.8rem; font-size: 0.95rem; }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0;
}
.skill-pill {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-full);
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.skill-pill.highlight {
  background: var(--red-light);
  border-color: var(--red-border);
  color: var(--red-dark);
}

.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.social-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}
.social-btn:hover { background: var(--red); color: var(--white); }


/* ─────────────────────────────────────────────────────────────
   16. CONTACT
   ───────────────────────────────────────────────────────────── */
.contact-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-centered {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item p      { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 0.1rem; }
.contact-item strong { font-size: 0.95rem; color: var(--white); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form select option          { background: var(--red-dark); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus           { border-color: var(--white); }
.contact-form textarea               { resize: vertical; min-height: 110px; }

.contact-form button {
  background: var(--white);
  color: var(--red);
  border: none;
  border-radius: var(--r-sm);
  padding: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--ease), transform var(--ease);
}
.contact-form button:hover { opacity: 0.92; transform: translateY(-1px); }


/* ─────────────────────────────────────────────────────────────
   17. FOOTER
   ───────────────────────────────────────────────────────────── */
.footer { background: var(--black); }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding: 4rem var(--pad-h) 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-top: 0.7rem;
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 3rem;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad-h);
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom .accent { color: var(--red); font-weight: 700; }


/* ─────────────────────────────────────────────────────────────
   18. SCROLL-REVEAL ANIMATION
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .three-grid { grid-template-columns: 1fr 1fr; }
  .three-grid .way-card:last-child { grid-column: span 1; }

  .blogs-layout { grid-template-columns: 1fr; }
  .blog-side    { flex-direction: row; flex-wrap: wrap; }
  .blog-side .blog-card { flex: 1 1 240px; }
}

@media (max-width: 768px) {
  :root { --section-v: 3.5rem; --pad-h: 5%; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-content { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-photo img { width: 240px; height: 290px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle  { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--red);
    padding: 1.2rem var(--pad-h);
    gap: 1.1rem;
    box-shadow: var(--shadow-md);
  }

  /* Three ways */
  .three-grid { grid-template-columns: 1fr; }
  .three-grid .way-card:last-child { grid-column: span 1; }

  /* Blogs */
  .blog-side { flex-direction: column; }

  /* Newsletter */
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Portfolio */
  .projects-grid { grid-template-columns: 1fr 1fr; }

  /* Profile */
  .profile-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .profile-left  { display: flex; flex-direction: column; align-items: center; }
  .stats-stack   { flex-direction: row; justify-content: center; }
  .social-links, .skills-list { justify-content: center; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-cols { flex-wrap: wrap; gap: 2rem; }
  .purpose-inner { flex-direction: column; gap: 1rem; }
  .purpose-label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-right: 0; padding-bottom: 0.8rem; }
}

@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
