/* ===== Variables ===== */
:root {
  --primary: #00d4ff;
  --primary-dark: #00a9c6;
  --primary-light: #4de8ff;
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-2: #1a2332;
  --bg-elevated: #151c2c;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(0,212,255,0.3);
  --glass: rgba(17,24,39,0.6);
  --glass-border: rgba(255,255,255,0.06);
  --glow: 0 0 20px rgba(0,212,255,0.15);
  --glow-strong: 0 0 40px rgba(0,212,255,0.3);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Top Accent Bar ===== */
.top-accent-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

/* ===== Base ===== */
body {
  color: var(--text);
  font: 300 16px/1.7 Roboto, Arial, Helvetica, sans-serif;
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

.btn, a, .btn:hover, a:hover {
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -ms-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  outline: none !important;
}

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 500; }
h1 { font: 700 3.5em/1.2 Roboto, Arial, Helvetica; margin: 0.25em 0; text-transform: uppercase; letter-spacing: -1px; }
h2 { font: 500 2.5em/1.3 Roboto, Arial, Helvetica; margin-bottom: 0.5em; }
h3 { font: 500 2em/1.3 Roboto, Arial, Helvetica; margin: 0 0 0.5em 0; }
h4 { font: 500 1.3em/1.4 Roboto, Arial, Helvetica; margin-bottom: 0.5em; }
h5 { font: 500 1.1em/1.4 Roboto, Arial, Helvetica; }

p { font-size: 1em; line-height: 1.8; margin-bottom: 1.5em; }

.spacer { padding: 5em 0; }

/* ===== Section Alternating Backgrounds ===== */
.section-alt {
  background: var(--bg-elevated);
  background-image: none;
}

/* ===== Section Headers ===== */
.section-header { margin-bottom: 3em; }
.section-subtitle {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.4em 1.2em;
  border-radius: 20px;
  margin-bottom: 0.8em;
}
.section-header h2 { color: #fff; position: relative; }
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 0.4em auto 0;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,212,255,0.4);
}
.section-header h3 { color: #fff; }
.section-desc { color: var(--text-muted); font-size: 1.1em; margin-top: 0.5em; }

/* ===== Navbar ===== */
.navbar {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  top: 3px;
  transition: var(--transition);
  padding: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
}
.navbar.scrolled {
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  min-height: 60px;
}
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-brand {
  padding: 0 15px;
  height: auto;
  display: flex;
  align-items: center;
}
.navbar-brand img { height: 45px; transition: var(--transition); }
.navbar.scrolled .navbar-brand img { height: 38px; }

.navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: none;
}
.navbar-nav {
  display: flex;
  align-items: center;
  margin: 0;
  float: none;
}
.navbar-nav > li {
  display: flex;
  align-items: center;
}
.navbar-nav > li > a {
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
  color: rgba(255,255,255,0.8) !important;
  text-transform: capitalize;
  padding: 0.6em 1.2em;
  position: relative;
  display: flex;
  align-items: center;
}
.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0.3em;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(0,212,255,0.4);
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: var(--primary) !important;
}
.navbar-nav > li > a:hover::after,
.navbar-default .navbar-nav > .active > a::after {
  width: 60%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background: none;
  color: var(--primary) !important;
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--bg-dark) !important;
  border-radius: 25px;
  padding: 0.5em 1.8em !important;
  font-weight: 600 !important;
  margin-left: 0.8em;
  box-shadow: 0 0 15px rgba(0,212,255,0.3);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--primary-light) !important;
  color: var(--bg-dark) !important;
  box-shadow: 0 0 25px rgba(0,212,255,0.5);
}

.navbar-toggle { border: none; margin-top: 18px; margin-right: 15px; }
.navbar-toggle .icon-bar { background: #fff; }
.navbar.scrolled .navbar-toggle .icon-bar { background: #fff; }

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}
.scroll-indicator a {
  display: block;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator a span {
  display: block;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0% { opacity: 0; top: 8px; }
  40% { opacity: 1; }
  80% { opacity: 0; top: 24px; }
  100% { opacity: 0; }
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 50%, rgba(0,169,198,0.15) 100%);
  padding: 4em 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.08) 0%, transparent 60%);
}
.cta-banner h2 {
  color: #fff;
  font-size: 2.2em;
  margin-bottom: 0.5em;
  position: relative;
}
.cta-banner p {
  color: var(--text-muted);
  font-size: 1.15em;
  margin-bottom: 1.5em;
  position: relative;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--primary);
  color: var(--bg-dark) !important;
  padding: 0.9em 2.5em;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.btn-cta:hover {
  background: var(--primary-light);
  color: var(--bg-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0,212,255,0.5);
}
.btn-cta i { transition: var(--transition); }
.btn-cta:hover i { transform: translateX(4px); }

