@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #00AEEF;
  --blue-dark: #008CBE;
  --blue-light: #33BEF2;
  --blue-50: #E5F7FD;
  --blue-100: #B3E7FA;
  --blue-200: #80D7F6;
  --red: #E3000F;
  --red-dark: #B3000C;
  --red-light: #FF3340;
  --red-50: #FDEDEE;
  --red-100: #FAD1D3;
  --silver: #9AABB8;
  --white: #FFFFFF;
  --off-white: #F7F9FB;
  --gray-50: #F8FAFB;
  --gray-100: #EEF2F6;
  --gray-200: #DDE3EA;
  --gray-300: #C1CBD6;
  --gray-400: #8DA0B3;
  --gray-500: #5E7489;
  --gray-600: #3D5468;
  --gray-700: #2A3B4D;
  --gray-800: #1A2738;
  --gray-900: #0F1923;
  --text-dark: #1A2738;
  --text-body: #3D5468;
  --text-muted: #5E7489;
  --gradient-main: linear-gradient(135deg, #00AEEF 0%, #008CBE 100%);
  --gradient-red: linear-gradient(135deg, #E3000F 0%, #B3000C 100%);
  --gradient-dark: linear-gradient(135deg, #1A2738 0%, #008CBE 100%);
  --shadow-xs: 0 1px 3px rgba(0, 174, 239, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 174, 239, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 174, 239, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 174, 239, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 174, 239, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(0, 174, 239, 0.1) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: 0 1px 20px rgba(0, 174, 239, 0.08);
  border-bottom: 1px solid var(--gray-100);
}

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

/* Logo SVG style */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 64px;
  height: 48px;
  position: relative;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--red);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:hover {
  color: var(--blue);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* Floating WhatsApp Button Pulse */
.whats-floating {
  animation: wa-pulse 1.8s infinite ease-in-out;
}

.whats-floating:hover {
  transform: scale(1.15) rotate(5deg) !important;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45) !important;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.7);
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    /* very subtle scale up */
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0px rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 4px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 90%);
}

.hero-pattern {
  position: absolute;
  inset: -200px;
  opacity: 0.3;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 10s linear infinite;
  will-change: transform;
}

.hero-glow {
  position: fixed;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.18), transparent 70%);
  border-radius: 50%;
  top: -400px;
  right: -300px;
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite alternate;
  z-index: -3;
}

.hero-glow-2 {
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.12), transparent 70%);
  border-radius: 50%;
  bottom: -300px;
  left: -250px;
  pointer-events: none;
  animation: pulseGlow 12s ease-in-out infinite alternate-reverse;
  z-index: -3;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 100px;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--gray-800);
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-fill {
  background: var(--gradient-red);
  color: white;
}

.btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(227, 0, 15, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-200);
}

.btn-ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.hero-stat {
  position: relative;
  padding-left: 16px;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--gradient-main);
  border-radius: 4px;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.hero-visual {
  animation: fadeInRight 0.8s ease-out 0.2s both;
  position: relative;
}

.hero-showcase {
  position: relative;
  background: var(--gradient-dark);
  border-radius: 24px;
  padding: 40px 32px;
  color: white;
  overflow: hidden;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-showcase-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.hero-showcase-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.showcase-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}

.showcase-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.showcase-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke-width: 2;
}

.showcase-item-text {
  flex-grow: 1;
}

.showcase-item h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.2;
}

.showcase-item p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

.hero-showcase-btn {
  margin-top: 16px;
  text-align: center;
}

.btn-showcase-all {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.btn-showcase-all:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-branches {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.branch-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.branch-tag svg {
  width: 12px;
  height: 12px;
}

/* ========== SECTIONS ========== */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 239, 0.1), transparent);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--gray-800);
}

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

/* ========== ABOUT ========== */
.about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}



.about-intro {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-text {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-hl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.about-hl:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.about-hl-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-50);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-hl-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
}

.about-hl span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat-card .lbl {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 6px;
  font-weight: 500;
}

.equipment-card {
  grid-column: 1 / -1;
  background: var(--gradient-dark);
  border: none;
  color: white;
  padding: 28px 24px;
  border-radius: var(--radius);
}

.equipment-card .eq-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eq-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== SERVICES ========== */
.services {
  background: transparent;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-md);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-ico {
  width: 50px;
  height: 50px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.service-card:hover .service-ico {
  background: var(--blue);
}

.service-ico svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  transition: var(--transition);
}

.service-card:hover .service-ico svg {
  stroke: white;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card>p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.svc-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 5px;
}

.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* ========== WORKS EXAMPLES ========== */
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue) !important;
  box-shadow: 0 12px 40px rgba(0, 174, 239, 0.18) !important;
}

/* ========== PORTFOLIO ========== */
.portfolio {
  background: rgba(247, 249, 251, 0.4);
}

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

