/* ==========================================================================
   AMALY PREMIUM — Apple-Level Design System Override
   Typography: Exo 2 (display) + DM Sans (body)
   Palette: Pearl Grey / White / Electric Blue — Dark Hero & Footer
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --bg-dark: #06060e;
  --bg-surface: #0d0d1a;
  --bg-light: #ffffff;
  --bg-pearl: #f0f2f5;
  --accent: #0066FF;
  --accent-hover: #3385FF;
  --accent-glow: rgba(0, 102, 255, 0.25);
  --accent-subtle: rgba(0, 102, 255, 0.08);
  --text-light: #e8e8f0;
  --text-muted: #7a7a90;
  --text-dark: #0a0a14;
  --text-dark-muted: #5a5a6e;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(0, 0, 0, 0.03);
  --glass-light-border: rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.10);
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s var(--ease-out-expo);
  --transition-fast: 0.3s var(--ease-out-quart);
}

/* --- Base Override --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body) !important;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pearl);
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: inherit !important;
}

a {
  transition: all var(--transition-fast) !important;
}

img {
  border-radius: 0;
}

/* --- Preloader --- */
.amaly-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

body.loaded .amaly-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hide old preloader */
#preloader:not(.amaly-preloader) {
  display: none !important;
}

.amaly-preloader__content {
  text-align: center;
}

.amaly-preloader__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.amaly-preloader__counter {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 2rem;
}

.amaly-preloader__line-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  margin: 0 auto;
  overflow: hidden;
}

.amaly-preloader__line {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.1s linear;
}

/* --- Header Override --- */
.header-section {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000 !important;
  background: transparent !important;
  transition: all 0.4s var(--ease-smooth) !important;
  border-bottom: 1px solid transparent;
  padding: 8px 0 !important;
}

.header-section.sticky {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
  padding: 4px 0 !important;
}

.header-section.sticky .main-menu > li > a {
  color: var(--text-dark) !important;
}

.header-section.sticky .main-menu > li > a:hover,
.header-section.sticky .main-menu > li.active-menu > a {
  color: var(--accent) !important;
}

.header-section.sticky .header-toggle button span {
  background: var(--text-dark) !important;
}

.header-section.scrolled-down {
  transform: translateY(-100%);
}

.header-section.scrolled-up {
  transform: translateY(0);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 42px !important;
  width: auto !important;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.header-section.sticky .header-logo img {
  filter: none;
}

.main-menu > li > a {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--text-light) !important;
  letter-spacing: 0.01em;
  padding: 10px 18px !important;
  transition: all var(--transition-fast) !important;
  position: relative;
}

.main-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.main-menu > li > a:hover,
.main-menu > li.active-menu > a {
  color: #fff !important;
}

.main-menu > li > a:hover::after,
.main-menu > li.active-menu > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hide cart & search */
.header-cart,
.header-search {
  display: none !important;
}

.header-btn .btn,
.header-btn .amaly-btn {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 12px 28px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out-expo) !important;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.header-btn .btn:hover,
.header-btn .amaly-btn:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* Mobile toggle */
.header-toggle button span {
  background: #fff !important;
}

/* Offcanvas */
.offcanvas {
  background: var(--bg-dark) !important;
  border-right: 1px solid var(--glass-border) !important;
}

.offcanvas-menu .main-menu > li > a {
  color: var(--text-light) !important;
  font-family: var(--font-body) !important;
  font-size: 1.1rem !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--glass-border);
}

.close-btn {
  color: #fff !important;
}

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 2px;
  gap: 0;
  margin-right: 12px;
  transition: all var(--transition-fast);
}

.header-section.sticky .lang-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.lang-toggle__option {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
}

.header-section.sticky .lang-toggle__option {
  color: var(--text-dark-muted);
}

.lang-toggle__option.active {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.lang-toggle__option:hover:not(.active) {
  color: #fff;
}

.header-section.sticky .lang-toggle__option:hover:not(.active) {
  color: var(--text-dark);
}

/* Mobile offcanvas lang toggle */
.offcanvas .lang-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  margin: 1.5rem 0 0;
  display: inline-flex;
}

