/*
Theme Name: Faseeha Portfolio
Theme URI: https://faseeha.site
Author: Faseeha Syed
Author URI: https://faseeha.site
Description: A modern, animated, glassmorphism portfolio theme for Performance Marketing Specialist Faseeha Syed. Features 3D scroll animations, gradient mesh backgrounds, glass-effect cards, and a light color palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faseeha-portfolio
Tags: portfolio, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent-primary: #7C3AED;
  --accent-secondary: #F472B6;
  --accent-gradient: linear-gradient(135deg, #7C3AED, #F472B6);
  --text-primary: #1E293B;
  --text-subtle: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-bg-strong: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  --glass-shadow-hover: 0 16px 48px rgba(31, 38, 135, 0.15);
  --blur-amount: 20px;
  --lavender: #E8D5F5;
  --peach: #FDE8D0;
  --mint: #D5F5E3;
  --baby-pink: #FCD5CE;
  --sky-blue: #D0E8FD;
  --section-padding: 100px 0;
  --container-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--lavender);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ============================================
   ANIMATED GRADIENT MESH BACKGROUND
   ============================================ */
.gradient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--lavender) 0%,
    var(--peach) 25%,
    var(--mint) 50%,
    var(--baby-pink) 75%,
    var(--sky-blue) 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.gradient-mesh::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(244, 114, 182, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}

.gradient-mesh::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(232, 213, 245, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(253, 232, 208, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 50% 30%, rgba(213, 245, 227, 0.5) 0%, transparent 40%);
  animation: meshRotate 25s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

@keyframes meshPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

@keyframes meshRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   FLOATING ORBS
   ============================================ */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation: floatOrb2 18s ease-in-out infinite;
}

.orb-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 30%;
  animation: floatOrb3 22s ease-in-out infinite;
}

.orb-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 20%;
  animation: floatOrb4 16s ease-in-out infinite;
}

.orb-5 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 60%;
  animation: floatOrb5 24s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -60px) scale(1.1); }
  50% { transform: translate(-40px, 80px) scale(0.95); }
  75% { transform: translate(60px, 40px) scale(1.05); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-70px, 50px) scale(1.05); }
  50% { transform: translate(50px, -70px) scale(1.1); }
  75% { transform: translate(-30px, -40px) scale(0.95); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(90px, 60px) scale(1.1); }
  66% { transform: translate(-60px, -80px) scale(0.9); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, -70px) scale(1.15); }
  50% { transform: translate(70px, -30px) scale(0.9); }
  75% { transform: translate(-40px, 50px) scale(1.05); }
}

@keyframes floatOrb5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, 40px) scale(1.1); }
  66% { transform: translate(60px, -50px) scale(0.95); }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   GLASS CARD STYLES
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.glass-card-strong {
  background: var(--glass-bg-strong);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.navbar .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.navbar .logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.navbar .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-subtle);
  position: relative;
  padding: 5px 0;
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: var(--accent-primary);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.4s; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 30px 80px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-name {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-name .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-subtle);
  margin-bottom: 40px;
  min-height: 2em;
}

.hero-subtitle .typewriter-text {
  color: var(--accent-primary);
  font-weight: 600;
  border-right: 3px solid var(--accent-primary);
  padding-right: 5px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease infinite;
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  color: var(--text-subtle);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   STATS RIBBON
   ============================================ */
.stats-ribbon {
  padding: 50px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

.stat-card {
  text-align: center;
  padding: 35px 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-subtle);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--lavender), var(--baby-pink));
}

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

.about-floating-badge {
  position: absolute;
  padding: 15px 25px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.about-floating-badge.badge-1 {
  top: 20px;
  right: -20px;
}

.about-floating-badge.badge-2 {
  bottom: 30px;
  left: -20px;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-subtle);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.skill-category {
  padding: 30px;
}

.skill-category h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-primary);
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: var(--transition-smooth);
}

.skill-tag:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  position: relative;
  cursor: default;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-subtle);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card ul {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card ul li {
  color: var(--text-subtle);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 600;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
  z-index: 1;
}

.timeline-card {
  padding: 30px;
}

.timeline-card .date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.timeline-card .company {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-subtle);
  font-size: 0.9rem;
  line-height: 1.6;
}

.timeline-card .achievement {
  margin-top: 10px;
  padding: 10px 15px;
  background: rgba(124, 58, 237, 0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-block;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
}

.project-image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-image .gradient-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.project-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image .overlay {
  opacity: 1;
}

.project-image .overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border: 2px solid #fff;
  border-radius: 50px;
}

.project-content {
  padding: 25px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-tags span {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-primary);
}

.project-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-content p {
  color: var(--text-subtle);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.project-metric {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 180px;
  position: relative;
}

.blog-card-image .gradient-placeholder {
  width: 100%;
  height: 100%;
}

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

.blog-card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.blog-card-meta .category {
  color: var(--accent-primary);
  font-weight: 600;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body h3 a:hover {
  color: var(--accent-primary);
}

.blog-card-body p {
  color: var(--text-subtle);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Blog Single */
.blog-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 30px 80px;
}

.blog-single h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.blog-single .meta {
  color: var(--text-subtle);
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
}

.blog-single .content {
  line-height: 1.9;
  color: var(--text-primary);
}

.blog-single .content p {
  margin-bottom: 20px;
}

.blog-single .content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 15px;
}

.blog-single .content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 30px 0 10px;
}

.blog-single .content ul,
.blog-single .content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.blog-single .content li {
  margin-bottom: 8px;
  color: var(--text-subtle);
}

.blog-single .content li::before {
  content: '→';
  margin-right: 10px;
  color: var(--accent-primary);
  font-weight: 600;
}

.blog-single .content ul {
  list-style: none;
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.cert-card {
  padding: 30px;
  text-align: center;
}

.cert-card .cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.cert-card .cert-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.cert-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.cert-card .cert-issuer {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 5px;
}

.cert-card .cert-id {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: monospace;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.client-card {
  padding: 25px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.contact-item .icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.contact-item .details h4 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-subtle);
  margin-bottom: 3px;
}

.contact-item .details p {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item .details a {
  color: var(--accent-primary);
}

.contact-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 60px 0 30px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-subtle);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-subtle);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--accent-gradient);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.footer-social a:hover svg {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 25px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  padding: 140px 30px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-subtle);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .navbar .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.5);
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img {
  border-radius: 16px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}
