:root {
  --primary-color: #f39c12; /* Vibrant technical orange */
  --primary-hover: #d68910;
  --dark-bg: #f8fafc; /* Very light slate, almost white */
  --darker-bg: #f1f5f9; /* Slightly darker for contrast sections */
  --light-text: #0f172a; /* Dark navy for text */
  --light-text2: #ffffff; /* Dark navy for text */
  --gray-text: #475569; /* Slate gray for secondary text */
  --muted-text: #94a3b8; /* Lighter slate */
  --accent-color: #334155;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--light-text);
  line-height: 1.2;
}

h1 {
  color: var(--light-text2);
}

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

ul {
  list-style: none;
}

.mr-2 {
  margin-right: 0.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}

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

.section-padding {
  padding: 100px 0;
}

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

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

/* Typography & Utilities */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title span {
  color: var(--primary-color);
}

.subtitle {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.subtitle::before {
  content: "";
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(15, 23, 42, 0.3);
  color: var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: #fff;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glassmorphism Classes for Light Theme */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(243, 156, 18, 0.3);
  box-shadow: var(--box-shadow);
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  a {
    color: var(--light-text);
  }
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 400;
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  color: var(--light-text2);
}

.logo-bold {
  font-weight: 900;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
  color: var(--light-text2); /* Ensure contrast on light background */
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

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

.nav-btn-cta {
  padding: 10px 24px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text2);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
}
/* 
 --dark-bg: #0f172a; /* Deep slate/navy for metallic feel 
    --darker-bg: #0b1120;
    --light-text: #f8fafc;
    --gray-text: #cbd5e1;
    --muted-text: #64748b;
    --accent-color: #1e293b;
 --box-shadow: 0 15px 35px rgba(0,0,0,0.3);
*/
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #0b1120b8 0%, #0b11206f 100%),
    url("assets/images/hero_metal_bg.png") center/cover no-repeat;
  z-index: 1;
}

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

.hero-text {
  max-width: 850px;
}

.hero-text h1 {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-text h1 span {
  color: transparent;
  background: linear-gradient(to right, var(--primary-color), #f1c40f);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--light-text2);
  margin-bottom: 45px;
  max-width: 650px;
  font-weight: 400; /* Bolder on light bg */
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  transition: var(--transition);
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--light-text);
  border-radius: 20px;
  display: block;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 25px;
    opacity: 0;
  }
}

/* Animation utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
    transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

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

.about-text p {
  margin-bottom: 24px;
  color: var(--gray-text);
  font-size: 1.1rem;
  font-weight: 300;
}

.stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 45px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--gray-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  position: relative;
}

.about-image .image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.about-image::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.15;
  z-index: 1;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.1;
  z-index: 1;
}

/* Services */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--gray-text);
  font-size: 1.15rem;
  font-weight: 300;
  margin-top: 15px;
}

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

.service-icon {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(243, 156, 18, 0.05) 100%);
  color: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  transition: var(--transition);
  border: 1px solid rgba(243, 156, 18, 0.1);
}

.glass-card:hover .service-icon {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray-text);
  font-weight: 300;
}

/* Projects */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-item:hover .project-image {
  transform: scale(1.08);
}

.project-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 25px;
  border-radius: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--light-text);
}

.project-item:hover .project-info {
  opacity: 1;
  transform: translateY(0);
  border-bottom: 3px solid var(--primary-color);
}

.view-project {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.view-project:hover {
  transform: scale(1.1);
  background: var(--light-text);
  color: #fff;
}

/* Quote Section */
.bg-accent {
  background: linear-gradient(135deg, var(--darker-bg) 0%, #e2e8f0 100%);
  position: relative;
}

.bg-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.3), transparent);
}

.quote-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.quote-text h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  line-height: 1.1;
}

.quote-text h2 span {
  color: var(--primary-color);
}

.quote-text p {
  color: var(--gray-text);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.company-details li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  color: var(--light-text);
}

.company-details li strong {
  font-size: 0.9rem;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 2px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--light-text);
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
  font-size: 1.1rem;
  transition: var(--transition);
}

.input-icon input,
.input-icon select {
  padding-left: 45px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--border-radius);
  color: var(--light-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  padding-left: 16px; /* No icon for textarea */
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.form-group input:focus + i,
.form-group select:focus + i,
.input-icon:focus-within i {
  color: var(--primary-color);
}

select option {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

/* Footer (Kept Dark for Structure) */
.site-footer {
  background-color: #0f172a;
  padding: 80px 0 0;
  color: #f8fafc;
}

.site-footer p,
.site-footer a {
  color: #94a3b8;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.brand-col p {
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 320px;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.footer-col ul li a i {
  font-size: 0.7rem;
  color: #64748b;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-col ul li a:hover i {
  color: var(--primary-color);
}

.contact-info-list p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.contact-info-list p i {
  color: var(--primary-color);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #020617;
}

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

/* Responsive Variables */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 4rem;
  }
  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

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

  .about-image {
    grid-row: 1;
    margin-bottom: 30px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: rgba(255, 255, 255, 0.98); /* Light mobile menu background */
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-list.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .projects-gallery,
  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .quote-text h2 {
    font-size: 2.2rem;
  }

  .glass-card-dark,
  .glass-card {
    padding: 30px 20px;
  }
}