.offcanvas .lang-toggle__option {
  color: var(--text-dark-muted);
}

.offcanvas .lang-toggle__option:hover:not(.active) {
  color: var(--text-dark);
}

/* --- Buttons --- */
.amaly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  border: none;
  line-height: 1.4;
}

.amaly-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 30px var(--accent-glow);
}

.amaly-btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.amaly-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s var(--ease-out-expo);
}

.amaly-btn--primary:hover::before {
  left: 100%;
}

.amaly-btn--outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--glass-border);
}

.amaly-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.amaly-btn--white {
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.amaly-btn--white:hover {
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* --- Section Base --- */
.amaly-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.amaly-section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.amaly-section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.amaly-section--light h1,
.amaly-section--light h2,
.amaly-section--light h3,
.amaly-section--light h4 {
  color: var(--text-dark) !important;
}

.amaly-section--light p {
  color: var(--text-dark-muted);
}

.amaly-section--pearl {
  background: var(--bg-pearl);
  color: var(--text-dark);
}

.amaly-section--pearl h1,
.amaly-section--pearl h2,
.amaly-section--pearl h3,
.amaly-section--pearl h4 {
  color: var(--text-dark) !important;
}

.amaly-section--pearl p {
  color: var(--text-dark-muted);
}

.amaly-section--pearl .word,
.amaly-section--pearl .char {
  color: var(--text-dark);
}

.amaly-section--pearl .amaly-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-dark-muted);
}

.amaly-section__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
  max-width: 700px;
  color: inherit !important;
}

.amaly-section__title--dark {
  color: var(--text-dark) !important;
}

.amaly-section__subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  line-height: 1.7;
  margin-top: 1rem;
}

/* --- Tag / Badge --- */
.amaly-tag {
  display: inline-flex;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
}

.amaly-tag--dark {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  color: var(--text-dark-muted);
}

/* --- Hero Section --- */
.amaly-hero {
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  background: var(--bg-dark) !important;
  padding-top: 100px !important;
  position: relative;
}

.amaly-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg3.jpg') center center / cover no-repeat;
  z-index: 0;
}

.amaly-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,6,14,0.82), rgba(6,6,14,0.65) 50%, rgba(6,6,14,0.78));
  z-index: 0;
}

.amaly-hero__gradient {
  z-index: 1;
}

.amaly-hero__grid {
  z-index: 1;
}

.amaly-hero__particles {
  z-index: 1;
}

/* Kill old hero styles */
.techwix-hero-section-03 {
  background-image: none !important;
}

.techwix-hero-section-03 .shape-1,
.techwix-hero-section-03 .shape-2,
.techwix-hero-section-03 .shape-3,
.techwix-hero-section-03 .shape-4 {
  display: none !important;
}

.amaly-hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at var(--mouse-x, 30%) var(--mouse-y, 40%), var(--accent-glow) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  transition: background-position 0.3s ease;
}

.amaly-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

/* Floating particles */
.amaly-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.amaly-hero__particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-glow), 0 0 60px var(--accent-glow);
  opacity: 0.6;
  animation: particleFloat 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 1; }
}

.amaly-hero__content {
  position: relative;
  z-index: 2;
}

.amaly-hero__title {
  font-family: var(--font-display) !important;
  font-size: clamp(3rem, 7vw, 5.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  color: #fff !important;
  max-width: 850px;
  margin-top: 1.5rem;
}

.amaly-hero__title .accent {
  color: var(--accent);
  display: inline;
}

.amaly-hero__text {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
  line-height: 1.75;
  margin-top: 1.5rem;
}

.amaly-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* Scroll indicator */
.amaly-hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.amaly-hero__scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.amaly-hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  position: relative;
}

.amaly-hero__scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* --- Services Section --- */
.amaly-services {
  background: var(--bg-pearl) !important;
}

/* Kill old service styles */
.techwix-service-section-03 {
  background-image: none !important;
  padding: 0 !important;
}

.service-wrap-03,
.service-item-03 {
  display: none !important;
}

.amaly-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.amaly-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  cursor: default;
}