.pf-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  transition: var(--transition);
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.pf-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pf-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
}

.pf-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.pf-card p {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.pf-featured {
  grid-column: 1 / -1;
  background: var(--gradient-dark);
  border: none;
  padding: 36px 32px;
  color: white;
}

.pf-featured .pf-icon {
  background: rgba(255, 255, 255, 0.1);
}

.pf-featured .pf-icon svg {
  stroke: white;
}

.pf-featured h4 {
  color: white;
}

.pf-featured p {
  color: rgba(255, 255, 255, 0.65);
}

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

.pf-photo-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  position: relative;
}

.pf-photo-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 60px rgba(0, 174, 239, 0.2);
  transform: translateY(-8px);
}

.pf-photo-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.pf-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pf-photo-card:hover .pf-photo-img img {
  transform: scale(1.08);
}

.pf-photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pf-photo-info {
  padding: 20px;
}

.pf-photo-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.3;
}

.pf-photo-info p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 10px;
}

.pf-photo-location {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
}

/* Featured photo card */
.pf-photo-featured {
  grid-column: 1 / -1;
}

.pf-photo-featured .pf-photo-img {
  height: 320px;
}

.pf-photo-featured .pf-photo-info h4 {
  font-size: 1.3rem;
}

.pf-photo-featured .pf-photo-info p {
  font-size: 0.95rem;
}

/* Animations for photo cards */
.pf-photo-card.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.pf-photo-card.reveal:nth-child(3n+1) {
  transition-delay: 0s;
}

.pf-photo-card.reveal:nth-child(3n+2) {
  transition-delay: 0.1s;
}

.pf-photo-card.reveal:nth-child(3n) {
  transition-delay: 0.2s;
}

.pf-photo-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pf-photo-card.reveal.visible:hover {
  transform: translateY(-8px);
}

/* ========== GEOGRAPHY ========== */
.geography {
  background: transparent;
}

.geo-banner {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  max-width: 900px;
  margin: 0 auto;
}

.geo-banner:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.geo-banner-icon {
  width: 80px;
  height: 80px;
  background: var(--blue-50);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.geo-banner-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--blue);
}

.geo-banner-content {
  flex-grow: 1;
}

.geo-banner-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.geo-banner-content p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ========== PRINCIPLES ========== */
.principles {
  background: transparent;
}

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

.princ-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.princ-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.princ-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.princ-card:hover .princ-icon {
  background: var(--blue);
}

.princ-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  transition: var(--transition);
}

.princ-card:hover .princ-icon svg {
  stroke: white;
}

.princ-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.princ-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info {
  background: var(--gradient-dark);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: white;
}

.contact-info h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-info>p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.c-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.c-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.c-item h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.c-item p,
.c-item a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.c-item a:hover {
  color: white;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.fg {
  margin-bottom: 16px;
}

.fg label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-600);
}

.fg input,
.fg textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.08);
}

.fg textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-red);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 0, 15, 0.3);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links-group h5 {
  color: white;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
}

/* ========== MOBILE OVERLAY ========== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.mobile-overlay a:hover {
  color: var(--blue);
}

/* ========== ANIMATIONS ========== */
@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(80px, 80px);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1) translate(-20px, 20px);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.95) translate(20px, -10px);
    opacity: 0.5;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin: 0 auto 32px;
  }

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

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

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

  .portfolio-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .pf-photo-featured .pf-photo-img {
    height: 260px;
  }

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

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

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

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

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}

