/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --c-violet: #7c3aed;
  --c-pink: #ec4899;
  --c-cyan: #06b6d4;
  --c-amber: #f59e0b;
  --c-emerald: #10b981;
  --c-blue: #3b82f6;
  --gradient-main: linear-gradient(135deg, var(--c-violet) 0%, var(--c-pink) 55%, var(--c-cyan) 100%);
  --gradient-main-hover: linear-gradient(135deg, var(--c-pink) 0%, var(--c-violet) 55%, var(--c-cyan) 100%);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Stop AOS fade-left/right offsets from creating sideways scroll / white space on small phones */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

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

/* ========== SECTION TITLE ========== */
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.section-title p {
  color: #6c757d;
  font-size: 1.1rem;
}

/* ========== NAVBAR ========== */
#navbar {
  background: #100a1c;
  transition: all 0.3s ease;
  padding: 15px 0;
}

#navbar.scrolled {
  background: rgba(15, 10, 30, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease infinite;
}

.logo-img {
  height: clamp(34px, 6vw, 50px);
  width: auto;
  max-width: 100%;
  transition: height 0.3s ease;
}

#navbar.scrolled .logo-img {
  height: clamp(28px, 5vw, 40px);
}

.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
}

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

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #1e3a8a, #164e63, #0f172a);
  background-size: 400% 400%;
  animation: gradientBG 18s ease infinite;
  color: #fff;
  padding-top: 80px;
}

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

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

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
}

.shape-1 {
  width: 260px;
  height: 260px;
  top: 12%;
  left: 6%;
  background: radial-gradient(circle at 30% 30%, var(--c-cyan), transparent 70%);
  animation: floatShape 9s ease-in-out infinite;
}

.shape-2 {
  width: 180px;
  height: 180px;
  top: 60%;
  left: 15%;
  background: radial-gradient(circle at 30% 30%, var(--c-emerald), transparent 70%);
  animation: floatShape 11s ease-in-out infinite reverse;
}

.shape-3 {
  width: 320px;
  height: 320px;
  top: 20%;
  right: 8%;
  background: radial-gradient(circle at 30% 30%, var(--c-violet), transparent 70%);
  animation: floatShape 13s ease-in-out infinite;
}

.shape-4 {
  width: 150px;
  height: 150px;
  bottom: 8%;
  right: 20%;
  background: radial-gradient(circle at 30% 30%, var(--c-blue), transparent 70%);
  animation: floatShape 8s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(25px, -35px) rotate(15deg) scale(1.08); }
}

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

.hero-text {
  container-type: inline-size;
}

.hero-tagline {
  display: inline-block;
  padding: 8px 26px;
  border-radius: 18px;
  /* Fallback for browsers without container query units */
  font-size: clamp(0.85rem, 4.6vw, 1.6rem);
  /* Same size as the "I'm a ..." h2, shrunk to fit the column on one line */
  font-size: min(calc(1.325rem + 0.9vw), 2rem, calc((100cqi - 72px) / 16));
  line-height: 1.3;
  white-space: nowrap;
  max-width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.hero h4 {
  letter-spacing: 3px;
  font-weight: 400;
  opacity: 0.9;
}

.hero h1 {
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease infinite;
}

.hero .typed-text {
  background: var(--gradient-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  animation: gradientShift 5s ease infinite;
}

.hero-buttons .btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
}

.hero-buttons .btn-primary {
  background: var(--gradient-main);
  background-size: 200% 200%;
  border: none;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
  transition: background-position 0.5s, transform 0.3s, box-shadow 0.3s;
}

.hero-buttons .btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
}

.hero-buttons .btn-outline-light {
  transition: all 0.3s;
}

.hero-buttons .btn-outline-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--gradient-main);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.5);
}

.hero-img {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-img::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 16px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  z-index: -1;
  filter: blur(2px);
}

.hero-img img {
  max-height: 500px;
  border: 8px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: floatShape 6s ease-in-out infinite;
}

/* ========== ABOUT SECTION ========== */
#about {
  background: #fff;
}

.skills .progress {
  height: 10px;
  border-radius: 10px;
  background: #e9ecef;
  overflow: hidden;
}

