/* =============================================
   JPR CONSTRUCTION — style.css
   Premium Corporate Construction Website
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --yellow: #f4b400;
  --yellow-dark: #d9a000;
  --yellow-glow: rgba(244, 180, 0, 0.35);
  --black: #111111;
  --black-soft: #1a1a1a;
  --black-card: #1e1e1e;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #dcdcdc;
  --gray-text: #777777;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.5);
  --radius: 14px;
  --nav-h: 76px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 900;
  color: var(--yellow);
  letter-spacing: 6px;
  animation: pulse 1s ease-in-out infinite alternate;
}
.preloader-bar {
  width: 200px; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; margin: 16px auto 12px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%; width: 0;
  background: var(--yellow);
  border-radius: 2px;
  animation: loadFill 1.8s ease forwards;
}
.preloader-inner p { color: var(--gray-mid); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
@keyframes loadFill { to { width: 100%; } }
@keyframes pulse { from { opacity: 0.6; } to { opacity: 1; } }

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.dark-section { background: var(--black); color: var(--white); }
.dark-section .section-tag { color: var(--yellow); }
.dark-section .gray-text { color: rgba(255,255,255,0.6); }
.center { text-align: center; }
.yellow { color: var(--yellow); }

.section-tag {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: inherit;
}
.section-sub {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}
.dark-section .section-sub { color: rgba(255,255,255,0.55); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 30px var(--yellow-glow); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--black-soft); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* Ripple effect */
.btn-ripple::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.3);
  transform: scale(0); border-radius: 50%;
  transition: transform 0.5s ease;
}
.btn-ripple:active::after { transform: scale(4); opacity: 0; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { text-decoration: none; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--white); }
.logo-jpr { color: var(--yellow); }
.logo-text { color: var(--white); }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--yellow); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1800&q=80') center/cover no-repeat;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 60%, rgba(20,15,0,0.7) 100%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,180,0,0.15);
  border: 1px solid rgba(244,180,0,0.4);
  color: var(--yellow);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 70px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 40px;
  width: fit-content;
}
.stat { text-align: center; padding: 0 32px; }
.stat span.counter {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 900;
  color: var(--yellow);
}
.stat .plus { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--yellow); }
.stat p { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.15); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--white); opacity: 0.6;
  text-decoration: none; font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: var(--radius);
  object-fit: cover; height: 520px;
  box-shadow: var(--shadow);
}
.about-badge-box {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--yellow);
  color: var(--black);
  padding: 24px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge-box .big-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 900; line-height: 1;
}
.about-badge-box span:last-child { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about-desc { color: var(--gray-text); margin-bottom: 20px; }
.mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mv-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
}
.mv-card i { font-size: 1.5rem; margin-top: 3px; }
.mv-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.mv-card p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.5; }

/* Glass */
.glass {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(12px);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 40px 32px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 0 40px var(--yellow-glow);
}
.service-icon {
  width: 64px; height: 64px;
  background: rgba(244,180,0,0.12);
  border: 1px solid rgba(244,180,0,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem; color: var(--yellow);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
}
.service-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; }
.card-hover-line {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--yellow);
  transition: width 0.4s ease;
}
.service-card:hover .card-hover-line { width: 100%; }

