/*
Theme Name: DCraft Digital Solutions
Theme URI: https://dcraft.my
Author: DCraft Digital Solutions
Author URI: https://dcraft.my
Description: Professional WordPress theme for DCraft Digital Solutions — a Malaysian web design company. Blue & white color scheme, Elementor compatible.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dcraft-theme
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, responsive-layout
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary:       #0057D9;
  --color-primary-dark:  #00358F;
  --color-primary-light: #1A70FF;
  --color-primary-hover: #0048B8;
  --color-accent:        #00B4FF;
  --color-white:         #FFFFFF;
  --color-bg-light:      #F0F5FF;
  --color-bg-dark:       #03071A;
  --color-text-dark:     #080E1E;
  --color-text-gray:     #4A5773;
  --color-border:        #D0DFFF;
  --color-success:       #00C47A;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --shadow-sm:   0 1px 3px rgba(0, 87, 217, 0.08);
  --shadow-md:   0 4px 16px rgba(0, 87, 217, 0.12);
  --shadow-lg:   0 8px 32px rgba(0, 87, 217, 0.18);
  --shadow-card: 0 2px 14px rgba(0, 87, 217, 0.10);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-pill: 999px;

  --transition: 0.25s ease;

  --max-width: 1200px;
  --section-padding: 120px 0;
  --section-padding-sm: 72px 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section-sm {
  padding: var(--section-padding-sm);
}

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

.section-bg-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

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

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  margin-bottom: 20px;
  color: var(--color-white);
}

.section-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header.light h2,
.section-header.light p {
  color: var(--color-white);
}

.section-header.light p {
  opacity: 0.85;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 180, 255, 0.10);
  border: 1px solid rgba(0, 180, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-label.light {
  color: var(--color-white);
  background: rgba(255,255,255,0.15);
}

/* Section header overrides — light-background sections */
.why-choose .section-header h2,
.process .section-header h2,
.services .section-header h2,
.faq .section-header h2 {
  color: var(--color-text-dark);
}

.why-choose .section-header p,
.process .section-header p,
.services .section-header p,
.faq .section-header p {
  color: var(--color-text-gray);
}

.why-choose .section-label,
.process .section-label,
.services .section-label,
.faq .section-label {
  color: var(--color-primary);
  background: var(--color-bg-light);
  border: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97) translateY(1px);
}

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

/* Shimmer sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 87, 217, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.btn-white:hover {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
}

.btn-lg {
  font-size: 1rem;
  padding: 16px 36px;
}

/* ============================================================
   CARDS (shared)
   ============================================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.site-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}

.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 4px 0;
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.primary-nav a:hover,
.primary-nav a.current-page {
  color: var(--color-primary);
}

.primary-nav a:hover::after,
.primary-nav a.current-page::after {
  width: 100%;
}

/* WordPress nav menu overrides */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav ul li {
  position: relative;
}

.primary-nav ul li a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  color: var(--color-primary);
}

.primary-nav ul li a:hover::after,
.primary-nav ul li.current-menu-item > a::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover { color: var(--color-primary); }

/* WordPress mobile nav list */
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}

.mobile-nav ul li:last-child a {
  border-bottom: none;
}

.mobile-nav ul li a:hover { color: var(--color-primary); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 150px 0 90px;
  background: linear-gradient(135deg, #020812 0%, #03124A 45%, #0040B8 100%);
  position: relative;
  overflow: hidden;
}

/* Dot-grid overlay — animated drift */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,180,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: dotGridDrift 28s linear infinite;
  pointer-events: none;
}

/* Right-side blue glow */
.hero::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,87,217,0.50) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* 2-column grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero h1 span {
  color: #60C5FF;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.75;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ============================================================
   HERO VISUAL — DEVICE MOCKUP
   ============================================================ */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 40px;
}

.device-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  animation: float 6s ease-in-out infinite;
}

/* ── Laptop ── */
.laptop {
  width: 100%;
}

.laptop-lid {
  background: linear-gradient(160deg, #2e2e2e 0%, #1c1c1c 100%);
  border-radius: 12px 12px 0 0;
  padding: 10px 10px 0;
  border: 2px solid #3c3c3c;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.laptop-camera {
  width: 6px;
  height: 6px;
  background: #3a3a3a;
  border: 1.5px solid #4a4a4a;
  border-radius: 50%;
  margin: 0 auto 7px;
}

.laptop-screen {
  background: #0A1630;
  border-radius: 5px;
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 0;
  display: block;
  line-height: 0;
}

/* Simulated website inside screen */
.sim-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 4px 6px;
  margin-bottom: 7px;
}

