/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #fafafa;
  color: #18181b;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ===== NAVBAR ===== */
nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo i {
  font-size: 1.875rem;
  color: #f97316;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.navbar-logo > div span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.navbar-logo > div span:last-child {
  font-size: 1.5rem;
  font-weight: 300;
  color: #f97316;
}

.navbar-links {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.navbar-links a {
  color: #475569;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f97316;
  transition: width 0.4s ease;
}

.navbar-links a:hover {
  color: #f97316;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-btn {
  background-color: #f97316;
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navbar-btn:hover {
  background-color: #ea580c;
}

/* Mobile navbar adjustments */
@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero-bg {
  background-image: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.78)), url('https://picsum.photos/id/1015/2000/1200');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #fed7aa;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.5rem;
  max-width: 48rem;
  margin: 0 auto 3rem;
  color: white;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.btn-primary {
  background-color: #f97316;
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: white;
  color: #f97316;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: black;
  color: white;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background-color: white;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #e4e4e7;
}

.trust-container {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.15s; }
.trust-item:nth-child(3) { animation-delay: 0.2s; }
.trust-item:nth-child(4) { animation-delay: 0.25s; }
.trust-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  color: #f97316;
  font-variant-numeric: tabular-nums;
}

.trust-label {
  font-size: 0.875rem;
  color: #a1a5af;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .trust-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 6rem 1.5rem;
  background-color: white;
}

.section-container {
  max-width: 72rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeUp 0.6s ease-out;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: #71717a;
  font-size: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: white;
  border: 1px solid #e4e4e7;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-image {
  height: 16rem;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-content p {
  color: #71717a;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== PROJECTS CAROUSEL ===== */
.projects-section {
  padding: 6rem 1.5rem;
  background-color: #f4f4f5;
}

.carousel-container {
  max-width: 72rem;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

#slides {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide {
  min-width: 100%;
  position: relative;
  transition: all 0.6s ease;
}

.project-slide img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
}

.project-info {
  padding: 2rem 3rem;
  color: white;
  width: 100%;
}

.project-meta {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #fed7aa;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 1.125rem;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 10;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#prev {
  left: 1rem;
}

#next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.25);
}

@media (min-width: 768px) {
  .project-slide img {
    height: 31.25rem;
  }
  
  .project-info {
    padding: 3rem;
  }
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 6rem 1.5rem;
  background-color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.team-member {
  text-align: center;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.team-img {
  width: 12rem;
  height: 12rem;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 4px solid #f97316;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.team-img:hover {
  transform: scale(1.08);
}

.team-name {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-position {
  color: #f97316;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: #71717a;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CAREERS SECTION ===== */
.careers-section {
  padding: 6rem 1.5rem;
  background-color: #f4f4f5;
  text-align: center;
}

.careers-intro {
  animation: fadeUp 0.6s ease-out;
}

.careers-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.careers-desc {
  font-size: 1.25rem;
  color: #71717a;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.career-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.career-card:nth-child(1) { animation-delay: 0.1s; }
.career-card:nth-child(2) { animation-delay: 0.2s; }
.career-card:nth-child(3) { animation-delay: 0.3s; }

.career-icon {
  font-size: 3rem;
  color: #f97316;
  margin-bottom: 1.5rem;
}

.career-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.career-card p {
  color: #71717a;
}

.careers-btn {
  background-color: #f97316;
  color: white;
  padding: 1.5rem 3rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.careers-btn:hover {
  background-color: #ea580c;
}

@media (min-width: 768px) {
  .careers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .careers-title {
    font-size: 3rem;
  }
}

/* ===== SUBCONTRACTOR SECTION ===== */
.subcontractor-section {
  padding: 5rem 1.5rem 6rem;
  background-color: white;
  text-align: center;
}

.sub-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: #fed7aa;
  color: #92400e;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.subcontractor-section h2 {
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.subcontractor-section p {
  font-size: 1.25rem;
  color: #3f3f46;
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.no-projects-card {
  background-color: #fef3c7;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #fcd34d;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.no-projects-icon {
  color: #ea580c;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-projects-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.no-projects-text {
  color: #b45309;
  font-weight: 500;
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #c2410c;
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sub-btn:hover {
  background-color: #a16207;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 6rem 1.5rem;
  background-color: white;
}

.about-container {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  animation: fadeInRight 0.6s ease-out;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.25rem;
  color: #71717a;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  margin-top: 2.5rem;
  display: flex;
  gap: 3rem;
}

.about-feature {
  flex: 1;
}

.about-feature i {
  font-size: 3rem;
  color: #f97316;
}

.about-feature > div {
  font-weight: 500;
  margin-top: 0.75rem;
}

.about-image {
  animation: fadeInLeft 0.6s ease-out;
}

.about-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-features {
    gap: 3rem;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background-color: #0f172a;
  color: white;
  padding: 6rem 1.5rem;
}

.cta-container {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease-out;
}

.cta-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s ease-out;
  animation-delay: 0.1s;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-input,
.cta-textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.cta-input::placeholder,
.cta-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-input:focus,
.cta-textarea:focus {
  outline: none;
  border-color: #f97316;
}

.cta-input:nth-of-type(1) { animation-delay: 0.2s; }
.cta-input:nth-of-type(2) { animation-delay: 0.3s; }
.cta-textarea { animation-delay: 0.4s; }

.cta-submit {
  width: 100%;
  background-color: #f97316;
  color: white;
  padding: 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: zoomIn 0.6s ease-out;
  animation-delay: 0.5s;
}

.cta-submit:hover {
  background-color: #ea580c;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== SHINE EFFECT ===== */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* ===== FOOTER ===== */
footer {
  background-color: #09090b;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1.5rem;
  text-align: center;
}

.footer-credit {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-company {
  color: #fed7aa;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.footer-note {
  font-size: 0.75rem;
  margin-top: 2rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .careers-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .project-info {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-slide img {
    height: 15rem;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    padding: 1rem;
  }
  
  .navbar-logo i {
    font-size: 1.5rem;
  }
  
  .navbar-logo > div span:first-child {
    font-size: 1.25rem;
  }
  
  .navbar-logo > div span:last-child {
    font-size: 1.25rem;
  }
  
  .navbar-btn {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
  }
  
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  .trust-label {
    font-size: 0.75rem;
  }
  
  .carousel-button {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.75rem;
    font-size: 1.25rem;
  }
  
  #prev {
    left: 0.5rem;
  }
  
  #next {
    right: 0.5rem;
  }
  
  .hero-buttons {
    gap: 0.75rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===== AOS ANIMATIONS (Fallback) ===== */
[data-aos] {
  opacity: 0;
}

[data-aos].aos-animate {
  opacity: 1;
}