/* ===== PROJECTS ===== */
.filter-btns {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 28px;
  border-radius: 100px;
  border: 2px solid var(--gray-mid);
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer;
  color: var(--gray-text);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--yellow); color: var(--black); border-color: var(--yellow);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  padding: 4px 12px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 10px; width: fit-content;
}
.project-overlay h3 { color: var(--white); font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.project-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.project-card.hidden { display: none; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--yellow); transform: translateY(-6px); }
.why-icon {
  font-size: 2rem; color: var(--yellow);
  margin-bottom: 20px;
}
.why-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.progress-wrap { position: relative; }
.progress-wrap span {
  position: absolute; right: 0; top: -20px;
  font-size: 0.78rem; font-weight: 700; color: var(--yellow); font-family: var(--font-head);
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0;
  background: var(--yellow);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-bar.animated::after { width: var(--progress-width); }

/* ===== PROCESS / TIMELINE ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--yellow), rgba(244,180,0,0.1));
}
.tl-item {
  display: flex; gap: 32px; align-items: flex-start;
  margin-bottom: 50px; position: relative;
}
.tl-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(244,180,0,0.15);
}
.tl-content {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  flex: 1;
}
.tl-content h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.tl-content p { color: var(--gray-text); font-size: 0.88rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-carousel { overflow: hidden; position: relative; }
.testimonial-track {
  display: flex;
  gap: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 48px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 24px; letter-spacing: 3px; }
.testi-text { color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.9; max-width: 700px; margin: 0 auto 36px; font-style: italic; }
.testi-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testi-avatar {
  width: 52px; height: 52px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.testi-author strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 0.95rem; }
.testi-author span { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.testi-prev, .testi-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.testi-prev:hover, .testi-next:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.testi-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--yellow); width: 24px; border-radius: 4px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--yellow);
  padding: 80px 24px;
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 16px;
}
.cta-inner h2 span { text-decoration: underline; text-underline-offset: 6px; }
.cta-inner p { color: rgba(0,0,0,0.65); font-size: 1.05rem; margin-bottom: 36px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.info-card {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(244,180,0,0.1);
  border: 1px solid rgba(244,180,0,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); font-size: 1rem;
}
.info-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.info-card p { color: var(--gray-text); font-size: 0.85rem; line-height: 1.7; }
.social-icons { display: flex; gap: 12px; margin-bottom: 28px; }
.social-icons a {
  width: 40px; height: 40px;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--gray-mid);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-light);
  padding: 48px;
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-head);
  color: var(--black); letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; }
.form-error { display: block; font-size: 0.78rem; color: #e53e3e; margin-top: 5px; }
.form-success {
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(56, 161, 105, 0.1);
  border: 1px solid rgba(56, 161, 105, 0.4);
  border-radius: 8px;
  color: #276749;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px;
}

/* ===== FOOTER ===== */
#footer { background: var(--black); color: var(--white); }
.footer-top { padding: 80px 0 50px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.8; margin: 20px 0 24px; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700;
  color: var(--yellow); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none; font-size: 0.88rem;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}
.footer-links ul li a:hover { color: var(--yellow); padding-left: 6px; }
.footer-contact p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact p i { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { padding: 24px 0; }
.footer-bottom p { text-align: center; color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
  position: fixed; bottom: 90px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366; color: var(--white);
  border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; z-index: 900;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: floatWA 3s ease-in-out infinite;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes floatWA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--yellow); color: var(--black);
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 1rem; z-index: 900;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--yellow-dark); transform: translateY(-3px); }

/* ===== SCROLL REVEAL ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays for grid items */
.service-card:nth-child(1), .why-card:nth-child(1), .project-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2), .why-card:nth-child(2), .project-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3), .why-card:nth-child(3), .project-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4), .why-card:nth-child(4), .project-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5), .why-card:nth-child(5), .project-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6), .why-card:nth-child(6), .project-card:nth-child(6) { transition-delay: 0.5s; }
.tl-item:nth-child(1) { transition-delay: 0s; }
.tl-item:nth-child(2) { transition-delay: 0.15s; }
.tl-item:nth-child(3) { transition-delay: 0.3s; }
.tl-item:nth-child(4) { transition-delay: 0.45s; }
.tl-item:nth-child(5) { transition-delay: 0.6s; }
.tl-item:nth-child(6) { transition-delay: 0.75s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrap img { height: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column; gap: 0;
    padding: 20px 0;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { display: block; padding: 14px 28px; font-size: 0.95rem; }
  .hero-stats { flex-direction: column; padding: 24px; }
  .stat-divider { width: 80px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-card { padding: 32px 24px; }
  .mv-cards { grid-template-columns: 1fr; }
  .about-badge-box { right: 0; bottom: -20px; }
  .section-pad { padding: 70px 0; }
  .hero-stats { width: 100%; }
  .stat { padding: 12px 0; }
  .cta-inner h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .filter-btns { gap: 8px; }
  .filter-btn { padding: 8px 18px; font-size: 0.75rem; }
}