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

:root {
  --green: #18392b;
  --green-mid: #1e4d3a;
  --green-light: #2a6b4f;
  --green-bright: #3d9970;
  --accent: #93A3B1;
  --accent-light: #a8b5c0;
  --accent-dark: #7a8d9c;
  --white: #ffffff;
  --off-white: #f7f8f9;
  --text-dark: #18392b;
  --text-muted: #5a7a6a;
  --border: rgba(24, 57, 43, 0.1);
  --border-dark: rgba(255, 255, 255, 0.12);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== CREATIVE LOGO ===== */
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-left: 0;
}

/* ===== HERO CREATIVE LOGO ===== */
.hero-logo-big {
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-logo-line {
  line-height: 1;
  white-space: nowrap;
}

.creative-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 8.5rem);
  color: var(--white);
  letter-spacing: -2px;
  display: inline;
}

.creative-text.second {
  color: var(--accent);
}

.hero-logo-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-dark);
  text-align: left;
  padding-left: 0;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
}

.section-desc.center {
  text-align: center;
  margin: 0 auto 48px;
}

.section {
  padding: 100px 0;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(24, 57, 43, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

.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;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--green-bright));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
  background: var(--green);
}

.hero-content {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 120px);
}

.hero-name-block {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  text-align: center;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 48px 48px;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bottom-left {
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(147, 163, 177, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-banner {
  background: var(--accent);
  color: var(--white);
  padding: 16px 36px;
  font-weight: 700;
}

.btn-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Light sections need different outline button */
.portfolio-cta .btn-outline {
  color: var(--green);
  border-color: rgba(24, 57, 43, 0.25);
}

.portfolio-cta .btn-outline:hover {
  border-color: var(--green);
}

/* ===== ABOUT ===== */
.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-text .btn {
  margin-top: 12px;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(24, 57, 43, 0.15);
}

.about-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 15%;
}

/* ===== PROCESS BAR ===== */
.process-section {
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.process-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 40px;
}

.process-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, background 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  background: var(--off-white);
}

.process-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: rgba(24, 57, 43, 0.08);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.process-step h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-list {
  list-style: none;
}

.about-list li {
  padding: 10px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 24px;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-weight: 700;
}

/* ===== SERVICES ===== */
.services {
  background: var(--green);
  color: var(--white);
}

.services .section-label {
  color: var(--accent);
}

.services .section-title {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(147, 163, 177, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card.featured {
  border-color: var(--accent);
  background: rgba(147, 163, 177, 0.1);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent), var(--green-bright));
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent-light);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(24, 57, 43, 0.08);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(24, 57, 43, 0.15);
}

.portfolio-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-info {
  background: var(--white);
  padding: 20px 24px;
}

.portfolio-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--green);
  transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 {
  color: var(--accent-dark);
}

.portfolio-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-cta {
  text-align: center;
}

/* ===== TRUST BANNER ===== */
.trust-banner {
  border-radius: var(--radius);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trust-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 57, 43, 0.92) 0%, rgba(24, 57, 43, 0.8) 100%);
}

.trust-content {
  position: relative;
  z-index: 1;
}

.trust-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--white);
}

.trust-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ESTIMATE FORM ===== */
.estimate {
  background: var(--green);
  color: var(--white);
}

.estimate .section-label {
  color: var(--accent);
}

.estimate .section-title {
  color: var(--white);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.form-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.benefit-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.estimate-form,
.contact-form {
  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: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.estimate .form-group input,
.estimate .form-group select,
.estimate .form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.estimate .form-group input::placeholder,
.estimate .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.estimate .form-group input:focus,
.estimate .form-group select:focus,
.estimate .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(147, 163, 177, 0.15), 0 0 20px rgba(147, 163, 177, 0.08);
}

.estimate .form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2393A3B1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.estimate .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease, transform 0.3s ease;
  margin: -16px;
  margin-bottom: 0;
}

.contact-item:hover {
  background: var(--off-white);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--green);
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-item a {
  color: var(--accent);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent-light);
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(24, 57, 43, 0.3);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 57, 43, 0.08), 0 0 20px rgba(24, 57, 43, 0.05);
}