.amaly-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-subtle), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.amaly-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.amaly-card__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.amaly-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.amaly-card__icon i {
  font-size: 1.4rem;
  color: var(--accent);
}

.amaly-card__title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.amaly-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Cards on pearl/light backgrounds */
.amaly-section--pearl .amaly-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.amaly-section--pearl .amaly-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 102, 255, 0.15);
}

.amaly-section--pearl .amaly-card__title {
  color: var(--text-dark) !important;
}

.amaly-section--pearl .amaly-card__text {
  color: var(--text-dark-muted);
}

.amaly-section--pearl .amaly-card__number {
  color: rgba(0, 0, 0, 0.04);
}

/* --- About Section --- */
.amaly-about {
  background: var(--bg-light) !important;
}

/* Kill old about styles */
.techwix-about-section-04 {
  padding: 0 !important;
  background: transparent !important;
}

.techwix-about-section-04 > .shape-1 {
  display: none !important;
}

.about-wrap,
.about-content-wrap,
.about-img-wrap {
  display: none !important;
}

.amaly-about__images {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}

.amaly-about__img-primary {
  border-radius: 24px;
  overflow: hidden;
}

.amaly-about__img-primary img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.amaly-about__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 5px solid var(--bg-light);
}

.amaly-about__img-secondary img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.amaly-about__content {
  padding-left: 40px;
}

.amaly-about__text {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.amaly-about__badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  margin-top: 2rem;
}

.amaly-about__badge-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.amaly-about__badge-label {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.9;
}

.amaly-about__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.amaly-about__author-name {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-bottom: 2px;
}

.amaly-about__author-role {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* --- Features Section --- */
.amaly-features {
  background: var(--bg-pearl) !important;
}

/* Kill old choose-us styles */
.techwix-choose-us-section {
  display: none !important;
}

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

/* 3D Flip Card */
.amaly-feature-card {
  position: relative;
  border-radius: 24px;
  aspect-ratio: 3/4;
  cursor: pointer;
  perspective: 1200px;
  overflow: visible;
}

.amaly-feature-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out-expo);
  transform-style: preserve-3d;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.amaly-feature-card:hover .amaly-feature-card__inner {
  transform: rotateY(180deg);
  box-shadow: var(--shadow-card-hover);
}

.amaly-feature-card__front,
.amaly-feature-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
}

.amaly-feature-card__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.amaly-feature-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(6,6,14,0.92) 0%, rgba(6,6,14,0.4) 50%, transparent 100%);
  z-index: 2;
}

.amaly-feature-card__back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.amaly-feature-card__back .amaly-feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.amaly-feature-card__back .amaly-feature-card__icon i {
  font-size: 1.3rem;
  color: #fff;
}

.amaly-feature-card__title {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: #fff !important;
}

.amaly-feature-card__text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: 12px;
}

.amaly-section--pearl .amaly-feature-card__front h3,
.amaly-section--pearl .amaly-feature-card__front .amaly-feature-card__title,
.amaly-section--pearl .amaly-feature-card__back h3,
.amaly-section--pearl .amaly-feature-card__back .amaly-feature-card__title {
  color: #fff !important;
}

.amaly-section--pearl .amaly-feature-card__back p,
.amaly-section--pearl .amaly-feature-card__back .amaly-feature-card__text {
  color: rgba(255, 255, 255, 0.85) !important;
}

.amaly-feature-card__back .amaly-feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 24px;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.amaly-feature-card__back .amaly-feature-card__link:hover {
  gap: 12px;
}

/* --- Skills Section --- */
.amaly-skills {
  background: var(--bg-light) !important;
}

/* Kill old skill styles */
.techwix-skill-section-02 {
  display: none !important;
}

.amaly-skills__text {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.amaly-skills__right {
  padding-left: 30px;
}

.amaly-skill-item {
  margin-bottom: 32px;
}

.amaly-skill-item:last-child {
  margin-bottom: 0;
}

.amaly-skill-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.amaly-skill-item__title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
}

.amaly-skill-item__percent {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.amaly-skill-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.amaly-skill-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0%;
  transition: width 1.8s var(--ease-out-expo);
}

