/* =============================================================================
   WebLexia — Master Stylesheet v2.0
   Consolidated from: style.css, index.php, about.php, portfolio.php,
   services.php, blog.php, contact.php, footer.php
   Duplicates removed · Specificity preserved · PageSpeed 90+ ready
   ============================================================================= */

/* ── 1. CSS Custom Properties (Design Tokens) ───────────────────────────── */
:root {
  --primary-color: #D4AF37;
  --secondary-color: #142850;
  --text-color: #D4AF37;
  --card-bg: #D4AF37;
  --glow-color: #142850;
  --text-light: #ffffff;
  --font-family: 'Poppins', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --brand-gold: #D4AF37;
  --brand-gold-glow: rgba(245, 158, 11, 0.4);
  --brand-dark: #142850;
  --brand-card-bg: rgba(255, 255, 255, 0.03);
}

/* ── 2. Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  loading: lazy; /* attribute hint */
  max-width: 100%;
  height: auto;
}

/* ── 3. Layout Utilities ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: 80px 0; }

.section-title {
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 50px;
  color: var(--text-light);
}

/* ── 4. Header & Navigation ──────────────────────────────────────────────── */
header {
  background-color: var(--secondary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Logo ── */
@keyframes slideInRight {
  0%   { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}

@keyframes spin-in {
  0%   { opacity: 0; transform: scale(0.5) rotate(-90deg); }
  100% { opacity: 1; transform: scale(1)   rotate(0deg); }
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}

.logo-container img {
  height: 50px;
  flex-shrink: 0;
  animation: spin-in 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.company-name {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.5em);
  font-weight: bold;
  white-space: nowrap;
  animation-name: slideInRight;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: translateX(100%);
}

/* ── Desktop Nav ── */
@media (min-width: 993px) {
  header nav #mobile-menu-links {
    display: block !important;
    position: static !important;
    height: auto !important;
    background: none !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }
  .menu-toggle { display: none !important; }
}

.main-nav-wrapper { display: block; }

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav-list li { margin-left: 25px; }

.main-nav-list li a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

.main-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
}

.main-nav-list li a:hover::after { width: 100%; }
.main-nav-list li a:hover { color: var(--primary-color); }

.header-button {
  background-color: var(--primary-color);
  color: var(--secondary-color) !important;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.header-button:hover {
  background-color: white;
  text-decoration: none;
  color: var(--primary-color) !important;
}

/* ── Mobile Toggle ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8em;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

/* ── 5. Mobile Navigation ────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .menu-toggle { display: block; }

  .main-nav-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-color);
    padding-top: 80px;
    z-index: 990;
    overflow-y: auto;
  }

  .main-nav-wrapper.is-open { display: block; }

  .main-nav-list {
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .main-nav-list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav-list li a {
    padding: 15px 20px;
    color: #ffffff;
  }

  .main-nav-list li a:hover::after { width: 0; }
  .main-nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  .main-nav-list li:last-child {
    border-bottom: none;
    padding-top: 20px;
  }

  .main-nav-list li a.header-button {
    display: inline-block;
    margin: 10px auto;
    color: var(--secondary-color) !important;
    background-color: var(--primary-color);
  }

  .main-nav-list li a.header-button:hover { background-color: white; }

  .section-title, .animated-heading { font-size: 2rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .form-group { grid-template-columns: 1fr; }

  #hero { padding-top: 80px; }

  section[id], div[id] { scroll-margin-top: 80px; }

  .logo-container img { height: 38px; }
}

/* ── 6. Hero Section ─────────────────────────────────────────────────────── */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: 0 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.typing-box {
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.dynamic-text {
  color: var(--text-color);
  border-right: 3px solid var(--text-color);
  padding-right: 5px;
  animation: blink 0.7s infinite;
  min-height: 1em;
}

@media (max-width: 992px) {
  .typing-box { height: 1.5em; }
}

@keyframes blink {
  from { border-color: transparent; }
  to   { border-color: var(--text-color); }
}

.subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  margin: 20px 0 30px;
  position: relative;
  z-index: 2;
}

/* ── 7. Animated Background Balls ───────────────────────────────────────── */
@keyframes gradient-animation {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-bg {
  background: linear-gradient(120deg, #e0f8e8, #e6e9ff, #fde2e4);
  background-size: 200% 200%;
  animation: gradient-animation 15s ease infinite;
}

.ball {
  position: absolute;
  border-radius: 100%;
  opacity: 0.9;
  filter: blur(1px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  animation: moveBall 20s infinite linear;
  z-index: -1;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, filter 0.3s ease-out, box-shadow 0.3s ease-out;
}

@keyframes moveBall {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(calc(var(--vx) * 30vw), calc(var(--vy) * 30vh)) scale(1.1); }
  50%  { transform: translate(calc(var(--vx) * -15vw), calc(var(--vy) * -20vh)) scale(0.9); }
  75%  { transform: translate(calc(var(--vx) * 20vw), calc(var(--vy) * -35vh)) scale(1.2); }
}

/* ── 8. Hero Form ────────────────────────────────────────────────────────── */
.project-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.email-input {
  background-color: white;
  color: var(--secondary-color);
  padding: 12px 15px;
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid #ddd;
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  transition: all 0.3s ease;
}

.email-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.banner-button {
  display: inline-block;
  position: relative;
  z-index: 2;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

#hero .banner-button:hover {
  background-color: white;
  text-decoration: underline;
  color: #1a233b;
}

.success-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 400px;
  margin: 20px auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  z-index: 50;
}

.whatsapp-small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  position: relative;
  z-index: 50;
}

.whatsapp-small-button:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  .project-form { flex-direction: column; width: 90%; }
  .project-form .email-input,
  .project-form .banner-button { width: 100%; text-align: center; }
}

/* ── 9. Services Section ─────────────────────────────────────────────────── */
#services.interactive-services-bg {
  background-color: var(--secondary-color);
  font-family: 'Inter', sans-serif;
}

