/* ==========================================================================
   YouvaInfo - Modern IT Firm Stylesheet
   Crafted with custom CSS, modern tokens, glassmorphism & responsive architecture
   ========================================================================== */

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

/* --- Root Variables & Design Tokens --- */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Primary Brand Colors */
  --primary: #1475f7;
  --primary-rgb: 20, 117, 247;
  --secondary: #7114ef;
  --secondary-rgb: 113, 20, 239;
  --accent-cyan: #08d9ff;
  --accent-cyan-rgb: 8, 217, 255;
  --accent-purple: #9d4edd;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7114ef 0%, #1475f7 100%);
  --grad-primary-hover: linear-gradient(135deg, #1475f7 0%, #7114ef 100%);
  --grad-accent: linear-gradient(135deg, #08d9ff 0%, #1475f7 100%);
  --grad-text: linear-gradient(135deg, #c084fc 0%, #38bdf8 50%, #818cf8 100%);
  --grad-card-border: linear-gradient(135deg, rgba(113, 20, 239, 0.4) 0%, rgba(20, 117, 247, 0.1) 100%);

  /* Dark Theme Surfaces */
  --bg-body: #060911;
  --bg-surface: #0a0f1c;
  --bg-card: rgba(14, 21, 38, 0.72);
  --bg-card-hover: rgba(20, 30, 54, 0.88);
  --bg-elevated: #111a2e;
  --bg-glass: rgba(10, 15, 28, 0.75);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(113, 20, 239, 0.45);
  --border-cyan: rgba(8, 217, 255, 0.35);

  /* Typography Colors */
  --text-main: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px -5px rgba(113, 20, 239, 0.35);
  --shadow-glow-cyan: 0 0 35px -5px rgba(8, 217, 255, 0.3);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --container-max: 1240px;
}

/* --- Base CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(113, 20, 239, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(20, 117, 247, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(8, 217, 255, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

ul {
  list-style: none;
}

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

/* --- Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm {
  padding: 4rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-title-wrap.left-align {
  text-align: left;
  margin: 0 0 2.5rem 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1.1rem;
  border-radius: 9999px;
  background: rgba(113, 20, 239, 0.15);
  border: 1px solid rgba(113, 20, 239, 0.35);
  color: #c084fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
}

.badge-tag i {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.7;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.highlight {
  color: var(--accent-cyan);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.9rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(113, 20, 239, 0.35);
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 117, 247, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
}

.btn:hover .btn-icon-circle {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.3);
}

/* --- Top Bar --- */
.topbar {
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-body);
}

.topbar-item i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.topbar-item a:hover {
  color: var(--accent-cyan);
}

/* --- Header & Navbar --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 9, 17, 0.94);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(113, 20, 239, 0.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 0 14px rgba(20, 117, 247, 0.3));
}

.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(113, 20, 239, 0.5));
}

/* Dedicated Footer Logo */
.footer-logo-img {
  height: 58px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 0 14px rgba(20, 117, 247, 0.3));
}

.footer-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(113, 20, 239, 0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 9999px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-item-has-children {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item-has-children:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text-body);
  transition: var(--transition);
}

.dropdown-link i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  width: 18px;
}

