/* ==========================================
   PORTFOLIO SHOWCASE - ENHANCED STYLES
   Professional CSS with CSS Variables, 
   Animations, and Modern Design
   ========================================== */

/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --primary-color: #ff305b;
  --primary-hover: #e62e4f;
  --secondary-color: #ffd700;
  --bg-dark: #000000;
  --bg-section: #111111;
  --bg-card: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #cccccc;
  --border-color: #333333;
  
  /* Typography */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Spacing */
  --section-padding: 80px 20px;
  --section-padding-mobile: 50px 15px;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 48, 91, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary-color); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }

/* ==========================================
   NAVIGATION
   ========================================== */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all var(--transition-normal);
}

.nav-container.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

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

.logo-nav {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 0.8s ease;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

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

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

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.9) 100%),
              url('slider-01.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero-greeting {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease;
}

.hero-name {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: fadeInUp 0.8s ease 0.2s both;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-role {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Typewriter Effect */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: 
    typing 3s steps(25, end),
    blink-caret 0.75s step-end infinite;
  max-width: 100%;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 48, 91, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2s ease-in-out infinite;
  cursor: pointer;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--primary-color);
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.title-line {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 15px;
}

.title-line::before,
.title-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
}

.title-line::before { left: -15px; }
.title-line::after { right: -15px; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background: var(--bg-dark);
}

.about-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

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

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--primary-color);
  border-radius: 10px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

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

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
}

.about-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

.info-item span {
  color: var(--text-muted);
}

.about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  background: var(--bg-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 48, 91, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  transform: rotateY(360deg);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

.service-card:hover .service-icon i {
  color: var(--text-light);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

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

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio-section {
  background: var(--bg-dark);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 20px;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--primary-color);
}

.filter-btn.active::after {
  width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 48, 91, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: transform var(--transition-normal) 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c41e3a 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
  background-size: 100px;
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--text-light);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  animation: countUp 0.5s ease forwards;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background: var(--bg-section);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.testimonial-rating {
  color: var(--secondary-color);
  margin-top: 10px;
  font-size: 1rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
  background: var(--bg-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-content {
  padding: 25px;
}

.blog-category {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--primary-color);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
}

.blog-link:hover {
  gap: 15px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  background: var(--bg-section);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.form-group {
  position: relative;
}

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

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 48, 91, 0.1);
}

.form-control::placeholder {
  color: #666;
}

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

.form-status {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.form-status.success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid #28a745;
  color: #28a745;
  display: block;
}

.form-status.error {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid #dc3545;
  color: #dc3545;
  display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-dark);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright span {
  color: var(--primary-color);
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-brand h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media screen and (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-info {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-buttons {
    justify-content: center;
  }

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

@media screen and (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 80px 40px;
    transition: right var(--transition-normal);
    gap: 20px;
  }

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

  .nav-link {
    font-size: 1.1rem;
  }

  .hero-greeting {
    font-size: 1.2rem;
  }

  .typewriter {
    white-space: normal;
    border: none;
    animation: none;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section {
    padding: var(--section-padding-mobile);
  }

  .section-title {
    margin-bottom: 40px;
  }

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

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

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

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

  .testimonial-item {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .testimonial-avatar {
    margin: 0 auto;
  }

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

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

@media screen and (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filter {
    gap: 10px;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 6px 15px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
}

/* Particle Canvas */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Skill Progress Bars */
.skill-bar {
  margin-bottom: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.skill-progress {
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ff6b7a);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}
