/* ===================== CSS VARIABLES ===================== */
:root {
  /* Fonts */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Syne', sans-serif;

  /* Backgrounds */
  --bg-primary: #ffffff;         /* main background */
  --bg-secondary: #f6f7f9;       /* sections, cards */
  --bg-tertiary: #e5e7eb;        /* subtle secondary bg */

  /* Text */
  --text-primary: #111827;       /* main text */
  --text-secondary: #4b5563;     /* secondary text */
  --text-tertiary: #6b7280;      /* tertiary / muted text */

  /* Accent Colors */
  --accent-blue: #2563eb;        /* buttons, highlights */
  --accent-teal: #14b8a6;        /* alternate accent */
  --accent-gradient: linear-gradient(135deg, #2563eb, #14b8a6);
  --accent-glow: rgba(37, 99, 235, 0.2);

  /* Glass / translucent effects */
  --glass-bg: rgba(255, 255, 255, 0.7);     /* lighter glass look */
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-blur: blur(8px);

  /* Shadows */
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 30px 60px rgba(0,0,0,0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  
  /* Spacing */
  --header-height: 80px;
  --section-padding: 100px;
  --container-max: 1400px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ===================== SCROLL TO TOP BUTTON ===================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-medium);
  z-index: 998;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: var(--accent-gradient);
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color:#f9f9f9;
  background: #111;
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
  transition: all var(--transition-medium);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-content {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  z-index: 1001;
}

.logo-link:hover {
  transform: translateY(-2px);
}

.header-logo {
  height: 45px;
  width: auto;
  transition: var(--transition-medium);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.header-logo:hover {
  transform: rotate(10deg) scale(1.1);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

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

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-cta {
  background: var(--accent-gradient);
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

/* ===================== HERO SECTION ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
  color: #f9f9f9;
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealText 0.8s ease forwards;
}

.reveal-text:nth-child(2) { animation-delay: 0.15s; }
.reveal-text:nth-child(3) { animation-delay: 0.3s; }

@keyframes revealText {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.typed-container {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent-teal);
  margin: 2rem 0;
  min-height: 60px;
  font-weight: 600;
  text-shadow: 0 5px 20px rgba(20, 184, 166, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #e5e7eb;
  margin: 2rem 0 3rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Particles Animation */
.particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveParticles 30s linear infinite;
  z-index: 0;
}

@keyframes moveParticles {
  from { background-position: 0 0; }
  to { background-position: 50px 50px; }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  to { 
    opacity: 0; 
    transform: translateY(12px); 
  }
}

@keyframes bounce {
  50% { 
    transform: translate(-50%, -10px); 
  }
}

/* ===================== CTA BUTTONS ===================== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: transform 0.6s ease;
}

.cta:hover::before {
  transform: translate(-50%, -50%) scale(2.5);
}

.cta-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 5px 25px var(--accent-glow);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px var(--accent-glow);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: var(--glass-blur);
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
}

/* ===================== AOS ANIMATION SYSTEM ===================== */
[data-aos] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ===================== CONTAINER & SECTIONS ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

section:nth-of-type(odd) {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

section:nth-of-type(even) {
  background: var(--bg-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== ABOUT SECTION ===================== */
.about-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 4rem 0;
}

.about-box {
  flex: 1 1 350px;
  max-width: 400px;
  padding: 3rem;
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.about-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.box-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.about-box:hover .box-glow {
  opacity: 1;
}

.box-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Skill Tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  padding: 0.6rem 1.3rem;
  background: var(--accent-gradient);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  transition: transform var(--transition-medium);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* About Image */
.about-image {
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-medium);
}

.about-image:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.4);
}

.image-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.25;
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.25; 
  }
  50% { 
    transform: scale(1.12); 
    opacity: 0.35; 
  }
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: var(--transition-slow);
  border: 5px solid var(--bg-primary);
}

.about-image:hover img {
  transform: scale(1.1);
}

/* Metrics Grid */
.metrics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 5rem 0 0;
}

.metric-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===================== PORTFOLIO SECTION ===================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 20px var(--accent-glow);
}

.filter-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 0.75rem;
  align-items: center;
  justify-content: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  transition: all var(--transition-medium);
  opacity: 1;
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.9) 100%
  );
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.5s;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  color: white;
  transform: translateY(20px);
  transition: transform 0.5s;
}

.project-card:hover .project-content {
  transform: translateY(0);
}

.project-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-gradient);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.project-description {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-teal);
  transition: var(--transition-fast);
}

.project-link:hover {
  gap: 0.8rem;
  color: white;
}

.project-link-icon {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

/* ===================== PRICING SECTION ===================== */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.package-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  position: relative;
  text-align: center;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.package-featured {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
  transform: scale(1.02);
}

.package-featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-tertiary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
}

.package-badge.featured {
  background: var(--accent-gradient);
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.package-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.package-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.package-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-tagline {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.package-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.package-features li:last-child {
  border-bottom: none;
}

.package-extras {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin: 1.5rem 0;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--accent-teal);
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
}

.package-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent-gradient);
  color: white;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.package-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.pricing-cta {
  text-align: center;
  margin-top: 4rem;
}

