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

:root {
  /* Brand palette sampled from the Ardyuron Solar logo */
  --primary:      #fcb81e;              /* sun gold */
  --primary-dark: #de9e0a;
  --primary-glow: rgba(252, 184, 30, 0.16);
  --blue:         #0d64c6;              /* panel blue */
  --blue-deep:    #14368b;              /* "A" royal blue */
  --green:        #10a45c;              /* circuit green */
  --green-deep:   #01844b;
  --green-glow:   rgba(16, 164, 92, 0.14);
  --dark:         #0a1224;
  --dark-2:       #101b33;
  --dark-3:       #2a3a5c;
  --light:        #f2f6fc;
  --muted:        #8da2c0;
  --white:        #ffffff;
  --ink:          #081020;              /* text on gold */
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.15);
  --shadow-lg:    0 16px 48px rgba(0, 0, 0, 0.25);
  --ease:         all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, .logo-text, .stat-number, .stat-suffix { font-family: 'Sora', 'Inter', sans-serif; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

p { color: var(--muted); }

.section-tag {
  display: inline-block;
  background: var(--green-glow);
  color: #2ecd85;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(16, 164, 92, 0.35);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #ffc93d 0%, var(--primary) 55%, #f0a90c 100%);
  color: var(--ink);
  font-weight: 700;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(252, 184, 30, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-icon { font-size: 1rem; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: var(--ease);
}
#navbar.scrolled {
  background: rgba(10, 18, 36, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}
.logo-img {
  height: 44px;
  width: auto;
  mix-blend-mode: screen; /* logo art sits on solid black; screen-blend hides it on the dark theme */
  border-radius: 8px;
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--ease);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.nav-links a.nav-cta {
  background: var(--primary);
  color: var(--ink);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
}
.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 910;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 130px 24px 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 60%, rgba(252, 184, 30, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(13, 100, 198, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 70% 85%, rgba(16, 164, 92, 0.10) 0%, transparent 65%),
    linear-gradient(170deg, #0a1224 0%, #122448 50%, #0a1224 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(141, 162, 192, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
}
.hero-badge {
  display: inline-block;
  background: rgba(252, 184, 30, 0.10);
  border: 1px solid rgba(252, 184, 30, 0.35);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInDown 0.7s ease both;
}
.hero-content h1 {
  animation: fadeInUp 0.7s ease 0.15s both;
  margin-bottom: 22px;
}
.hero-content h1 span {
  background: linear-gradient(100deg, #ffd257 0%, var(--primary) 45%, #f59105 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary); /* fallback */
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.7s ease 0.3s both;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.45s both;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}
.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 1.6s ease infinite;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 45%, var(--green-deep) 100%);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  font-feature-settings: 'tnum';
  line-height: 1;
}
.stat-suffix { font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); font-weight: 500; }

/* ===== ABOUT ===== */
.about {
  padding: 110px 0;
  background: var(--dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 { margin-bottom: 18px; }
.about-text > p { margin-bottom: 14px; font-size: 0.97rem; line-height: 1.75; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 28px 0 32px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light);
  font-size: 0.88rem;
  font-weight: 500;
}
.check {
  color: #2ecd85;
  font-weight: 700;
  font-size: 1rem;
}
.about-images { position: relative; min-height: 420px; }
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--dark);
  box-shadow: var(--shadow-lg);
}
.about-img-float img { width: 100%; height: 155px; object-fit: cover; }

/* ===== SERVICES ===== */
.services {
  padding: 110px 0;
  background: var(--dark-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  border-color: rgba(16, 164, 92, 0.45);
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(13, 100, 198, 0.18);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-card h3 { color: var(--white); margin-bottom: 10px; }
.service-card > p { font-size: 0.88rem; margin-bottom: 18px; line-height: 1.65; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.service-card ul li {
  color: var(--muted);
  font-size: 0.83rem;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.service-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #2ecd85;
  font-weight: 700;
}

/* ===== PROJECTS GALLERY ===== */
.projects {
  padding: 110px 0;
  background: var(--dark);
}
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
}
.filter-btn:hover { border-color: rgba(252, 184, 30, 0.45); color: var(--light); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--ink);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.hidden { display: none; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  display: block;
}
.gallery-overlay h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 10px; }
.gallery-view {
  align-self: flex-start;
  background: var(--primary);
  color: var(--ink);
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
}
.gallery-view:hover { background: var(--primary-dark); }

/* ===== WHY US ===== */
.why-us {
  padding: 110px 0;
  background: var(--dark-2);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--dark);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--ease);
}
.why-card:hover {
  border-color: rgba(16, 164, 92, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.why-icon { font-size: 2.6rem; display: block; margin-bottom: 18px; }
.why-card h3 { color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; line-height: 1.65; }

/* ===== CONTACT ===== */
.contact {
  padding: 110px 0;
  background: var(--dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border: 1px solid rgba(252, 184, 30, 0.25);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-item h4 { color: var(--white); margin-bottom: 3px; font-size: 0.9rem; }
.contact-item p { font-size: 0.88rem; }
.contact-item a {
  color: var(--light);
  text-decoration: none;
  transition: var(--ease);
}
.contact-item a:hover { color: var(--primary); }
.contact-note {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 8px;
}
.contact-note p { font-size: 0.85rem; line-height: 1.65; }

/* ===== FORM ===== */
.contact-form {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.req { color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--ease);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 184, 30, 0.12);
}
.form-group select option { background: var(--dark-2); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dark-3); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 64px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
}
.footer-logo {
  width: 200px;
  margin-bottom: 14px;
  mix-blend-mode: screen;
  border-radius: var(--radius-sm);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-contact { margin-top: 12px; font-size: 0.82rem; }
.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ease);
}
.footer-fb:hover { color: #1877f2; }
.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { color: var(--muted); font-size: 0.88rem; }
.footer-col ul li a { color: var(--muted); text-decoration: none; transition: var(--ease); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 88vw;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-content p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.lightbox-counter {
  display: block;
  margin-top: 6px;
  color: var(--dark-3);
  font-size: 0.78rem;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: var(--primary); color: var(--ink); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--ease);
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--primary); border-color: var(--primary); color: var(--ink); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--dark-2);
  border: 1px solid var(--green);
  border-left: 4px solid var(--green);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 3000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(4px, 4px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 52px; }
  .about-images  { min-height: 300px; }
  .about-img-main img { height: 320px; }
  .about-img-float { right: 0; }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand  { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 260px;
    background: var(--dark-2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .gallery-grid    { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .about-features  { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .contact-form    { padding: 24px; }
  .hero-buttons    { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: unset; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