.skills .progress-bar {
  border-radius: 10px;
  background: var(--gradient-main);
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
  position: relative;
}

/* ========== SERVICES SECTION ========== */
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.18);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.35s;
}

.service-card:hover .service-icon {
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
}

.service-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
}

.row .col-md-6.col-lg-4:nth-child(6n+1) .service-icon { background: rgba(124, 58, 237, 0.1); color: var(--c-violet); }
.row .col-md-6.col-lg-4:nth-child(6n+2) .service-icon { background: rgba(16, 185, 129, 0.1); color: var(--c-emerald); }
.row .col-md-6.col-lg-4:nth-child(6n+3) .service-icon { background: rgba(6, 182, 212, 0.1); color: var(--c-cyan); }
.row .col-md-6.col-lg-4:nth-child(6n+4) .service-icon { background: rgba(245, 158, 11, 0.1); color: var(--c-amber); }
.row .col-md-6.col-lg-4:nth-child(6n+5) .service-icon { background: rgba(236, 72, 153, 0.1); color: var(--c-pink); }
.row .col-md-6.col-lg-4:nth-child(6n+6) .service-icon { background: rgba(59, 130, 246, 0.1); color: var(--c-blue); }

.row .col-md-6.col-lg-4:nth-child(6n+1) .service-card:hover .service-icon,
.row .col-md-6.col-lg-4:nth-child(6n+1):hover .service-icon { background: linear-gradient(135deg, var(--c-violet), var(--c-pink)); box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4); }
.row .col-md-6.col-lg-4:nth-child(6n+2):hover .service-icon { background: linear-gradient(135deg, var(--c-emerald), var(--c-cyan)); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); }
.row .col-md-6.col-lg-4:nth-child(6n+3):hover .service-icon { background: linear-gradient(135deg, var(--c-cyan), var(--c-blue)); box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4); }
.row .col-md-6.col-lg-4:nth-child(6n+4):hover .service-icon { background: linear-gradient(135deg, var(--c-amber), var(--c-pink)); box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4); }
.row .col-md-6.col-lg-4:nth-child(6n+5):hover .service-icon { background: linear-gradient(135deg, var(--c-pink), var(--c-violet)); box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4); }
.row .col-md-6.col-lg-4:nth-child(6n+6):hover .service-icon { background: linear-gradient(135deg, var(--c-blue), var(--c-violet)); box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); }

.service-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
}

/* ========== PORTFOLIO SECTION ========== */
.filter-buttons .btn {
  border-radius: 50px;
  margin: 0 5px;
  padding: 8px 20px;
  font-weight: 500;
  border-color: var(--c-violet);
  color: var(--c-violet);
  transition: all 0.3s;
}

.filter-buttons .btn:hover {
  background: rgba(124, 58, 237, 0.1);
}

.filter-buttons .btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(236, 72, 153, 0.92));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
}

.portfolio-item:nth-child(6n+1) .portfolio-overlay { background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(236, 72, 153, 0.92)); }
.portfolio-item:nth-child(6n+2) .portfolio-overlay { background: linear-gradient(135deg, rgba(6, 182, 212, 0.92), rgba(16, 185, 129, 0.92)); }
.portfolio-item:nth-child(6n+3) .portfolio-overlay { background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(236, 72, 153, 0.92)); }
.portfolio-item:nth-child(6n+4) .portfolio-overlay { background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(124, 58, 237, 0.92)); }
.portfolio-item:nth-child(6n+5) .portfolio-overlay { background: linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(6, 182, 212, 0.92)); }
.portfolio-item:nth-child(6n+6) .portfolio-overlay { background: linear-gradient(135deg, rgba(236, 72, 153, 0.92), rgba(59, 130, 246, 0.92)); }

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: scale(1);
}

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

.portfolio-overlay h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio-overlay a {
  width: 45px;
  height: 45px;
  background: #fff;
  color: var(--c-violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  transition: transform 0.3s;
}

.portfolio-overlay a:hover {
  transform: scale(1.15) rotate(8deg);
}

.portfolio-item.hide {
  display: none;
}

/* ========== BLOG SECTION ========== */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

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

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.blog-content h5 a {
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.blog-content h5 a:hover {
  color: var(--c-violet);
}

.blog-card img {
  transition: transform 0.5s ease;
}

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

.site-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-violet);
  word-break: break-all;
  transition: color 0.3s;
}