/* --- Brands Marquee --- */
.amaly-brands {
  padding: 70px 0 !important;
  background: var(--bg-pearl) !important;
}

.amaly-brands__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  text-align: center;
}

/* Kill old brand styles */
.techwix-brand-section,
.techwix-brand-section-03 {
  display: none !important;
}

.amaly-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.amaly-marquee::before,
.amaly-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 3;
  pointer-events: none;
}

.amaly-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-pearl), transparent);
}

.amaly-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-pearl), transparent);
}

.amaly-marquee__track {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.amaly-marquee__track.paused {
  animation-play-state: paused;
}

.amaly-marquee__item {
  flex-shrink: 0;
  padding: 0 40px;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: all 0.4s ease;
}

.amaly-marquee__item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.amaly-marquee__item img {
  height: 42px;
  width: auto;
  display: block;
}

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

/* --- CTA Section --- */
.amaly-cta {
  padding: 80px 0 !important;
  background: var(--bg-light) !important;
}

/* Kill old CTA */
.techwix-cta-section-02 {
  display: none !important;
}

.amaly-cta__inner {
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.amaly-cta__glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.amaly-cta__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  max-width: 600px;
  margin: 0 auto;
}

.amaly-cta__text {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.amaly-footer {
  background: var(--bg-surface) !important;
  padding-bottom: 0 !important;
}

/* Kill old footer */
.footer-section,
.footer-section-03 {
  display: none !important;
}

.amaly-footer__top {
  padding-bottom: 60px;
}

.amaly-footer__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 20px;
}

.amaly-footer__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.amaly-footer__widget-title {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  margin-bottom: 20px !important;
}

.amaly-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amaly-footer__links li {
  margin-bottom: 10px;
}

.amaly-footer__links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.amaly-footer__links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.amaly-footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.amaly-footer__bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.amaly-footer__social {
  display: flex;
  gap: 16px;
}

.amaly-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.amaly-footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* --- Scroll Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

/* Card Cascade Animation */
@keyframes cardCascade {
  0%   { opacity: 0; transform: perspective(1000px) rotateX(-15deg) translateY(60px); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0); filter: blur(0); }
}

[data-cascade] {
  opacity: 0;
  transform: perspective(1000px) rotateX(-15deg) translateY(60px);
}

[data-cascade].cascade-visible {
  animation: cardCascade 0.8s var(--ease-out-expo) forwards;
}

/* Flip entrance animation */
@keyframes cardFlipIn {
  0%   { opacity: 0; transform: perspective(1200px) rotateY(-90deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: perspective(1200px) rotateY(0); }
}

[data-flip] {
  opacity: 0;
  transform: perspective(1200px) rotateY(-90deg);
}

[data-flip].cascade-visible {
  animation: cardFlipIn 0.9s var(--ease-out-expo) forwards;
}

/* Text split animation */
.word-wrap {
  display: inline-block;
  white-space: nowrap;
}

.char, .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.word {
  margin-right: 0.3em;
}

.revealed .char,
.revealed .word {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back to Top Override --- */
.progress-wrap {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.progress-wrap svg.progress-circle path {
  stroke: var(--accent) !important;
}

.progress-wrap::after {
  color: var(--accent) !important;
}

/* --- Trust Signals --- */
.amaly-about__trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1.5rem;
}

.amaly-about__trust-signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* --- Divider Utility --- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Kill Rules: Inner Page Template Sections --- */
.page-banner-section,
.techwix-about-section-07,
.techwix-counter-section-03,
.techwix-counter-section-04,
.contact-info-section,
.techwix-contact-section,
.techwix-contact-section-02,
.techwix-contact-section-03,
.contact-map-section {
  display: none !important;
}

/* --- Page Banner (sub-page hero) --- */
.amaly-page-banner {
  background: var(--bg-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.amaly-page-banner__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.amaly-page-banner__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.amaly-page-banner__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.amaly-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.amaly-breadcrumb li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.amaly-breadcrumb li a {
  color: var(--text-muted);
  text-decoration: none;
}

.amaly-breadcrumb li a:hover {
  color: var(--accent);
}

.amaly-breadcrumb li.active {
  color: var(--text-light);
}

.amaly-breadcrumb__separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* --- Counter Cards --- */
.amaly-counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.amaly-counter-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-out-expo);
}

.amaly-counter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 102, 255, 0.15);
}