/* ===== Hero Slider ===== */
#home { padding-top: 0; }
.carousel { margin: 0; }
.carousel-caption {
  top: 0; bottom: 0; left: 0; right: 0;
  padding: 0;
  text-shadow: none;
  background: linear-gradient(135deg, rgba(10,14,23,0.85) 0%, rgba(10,14,23,0.6) 50%, rgba(0,169,198,0.3) 100%);
}
.caption-wrapper { display: table; height: 100%; width: 100%; }
.caption-info { display: table-cell; vertical-align: middle; text-align: center; }
.caption-info img { max-height: 80px; margin-bottom: 1.5em; }
.caption-info h1 {
  color: #fff;
  font-size: 3.5em;
  margin: 0 0 0.3em 0;
}
.caption-info p {
  color: rgba(255,255,255,0.9);
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

/* AI Badge */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.4);
  color: var(--primary);
  padding: 0.5em 1.5em;
  border-radius: 25px;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pulseGlow 3s ease-in-out infinite;
}
.ai-badge i { font-size: 1.1em; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 25px rgba(0,212,255,0.5); }
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img { width: 100%; min-height: 600px; object-fit: cover; }
.carousel-control { z-index: 1000; width: 5%; }
.carousel-control .glyphicon { opacity: 0.8; }
.carousel-control:hover .glyphicon { opacity: 1; }

/* Hero Buttons */
.btn-hero {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 0.8em 2em;
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 0.5em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-hero:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-hero-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.btn-hero-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(0,212,255,0.5);
}
.btn-hero i { margin-right: 0.5em; }