.dropdown-link:hover {
  background: rgba(113, 20, 239, 0.12);
  color: #ffffff;
  padding-left: 1.7rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 6.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  line-height: 1.18;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8, 217, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.trust-text {
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.trust-text strong {
  color: var(--text-main);
  display: block;
  font-size: 0.92rem;
}

/* Hero Tech Mockup Card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.tech-mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}

.tech-mockup-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(8, 217, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid var(--border-cyan);
}

.mockup-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(8, 217, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(8, 217, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(8, 217, 255, 0); }
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(20, 117, 247, 0.4);
}

.stat-box-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-box-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.stat-box-change {
  font-size: 0.76rem;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.mockup-chart-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  padding-top: 1rem;
  gap: 0.5rem;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(113, 20, 239, 0.3) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}

.chart-bar:hover {
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--primary) 100%);
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.floating-badge.badge-top-right {
  top: -1.2rem;
  right: -1.2rem;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-bottom-left {
  bottom: -1.5rem;
  left: -1.5rem;
  animation: float 4.5s ease-in-out infinite reverse;
}

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

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}

/* --- 5 Quick Services Ribbon --- */
.quick-services-section {
  position: relative;
  margin-top: -2.5rem;
  z-index: 10;
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.quick-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quick-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

.quick-service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.quick-service-card:hover::before {
  opacity: 1;
}

.qs-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(113, 20, 239, 0.12);
  border: 1px solid rgba(113, 20, 239, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
  transition: var(--transition);
}

.quick-service-card:hover .qs-icon-wrap {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(113, 20, 239, 0.4);
}

.qs-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

/* --- About Spotlight Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-exp-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--grad-primary);
  color: #ffffff;
  padding: 1.4rem 1.8rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(20, 117, 247, 0.4);
  text-align: center;
  z-index: 3;
}

.exp-years {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: var(--transition);
}

.about-feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
}

.feature-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(8, 217, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-box-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-box-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.about-contact-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hotline-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hotline-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(113, 20, 239, 0.15);
  border: 1px solid rgba(113, 20, 239, 0.4);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hotline-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hotline-info a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.hotline-info a:hover {
  color: var(--accent-cyan);
}

/* --- Services Catalog Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(20, 117, 247, 0.15);
  border: 1px solid rgba(20, 117, 247, 0.3);
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(113, 20, 239, 0.12);
  border: 1px solid rgba(113, 20, 239, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #c084fc;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(113, 20, 239, 0.4);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.8rem;
}

.service-features-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.service-features-list li i {
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.service-link:hover {
  color: #ffffff;
  gap: 0.8rem;
}

/* --- Why Choose Us (Tabbed Section) --- */
.tabs-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 1.4rem 1.8rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: #ffffff;
  background: rgba(113, 20, 239, 0.12);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
}

.tab-content {
  display: none;
  padding: 3rem;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.tab-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.tab-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* --- Milestones & Counter Section --- */
.stats-banner {
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.95) 0%, rgba(10, 15, 28, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4.5rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number-wrap {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Portfolio Gallery --- */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(113, 20, 239, 0.35);
}

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

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}

.portfolio-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #020617;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
}

.portfolio-info {
  padding: 1.8rem;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.portfolio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.portfolio-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-hover);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(113, 20, 239, 0.25) 0%, rgba(20, 117, 247, 0.25) 100%);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  padding: 4.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(20, 117, 247, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 2.2rem auto;
}

/* --- Contact & Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(113, 20, 239, 0.15);
  border: 1px solid rgba(113, 20, 239, 0.3);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-card-info p, .contact-card-info a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-card-info a:hover {
  color: var(--accent-cyan);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 117, 247, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.map-wrapper {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 380px;
  box-shadow: var(--shadow-md);
  margin-top: 3.5rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
}

/* --- Flash Messages / Toasts --- */
.alert {
  padding: 1rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* --- Timeline on About Page --- */
.milestones-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 50%, var(--accent-cyan) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-left {
  order: 2;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-right {
  order: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-left {
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-right {
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px var(--primary);
  z-index: 2;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

/* --- Footer --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 1.2rem 0 1.6rem 0;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 9999px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.3rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--accent-cyan);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.footer-thumb {
  border-radius: 8px;
  overflow: hidden;
  height: 70px;
  background: #0f172a;
}

.footer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.footer-thumb:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-body);
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
}

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

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(20, 117, 247, 0.5);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:not(:last-child)::after { display: none; }
  .tab-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .mobile-toggle { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link { font-size: 1.1rem; width: 100%; }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .nav-cta .btn { display: none; }

  .quick-services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 1rem; }
  .timeline-item:nth-child(even) .timeline-left,
  .timeline-item:nth-child(odd) .timeline-left { text-align: left; order: 1; }
  .timeline-dot { left: 0; }
  .milestones-timeline::before { left: 0; }
  .milestones-timeline { padding-left: 2rem; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .brand-logo img { height: 42px; max-width: 110px; }
  .footer-logo-img { height: 50px; max-width: 130px; }
  .quick-services-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-banner { padding: 3rem 1.5rem; }
  .cta-title { font-size: 2rem; }
}