.amaly-counter-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.amaly-counter-card__icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.amaly-counter-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.amaly-counter-card__label {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  font-weight: 500;
}

.amaly-section--pearl .amaly-counter-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.04);
}

/* --- Contact Info Cards --- */
.amaly-contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amaly-contact-info__card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-out-expo);
}

.amaly-contact-info__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 102, 255, 0.15);
}

.amaly-contact-info__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.amaly-contact-info__icon i {
  font-size: 1.3rem;
  color: var(--accent);
}

.amaly-contact-info__title {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin-bottom: 8px;
}

.amaly-contact-info__text {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
}

.amaly-contact-info__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.amaly-contact-info__link:hover {
  color: var(--accent-hover);
}

/* --- Contact Form --- */
.amaly-contact-form__wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.amaly-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.amaly-contact-form__group {
  margin-bottom: 20px;
}

.amaly-contact-form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.amaly-contact-form__input,
.amaly-contact-form__textarea {
  width: 100%;
  background: var(--bg-pearl);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.amaly-contact-form__input:focus,
.amaly-contact-form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: #fff;
}

.amaly-contact-form__input::placeholder,
.amaly-contact-form__textarea::placeholder {
  color: var(--text-dark-muted);
  opacity: 0.6;
}

.amaly-contact-form__textarea {
  min-height: 160px;
  resize: vertical;
}

/* --- Map Container --- */
.amaly-map__container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 1140px;
  margin: 0 auto;
}

.amaly-map__container iframe {
  width: 100%;
  height: 450px;
  display: block;
  border: none;
  filter: grayscale(0.15);
}

/* --- Section Variant Overrides --- */
.amaly-section--pearl.amaly-skills {
  background: var(--bg-pearl) !important;
}

.amaly-section--pearl .amaly-about__img-secondary {
  border-color: var(--bg-pearl);
}

.amaly-section--light.amaly-brands {
  background: var(--bg-light) !important;
}

.amaly-section--light .amaly-marquee::before {
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.amaly-section--light .amaly-marquee::after {
  background: linear-gradient(to left, var(--bg-light), transparent);
}

/* --- Get Started Modal --- */
.modal-backdrop {
  background: rgba(6, 6, 14, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.amaly-modal {
  background: #fff !important;
  border-radius: 24px !important;
  padding: 48px;
  border: none !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
}

.amaly-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark-muted);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  z-index: 2;
}

.amaly-modal__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

.amaly-modal__header {
  text-align: center;
  margin-bottom: 32px;
}

.amaly-modal__title {
  font-family: var(--font-display) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  margin-bottom: 8px;
}

.amaly-modal__subtitle {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin: 0;
}

.amaly-modal__services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  justify-content: center;
}

.amaly-service-pill {
  display: inline-flex;
  cursor: pointer;
  margin: 0;
}

.amaly-service-pill input {
  display: none;
}

.amaly-service-pill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--bg-pearl);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s var(--ease-out-expo);
  user-select: none;
}

.amaly-service-pill span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.amaly-service-pill input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.amaly-modal__form .amaly-contact-form__group {
  margin-bottom: 20px;
}

