/* =============================================
   KASHIF PORTFOLIO - MAIN STYLESHEET
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #e94560;
  --primary-dark: #c73652;
  --bg-dark: #0a0a1a;
  --bg-card: #0f0f2d;
  --bg-card2: #13132e;
  --bg-nav: rgba(10, 10, 26, 0.95);
  --text-white: #ffffff;
  --text-light: #c0c0d0;
  --text-muted: #888899;
  --border: rgba(233, 69, 96, 0.2);
  --shadow: 0 10px 40px rgba(233, 69, 96, 0.1);
  --transition: all 0.3s ease;
  --radius: 12px;
  --font: 'Poppins', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  width: 60px; height: 60px;
  position: relative;
}
.loader-circle {
  width: 60px; height: 60px;
  border: 4px solid rgba(233,69,96,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-line-mask {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.navbar.scrolled {
  background: var(--bg-nav);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.7rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px; height: 2px;
  background: var(--text-white);
  border-radius: 5px;
  transition: var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,69,96,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
}
.section-title span { color: var(--primary); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(233,69,96,0.07) 0%, transparent 60%),
              var(--bg-dark);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 100px;
  width: 100%;
}

.hero-text { flex: 1; }

.hero-greeting {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-title .highlight { color: var(--primary); }

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.typed-text { color: var(--primary); font-weight: 600; }

.cursor {
  display: inline-block;
  color: var(--primary);
  animation: blink 0.7s infinite;
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-social-label, .hero-skills-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-skills-label { margin-top: 1.5rem; }

.hero-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hero-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}
.hero-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-skill-icons {
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 0.75rem;
}
.hero-skill-icons img {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: var(--transition);
}
.hero-skill-icons img:hover {
  filter: grayscale(0%);
  transform: translateY(-4px) scale(1.1);
}

/* Hero Image */
.hero-image { flex: 0 0 420px; display: flex; justify-content: center; }

.hero-img-wrapper {
  position: relative;
  width: 380px; height: 440px;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(233,69,96,0.3), rgba(233,69,96,0.05));
  animation: morph 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes morph {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  25% { border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%; }
  50% { border-radius: 50% 50% 30% 70% / 40% 70% 60% 30%; }
  75% { border-radius: 70% 30% 60% 40% / 30% 50% 50% 70%; }
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: morph 6s ease-in-out infinite;
  border: 3px solid rgba(233,69,96,0.3);
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.15;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-down a {
  width: 42px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.scroll-down a:hover { border-color: var(--primary); background: rgba(233,69,96,0.1); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.9;
}
.about-text strong { color: var(--primary); }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.about-card:hover::before { transform: scaleY(1); }
.about-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.about-card-icon {
  width: 45px; height: 45px;
  border-radius: 10px;
  background: rgba(233,69,96,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}
.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio { background: var(--bg-dark); }

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-item { border-radius: var(--radius); overflow: hidden; }
.portfolio-item.hidden { display: none; }

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(233,69,96,0.15);
}

.portfolio-card-img {
  position: relative;
  overflow: hidden;
}
.portfolio-card-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }

.portfolio-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0a0a1a;
}
.portfolio-iframe-wrap iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.portfolio-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-card-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.portfolio-card-body h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.portfolio-card-body h4 a:hover { color: var(--primary); }
.portfolio-card-body p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  flex: 1;
}
.portfolio-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* =============================================
   RESUME SECTION
   ============================================= */
.resume {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.resume-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.resume-tab {
  padding: 0.7rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.resume-tab.active, .resume-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.resume-content { display: none; }
.resume-content.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px auto 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.timeline-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.timeline-dot::after {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  padding-top: 0.6rem;
}

.timeline-body {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.timeline-body:hover { border-color: var(--primary); box-shadow: var(--shadow); }

.timeline-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-white);
}
.timeline-body h5 {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.timeline-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Skills */
.skills-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 10px;
  width: 0;
  transition: width 1.2s ease;
}

/* =============================================
   BLOGS SECTION
   ============================================= */
.blogs { background: var(--bg-dark); }

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(233,69,96,0.4);
}