.sim-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.sim-dot.red   { background: #FF5F57; }
.sim-dot.yellow{ background: #FEBC2E; }
.sim-dot.green { background: #28C840; }

.sim-url {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-left: 4px;
}

.sim-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  margin-bottom: 6px;
}

.sim-logo-block {
  width: 28px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 2px;
}

.sim-nav-links {
  display: flex;
  gap: 5px;
}

.sim-nav-links span {
  width: 14px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}

.sim-hero-block {
  background: linear-gradient(135deg, #03124A, #0040B8);
  border-radius: 4px;
  padding: 10px 8px;
  margin-bottom: 7px;
}

.sim-h1 {
  height: 7px;
  width: 68%;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  margin-bottom: 5px;
}

.sim-h1.short { width: 44%; }

.sim-para {
  height: 4px;
  width: 80%;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin-bottom: 3px;
}

.sim-para.short { width: 55%; }

.sim-cta {
  display: inline-block;
  width: 40px;
  height: 11px;
  background: var(--color-accent);
  border-radius: 5px;
  margin-top: 5px;
}

.sim-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.sim-card-item {
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 6px 4px 8px;
}

.sim-card-icon {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.6;
  margin-bottom: 4px;
}

.sim-card-line {
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-bottom: 2px;
}

.sim-card-line.short { width: 60%; }

/* Laptop base */
.laptop-hinge {
  background: linear-gradient(180deg, #1a1a1a, #262626);
  height: 5px;
}

.laptop-base {
  background: linear-gradient(160deg, #282828 0%, #1a1a1a 100%);
  border-radius: 0 0 10px 10px;
  padding: 10px 14px 14px;
  border: 2px solid #3c3c3c;
  border-top: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

.laptop-keyboard {
  width: 88%;
  height: 36px;
  background:
    repeating-linear-gradient(
      90deg,
      #303030 0px, #303030 9px,
      #1e1e1e 9px, #1e1e1e 11px
    ),
    repeating-linear-gradient(
      180deg,
      #303030 0px, #303030 7px,
      #1e1e1e 7px, #1e1e1e 9px
    );
  border-radius: 3px;
  opacity: 0.75;
}

.laptop-trackpad {
  width: 26%;
  height: 14px;
  background: #252525;
  border-radius: 3px;
  border: 1px solid #353535;
}

/* ── Phone ── */
.phone {
  position: absolute;
  bottom: -24px;
  right: -28px;
  width: 94px;
  background: linear-gradient(160deg, #2a2a2a, #1a1a1a);
  border-radius: 14px;
  padding: 8px 4px 10px;
  border: 2px solid #3a3a3a;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}

.phone-notch {
  width: 22px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin: 0 auto 5px;
}

.phone-screen {
  background: #0A1630;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  min-height: 130px;
  display: block;
  line-height: 0;
}

.phone-sim-header {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 5px;
}

.phone-sim-hero {
  height: 44px;
  background: linear-gradient(135deg, #03124A, #0040B8);
  border-radius: 3px;
  margin-bottom: 5px;
}

.phone-sim-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.phone-sim-cards > div {
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.phone-home-bar {
  width: 22px;
  height: 3px;
  background: #3a3a3a;
  border-radius: 2px;
  margin: 6px auto 0;
}

/* ── Floating Trust Badges ── */
.hero-float-badge {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.hero-float-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-float-badge.badge-wp {
  top: 4%;
  left: -8%;
  animation: float 5s ease-in-out infinite 0.4s;
}

.hero-float-badge.badge-speed {
  top: 48%;
  right: -12%;
  animation: float 5s ease-in-out infinite 1s;
}

.hero-float-badge.badge-mobile {
  bottom: 8%;
  left: 2%;
  animation: float 5s ease-in-out infinite 1.6s;
}

/* ============================================================
   ANIMATIONS & MOTION
   ============================================================ */

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(55px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes dotGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 56px 56px; }
}

@keyframes driftOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-45px, 35px) scale(1.08); }
  66%       { transform: translate(30px, -25px) scale(0.94); }
}

@keyframes driftOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(55px, -40px) scale(1.06); }
  75%       { transform: translate(-28px, 28px) scale(0.96); }
}

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

/* Hero entrance — sequential stagger */
.hero-badge      { animation: fadeInUp 0.65s ease both 0s; }
.hero h1         { animation: fadeInUp 0.65s ease both 0.15s; }
.hero-subtitle   { animation: fadeInUp 0.65s ease both 0.30s; }
.hero-actions    { animation: fadeInUp 0.65s ease both 0.45s; }
.hero-stats      { animation: fadeInUp 0.65s ease both 0.60s; }
.hero-visual     { animation: slideInRight 0.8s ease both 0.25s; }

/* Scroll-reveal utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.animate-on-scroll.from-left  { transform: translateX(-38px); }
.animate-on-scroll.from-right { transform: translateX(38px); }
.animate-on-scroll.scale-in   { transform: scale(0.93); }

.animate-on-scroll.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.10s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.20s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.30s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.40s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.50s; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose {
  padding: var(--section-padding);
  background: var(--color-white);
}

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

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  padding: var(--section-padding);
  background:
    radial-gradient(circle, rgba(0,180,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, #060F2E 0%, #03071A 100%);
  background-size: 30px 30px, 100% 100%;
  animation: dotGridDrift 22s linear infinite;
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.14) 0%, transparent 65%);
  border-radius: 50%;
  top: -160px;
  right: -120px;
  animation: driftOrb 16s ease-in-out infinite;
  pointer-events: none;
}

.portfolio::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.09) 0%, transparent 65%);
  border-radius: 50%;
  bottom: -80px;
  left: 5%;
  animation: driftOrb2 21s ease-in-out infinite 2s;
  pointer-events: none;
}

.portfolio .container {
  position: relative;
  z-index: 1;
}

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

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 87, 217, 0.25);
  border-color: rgba(0, 180, 255, 0.35);
}

.portfolio-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-placeholder-icon {
  font-size: 3rem;
  opacity: 0.4;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-placeholder-icon {
  transform: scale(1.2) translateY(-4px);
  opacity: 0.65;
}

.portfolio-card-body {
  padding: 20px 24px;
}

.portfolio-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.portfolio-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

/* ============================================================
   WEB DESIGN PROCESS
   ============================================================ */
.process {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.process-step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.process-step:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.process-step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-bg-light);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   WHY BUSINESS NEEDS A WEBSITE
   ============================================================ */
.need-website {
  padding: var(--section-padding);
  background: linear-gradient(-45deg, #03071A, #05113E, #030A28, #060F2E);
  background-size: 400% 400%;
  animation: gradientShift 14s ease infinite;
  position: relative;
  overflow: hidden;
}

.need-website::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  animation: driftOrb 18s ease-in-out infinite;
  pointer-events: none;
}

.need-website .container {
  position: relative;
  z-index: 1;
}

.need-website-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.need-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--transition);
}

.need-card:hover {
  background: rgba(255, 255, 255, 0.13);
}

.need-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.need-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.need-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}

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

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.25s ease;
}

.service-card.featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.service-card.featured:hover {
  border-color: var(--color-primary-dark);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.service-card.featured .service-card-icon {
  background: rgba(255, 255, 255, 0.15);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.service-card.featured h3 { color: var(--color-white); }

.service-card > p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: 24px;
  line-height: 1.65;
}

.service-card.featured > p { color: rgba(255, 255, 255, 0.8); }

.service-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--color-text-gray);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card.featured .service-features li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.service-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card.featured .service-features li::before {
  color: #60C5FF;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 12px 0 0;
  border-top: 1px solid var(--color-border);
}

.service-price strong {
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card.featured .service-price {
  color: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-padding);
  background:
    radial-gradient(circle, rgba(0,180,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, #03071A 0%, #060F2E 100%);
  background-size: 30px 30px, 100% 100%;
  animation: dotGridDrift 26s linear infinite;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.14) 0%, transparent 65%);
  border-radius: 50%;
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
  animation: driftOrb 19s ease-in-out infinite;
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  top: -60px;
  right: 8%;
  animation: driftOrb2 15s ease-in-out infinite 1.5s;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.25s ease, background 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 87, 217, 0.22);
  border-color: rgba(0, 180, 255, 0.30);
  background: rgba(255, 255, 255, 0.07);
}

