/* ===== CSS Variables ===== */
:root {
  --background: #0f0f10;
  --foreground: #f5f5f5;
  --card: #1a1a1c;
  --border: #2a2a2d;

  --primary: #d1d1d1;
  --primary-dark: #a5a5a5;

  --muted: #888;
  --radius: 0.75rem;

  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #9e9e9e 100%);
}


/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.hidden {
  display: none !important;
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.logo-img {
  height: 78px;      /* adjust size */
  width: auto;
  display: block;
}

/* ===========================
   EP Process (About Visual)
   Isolated styles to avoid conflicts
   =========================== */

.ep-process-card {
  border-radius: 1.5rem;
  border: 1px solid hsla(0,0%,100%,0.12);
  background: linear-gradient(145deg, hsla(0,0%,100%,0.06), hsla(0,0%,100%,0.02));
  padding: 1.75rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.ep-process-head {
  margin-bottom: 1.25rem;
}

.ep-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsla(0,0%,100%,0.65);
  margin-bottom: 0.35rem;
}

.ep-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--foreground);
}

.ep-process-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .ep-process-grid {
    grid-template-columns: 1fr 1.35fr;
    align-items: start;
  }
}

/* Steps */
.ep-steps {
  display: grid;
  gap: 0.75rem;
}

.ep-step {
  appearance: none;
  border: 1px solid hsla(0,0%,100%,0.12);
  background: hsla(0,0%,0%,0.25);
  color: var(--foreground);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.ep-step:hover {
  transform: translateY(-2px);
  border-color: hsla(0,0%,100%,0.24);
  background: hsla(0,0%,0%,0.35);
}

.ep-step.is-active {
  border-color: hsla(0,0%,100%,0.35);
  background: hsla(0,0%,0%,0.45);
}

.ep-step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, hsla(0,0%,100%,0.18), hsla(0,0%,100%,0.06));
  border: 1px solid hsla(0,0%,100%,0.12);
}

.ep-step-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ep-step-name {
  font-weight: 700;
  font-size: 1rem;
}

.ep-step-sub {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: hsla(0,0%,100%,0.65);
}

/* Panel */
.ep-panel {
  border: 1px solid hsla(0,0%,100%,0.12);
  background: hsla(0,0%,0%,0.22);
  border-radius: 1.25rem;
  padding: 1.2rem;
}

.ep-panel-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ep-panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.ep-panel-text {
  color: hsla(0,0%,100%,0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Bullets */
.ep-panel-bullets {
  margin-top: 0.9rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: hsla(0,0%,100%,0.85);
  font-size: 0.92rem;
  list-style: disc;
}

/* Ring */
.ep-ring {
  width: 76px;
  height: 76px;
  position: relative;
  flex: 0 0 auto;
}

.ep-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ep-ring-track {
  fill: none;
  stroke: hsla(0,0%,100%,0.12);
  stroke-width: 10;
}

.ep-ring-progress {
  fill: none;
  stroke: hsla(0,0%,100%,0.6);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 0.4s ease;
}

.ep-ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ep-ring-step {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}



.btn-primary {
  background: var(--gradient-primary);
  color: var(--background);
}

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

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 0 30px hsla(12, 100%, 62%, 0.3);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px hsla(12, 100%, 62%, 0.5);
}

.btn-hero-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero-outline:hover {
  border-color: var(--primary);
  background: hsla(12, 100%, 62%, 0.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: hsla(12, 100%, 62%, 0.1);
}

.btn-full {
  width: 100%;
}

/* ===== Animations ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px hsla(12, 100%, 62%, 0.3); }
  50% { box-shadow: 0 0 60px hsla(12, 100%, 62%, 0.5); }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: hsla(220, 20%, 6%, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px hsla(0, 0%, 0%, 0.3);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-foreground);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--foreground);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--background);
}

.mobile-menu a {
  color: var(--muted-foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, hsla(12, 100%, 62%, 0.15), transparent 50%);
}

.hero-bg-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, hsla(180, 70%, 50%, 0.08), transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(var(--foreground) 1px, transparent 1px),
    linear-gradient(90deg, var(--foreground) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsla(12, 100%, 62%, 0.1);
  border: 1px solid hsla(12, 100%, 62%, 0.2);
  margin-bottom: 2rem;
}

.hero-badge .icon {
  color: var(--primary);
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid hsla(220, 10%, 60%, 0.3);
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 9999px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-tag {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

/* ===== Services Section ===== */
.services {
  position: relative;
  padding: 6rem 0;
}

.services-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsla(12, 100%, 62%, 0.05), transparent 60%);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: hsla(12, 100%, 62%, 0.3);
  transform: translateY(-0.5rem);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: hsla(12, 100%, 62%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-card:hover .service-icon {
  background: hsla(12, 100%, 62%, 0.2);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Portfolio Section ===== */
.portfolio {
  padding: 6rem 0;
  background: hsla(220, 15%, 15%, 0.3);
}

.portfolio-grid {
  display: grid;
  gap: 2rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s ease;
}

.project-card:hover {
  border-color: hsla(12, 100%, 62%, 0.3);
}

.project-image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card), transparent);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: hsla(12, 100%, 62%, 0.9);
  backdrop-filter: blur(4px);
}

