/* ============================================================
   Artist Portfolio Template - Main Stylesheet
   Author: Premium Template
   Version: 1.0
   Description: Styles for a creative artist portfolio website
   ============================================================ */

/* ============================================================
   1. CSS Variables & Root
   ============================================================ */
:root {
  --primary: #7c3aed;
  /* Purple accent */
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --secondary: #f97316;
  /* Orange accent */
  --dark: #0f0f0f;
  --dark-alt: #1a1a1a;
  --light: #f8f8f8;
  --grey: #e5e5e5;
  --text: #333333;
  --text-muted: #777777;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ============================================================
   2. Base Styles
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

section {
  padding: 100px 0;
}

/* ============================================================
   3. Typography
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================================
   4. Utility Classes
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
  color: var(--white);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================================
   5. Navbar
   ============================================================ */
#mainNav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  z-index: 9999;
}

#mainNav.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text) !important;
  padding: 6px 16px !important;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  padding: 8px 22px !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: var(--white) !important;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

/* Custom hamburger */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%237c3aed' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   6. Hero Section
   ============================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  overflow: hidden;
  padding: 100px 0 60px;
  /* Added padding to prevent navbar overlap */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 0.1s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 15, 15, 0.85) 0%,
      rgba(124, 58, 237, 0.3) 50%,
      rgba(15, 15, 15, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: 40px;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scroll-line 1.8s infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   7. Gallery Section
   ============================================================ */
#gallery {
  background: var(--light);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 0.87rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124, 58, 237, 0.9), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.gallery-overlay .expand-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  backdrop-filter: blur(8px);
}

@media (max-width: 991px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    columns: 1;
  }
}

/* ============================================================
   8. About Section
   ============================================================ */
#about {
  background: var(--white);
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-image-badge .years {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.about-image-badge .years-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-image-deco {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  opacity: 0.3;
  z-index: -1;
}

.about-skills {
  margin-top: 32px;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-bar {
  height: 6px;
  background: var(--grey);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   9. Services Section
   ============================================================ */
#services {
  background: var(--dark);
  color: var(--white);
}

#services .section-title {
  color: var(--white);
}

#services .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 24px;
}

.service-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-price {
  color: var(--primary-light);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   10. Testimonials Section
   ============================================================ */
#testimonials {
  background: var(--light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ============================================================
   11. Contact Section
   ============================================================ */
#contact {
  background: var(--white);
}

.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
}

.contact-info-text strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-info-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form-wrap {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px;
}

.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   12. Lightbox (Custom)
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99998;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: lbIn 0.3s ease;
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 99999;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--primary-light);
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
  font-size: 0.9rem;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ============================================================
   13. Footer
   ============================================================ */
footer {
  background: var(--dark-alt);
  color: rgba(255, 255, 255, 0.5);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand span {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  color: var(--primary-light);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--primary-light);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  margin-top: 80px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social-enhanced {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-btn:hover {
  transform: translateY(-5px);
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.social-btn.insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
}

.social-btn.artstation:hover {
  background: #13aff0;
  border-color: transparent;
}

.social-btn.behance:hover {
  background: #0057ff;
  border-color: transparent;
}

.social-btn.twitter:hover {
  background: #1da1f2;
  border-color: transparent;
}

/* ============================================================
   14. Animations & AOS-style Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="left"].revealed,
[data-reveal="right"].revealed {
  transform: translateX(0);
}

/* ============================================================
   15. Page Hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 180px 0 100px;
  /* Increased top padding for better breathing room */
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.breadcrumb {
  justify-content: center;
  margin-bottom: 20px;
}

.breadcrumb-item a {
  color: var(--primary-light);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   16. Back to Top
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  z-index: 9998;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.6);
}

/* ============================================================
   17. Preloader
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   18. Responsive Tweaks
   ============================================================ */
@media (max-width: 1199px) {
  section {
    padding: 80px 0;
  }
}

@media (max-width: 991px) {
  .about-image-badge {
    right: 0;
    bottom: -20px;
  }

  .hero-stats {
    gap: 24px;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 12px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 767px) {
  section {
    padding: 64px 0;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .contact-info-card {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .about-image-main {
    height: 320px;
  }

  .about-image-badge {
    display: none;
  }
}