.testimonial-quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  margin-bottom: 20px;
  display: block;
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}

.testimonial-author-info span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-white);
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--color-text-gray);
  line-height: 1.75;
  border-top: 1px solid transparent;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s ease,
              opacity 0.35s ease,
              border-color 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 24px 22px;
  opacity: 1;
  border-top-color: var(--color-border);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: var(--section-padding);
  background: linear-gradient(-45deg, #03071A, #050F38, #020B28, #060F2E);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  bottom: -80px;
  left: 40%;
  animation: driftOrb 20s ease-in-out infinite;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.contact-detail-text a,
.contact-detail-text span {
  color: var(--color-white);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-detail-text a:hover {
  color: #60C5FF;
}

/* Contact Form Box */
.contact-form-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-box h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
  color: var(--color-text-dark);
}

/* Contact Form 7 overrides */
.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 16px;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 63, 171, 0.1);
}

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

.wpcf7-form input[type="submit"] {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* HTML form fallback */
.contact-form-html .form-group {
  margin-bottom: 16px;
}

.contact-form-html label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

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

.contact-form-html input:focus,
.contact-form-html select:focus,
.contact-form-html textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 63, 171, 0.1);
}

.contact-form-html textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .site-logo {
  margin-bottom: 16px;
}

.footer-brand .site-logo-text {
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item-icon {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.95rem;
}

.footer-contact-item-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item-text a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-contact-item-text a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

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

/* ============================================================
   INNER PAGE HERO BANNER
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::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.03'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  padding: var(--section-padding);
  background: var(--color-white);
}

.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-visual {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-story-content h2 {
  margin-bottom: 20px;
}

.about-story-content p {
  color: var(--color-text-gray);
  line-height: 1.8;
}

.about-values {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid var(--color-primary);
}

.about-value-card h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.about-value-card p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin: 0;
}

.about-timeline {
  padding: var(--section-padding);
  background: var(--color-white);
}

.timeline-items {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  padding-top: 4px;
  text-align: right;
  padding-right: 16px;
}

.timeline-content {
  padding-left: 32px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.timeline-content span {
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

.about-awards {
  padding: var(--section-padding-sm);
  background: var(--color-primary);
}

.awards-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.award-item {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.award-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.award-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detail {
  padding: var(--section-padding);
  background: var(--color-white);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail-visual {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-detail-content .section-label {
  margin-bottom: 12px;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--color-text-gray);
  margin-bottom: 24px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--color-text-dark);
}

.service-features-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

.services-philosophy {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

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

.philosophy-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.philosophy-card p {
  font-size: 0.88rem;
  color: var(--color-text-gray);
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section {
  padding: var(--section-padding);
  background: var(--color-white);
}

.contact-page-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-page-info h2 {
  margin-bottom: 16px;
}

.contact-page-info > p {
  color: var(--color-text-gray);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact-page-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-page-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.contact-page-detail-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.contact-page-detail-text a {
  color: var(--color-text-dark);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
}

.contact-page-detail-text a:hover { color: var(--color-primary); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */
.elementor-page .site-header,
.elementor-page .site-footer {
  display: block !important;
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.85rem; color: var(--color-text-gray); }
.sticky { position: relative; }
.gallery { margin-bottom: 1.5em; }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    display: inline-flex;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat-item {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .why-choose-grid,
  .portfolio-grid,
  .process-steps,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-story-inner,
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

  .timeline-items::before { display: none; }

  .contact-page-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
    --section-padding-sm: 50px 0;
  }

  /* Header */
  .primary-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero — fully centered on mobile */
  .hero {
    padding: 120px 0 72px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    display: inline-flex;
    margin: 0 auto 28px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 36px;
    margin-top: 48px;
    padding-top: 32px;
  }

  .hero-stat-item {
    text-align: center;
    min-width: 90px;
  }

  .hero-stat-value {
    font-size: 1.75rem;
  }

  /* Grids → single column */
  .why-choose-grid,
  .portfolio-grid,
  .process-steps,
  .services-grid,
  .need-website-grid,
  .testimonials-grid,
  .about-values-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 48px;
  }

  .section-header p {
    font-size: 1.05rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Inner pages */
  .awards-list {
    gap: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline-period {
    text-align: left;
    padding-right: 0;
  }

  .timeline-content {
    padding-left: 0;
  }

  .timeline-content::before { display: none; }

  /* Contact form */
  .contact-form-box {
    padding: 28px 20px;
  }

  .contact-inner {
    gap: 32px;
  }

  /* Device mockup — hide on mobile */
  .laptop, .phone {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 64px 0;
    --section-padding-sm: 40px 0;
  }

  .container {
    padding: 0 18px;
  }

  /* Hero — full-width stacked buttons */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  /* Stats in 2 columns on small screens */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }

  .hero-stat-item {
    min-width: unset;
  }

  /* Section header spacing */
  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  /* Cards — reduce padding on tiny screens */
  .why-card,
  .process-step {
    padding: 24px 20px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .testimonial-card {
    padding: 28px 22px;
  }

  /* Contact form box */
  .contact-form-box {
    padding: 24px 16px;
  }

  /* Footer */
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}
