/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  color: rgb(255, 255, 255);
  scroll-behavior: smooth;
}

/* Gradient Background */
body {
  background-color:(#1b09b8);
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(11, 48, 95, 0.9); /* sticky look */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a3d1ff;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

/* Projects */
.projects h2 {
  margin-bottom: 2rem;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  width: 280px;
  backdrop-filter: blur(5px);
}

.project-card img {
  width: 100%;
  border-radius: 5px;
}

.project-card h3 {
  margin-top: 0.5rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #e0e0e0;
}
/* Projects with Before & After */
.project {
  margin-bottom: 3rem;
}

.before-after {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.image-block img {
  width: 100%;
  border-radius: 5px;
  border: 2px solid white;
}

.label {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #cbe3ff;
}

.description {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #e0e0e0;
}


/* Contact */
.contact h2 {
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background-color: #1a2f4d;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #28476c;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: rgba(11, 26, 45, 0.8);
  margin-top: 2rem;
}
/* Fancy Before/After Slider */
.project-slider {
  margin: 3rem 0;
  text-align: center;
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.before-after-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.before-after-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.after-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Initial visible portion */
  height: 100%;
  overflow: hidden;
}

.after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.slider-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #a3d1ff;
  cursor: ew-resize;
  z-index: 2;
}

.hero {
  padding-top: 40px;   /* space inside hero */
  margin-top: -40px;   /* pulls hero up */
  text-align: center;
}

.hero-title {
  font-size: 60px;
}

.about-section {
  display: flex;
  justify-content: center;
  padding: 80px 20px 30px;
}

.about-box {
  max-width: 900px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}

.about-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #e6f3ff;
  text-transform: uppercase;
}

.about-box p {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #e6effa;
}

.about-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all .8s ease;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Trust Badges: Luxury Glass + Neon Blue Hover + Slide-In ===== */
:root{
  --tb-bg-glass: rgba(255,255,255,0.08);
  --tb-border: rgba(255,255,255,0.18);
  --tb-text: #dce9f8;
  --tb-subtext: #bcd2ea;
  --tb-neon: #00d1ff;            /* Tesla blue */
  --tb-neon-soft: rgba(0,209,255,.35);
}

.tb-section{ padding:44px 20px 10px; }
.tb-row{
  display:flex; justify-content:center; gap:28px; flex-wrap:wrap;
  max-width:1100px; margin:0 auto;
}

.tb-badge{
  position:relative; isolation:isolate;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  min-width:170px; padding:18px 22px; border-radius:14px; color:var(--tb-text);

  background:var(--tb-bg-glass);
  border:1px solid var(--tb-border);
  box-shadow:0 10px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);

  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease, opacity .6s ease;
}

.tb-badge .tb-label{
  margin-top:8px; font-weight:600; letter-spacing:.3px;
}
.tb-badge .tb-label span{
  display:block; font-size:.92rem; font-weight:500; color:var(--tb-subtext);
}

.tb-icon{ width:64px; height:64px; display:block; filter: drop-shadow(0 4px 10px rgba(255,255,255,.25)); }

/* Neon hover */
.tb-badge:hover,
.tb-badge:focus-visible{
  transform: translateY(-6px);
  box-shadow:
    0 0 12px var(--tb-neon-soft),
    0 0 22px var(--tb-neon-soft),
    0 16px 48px rgba(0,0,0,.35);
  outline:2px solid transparent;
}

/* Slide-in base & active */
.fade-slide{ opacity:0; transform: translateY(20px); }
.fade-slide.in-view{ opacity:1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .tb-badge, .fade-slide{ transition:none !important; }
}

/* Mobile tweaks */
@media (max-width:600px){
  .tb-row{ gap:18px; }
  .tb-badge{ min-width:150px; padding:16px 18px; }
  .tb-icon{ width:56px; height:56px; }
}

/* Fade-in animation for services */
.card.fade-service {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.card.fade-service.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduced) {
    .card.fade-service  {
      transition: none;
      opacity: 1;
      transform: none;
    }
}