.amaly-modal__submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 36px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1199px (Small Desktops / Large Tablets)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .amaly-section {
    padding: 100px 0;
  }

  /* Header */
  .header-logo img {
    height: 38px !important;
  }

  /* Hero */
  .amaly-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
  }

  /* Services */
  .amaly-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Features */
  .amaly-feature-card__back {
    padding: 32px;
  }

  /* Page Banner */
  .amaly-page-banner {
    padding: 140px 0 70px;
  }

  /* Counter Cards */
  .amaly-counter-card {
    padding: 36px;
  }

  /* Contact Info */
  .amaly-contact-info__card {
    padding: 36px 28px;
  }

  /* Contact Form */
  .amaly-contact-form__wrap {
    padding: 44px;
  }

  /* Map */
  .amaly-map__container iframe {
    height: 400px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 991px (Tablets)
   ═══════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .amaly-section {
    padding: 80px 0;
  }

  /* Header */
  .header-logo img {
    height: 36px !important;
  }

  /* Hero */
  .amaly-hero__actions {
    gap: 0.75rem;
  }

  /* Services */
  .amaly-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .amaly-card {
    padding: 32px 28px;
  }

  /* About */
  .amaly-about__content {
    padding-left: 0;
    margin-top: 50px;
  }
  .amaly-about__images {
    max-width: 500px;
    margin: 0 auto;
  }
  .amaly-about__badge {
    padding: 16px 22px;
  }

  /* Features */
  .amaly-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amaly-feature-card__title {
    font-size: 1.2rem;
  }
  .amaly-feature-card__back {
    padding: 28px;
  }

  /* Skills */
  .amaly-skills__right {
    padding-left: 0;
    margin-top: 40px;
  }

  /* Brands Marquee */
  .amaly-marquee__item {
    padding: 0 30px;
  }
  .amaly-marquee__item img {
    height: 36px;
  }

  /* CTA */
  .amaly-cta__inner {
    padding: 60px 30px;
  }

  /* Footer */
  .amaly-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .amaly-footer__widget {
    margin-top: 20px;
  }

  /* Page Banner */
  .amaly-page-banner {
    padding: 140px 0 65px;
  }

  /* Counters */
  .amaly-counters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amaly-counter-card__number {
    font-size: 3rem;
  }

  /* Contact Info */
  .amaly-contact-info__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact Form */
  .amaly-contact-form__wrap {
    padding: 40px;
  }

  /* Map */
  .amaly-map__container iframe {
    height: 350px;
  }

  /* Buttons */
  .amaly-btn {
    padding: 15px 32px;
  }

  /* Modal */
  .amaly-modal {
    padding: 36px;
  }
  .amaly-modal__services {
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 767px (Large Phones / Phablets)
   ═══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .amaly-section {
    padding: 60px 0;
  }

  /* Header */
  .header-logo img {
    height: 32px !important;
  }

  /* Preloader */
  .amaly-preloader__line-wrap {
    width: 150px;
  }

  /* Hero */
  .amaly-hero {
    padding-top: 80px !important;
    min-height: auto;
    padding-bottom: 60px !important;
  }
  .amaly-hero__title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
  .amaly-hero__text {
    font-size: 1rem;
    max-width: 100%;
  }
  .amaly-hero__scroll-indicator {
    display: none;
  }
  .amaly-hero__particles {
    opacity: 0.3;
  }
  .amaly-hero__grid {
    background-size: 50px 50px;
  }

  /* Services */
  .amaly-services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .amaly-card {
    padding: 28px 24px;
  }
  .amaly-card__number {
    font-size: 3rem;
  }
  .amaly-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  /* About */
  .amaly-about__images {
    padding-right: 25px;
    padding-bottom: 25px;
  }
  .amaly-about__img-secondary {
    width: 40%;
  }
  .amaly-about__badge {
    padding: 14px 18px;
  }
  .amaly-about__badge-number {
    font-size: 2.2rem;
  }
  .amaly-about__trust-signals {
    flex-direction: column;
    gap: 8px;
  }
  .amaly-about__content {
    margin-top: 40px;
  }

  /* Features */
  .amaly-features__grid {
    grid-template-columns: 1fr;
  }
  .amaly-feature-card {
    aspect-ratio: 16/10;
  }
  .amaly-feature-card__overlay {
    padding: 20px;
  }
  .amaly-feature-card__back {
    padding: 24px;
  }
  .amaly-feature-card__title {
    font-size: 1.1rem;
  }
  .amaly-feature-card__text {
    font-size: 0.85rem;
  }

  /* Skills */
  .amaly-skill-item {
    margin-bottom: 24px;
  }
  .amaly-skill-item__title {
    font-size: 0.95rem;
  }
  .amaly-skills__text {
    font-size: 0.95rem;
  }

  /* Brands Marquee */
  .amaly-marquee::before,
  .amaly-marquee::after {
    width: 80px;
  }
  .amaly-section--pearl .amaly-marquee::before,
  .amaly-section--pearl .amaly-marquee::after,
  .amaly-section--light .amaly-marquee::before,
  .amaly-section--light .amaly-marquee::after {
    width: 80px;
  }
  .amaly-marquee__item {
    padding: 0 20px;
  }
  .amaly-marquee__item img {
    height: 30px;
  }

  /* CTA */
  .amaly-cta__inner {
    padding: 40px 20px;
    border-radius: 20px;
  }
  .amaly-cta__glow {
    width: 250px;
    height: 250px;
  }
  .amaly-cta__title {
    max-width: 100%;
  }

  /* Buttons */
  .amaly-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  /* Footer */
  .amaly-footer__top {
    padding-bottom: 30px;
  }
  .amaly-footer__widget {
    margin-top: 30px;
  }
  .amaly-footer__desc {
    font-size: 0.88rem;
  }
  .amaly-footer__links a {
    font-size: 0.88rem;
  }

  /* Page Banner */
  .amaly-page-banner {
    padding: 120px 0 50px;
  }
  .amaly-page-banner__title {
    font-size: clamp(2rem, 7vw, 3rem) !important;
  }
  .amaly-breadcrumb {
    font-size: 0.85rem;
  }

  /* Counters */
  .amaly-counters__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .amaly-counter-card {
    padding: 28px;
  }
  .amaly-counter-card__number {
    font-size: 2.5rem;
  }
  .amaly-counter-card__icon {
    width: 56px;
    height: 56px;
  }

  /* Contact Info */
  .amaly-contact-info__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .amaly-contact-info__card {
    padding: 28px 24px;
  }
  .amaly-contact-info__icon {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }
  .amaly-contact-info__title {
    font-size: 1rem;
  }

  /* Contact Form */
  .amaly-contact-form__wrap {
    padding: 32px 24px;
  }
  .amaly-contact-form__input,
  .amaly-contact-form__textarea {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  .amaly-contact-form__label {
    font-size: 0.85rem;
  }

  /* Map */
  .amaly-map__container iframe {
    height: 280px;
  }

  /* Section Titles */
  .amaly-section__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
  }

  /* Modal */
  .amaly-modal {
    padding: 28px 20px;
  }
  .amaly-modal__title {
    font-size: 1.5rem !important;
  }
  .amaly-modal__services {
    gap: 8px;
  }
  .amaly-service-pill span {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .amaly-modal__form .amaly-contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 575px (Small Phones)
   ═══════════════════════════════════════════════════ */
@media (max-width: 575px) {
  .amaly-section {
    padding: 50px 0;
  }

  /* Preloader */
  .amaly-preloader__line-wrap {
    width: 120px;
  }
  .amaly-preloader__text {
    font-size: 0.95rem;
  }

  /* Hero */
  .amaly-hero {
    padding-top: 70px !important;
    padding-bottom: 50px !important;
  }
  .amaly-hero__title {
    font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
  }
  .amaly-hero__text {
    font-size: 0.95rem;
  }
  .amaly-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .amaly-hero__actions .amaly-btn {
    width: 100%;
    text-align: center;
  }
  .amaly-hero__particles {
    display: none;
  }

  /* Services */
  .amaly-card {
    padding: 24px 20px;
  }
  .amaly-card__number {
    font-size: 2.5rem;
  }
  .amaly-card__title {
    font-size: 1.1rem;
  }
  .amaly-card__text {
    font-size: 0.88rem;
  }

  /* About */
  .amaly-about__images {
    padding-right: 20px;
    padding-bottom: 20px;
  }
  .amaly-about__img-secondary {
    width: 45%;
    right: -10px;
    bottom: -10px;
  }
  .amaly-about__content {
    margin-top: 30px;
  }
  .amaly-about__badge-number {
    font-size: 2rem;
  }
  .amaly-about__badge-label {
    font-size: 0.8rem;
  }
  .amaly-about__author-name {
    font-size: 1rem;
  }
  .amaly-about__author-role {
    font-size: 0.8rem;
  }

  /* Features */
  .amaly-feature-card {
    aspect-ratio: 4/3;
  }
  .amaly-feature-card__back {
    padding: 20px;
  }
  .amaly-feature-card__title {
    font-size: 1rem;
  }
  .amaly-feature-card__text {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .amaly-feature-card__link {
    font-size: 0.85rem;
  }

  /* Skills */
  .amaly-skill-item {
    margin-bottom: 20px;
  }
  .amaly-skill-item__title {
    font-size: 0.9rem;
  }
  .amaly-skill-item__percent {
    font-size: 0.85rem;
  }
  .amaly-skills__text {
    font-size: 0.9rem;
  }

  /* Brands Marquee */
  .amaly-marquee::before,
  .amaly-marquee::after {
    width: 50px;
  }
  .amaly-section--pearl .amaly-marquee::before,
  .amaly-section--pearl .amaly-marquee::after,
  .amaly-section--light .amaly-marquee::before,
  .amaly-section--light .amaly-marquee::after {
    width: 50px;
  }
  .amaly-marquee__item {
    padding: 0 16px;
  }
  .amaly-marquee__item img {
    height: 26px;
  }
  .amaly-brands__label {
    font-size: 0.78rem;
  }

  /* CTA */
  .amaly-cta__inner {
    padding: 32px 16px;
    border-radius: 16px;
  }
  .amaly-cta__glow {
    display: none;
  }
  .amaly-cta__text {
    font-size: 0.9rem;
  }

  /* Buttons */
  .amaly-btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  /* Footer */
  .amaly-footer__top {
    padding-bottom: 20px;
  }
  .amaly-footer__brand img {
    height: 32px !important;
  }
  .amaly-footer__desc {
    font-size: 0.85rem;
  }
  .amaly-footer__widget-title {
    font-size: 1rem;
  }
  .amaly-footer__links a {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
  .amaly-footer__bottom {
    flex-direction: column;
    gap: 12px;
  }
  .amaly-footer__bottom p {
    font-size: 0.8rem;
  }

  /* Page Banner */
  .amaly-page-banner {
    padding: 110px 0 40px;
  }
  .amaly-page-banner__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }
  .amaly-breadcrumb {
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Counters */
  .amaly-counter-card {
    padding: 24px;
  }
  .amaly-counter-card__number {
    font-size: 2.2rem;
  }

  /* Contact Info */
  .amaly-contact-info__card {
    padding: 24px 20px;
  }

  /* Contact Form */
  .amaly-contact-form__wrap {
    padding: 24px 16px;
  }
  .amaly-contact-form__row {
    grid-template-columns: 1fr;
  }

  /* Map */
  .amaly-map__container {
    border-radius: 16px;
  }
  .amaly-map__container iframe {
    height: 240px;
  }

  /* Section Titles */
  .amaly-section__title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
  .amaly-section__subtitle {
    font-size: 0.95rem;
  }

  /* Modal */
  .amaly-modal {
    padding: 24px 16px;
  }
  .amaly-modal__title {
    font-size: 1.4rem !important;
  }
  .amaly-modal__subtitle {
    font-size: 0.88rem;
  }
  .amaly-modal__header {
    margin-bottom: 24px;
  }
  .amaly-service-pill span {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  .amaly-modal__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* Tags */
  .amaly-tag {
    font-size: 0.72rem;
    padding: 8px 18px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 400px (Very Small Phones)
   ═══════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .amaly-hero__title {
    font-size: 1.6rem !important;
  }
  .amaly-hero__text {
    font-size: 0.9rem;
  }
  .amaly-section__title {
    font-size: 1.4rem !important;
  }
  .amaly-card {
    padding: 20px 16px;
  }
  .amaly-feature-card {
    aspect-ratio: 1/1;
  }
  .amaly-cta__inner {
    padding: 28px 14px;
  }
  .amaly-contact-form__wrap {
    padding: 20px 12px;
  }
  .amaly-btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .char, .word {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-cascade],
  [data-flip] {
    opacity: 1 !important;
    transform: none !important;
  }

  .amaly-hero__particle {
    display: none;
  }

  .amaly-marquee__track {
    animation: none;
  }
}