/* --- Tablet portrait / large mobile --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 24px 18px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pf-featured {
    padding: 28px 20px;
  }

  .portfolio-photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pf-photo-img {
    height: 200px;
  }

  .pf-photo-featured .pf-photo-img {
    height: 240px;
  }

  .pf-photo-info {
    padding: 16px;
  }

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

  .contact-info {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .geo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 2rem;
  }

  .hero-showcase {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .hero-showcase-items {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .showcase-item {
    padding: 14px 12px;
  }

  .showcase-item h4 {
    font-size: 0.82rem;
  }

  .showcase-item p {
    font-size: 0.7rem;
  }

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

  .about-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-right {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 14px;
  }

  .equipment-card {
    padding: 20px 16px;
  }

  section {
    padding: 60px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer {
    padding: 36px 0 20px;
  }
}

/* --- Mobile phones --- */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .hero-showcase {
    padding: 18px 12px;
  }

  .hero-showcase-title {
    font-size: 0.85rem;
  }

  .hero-showcase-items {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .showcase-item {
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .showcase-item-icon {
    margin-bottom: 0;
    min-width: 36px;
    width: 36px;
    height: 36px;
  }

  .showcase-item h4 {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .showcase-item p {
    font-size: 0.72rem;
  }

  .hero-branches {
    gap: 8px;
    justify-content: center;
  }

  .branch-tag {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .about-grid {
    gap: 30px;
  }

  .about-intro {
    font-size: 1rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-right {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 14px;
  }

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

  .service-ico {
    width: 44px;
    height: 44px;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .princ-card {
    padding: 24px 16px;
  }

  .pf-card {
    padding: 20px 16px;
  }

  .pf-featured {
    padding: 24px 16px;
  }

  .pf-photo-img {
    height: 180px;
  }

  .pf-photo-featured .pf-photo-img {
    height: 200px;
  }

  .pf-photo-info h4 {
    font-size: 0.92rem;
  }

  .pf-photo-featured .pf-photo-info h4 {
    font-size: 1.1rem;
  }

  .geo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .geo-card {
    padding: 20px 16px;
  }

  .contact-info {
    padding: 24px 16px;
  }

  .contact-info h3 {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .contact-form h3 {
    font-size: 1.2rem;
  }

  .fg input,
  .fg textarea {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 50px 0;
  }

  .footer {
    padding: 32px 0 16px;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .footer-links-group h5 {
    font-size: 0.82rem;
  }

  .footer-links-group a {
    font-size: 0.8rem;
  }

  .logo-mark {
    width: 48px;
    height: 36px;
  }

  .logo-name {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.5rem;
  }
}

/* --- Very small phones (320-360px) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .hero-showcase {
    padding: 14px 10px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.1rem;
  }
}

/* ========== PRINCIPLE MODAL ========== */
.princ-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 23, 38, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.princ-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.princ-modal-content {
  background: #ffffff;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.princ-modal-overlay.active .princ-modal-content {
  transform: translateY(0) scale(1);
}

.princ-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: var(--gray-50);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.princ-modal-close:hover {
  background: var(--blue-50);
  color: var(--blue);
}

.princ-modal-close svg {
  width: 18px;
  height: 18px;
}

.princ-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-right: 30px;
}

.princ-modal-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .princ-modal-content {
    padding: 30px 20px;
  }
}

/* ========== PHONE DROPDOWN ========== */
.phone-dropdown { position: relative; }

.phone-dropdown-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--gradient-main); color: white;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); border: none;
  cursor: pointer; font-family: 'Inter', sans-serif;
  white-space: nowrap; text-decoration: none;
}
.phone-dropdown-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.phone-dropdown-btn .chevron { width: 14px; height: 14px; transition: transform 0.3s ease; margin-left: 2px; }

.phone-dropdown:hover .phone-dropdown-btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3);
  border-radius: 50px 50px 14px 14px;
}
.phone-dropdown:hover .chevron { transform: rotate(180deg); }

.phone-dropdown-menu {
  position: absolute; top: 100%; right: 0;
  background: #fff; border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  border: 1px solid var(--gray-100); border-top: none;
  overflow: hidden;
  min-width: 210px; max-height: 0; opacity: 0;
  pointer-events: none; transform: translateY(-4px);
  transition: max-height 0.35s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.25s ease, transform 0.3s ease;
  z-index: 2000;
}
.phone-dropdown:hover .phone-dropdown-menu {
  max-height: 200px; opacity: 1; pointer-events: all; transform: translateY(0);
}

.phone-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; color: var(--text-dark);
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid var(--gray-100); white-space: nowrap;
}
.phone-dropdown-item:last-child { border-bottom: none; }
.phone-dropdown-item svg { width: 15px; height: 15px; stroke: var(--blue); flex-shrink: 0; }
.phone-dropdown-item:hover { background: var(--blue-50); color: var(--blue); }

@media (max-width: 900px) { .phone-dropdown { display: none; } }

/* ========== 3D EFFECTS & ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px) rotateX(8deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px) rotateY(-8deg); }
  to { opacity: 1; transform: translateX(0) rotateY(0); }
}
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}
@keyframes float3d {
  0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
  25% { transform: translateY(-12px) rotateX(2deg) rotateY(3deg); }
  50% { transform: translateY(-6px) rotateX(-1deg) rotateY(-2deg); }
  75% { transform: translateY(-14px) rotateX(1.5deg) rotateY(1deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Reveal on scroll — 3D pop */
.reveal {
  opacity: 0;
  transform: perspective(800px) translateY(60px) rotateX(10deg) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: perspective(800px) translateY(0) rotateX(0) scale(1) !important;
}

/* Hero section — visible immediately, no reveal delay */
.hero .reveal,
.hero.reveal,
.hero-text,
.hero-visual {
  opacity: 1 !important;
  transform: none !important;
}
.hero-text { animation: fadeInUp 0.8s ease-out both; }
.hero-visual { animation: fadeInRight 0.8s ease-out 0.2s both; }