.site-link:hover {
  color: var(--c-pink);
}

.read-more {
  color: var(--c-violet);
  font-weight: 500;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* ========== CONTACT SECTION ========== */
.contact-form .form-control {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15);
  border-color: var(--c-violet);
}

.contact-form .btn-primary {
  background: var(--gradient-main);
  background-size: 200% 200%;
  border: none;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
  transition: background-position 0.5s, transform 0.3s, box-shadow 0.3s;
}

.contact-form .btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.45);
}

.contact-item .icon i {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-item h5 {
  font-weight: 600;
  margin-bottom: 2px;
}

#contact .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#contact .social-icons a {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--c-violet);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.12);
}

#contact .social-icons a:hover {
  background: var(--gradient-main);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* ========== FOOTER ========== */
footer {
  background: #100a1c !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--c-pink);
}

.footer-area {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* ========== LEGAL PAGES ========== */
.legal-hero {
  min-height: auto;
  padding: 90px 0 70px;
  text-align: center;
}

.legal-hero .lead {
  color: rgba(255, 255, 255, 0.8);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--c-violet);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #555;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--c-violet);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--c-pink);
}

.legal-updated {
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 575.98px) {
  .legal-content {
    padding: 24px 18px;
  }

  .legal-hero {
    padding: 60px 0 50px;
  }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.5);
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  #navbar .navbar-collapse {
    background: #1a1230;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  #navbar .navbar-nav .nav-link {
    padding: 12px 0;
    color: #fff;
  }

  .hero {
    text-align: center;
    padding: 120px 0 60px;
  }

  .hero-img {
    margin-top: 40px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 200px;
  }

  .social-icons {
    justify-content: center;
  }

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

@media (max-width: 767.98px) {
  .filter-buttons .btn-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }

  .filter-buttons .btn-group .btn {
    border-radius: 50px !important;
  }

  .portfolio-card img {
    height: 240px;
  }

  .blog-card img {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .section-title h2 {
    font-size: 1.75rem;
  }

  .filter-buttons .btn {
    margin-bottom: 0;
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 240px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .hero-shapes .shape {
    opacity: 0.3;
  }
}

@media (max-width: 359.98px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .portfolio-card img {
    height: 200px;
  }
}

@media (max-width: 299.98px) {
  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero h1 {
    font-size: 1.75rem;
    word-break: break-word;
  }

  .hero h2 {
    font-size: 1.25rem;
  }

  .hero h4 {
    letter-spacing: 1px;
    font-size: 1rem;
  }

  .hero-img img {
    border-width: 4px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .filter-buttons .btn {
    margin: 0 2px;
    padding: 5px 10px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}

/* ========== WHATSAPP CHAT BUTTON (in navbar, so it never covers content) ========== */
.whatsapp-chat {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: #25d366;
  animation: waGlow 2s ease-in-out infinite;
  transition: transform 0.3s, background 0.3s;
}

.whatsapp-chat:hover {
  color: #fff;
  background: #1ebe5b;
  transform: translateY(-2px);
}

/* Shine sweeping across the button */
.whatsapp-chat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: waShine 3s ease-in-out infinite;
}

@keyframes waGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

@keyframes waShine {
  0% { left: -75%; }
  60%, 100% { left: 125%; }
}

@media (max-width: 359.98px) {
  .whatsapp-chat {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ========== COOKIE CONSENT BANNER (shown only when tracking IDs are set) ========== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1050;
  width: calc(100% - 32px);
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: #fff;
  background: #1a1230;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner a {
  color: var(--c-pink);
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  transition: background 0.3s;
}

.cookie-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-accept {
  border: none;
  background: var(--gradient-main);
}

.cookie-accept:hover {
  background: var(--gradient-main-hover);
}

@media (max-width: 575.98px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    bottom: 12px;
  }

  .cookie-actions {
    justify-content: center;
  }
}