.pricing-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===================== SEO SECTION ===================== */
.seo-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.seo-example {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.seo-example:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.seo-image-wrapper {
  width: 100%;
  height:450px;
  overflow: hidden;
}

.seo-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.seo-example:hover .seo-image-wrapper img {
  transform: scale(1.1);
}

.seo-content {
  padding: 2rem;
}

.seo-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.seo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.seo-metric {
  text-align: center;
}

.seo-metric .metric-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.seo-metric .metric-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.seo-content > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* SEO Packages */
.seo-packages-section {
  margin-top: 6rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.subsection-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.seo-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.seo-package {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  position: relative;
  text-align: center;
}

.seo-package:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.seo-package.featured {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
}

.seo-package h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.seo-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-package ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.seo-package ul li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.seo-package ul li:last-child {
  border-bottom: none;
}

.seo-cta-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent-gradient);
  color: white;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.seo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ===================== CONTACT SECTION ===================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item a:hover {
  color: var(--accent-teal);
}

/* Contact Form */
#contact-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-medium);
  box-shadow: 0 5px 20px var(--accent-glow);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

#form-response {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  display: none;
}

#form-response.success {
  display: block;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
}

#form-response.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-tertiary);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.footer-logo-link:hover {
  transform: translateX(5px);
}

.footer-logo-link img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-column a {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px var(--accent-glow);
}

.footer-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
}

/* ===================== RESPONSIVE - TABLET (1024px and below) ===================== */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
    --section-padding: 80px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-tertiary);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    z-index: 1000;
    border-left: 1px solid var(--glass-border);
  }

  .main-nav.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
  }

  .nav-link:hover {
    background: var(--glass-bg);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    background-attachment: scroll;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .seo-examples {
    grid-template-columns: 1fr;
  }

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

  .about-wrapper {
    gap: 2rem;
  }

  .about-image {
    width: 220px;
    height: 220px;
    flex: 0 0 220px;
  }
}

/* ===================== RESPONSIVE - MOBILE (768px and below) ===================== */
@media (hover: none) and (pointer: coarse) {
  .project-overlay {
    opacity: 1;
  }

  .project-content {
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .hero-buttons {
    align-items: center !important;
    text-align: center !important;
  }
}


@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --section-padding: 60px;
  }
  
  .seo-image-wrapper {
    width: 100%;
    height:250px;
    overflow: hidden;
}
.seo-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.seo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.seo-metric {
  text-align: center;
}

.seo-metric .metric-number {
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.seo-metric .metric-label {
  font-size: 0.5rem;
  color: var(--text-tertiary);
}

.seo-content > p {
  font-size: 0.7rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: var(--section-padding) 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .typed-container {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about-box {
    min-height: 500px;
    max-width: 100%;
    padding: 2rem;
  }
 .about-box p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .about-image {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
  }

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

  .metric-number {
    font-size: 2.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
    .project-overlay {
    padding: 0.5rem;
  }

  .project-content {
    max-width: 95%;
  }

  .project-category {
    font-size: 0.7rem;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-description {
    font-size: 0.8rem;
  }

  .project-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
  }
  .pricing-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .package-featured {
    transform: scale(1);
  }


  .seo-packages-grid {
    grid-template-columns: 1fr;
  }

  #contact-form {
    padding: 2rem 1.5rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
}

/* ===================== RESPONSIVE - SMALL MOBILE (480px and below) ===================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .typed-container {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-image {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
  }

  .metrics-container {
    grid-template-columns: 1fr;
  }

  .metric-number {
    font-size: 2rem;
  }

  .seo-examples {
    grid-template-columns: 1fr;
  }


}

/* ===================== PERFORMANCE OPTIMIZATIONS ===================== */
@media (max-width: 768px) {
  .hero-content,
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== PRINT STYLES ===================== */
@media print {
  .site-header,
  .scroll-to-top,
  .scroll-progress,
  .mobile-menu-toggle,
  .hero-buttons,
  .portfolio-filters,
  .submit-btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  section {
    page-break-inside: avoid;
  }
}
/* Contact section – mobile only */
@media (max-width: 768px) {

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

  .section-title,
  .section-subtitle {
    text-align: center;
  }

  .contact-info,
  .contact-info h3,
  .contact-info p {
    text-align: center;
  }

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

  #contact-form {
    gap: 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  .submit-btn {
    width: 100%;
    max-width: 260px;
    margin: 1rem auto 0;
  }
}

/* Extra small devices (iPhone SE safe) */
@media (max-width: 375px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
  }
}
/* ===== Contact section mobile text alignment ===== */
@media (max-width: 768px) {
  #contact .section-title,
  #contact .section-subtitle {
    text-align: center;
  }

  #contact .contact-info {
    text-align: center;
  }

  #contact .contact-info h3,
  #contact .contact-info p {
    text-align: center;
  }

  #contact .contact-details {
    align-items: center;
  }

  #contact .contact-item {
    text-align: center;
  }

  #contact .contact-item h4,
  #contact .contact-item p,
  #contact .contact-item a {
    text-align: center;
  }
}
@media (max-width: 480px) {
  #contact .section-title {
    font-size: 1.8rem;
  }

  #contact .section-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto;
  }

  #contact .contact-info p {
    max-width: 90%;
    margin: 0 auto;
  }
}