/* Alternate directions for variety */
.service-card.reveal {
  transform: perspective(800px) translateY(80px) rotateY(-8deg) scale(0.9);
}
.service-card.reveal.visible {
  transform: perspective(800px) translateY(0) rotateY(0) scale(1) !important;
}

.pf-card.reveal {
  transform: perspective(800px) translateX(-40px) rotateY(12deg) scale(0.92);
}
.pf-card.reveal:nth-child(even) {
  transform: perspective(800px) translateX(40px) rotateY(-12deg) scale(0.92);
}
.pf-card.reveal.visible,
.pf-card.reveal:nth-child(even).visible {
  transform: perspective(800px) translateX(0) rotateY(0) scale(1) !important;
}

.stat-card.reveal {
  transform: perspective(800px) translateZ(-50px) rotateX(15deg) scale(0.85);
}
.stat-card.reveal.visible {
  transform: perspective(800px) translateZ(0) rotateX(0) scale(1) !important;
}

.princ-card.reveal {
  transform: perspective(800px) translateY(50px) rotateX(-8deg) rotateZ(2deg) scale(0.9);
}
.princ-card.reveal.visible {
  transform: perspective(800px) translateY(0) rotateX(0) rotateZ(0) scale(1) !important;
}

.about-hl {
  transform: perspective(600px) translateY(30px) rotateX(8deg) scale(0.93);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-highlights.reveal.visible .about-hl {
  opacity: 1;
  transform: perspective(600px) translateY(0) rotateX(0) scale(1);
}
.about-highlights.reveal.visible .about-hl:nth-child(1) { transition-delay: 0s; }
.about-highlights.reveal.visible .about-hl:nth-child(2) { transition-delay: 0.08s; }
.about-highlights.reveal.visible .about-hl:nth-child(3) { transition-delay: 0.16s; }
.about-highlights.reveal.visible .about-hl:nth-child(4) { transition-delay: 0.24s; }
.about-highlights.reveal.visible .about-hl:nth-child(5) { transition-delay: 0.32s; }
.about-highlights.reveal.visible .about-hl:nth-child(6) { transition-delay: 0.4s; }

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal:nth-child(8) { transition-delay: 0.56s; }
.reveal:nth-child(9) { transition-delay: 0.64s; }
.reveal:nth-child(10) { transition-delay: 0.72s; }

/* 3D tilt on hover for cards (only when visible) */
.service-card, .pf-card, .stat-card, .about-hl {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card.reveal.visible:hover, .stat-card.reveal.visible:hover {
  transform: perspective(800px) translateY(-8px) rotateX(3deg) rotateY(-2deg) scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(0, 174, 239, 0.18);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.pf-card.reveal.visible:hover {
  transform: perspective(800px) translateY(-6px) rotateX(2deg) rotateY(-3deg) scale(1.02) !important;
  box-shadow: 0 16px 40px rgba(0, 174, 239, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

/* Hero floating 3D elements */
.hero-showcase {
  transform-style: preserve-3d;
}

/* Section titles shimmer */
.section-title {
  background: linear-gradient(90deg, var(--gray-800) 30%, var(--blue) 50%, var(--gray-800) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Floating particles canvas */
#particlesCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* 3D Parallax Objects */
.parallax-3d-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.parallax-obj {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: objAppear 1.5s ease forwards;
  will-change: transform;
  transition: transform 0.1s linear;
}
.parallax-obj.sphere {
  background: radial-gradient(circle at 30% 30%, rgba(0,174,239,0.25), rgba(0,174,239,0.08) 50%, rgba(0,174,239,0.02) 70%, transparent);
  box-shadow: inset -10px -10px 30px rgba(0,174,239,0.1), 0 0 60px rgba(0,174,239,0.08);
  backdrop-filter: blur(2px);
}
.parallax-obj.ring {
  background: transparent;
  border: 2.5px solid rgba(0,174,239,0.15);
  box-shadow: 0 0 30px rgba(0,174,239,0.06), inset 0 0 20px rgba(0,174,239,0.03);
}
.parallax-obj.cube {
  border-radius: 18%;
  background: linear-gradient(135deg, rgba(0,174,239,0.18) 0%, rgba(0,174,239,0.04) 100%);
  box-shadow: inset -8px -8px 20px rgba(0,174,239,0.08), 0 0 40px rgba(0,174,239,0.06);
  backdrop-filter: blur(2px);
}
.parallax-obj.hex {
  border-radius: 25%;
  background: linear-gradient(60deg, rgba(227,0,15,0.08) 0%, rgba(0,174,239,0.12) 100%);
  box-shadow: 0 0 35px rgba(0,174,239,0.06);
  backdrop-filter: blur(1px);
}
@keyframes objAppear {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Glowing borders on focus */
.about-hl:hover {
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.2), 0 8px 30px rgba(0, 174, 239, 0.1);
  transform: translateY(-4px) scale(1.03);
}