.blog-img { position: relative; overflow: hidden; }
.blog-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.blog-body { padding: 1.5rem; }

.blog-read {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.blog-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.blog-body h4 a { transition: var(--transition); }
.blog-body h4 a:hover { color: var(--primary); }

.blog-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.blog-link:hover { gap: 0.8rem; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-light);
}
.contact-detail i {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(233,69,96,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-detail a:hover { color: var(--primary); }

.contact-social-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}
.contact-social {
  display: flex;
  gap: 0.75rem;
}
.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.contact-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.2rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: rgba(233,69,96,0.05);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

.contact-form textarea { resize: vertical; min-height: 140px; }

.form-success {
  display: none;
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer .container > p:first-child {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--primary); }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(233,69,96,0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* =============================================
   NAV CTA BUTTON
   ============================================= */
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* =============================================
   HERO STATS
   ============================================= */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
  display: block;
}

/* =============================================
   ABOUT GUARANTEES
   ============================================= */
.about-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.guarantee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}
.guarantee i { color: #4ade80; font-size: 0.85rem; }

/* =============================================
   SECTION SUBTITLE
   ============================================= */
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services { background: var(--bg-card); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233,69,96,0.5);
  box-shadow: 0 20px 50px rgba(233,69,96,0.1);
}
.service-card--featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(233,69,96,0.08), var(--bg-dark));
}
.service-card--featured:hover {
  box-shadow: 0 20px 50px rgba(233,69,96,0.2);
}

.service-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.service-icon {
  width: 55px; height: 55px;
  border-radius: 14px;
  background: rgba(233,69,96,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}
.service-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  font-size: 0.825rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li i { color: var(--primary); font-size: 0.75rem; }

.service-cta { align-self: flex-start; margin-top: auto; }

/* Services CTA Banner */
.services-cta-banner {
  background: linear-gradient(135deg, rgba(233,69,96,0.15), rgba(233,69,96,0.05));
  border: 1px solid rgba(233,69,96,0.3);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.services-cta-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.services-cta-text p { font-size: 0.9rem; color: var(--text-light); }

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials { background: var(--bg-dark); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  color: rgba(233,69,96,0.12);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233,69,96,0.4);
  box-shadow: var(--shadow);
}
.testimonial-card--featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(233,69,96,0.07), var(--bg-card2));
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.1rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   FINAL CTA STRIP
   ============================================= */
.final-cta {
  background: linear-gradient(135deg, #1a0a10, #0a0a1a);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}
.final-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* =============================================
   FOOTER UPGRADES
   ============================================= */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }

/* Contact select styling */
.contact-form select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888899' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.contact-form select:focus { border-color: var(--primary); background-color: rgba(233,69,96,0.05); }
.contact-form select option { background: var(--bg-card); color: var(--text-white); }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-note i { color: #4ade80; }

/* =============================================
   RESPONSIVE - MARKETING SECTIONS
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-cta-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .hero-stats { gap: 1rem; padding: 1rem; }
  .stat-num { font-size: 1.4rem; }
  .about-guarantees { grid-template-columns: 1fr; }
  .final-cta h3 { font-size: 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

/* =============================================
   ANIMATIONS - SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image { flex: 0 0 340px; }
  .hero-img-wrapper { width: 320px; height: 380px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg-nav);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 120px;
    gap: 2rem;
  }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .hero-image { flex: none; }
  .hero-img-wrapper { width: 260px; height: 300px; }
  .hero-buttons, .hero-social, .hero-skill-icons { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }

  .section-title { font-size: 2rem; }

  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 42px 1fr; }
  .timeline-date { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section { padding: 70px 0; }
  .contact-form { padding: 1.5rem; }
}