#services .card {
  background-color: var(--card-bg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transform-style: preserve-3d;
}

#services .card:hover,
#services .card.is-touched {
  transform: perspective(1000px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#services .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--glow-color) 0%, transparent 60%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

#services .card:hover::before,
#services .card.is-touched::before { opacity: 0.15; }

@media (max-width: 992px) {
  #services .card.is-touched {
    border-color: transparent !important;
    background-color: var(--card-bg);
  }
  #services .card.is-touched .card-content h3 { color: var(--secondary-color); }
}

#services .card-content {
  position: relative;
  z-index: 1;
  color: var(--secondary-color);
}

#services .card-content h3 { color: var(--secondary-color); }

#services .link {
  text-decoration: none;
  position: relative;
  font-weight: 600;
  color: var(--secondary-color);
}

#services .link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease-out;
}

#services .link:hover::before {
  transform-origin: bottom left;
  transform: scaleX(1);
}

/* ── 10. Typography Animations ───────────────────────────────────────────── */
.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: var(--glow-color);
  animation: blink-cursor 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.animated-heading {
  background-image: linear-gradient(
    -225deg,
    var(--primary-color) 0%,
    var(--text-color) 29%,
    var(--primary-color) 67%,
    #f0f0f0 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text-shine 5s linear infinite;
}

@keyframes text-shine { to { background-position: 200% center; } }

/* ── 11. Portfolio Section (Homepage) ────────────────────────────────────── */
#portfolio { background-color: var(--card-bg); }
#portfolio .section-title { color: var(--secondary-color); }

.portfolio-filter {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.filter-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  loading: lazy;
}

.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(62, 66, 111, 0.8);
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* ── 12. About Section (Homepage widget) ─────────────────────────────────── */
#about-us {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--text-light);
}

.mission-statement {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.8;
}

.mission-statement .tagline {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.mission-statement .body-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ccc;
}

.values-heading {
  text-align: center;
  font-size: 2em;
  color: var(--text-light);
  margin-bottom: 40px;
}

.values-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
}