.contact-form .form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green);
  color: var(--white);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo {
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== INNER PAGES ===== */
.inner-page .nav {
  background: rgba(24, 57, 43, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

.page-header {
  background: var(--green);
  padding: 140px 0 56px;
  color: var(--white);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

.page-header .container {
  width: 100%;
  text-align: left;
}

.page-header .section-label {
  color: var(--accent);
  text-align: left;
  padding-left: 0;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  text-align: left;
  padding-left: 0;
}

.page-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  max-width: 480px;
}

/* ===== GATEWAY CARDS ===== */
.gateway {
  background: var(--white);
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gateway-card {
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.4s ease, color 0.4s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  background: var(--white);
}

.gateway-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--green-bright), var(--accent));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gateway-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(24, 57, 43, 0.12);
  background: var(--green);
  color: var(--white);
}

.gateway-card:hover::before {
  opacity: 1;
}

.gateway-card:hover .gateway-number {
  color: rgba(255, 255, 255, 0.15);
}

.gateway-card:hover h3 {
  color: var(--white);
}

.gateway-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.gateway-card:hover .gateway-link {
  color: var(--accent-light);
}

.gateway-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(24, 57, 43, 0.08);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.gateway-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.gateway-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
  transition: color 0.4s ease;
}

.gateway-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.4s ease;
}

.gateway-card:hover .gateway-link {
  color: var(--green);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-bright));
  z-index: 1001;
  width: 0%;
  transition: none;
}

/* ===== HERO PARALLAX & AURORA ===== */
.hero {
  perspective: 1px;
}

.hero-name-block {
  will-change: transform;
}

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

.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: aurora 12s ease-in-out infinite alternate;
}

.hero-aurora::before {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.hero-aurora::after {
  width: 500px;
  height: 500px;
  background: var(--green-bright);
  bottom: -15%;
  left: -5%;
  animation-delay: -6s;
}

@keyframes aurora {
  0% { transform: translate(0, 0) scale(1); opacity: 0.08; }
  50% { transform: translate(40px, -30px) scale(1.15); opacity: 0.15; }
  100% { transform: translate(-20px, 20px) scale(0.95); opacity: 0.1; }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.hero-spotlight {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 163, 177, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease, top 0.3s ease;
  display: none;
}

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

/* ===== ANIMATED GRADIENT TEXT ===== */
.creative-text.second {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #c5d0da, var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

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

/* ===== MARQUEE TICKER ===== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--green);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 24px;
  flex-shrink: 0;
}

.marquee-dot {
  width: 4px !important;
  height: 4px !important;
  background: var(--accent) !important;
  border-radius: 50%;
  display: inline-block !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TRUST BANNER PARALLAX ===== */
.trust-bg-img {
  will-change: transform;
  transition: none;
  transform: scale(1.15);
}

/* ===== ABOUT PHOTO PARALLAX ===== */
.about-photo {
  will-change: transform;
}

.about-photo img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade variants */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== ENHANCED CARD HOVERS ===== */
.gateway-card,
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
}

.gateway-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(24, 57, 43, 0.15);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ===== BUTTON GLOW ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-banner {
  position: relative;
  overflow: hidden;
}

.btn-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-banner:hover::after {
  opacity: 1;
}

/* ===== SMOOTH IMAGE REVEAL ===== */
.img-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* ===== PORTFOLIO HOVER ENHANCE ===== */
.portfolio-item {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(24, 57, 43, 0.18);
}

.portfolio-img img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.08);
}

/* ===== STAT COUNTER ===== */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ===== SECTION DIVIDER LINE ===== */
.section-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-bright));
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .gateway-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .trust-banner {
    padding: 56px 32px;
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 12px 40px rgba(24, 57, 43, 0.3);
  }

  .nav.scrolled .nav-links {
    background: rgba(24, 57, 43, 0.98);
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    border-bottom-color: var(--border-dark);
  }

  .nav.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    border-bottom-color: var(--border-dark);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    text-align: center;
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 0;
  }

  .hero-name-block {
    padding: 0 24px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 40px;
    gap: 32px;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
  }

  .creative-text {
    font-size: clamp(2.8rem, 8vw, 5rem);
  }

  .hero-logo-sub {
    font-size: clamp(1.2rem, 3vw, 2rem);
    letter-spacing: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .creative-text {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero-logo-line {
    white-space: normal;
  }

  .hero-logo-sub {
    letter-spacing: 6px;
    font-size: 1.2rem;
  }

  .process-bar {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-divider {
    height: 30px;
  }
}
