/* ============================================
   Umair Digital Labs — Premium Agency Styles
   ============================================ */

/* --- CSS Variables (Design System) --- */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-2: #8b5cf6;
  --gradient-main: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #06b6d4 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );

  --bg-dark: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.25);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-main: "Plus Jakarta Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Loading Screen --- */
.loader-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.loader-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  width: 0%;
  animation: loader-fill 1.8s ease forwards;
}

@keyframes loader-fill {
  to {
    width: 100%;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.7);
  }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 99px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: var(--transition);
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-primary-custom {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
  color: #fff;
}

.btn-sm-custom {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

/* --- Navbar --- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-custom.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.navbar-custom .container {
  height: 100%;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary) !important;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.navbar-custom .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 99px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--text-primary) !important;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
}

.navbar-toggler-custom {
  border: 1px solid var(--border-glass);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
}

.navbar-toggler-custom:focus {
  box-shadow: none;
}

.navbar-toggler-custom .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='rgba%28248, 250, 252, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.3);
  top: -10%;
  right: -5%;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.2);
  bottom: 10%;
  left: -10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.25);
  top: 40%;
  left: 30%;
  animation-delay: -2s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-floating {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: float-icon 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-float-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.hero-float-2 {
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}
.hero-float-3 {
  bottom: 25%;
  left: 20%;
  animation-delay: -4s;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.typing-text {
  color: var(--accent);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-item h3 {
  font-size: 2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
}

.hero-image-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-main);
  border-radius: var(--radius-xl);
  opacity: 0.15;
  filter: blur(40px);
  z-index: -1;
}

.hero-card-float {
  position: absolute;
  padding: 14px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  animation: float-card 4s ease-in-out infinite;
  z-index: 3;
}

.hero-card-float i {
  font-size: 1.4rem;
  color: var(--accent);
}

.hero-card-1 {
  bottom: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 15%;
  right: -8%;
  animation-delay: -2s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 2;
  animation: bounce-scroll 2s ease infinite;
}

.scroll-indicator-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 99px;
  animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* --- Section Spacing --- */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-padding-sm {
  padding: 60px 0;
}

/* --- Tech Stack --- */
.tech-stack-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.tech-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.tech-item i {
  font-size: 2rem;
  color: var(--primary-light);
}

.tech-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* --- About Preview --- */
.about-preview-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
}

.about-preview-img img {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
}

.about-preview-img .img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-light);
}

.about-mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
}

.mv-card {
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.mv-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-card h4 i {
  color: var(--accent);
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Service Cards --- */
.service-card {
  padding: 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-main);
  color: #fff;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Project Cards --- */
.project-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-thumb img,
.project-thumb .project-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-placeholder {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
}

.project-card:hover .project-thumb img,
.project-card:hover .project-placeholder {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border-radius: 99px;
  font-weight: 500;
}

.project-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex: 1;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- AI Automation Section --- */
.ai-section {
  background: var(--gradient-soft);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.ai-card {
  padding: 28px;
  text-align: center;
  height: 100%;
}

.ai-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.ai-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.ai-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-box {
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0.1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsapp-pulse 3s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: whatsapp-ring 2s ease infinite;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.6);
  }
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
}

.page-header .breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-header .breadcrumb-custom a:hover {
  color: var(--primary-light);
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

/* --- About Page --- */
.about-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
}

.about-hero-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.skill-bar-item {
  margin-bottom: 1.25rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 99px;
  width: 0;
  transition: width 1.5s ease;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-glass);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--gradient-main);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-item .timeline-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.cert-card {
  padding: 24px;
  text-align: center;
  height: 100%;
}

.cert-card i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Services Page --- */
.pricing-card {
  padding: 40px 32px;
  text-align: center;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-main);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  color: var(--accent);
}

/* --- Projects Page --- */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 99px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
}

.project-grid-item {
  transition: var(--transition);
}

.project-grid-item.hidden {
  display: none;
}

.project-grid-item.show {
  animation: fadeUp 0.5s ease forwards;
}

/* --- Project Modal --- */
.project-modal .modal-content {
  background: #111827;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.project-modal .modal-header {
  border-bottom: 1px solid var(--border-glass);
}

.project-modal .btn-close {
  filter: invert(1);
}

.project-modal .modal-body img {
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

/* --- Contact Page --- */
.contact-info-card {
  padding: 28px;
  height: 100%;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-light);
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-info-card a:hover {
  color: var(--primary-light);
}

.contact-form {
  padding: 40px;
}

.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-group-custom label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control-custom {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

textarea.form-control-custom {
  min-height: 150px;
  resize: vertical;
}

.map-placeholder {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  transform: translateX(-40px);
}

.animate-left.animated {
  transform: translateX(0);
}

.animate-right {
  transform: translateX(40px);
}

.animate-right.animated {
  transform: translateX(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Utility --- */
.text-center-custom {
  text-align: center;
}

.mb-section {
  margin-bottom: 4rem;
}

.placeholder-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Parallax --- */
.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