/* ===== About ===== */
.about.spacer { padding: 5em 0; }
.about-content { margin-top: 2em; }
.about-text { font-size: 1.05em; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.5em; }
.about-features { display: flex; flex-direction: column; gap: 1.5em; }
.feature-item { display: flex; align-items: flex-start; gap: 1em; padding: 1.2em; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; transition: var(--transition); }
.feature-item:hover { border-color: var(--border-hover); box-shadow: var(--glow); }
.feature-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3em;
  color: var(--primary);
}
.feature-text h4 { color: #fff; margin-bottom: 0.3em; }
.feature-text p { font-size: 0.9em; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ===== Services ===== */
.services-grid {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
}
.services-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5em 2em;
  height: 100%;
  width: 100%;
  transition: var(--transition);
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

/* AI Service Cards */
.service-card-ai {
  border: 1px solid rgba(0,212,255,0.2);
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, rgba(0,212,255,0.3), rgba(77,232,255,0.1)) border-box;
  position: relative;
}
.service-card-ai::before {
  content: 'AI';
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-dark);
  font-size: 0.7em;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 10px;
  letter-spacing: 1px;
}
.service-card-ai:hover {
  box-shadow: 0 4px 30px rgba(0,212,255,0.2);
  transform: translateY(-5px);
}
.service-icon-ai {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(0,169,198,0.3));
  border: 1px solid rgba(0,212,255,0.2);
  position: relative;
  overflow: hidden;
}
.service-icon-ai::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.15), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5em;
  color: var(--primary);
  margin-bottom: 1.2em;
}
.service-card h4 { color: #fff; margin-bottom: 0.8em; }
.service-card p { font-size: 0.95em; color: var(--text-muted); margin: 0; line-height: 1.7; flex-grow: 1; }

/* Process */
.process { margin-top: 4em; }
.process ul { margin-top: 2em; }
.process ul li {
  width: 9em; height: 9em;
  border: 1px solid rgba(0,212,255,0.2);
  background: var(--bg-card);
  padding: 0;
  border-radius: 50%;
  margin: 0 0.8em;
  line-height: 12em;
  color: var(--primary);
  transition: var(--transition);
}
.process ul li:hover {
  border-color: var(--primary);
  background: rgba(0,212,255,0.05);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.process ul li span { line-height: 2em; display: inline-block; font-weight: 300; }
.process ul li span i { font-size: 2.5em; }
.process ul li span b { display: block; font-size: 0.95em; font-weight: 500; color: var(--text); }

/* ===== Portfolio ===== */
#works { padding: 5em 0; background: var(--bg-elevated); background-image: none; }
.portfolio-cards {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
}
.portfolio-cards > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2em 2em;
  height: 100%;
  width: 100%;
  transition: var(--transition);
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}
.portfolio-card-icon {
  width: 55px; height: 55px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4em;
  color: var(--primary);
  margin-bottom: 1.2em;
}
.portfolio-card h4 { color: #fff; margin-bottom: 0.6em; }
.portfolio-card p { font-size: 0.92em; color: var(--text-muted); margin: 0 0 1.2em 0; line-height: 1.7; flex-grow: 1; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.5em; }
.portfolio-tags span {
  font-size: 0.75em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.3em 0.8em;
  border-radius: 15px;
}

/* ===== Team ===== */
.team-cards {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
}
.team-cards > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5em 2em;
  height: 100%;
  width: 100%;
  transition: var(--transition);
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-5px);
  border-color: var(--border-hover);
}
.team-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.05));
  border: 2px solid rgba(0,212,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2em;
  transition: var(--transition);
}
.team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.team-card h4 { color: #fff; margin-bottom: 0.3em; }
.team-role {
  display: block;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 1em;
}
.team-card p { font-size: 0.9em; color: var(--text-muted); margin: 0; line-height: 1.7; flex-grow: 1; }

/* ===== Stats ===== */
.highlight-info {
  background: url(../images/lab.jpg) center fixed;
  background-size: cover;
  color: #fff;
  padding: 4em 0;
}
.highlight-info .overlay {
  background: linear-gradient(135deg, rgba(10,14,23,0.9), rgba(0,169,198,0.6));
  padding: 4em 0;
}
.stat-item i { color: var(--primary); margin-bottom: 0.3em; }
.stat-item h4 { color: #fff; font-size: 2.5em; font-weight: 700; margin: 0; }
.stat-label {
  display: block;
  font-size: 0.95em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Testimonials ===== */
.testimonials-grid { margin-top: 2em; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5em 2em;
  height: 100%;
  transition: var(--transition);
  margin-bottom: 2em;
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-md), var(--glow); transform: translateY(-3px); border-color: var(--border-hover); }
.testimonial-quote { color: var(--primary); font-size: 1.8em; margin-bottom: 1em; opacity: 0.4; }
.testimonial-card p { font-size: 1em; line-height: 1.8; color: var(--text); font-style: italic; margin-bottom: 1.5em; }
.testimonial-author h5 { color: #fff; margin-bottom: 0.2em; }
.testimonial-author span { color: var(--text-muted); font-size: 0.9em; }

/* ===== FAQ ===== */
.faq-accordion { margin-top: 2em; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1em;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  padding: 1.2em 1.5em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-card-2); }
.faq-question span { font-weight: 500; color: #fff; font-size: 1.05em; }
.faq-question i { color: var(--primary); transition: var(--transition); font-size: 0.9em; }
.faq-item.active .faq-question { background: var(--bg-card-2); border-bottom: 1px solid var(--border); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5em;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5em 1.2em 1.5em;
}
.faq-answer p { color: var(--text-muted); margin: 0; font-size: 0.95em; line-height: 1.7; }

/* ===== Contact ===== */
.contact-section { background: var(--bg-elevated); }
.contact-wrapper { margin-top: 2em; }
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5em 2em;
  color: #fff;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 1em; margin-bottom: 2em; }
.contact-info-icon {
  flex-shrink: 0;
  width: 45px; height: 45px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2em;
  color: var(--primary);
}
.contact-info h4 { color: #fff; margin-bottom: 0.3em; }
.contact-info p { color: var(--text-muted); margin: 0; font-size: 0.95em; }

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5em 2em;
}
.frmcontact input,
.frmcontact textarea {
  width: 100%;
  padding: 0.9em 1.2em;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.6em;
  outline: none;
  font-size: 0.95em;
  transition: var(--transition);
  background: var(--bg-dark);
  color: var(--text);
}
.frmcontact input::placeholder,
.frmcontact textarea::placeholder { color: var(--text-dim); }
.frmcontact input:focus,
.frmcontact textarea:focus {
  border-color: var(--primary);
  background: var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.frmcontact textarea { resize: vertical; min-height: 120px; }
.frmcontact .error { color: #ff6b6b; font-size: 0.85em; display: block; margin-bottom: 0.5em; }
.frmcontact .btn-primary {
  background: var(--primary);
  border: none;
  border-radius: 30px;
  padding: 0.8em 2.5em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.5px;
  width: auto;
  margin-top: 0.5em;
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(0,212,255,0.3);
}
.frmcontact .btn-primary:hover,
.frmcontact .btn-primary:active,
.frmcontact .btn-primary:focus {
  background: var(--primary-light);
  box-shadow: 0 0 25px rgba(0,212,255,0.5);
}
.frmcontact .alert { border-radius: 8px; margin-top: 1em; background: var(--bg-card-2); border-color: var(--border); color: var(--text); }
.frmcontact .alert-success { border-color: rgba(0,212,255,0.3); }
.frmcontact .alert-danger { border-color: rgba(255,107,107,0.3); }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 4em 0 0 0;
  border-top: 1px solid var(--border);
}
.footer-cols { margin-bottom: 3em; }
.footer-col { margin-bottom: 2em; }
.footer-logo { height: 40px; margin-bottom: 1em; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9em; line-height: 1.7; margin-bottom: 1.5em; color: var(--text-muted); }
.footer h5 {
  color: #fff;
  margin-bottom: 1.2em;
  font-size: 1.05em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6em; }
.footer-links a { color: var(--text-muted); font-size: 0.9em; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  color: var(--text-muted);
  font-size: 0.9em;
  margin-bottom: 0.8em;
  display: flex; align-items: flex-start; gap: 0.8em;
}
.footer-contact i { color: var(--primary); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5em 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.85em; color: var(--text-dim); }

/* ===== Gototop ===== */
.gototop {
  position: fixed;
  bottom: 25px; right: 25px;
  background: var(--primary);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--bg-dark);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}
.gototop.visible { opacity: 1; visibility: visible; }
.gototop:hover { background: var(--primary-light); color: var(--bg-dark); }
.gototop i { line-height: 1em; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  body { font-size: 15px; }
  .caption-info h1 { font-size: 2.8em; }
  .process ul li { width: 8em; height: 8em; margin: 0 0.5em; }
}

@media (max-width: 900px) {
  h1 { font-size: 2.5em; }
  h2 { font-size: 2em; }
  .caption-info h1 { font-size: 2.2em; }
  .caption-info p { font-size: 1.1em; }
  .carousel-inner > .item > img { min-height: 500px; }
  .process ul li { width: 7em; height: 7em; }
  .process ul li span i { font-size: 2em; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .spacer { padding: 3em 0; }
  .navbar { background: rgba(10,14,23,0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); min-height: 60px; }
  .navbar > .container { display: block; }
  .navbar-header { display: block; }
  .navbar-collapse {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 1em !important;
    border: none;
    border-bottom: 1px solid var(--border);
  }
  .navbar-collapse.collapse.in {
    display: block !important;
  }
  .navbar-nav {
    display: block;
    margin: 0;
  }
  .navbar-nav > li {
    display: block;
    width: 100%;
  }
  .navbar-nav > li > a {
    color: var(--text) !important;
    line-height: 1.8em;
    padding: 0.8em 1em;
    border-bottom: 1px solid var(--border);
  }
  .navbar-nav > li > a::after { display: none; }
  .navbar-nav > li:last-child > a { border-bottom: none; }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: inline-block;
  }
  .navbar-brand img { height: 35px; }

  .carousel-caption, .carousel-control, .carousel-indicators { display: none; }
  .carousel-inner > .item > img { min-height: 350px; }

  h2 { font-size: 1.7em; }
  .section-header { margin-bottom: 2em; }

  #works figure { width: 100%; }
  #works figure img { height: 220px; }

  .process ul li { margin-bottom: 1em; }

  .highlight-info .overlay { padding: 2.5em 0; }
  .stat-item { margin-bottom: 1.5em; }

  .contact-info { margin-bottom: 2em; }
  .footer { padding: 3em 0 0 0; }
  .scroll-indicator { display: none; }
  .cta-banner { padding: 3em 0; }
  .cta-banner h2 { font-size: 1.7em; }
  .cta-banner p { font-size: 1em; }
  .feature-item { padding: 1em; }
  .portfolio-card { padding: 1.8em 1.5em; }
  .team-card { padding: 2em 1.5em; }
}