.value-card {
  background-color: #2b354f;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  border-top: 3px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.value-card h4 {
  color: var(--text-light);
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.value-card p {
  color: #b0b8d2;
  font-size: 0.95em;
}

.icon-gold {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.cta-section {
  text-align: center;
  padding-top: 60px;
}

.cta-section p {
  font-size: 1.5em;
  color: #ccc;
  margin-bottom: 25px;
}

.primary-cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.primary-cta-button:hover { background-color: grey; }

@media (max-width: 768px) {
  .values-grid { flex-direction: column; padding: 0 20px; }
  .mission-statement .tagline { font-size: 1.4em; }
}

/* ── 13. Background Glow Decoration ─────────────────────────────────────── */
.bg-glow {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(20, 40, 80, 0) 70%);
  z-index: -1;
  filter: blur(50px);
}

/* ── 14. Contact Page ────────────────────────────────────────────────────── */
.contact-hero {
  padding: 140px 20px 60px;
  text-align: center;
  background: linear-gradient(to bottom, #0d1b35, var(--secondary-color));
}

.top-label {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease forwards;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 50px; height: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-item:hover .icon {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-item:hover h3 { color: #fff; transition: 0.3s; }

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-item p,
.contact-item a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.8;
}

.commitment-box {
  background: rgba(212, 175, 55, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 30px;
  border-radius: 0 15px 15px 0;
  margin-top: 20px;
}

.commitment-box h4 {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.commitment-box ul { list-style: none; }

.commitment-box li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.commitment-box li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
}

.form-container {
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 25px; }

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

select option {
  background: var(--secondary-color);
  color: white;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .info-card { order: 2; }
  .form-container { order: 1; padding: 30px 20px; }
  .contact-hero { padding-top: 100px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 15. Footer ──────────────────────────────────────────────────────────── */
#main-footer {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding-top: 40px;
  font-size: 0.9em;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  justify-items: center; 
}
.footer-col {
  text-align: center; 
}
#main-footer h4 {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-footer {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.4em !important;
}

#main-footer ul { list-style: none; padding: 0; }
#main-footer ul li { margin-bottom: 6px; }

#main-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

#main-footer a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info .fas,
.contact-info .fab {
  color: var(--primary-color);
  margin-right: 8px;
  width: 16px;
}

.contact-info p i {
  color: var(--primary-color);
  margin-right: 15px;
  width: 20px;
  text-align: center;
  font-size: 1.1em;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.social-links { margin-top: 15px; 
    display: flex;
  justify-content: center;
}

.social-links a {
  font-size: 1.1em;
  margin-right: 12px;
  color: #ffffff;
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .footer-content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .footer-content-grid { grid-template-columns: 1fr; text-align: center; }
  .social-links a { margin: 0 10px; }
}

/* ── 16. Scroll Animations ───────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── 17. Floating Action Buttons ─────────────────────────────────────────── */
.whatsapp-icon-link {
  position: fixed;
  bottom: 30px; right: 30px;
  background-color: #25D366;
  color: white;
  font-size: 2.5em;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon-link:hover { background-color: #128C7E; transform: scale(1.1); }

.call-icon-link {
  position: fixed;
  bottom: 30px; left: 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 2.5em;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.call-icon-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

/* ── 18. Popup Trigger Button ────────────────────────────────────────────── */
#popup-trigger-btn {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #D4AF37;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  transition: all 0.3s ease;
  white-space: nowrap;
}

#popup-trigger-btn:hover {
  background: #fff;
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

#popup-trigger-btn i { font-size: 1rem; }

/* ── 19. Popup Modal ─────────────────────────────────────────────────────── */
#lead-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#lead-popup.open { opacity: 1; visibility: visible; }

#popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#popup-box {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 1.8rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform: scale(0.93) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

#lead-popup.open #popup-box { transform: scale(1) translateY(0); }

#popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
}

#popup-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #D4AF37;
}

/* Popup Left Panel */
#popup-left {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #142850 0%, #0f1e3d 60%, #0a1628 100%);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#popup-left::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(212, 175, 55, 0.07);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

#popup-left::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 150px; height: 150px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

#popup-brand-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

#popup-brand-icon i { font-size: 1.6rem; color: #D4AF37; }

#popup-left h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
}

#popup-left h2 span {
  background: linear-gradient(135deg, #D4AF37, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#popup-left p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

#popup-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#popup-trust-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
}

#popup-trust-badges span i { color: #D4AF37; font-size: 0.75rem; }

/* Popup Right Panel */
#popup-right {
  flex: 1;
  padding: 2.8rem 2.2rem;
  background: #0f172a;
  overflow-y: auto;
}

#popup-right h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.popup-sub {
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 1.4rem;
}

.popup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.popup-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.popup-field label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.popup-field label span { color: #D4AF37; }

.popup-field input,
.popup-field select,
.popup-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  width: 100%;
}

.popup-field input::placeholder,
.popup-field textarea::placeholder { color: #334155; }

.popup-field input:focus,
.popup-field select:focus,
.popup-field textarea:focus {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.popup-field input.error,
.popup-field select.error,
.popup-field textarea.error { border-color: rgba(239, 68, 68, 0.5); }

.popup-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.popup-field select option { background: #0f172a; color: #fff; }
.popup-field textarea { resize: vertical; min-height: 80px; }

.popup-err {
  color: #f87171;
  font-size: 0.72rem;
  margin-top: 4px;
  min-height: 16px;
  display: block;
}

#popup-form-status {
  margin-bottom: 10px;
  font-size: 0.82rem;
}

#popup-submit {
  width: 100%;
  background: #D4AF37;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

#popup-submit:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

#popup-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.popup-privacy {
  text-align: center;
  color: #334155;
  font-size: 0.72rem;
  margin-top: 10px;
}

.popup-privacy i { margin-right: 4px; }

/* Popup Success State */
#popup-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0;
  min-height: 360px;
}

#popup-success-icon {
  font-size: 4rem;
  color: #4ade80;
  margin-bottom: 1.2rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

#popup-success-state h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

#popup-success-state p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.popup-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.popup-wa-btn:hover { background: #128C7E; transform: translateY(-2px); }

.popup-close-btn-text {
  background: none;
  border: none;
  color: #475569;
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 1rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.popup-close-btn-text:hover { color: #94a3b8; }

/* Popup Mobile */
@media (max-width: 680px) {
  #popup-box { flex-direction: column; border-radius: 1.2rem; }
  #popup-left { width: 100%; padding: 2rem 1.5rem 1.5rem; }
  #popup-left h2 { font-size: 1.2rem; }
  #popup-left p, #popup-trust-badges { display: none; }
  #popup-right { padding: 1.8rem 1.4rem; }
  .popup-row { grid-template-columns: 1fr; }
  #popup-trigger-btn { font-size: 0.75rem; padding: 11px 18px; }
}

@media (max-width: 400px) {
  #lead-popup { padding: 10px; }
  #popup-box { border-radius: 1rem; }
}

/* ── 20. Packages Section (index.php inline styles) ──────────────────────── */
.is-pkg-loading #hero {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

#packages {
  background-color: var(--brand-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  scroll-margin-top: 100vh;
}

.glass-card-pkg {
  background: var(--brand-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 2.5rem;
}

.glass-card-pkg:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-15px);
  border-color: var(--brand-gold);
  box-shadow: 0 25px 60px var(--brand-gold-glow);
}

.details-wrapper-pkg {
  max-height: 0;
  overflow: hidden;
  transition: all 0.7s ease-in-out;
  opacity: 0;
}

.details-wrapper-pkg.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 1.5rem;
}

.nav-item-pkg {
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  color: #94a3b8;
}

.nav-item-pkg.active {
  opacity: 1;
  color: var(--brand-gold);
  border-bottom: 3px solid var(--brand-gold);
  background: rgba(245, 158, 11, 0.05);
}

.pkg-category-section { display: none; }

.pkg-category-section.active-cat {
  display: block;
  animation: fadeInUpPkg 0.7s ease forwards;
}

@keyframes fadeInUpPkg {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gold gradient text — shared across pages */
.gold-gradient-text,
.gold-text {
  background: linear-gradient(135deg, #D4AF37, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-action-pkg {
  background: var(--brand-gold);
  color: #000;
  transition: all 0.3s ease;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.btn-action-pkg:hover {
  background: #fbbf24;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
}

.float-icon-pkg {
  animation: floatPkg 3s ease-in-out infinite;
}

@keyframes floatPkg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── 21. About Page Scoped Styles ────────────────────────────────────────── */
.about-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.value-icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #D4AF37;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.about-glass-card:hover .value-icon-circle {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1);
}

/* ── 22. Portfolio Page Scoped Styles ────────────────────────────────────── */
.testi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.5rem;
  padding: 2.2rem;
  transition: all 0.4s ease;
}

.testi-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* ── 23. Newsletter Box ───────────────────────────────────────────────────── */
.newsletter-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
}

/* ── 24. Critical Performance: Preload helpers ───────────────────────────── */
/* Prevent CLS on hero section fonts */
.static-text { display: block; }

/* ── 25. Legal Pages (terms, privacy, refund) ────────────────────────────── */
.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.toc-link:hover,
.toc-link.active {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.07);
  border-color: rgba(212, 175, 55, 0.2);
}

.legal-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  border-left: 4px solid #D4AF37;
  padding-left: 15px;
}

.legal-section p,
.legal-section li {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.legal-section ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.legal-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-weight: bold;
}

.legal-highlight-box {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  padding: 1.2rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════════════════════════
   26. FONT AWESOME ICON FIX
   Tailwind Preflight resets font-family on ::before/::after which
   breaks FA glyph rendering entirely (shows empty squares/crosses).
   These rules restore the correct font-family + pseudo-element
   font inheritance with !important — covers ALL FA usage patterns.
   ══════════════════════════════════════════════════════════════ */

/* Base reset for all FA elements */
.fa, .fas, .far, .fal, .fad, .fab,
[class^="fa-"], [class*=" fa-"],
i[class*="fa-"] {
  font-style:   normal !important;
  font-variant: normal !important;
  line-height:  1 !important;
  display:      inline-block !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Solid icons (default) */
.fa, .fas,
i.fa, i.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Regular icons */
.far,
i.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

/* Brand icons */
.fab,
i.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Ensure ::before pseudo-elements in FA also get the right font */
.fa::before, .fas::before,
i.fa::before, i.fas::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fab::before, i.fab::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.far::before, i.far::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

/* ══════════════════════════════════════════════════════════════
   27. MOBILE OPTIMISATION — PageSpeed fixes
   ══════════════════════════════════════════════════════════════ */

/* ── Prevent body horizontal scroll on all pages ── */
html, body { max-width: 100%; overflow-x: hidden; }

/* ── Packages Tab Nav: scrollable row on mobile ── */
@media (max-width: 767px) {
  /* Nav tabs — horizontal scroll instead of overflow cutoff */
  #packages nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;   /* Firefox */
  }
  #packages nav::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  /* Nav inner flex div — allow natural width */
  #packages nav > div {
    min-width: unset !important;
    width: max-content;
  }

  /* Nav items — smaller padding on mobile */
  .nav-item-pkg {
    padding: 12px 10px !important;
    min-width: 70px;
  }
  .nav-item-pkg span { font-size: 9px !important; }
  .nav-item-pkg i { font-size: 1.1rem !important; }

  /* Package cards — full width stack on mobile */
  .glass-card-pkg { border-radius: 1.5rem; }

  /* Packages grid — single column forced */
  #packages .grid { grid-template-columns: 1fr !important; }

  /* Package card padding reduction */
  .glass-card-pkg.p-10,
  .glass-card-pkg.p-12 { padding: 1.5rem !important; }
}

/* ── Hero section mobile ── */
@media (max-width: 640px) {
  #hero { min-height: 100svh; padding-top: 80px; }

  /* Hero form stacks vertically */
  .project-form { flex-direction: column; width: 100%; gap: 8px; }
  .project-form .email-input,
  .project-form .banner-button { width: 100%; text-align: center; }

  /* Typing box height on small screens */
  .typing-box { height: 2em; }
}

/* ── Touch target sizes (min 44×44px for accessibility / PageSpeed) ── */
@media (max-width: 992px) {
  .menu-toggle {
    min-width:  44px;
    min-height: 44px;
    display:    flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav-list li a { min-height: 44px; display: flex; align-items: center; justify-content: center; }

  .whatsapp-icon-link,
  .call-icon-link { width: 52px; height: 52px; }

  #popup-trigger-btn { padding: 14px 20px; }
}

/* ── Images: prevent overflow on small screens ── */
img { max-width: 100%; height: auto; }

/* ── Tables: horizontal scroll wrapper ── */
table { width: 100%; }
@media (max-width: 640px) {
  table { font-size: 0.8rem; }
  th, td { padding: 8px 6px; }
}

/* ── Footer: stack earlier on medium screens ── */
@media (max-width: 768px) {
  .footer-content-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-content-grid { grid-template-columns: 1fr; text-align: center; }
  .social-links { justify-content: center; display: flex; }
}

/* ── Floating buttons: don't overlap on small screens ── */
@media (max-width: 480px) {
  .whatsapp-icon-link { bottom: 90px; right: 16px; }
  .call-icon-link     { bottom: 90px; left:  16px; }
  #popup-trigger-btn  { bottom: 20px; font-size: 0.7rem; padding: 10px 16px; }
}

/* ── Blog / legal pages: text readable on mobile ── */
@media (max-width: 640px) {
  .legal-section { padding: 1.5rem; }
  .legal-section h2 { font-size: 1.2rem; }
}

/* ── Services page sections ── */
@media (max-width: 640px) {
  section[class*="py-24"] { padding-top: 3rem; padding-bottom: 3rem; }
}

/* ══════════════════════════════════════════════════════════════
   28. CONTACT PAGE STYLES
   (moved from contact.php inline styles)
   ══════════════════════════════════════════════════════════════ */

/* Background glow blobs */
.bg-glow-fixed {
  position: fixed;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  filter: blur(150px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
.bg-glow-fixed.top-right { top: 10%; right: 5%; }
.bg-glow-fixed.bottom-left { bottom: 10%; left: 5%; }

/* Contact hero */
.contact-hero {
  text-align: center;
  padding: 100px 20px 50px;
}

.contact-hero .top-label {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--primary-color);
  display: block;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 20px 0;
  line-height: 1.1;
}

.contact-hero h1 span { color: var(--primary-color); }

.contact-hero p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Contact grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Info card */
.contact-info-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item h3 { margin-bottom: 5px; }

.contact-item a {
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
}

.contact-item p { opacity: 0.7; }

/* Commitment box */
.commitment-box {
  background: var(--primary-color);
  color: #000;
  padding: 30px;
  border-radius: 15px;
  margin-top: 10px;
}

.commitment-box h4 {
  margin-bottom: 15px;
  font-weight: 800;
}

.commitment-box ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.commitment-box ul li i {
  margin-right: 8px;
}

/* Contact form container */
.contact-form-container { width: 100%; }

.contact-form-group { margin-bottom: 25px; }

.contact-form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.6;
  text-transform: uppercase;
}

.contact-form-group input[type="text"],
.contact-form-group input[type="email"],
.contact-form-group input[type="tel"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  color: #fff;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form-group input:focus {
  border-bottom-color: var(--primary-color);
}

.contact-form-group select {
  width: 100%;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  color: #fff;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  color: #fff;
  border-radius: 12px;
  outline: none;
  resize: vertical;
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-form-group textarea:focus,
.contact-form-group select:focus {
  border-color: rgba(212,175,55,0.5);
}

.contact-submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary-color);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  color: #000;
  font-size: 1rem;
  font-family: var(--font-family);
}

.contact-submit-btn:hover {
  background: #e8c84a;
  transform: translateY(-2px);
}

/* Contact form status message */
#contact-form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

#contact-form-status.success { color: #4ade80; }
#contact-form-status.error   { color: #f87171; }

/* ══════════════════════════════════════════════════════════════
   29. FOOTER POPUP FORM STYLES
   (ensure popup JS works + styles are clean)
   ══════════════════════════════════════════════════════════════ */

/* Override: make sure popup inputs inherit correct color */
#popup-form input,
#popup-form select,
#popup-form textarea {
  font-family: var(--font-family);
}