.badge-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-foreground);
}

.badge-label {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.8);
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.project-card:hover .project-content h3 {
  color: var(--primary);
}

.project-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap 0.3s;
}

.project-link .icon {
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-link {
  gap: 0.5rem;
}

.project-card:hover .project-link .icon {
  opacity: 1;
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== About Section ===== */
.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(12, 100%, 62%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.value-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
}

.about-visual {
  display: none;
}

.visual-card {
  aspect-ratio: 1;
  border-radius: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid hsla(12, 100%, 62%, 0.2);
}

.circle-1 {
  width: 16rem;
  height: 16rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.circle-2 {
  width: 12rem;
  height: 12rem;
  border-color: hsla(12, 100%, 62%, 0.3);
}

.circle-3 {
  width: 8rem;
  height: 8rem;
  background: hsla(12, 100%, 62%, 0.2);
  border: none;
  box-shadow: var(--shadow-glow);
}

.visual-stat {
  position: absolute;
}

.visual-stat .stat-value {
  font-size: 1.875rem;
}

.visual-stat .stat-label {
  font-size: 0.875rem;
}

.stat-1 {
  top: 2rem;
  right: 2rem;
  text-align: right;
}

.stat-2 {
  bottom: 2rem;
  left: 2rem;
}

.stat-3 {
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
}

.stat-4 {
  bottom: 2rem;
  right: 2rem;
  text-align: right;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-visual {
    display: block;
  }
}

/* ===== Contact Section ===== */
.contact {
  position: relative;
  padding: 6rem 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, hsla(12, 100%, 62%, 0.1), transparent 50%);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-form-wrapper,
.contact-info-card {
  
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}


.why-us-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;   /* centers content horizontally */
  text-align: center;    /* centers text */
}


.contact-form-wrapper h3,
.contact-info-card h3,
.why-us-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: hsla(220, 15%, 15%, 0.5);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(12, 100%, 62%, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: none;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsla(220, 15%, 15%, 0.3);
  transition: background 0.3s;
}

.contact-info-item:hover {
  background: hsla(220, 15%, 15%, 0.5);
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(12, 100%, 62%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.contact-info-item:hover .contact-info-icon {
  background: hsla(12, 100%, 62%, 0.2);
}

.contact-info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-info-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-info-text .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-text .value {
  font-weight: 500;
}

.contact-action {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.contact-info-item:hover .contact-action {
  opacity: 1;
}

.why-us-card h3 {
  font-size: 1.25rem;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-us-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-us-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.why-us-list span {
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: hsla(220, 15%, 15%, 0.5);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  margin: 1.5rem 0;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.3s;
}

.social-links a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-links a:hover {
  color: var(--primary);
  background: hsla(12, 100%, 62%, 0.1);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-contact a,
.footer-contact .address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  animation: slide-up 0.3s ease-out;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px hsla(0, 0%, 0%, 0.5);
}

.toast-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.toast-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast-text strong {
  font-size: 0.875rem;
}

.toast-text span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Ensure decorative background layers never block clicks */
.contact-bg,
.services-bg,
.hero-bg-1,
.hero-bg-2,
.hero-grid,
.about-bg,
.portfolio-bg,
.footer-bg {
  pointer-events: none !important;
}

/* Make sure contact content is above background */
.contact {
  position: relative;
}

.contact .container,
.contact-grid,
.contact-form-wrapper,
.contact-info-wrapper {
  position: relative;
  z-index: 2;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* =========================
   Mobile overflow + hCaptcha fix
   ========================= */

/* Prevent any child from forcing horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make grid children allowed to shrink (important in CSS Grid) */
.contact-grid,
.contact-form-wrapper,
.contact-info-wrapper,
.contact-info-card {
  min-width: 0;
}

/* On small screens, reduce padding so captcha fits better */
@media (max-width: 480px) {
  .contact-form-wrapper,
  .contact-info-card {
    padding: 1.25rem;
  }
}

/* hCaptcha wrapper */
.captcha-wrap {
  width: 100%;
  overflow: hidden; /* extra safety */
}

/* hCaptcha is fixed-width; keep it from expanding layout */
.h-captcha {
  max-width: 302px; /* hCaptcha default width */
  width: 100%;
  transform-origin: 0 0;
}

/* Scale captcha down on narrow phones */
@media (max-width: 380px) {
  .h-captcha {
    transform: scale(0.90);
  }
}

@media (max-width: 340px) {
  .h-captcha {
    transform: scale(0.85);
  }
}
