/* ============================================
   GWC CONSTRUCTION - PAGE SPECIFIC STYLES
   ============================================ */

/* ========== HERO (Home) ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 200px;
  color: var(--white);
  overflow: hidden;
}

/* ---------- Background Slideshow ---------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideShow 18s infinite;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroSlideShow {
  0%   { opacity: 0; transform: scale(1.08); }
  8%   { opacity: 1; transform: scale(1.08); }
  33%  { opacity: 1; transform: scale(1.15); }
  41%  { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* ---------- Dark Overlay ---------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(0, 61, 128, 0.75) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

/* ---------- Construction Grid Pattern ---------- */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    linear-gradient(rgba(245, 179, 1, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 179, 1, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* ---------- Hero Content ---------- */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 15px;
  animation: heroFadeIn 1s ease-out;
}

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

/* ---------- Badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
  box-shadow: 0 8px 25px rgba(245, 179, 1, 0.35);
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

/* ============================================
   GWC TYPEWRITER TITLE
   ============================================ */

.typewriter-text {
  color: var(--brand-yellow);
  display: inline-block;
  letter-spacing: 8px;
}

.cursor-blink {
  color: var(--brand-yellow);
  font-weight: 300;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ---------- Tagline ---------- */
.hero-tagline {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-tagline span {
  color: var(--brand-yellow);
  position: relative;
}

.hero-tagline span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-yellow);
  opacity: 0.5;
}

/* ---------- Subtitle ---------- */
.hero-subtitle {
  font-size: 20px;
  color: #E2E8F0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: bolder;
}

/* ---------- Buttons ---------- */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--brand-yellow);
  color: var(--dark);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(245, 179, 1, 0.4);
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 179, 1, 0.55);
}

.hero .btn-primary i {
  transition: transform 0.3s ease;
}

.hero .btn-primary:hover i {
  transform: translateX(5px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   TRUCK ANIMATION
   ============================================ */

.hero-road {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.road-line {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 200%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-yellow) 0px,
    var(--brand-yellow) 60px,
    transparent 60px,
    transparent 120px
  );
  animation: roadMove 1.5s linear infinite;
  opacity: 0.6;
}

@keyframes roadMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-120px); }
}

.truck-moving {
  position: absolute;
  bottom: 20px;
  left: -250px;
  width: 200px;
  height: 80px;
  animation: truckDrive 12s linear infinite;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
}

@keyframes truckDrive {
  0%   { left: -250px; }
  100% { left: calc(100% + 50px); }
}

.truck-moving svg {
  animation: truckBounce 0.4s ease-in-out infinite alternate;
}

@keyframes truckBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-2px); }
}

.smoke {
  animation: smokeRise 2s ease-out infinite;
}

.smoke-1 { animation-delay: 0s; }
.smoke-2 { animation-delay: 0.5s; }
.smoke-3 { animation-delay: 1s; }

@keyframes smokeRise {
  0%   { opacity: 0.8; transform: translate(0, 0) scale(0.5); }
  100% { opacity: 0;   transform: translate(-15px, -25px) scale(1.5); }
}

/* ============================================
   FLOATING CONSTRUCTION TOOLS
   ============================================ */

.floating-tools {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.tool-icon {
  position: absolute;
  color: var(--brand-yellow);
  opacity: 0.15;
  font-size: 3rem;
}

.tool-1 { top: 15%; left: 5%;   font-size: 3.5rem; animation: float1 8s ease-in-out infinite; }
.tool-2 { top: 70%; left: 8%;   font-size: 2.5rem; animation: float2 10s ease-in-out infinite; }
.tool-3 { top: 25%; right: 6%;  font-size: 3rem;   animation: float3 9s ease-in-out infinite; }
.tool-4 { top: 75%; right: 10%; font-size: 2.8rem; animation: float1 11s ease-in-out infinite; }
.tool-5 { top: 45%; left: 3%;   font-size: 2.2rem; animation: float2 7s ease-in-out infinite; }
.tool-6 { top: 55%; right: 4%;  font-size: 3.2rem; animation: float3 12s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(20px, -25px) rotate(15deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-25px, 20px) rotate(-20deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(15px, 25px) rotate(10deg); }
}

/* ============================================
   BOTTOM CURVE
   ============================================ */

.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 6;
  line-height: 0;
  pointer-events: none;
}

.hero-curve svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* ============================================
   CTA BANNER - Background Slideshow
   ============================================ */

.cta-banner {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  color: var(--white);
  min-height: 320px;
  display: flex;
  align-items: center;
}

.cta-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: ctaSlideShow 24s infinite;
  transform: scale(1.05);
}

.cta-slide:nth-child(1) { animation-delay: 0s; }
.cta-slide:nth-child(2) { animation-delay: 6s; }
.cta-slide:nth-child(3) { animation-delay: 12s; }
.cta-slide:nth-child(4) { animation-delay: 18s; }

@keyframes ctaSlideShow {
  0%   { opacity: 0; transform: scale(1.05); }
  5%   { opacity: 1; transform: scale(1.05); }
  25%  { opacity: 1; transform: scale(1.1); }
  30%  { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.05); }
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 61, 128, 0.92) 0%,
    rgba(0, 86, 179, 0.85) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  z-index: 2;
}

.cta-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-content p {
  color: #E2E8F0;
  font-size: 1.05rem;
  margin: 0;
}

.cta-content .btn-primary {
  background: var(--brand-yellow);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  padding: 16px 36px;
  box-shadow: 0 10px 30px rgba(245, 179, 1, 0.35);
  transition: all 0.3s ease;
}

.cta-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 179, 1, 0.5);
}

.cta-content .btn-primary i {
  transition: transform 0.3s ease;
}

.cta-content .btn-primary:hover i {
  transform: translateX(5px);
}

/* ========== HIGHLIGHTS ========== */
.highlights {
  padding: 70px 20px;
  background: var(--off-white);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.highlight-item {
  background: var(--white);
  padding: 30px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--brand-yellow);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.highlight-item i {
  font-size: 2.2rem;
  color: var(--brand-blue);
  margin-bottom: 15px;
}

.highlight-item h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
  padding: 90px 20px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: var(--brand-yellow);
  color: var(--dark);
  padding: 15px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-md);
}

.about-badge i {
  font-size: 1.8rem;
  color: var(--brand-blue);
}

.about-badge div {
  display: flex;
  flex-direction: column;
}

.about-badge strong { font-size: 1rem; font-weight: 700; }
.about-badge span { font-size: 0.8rem; color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.about-text h2 { font-size: 2.2rem; margin-bottom: 15px; }
.about-text h2 span { color: var(--brand-blue); }
.about-text p { color: var(--gray-700); font-size: 1rem; margin-bottom: 18px; }

.about-list { list-style: none; margin: 25px 0; }
.about-list li { padding: 8px 0; font-size: 0.95rem; color: var(--gray-700); }
.about-list li i { color: var(--brand-yellow); margin-right: 10px; }

/* ========== FEATURED SERVICES ========== */
.featured-services {
  padding: 90px 20px;
  background: var(--off-white);
}

.services-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.service-home-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.service-home-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-home-img { height: 220px; overflow: hidden; }

.service-home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-home-card:hover .service-home-img img {
  transform: scale(1.08);
}

.service-home-body {
  padding: 28px 25px;
  position: relative;
}

.service-home-body i {
  position: absolute;
  top: -28px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: var(--brand-yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}

.service-home-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.service-home-body p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title { font-size: 5rem; letter-spacing: 5px; }
  .typewriter-text { letter-spacing: 5px; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 95vh;
    padding: 100px 20px 180px;
  }

  .hero-title { 
    font-size: 3.5rem; 
    letter-spacing: 3px;
  }
  
  .typewriter-text { letter-spacing: 3px; }
  
  .hero-tagline { font-size: 1.1rem; }

 

  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  .hero-badge { font-size: 0.65rem; padding: 6px 14px; letter-spacing: 1.5px; }

  .hero-road { bottom: 70px; height: 80px; }
  .truck-moving { width: 140px; height: 60px; }
  .hero-curve svg { height: 70px; }
  .tool-icon { font-size: 2rem !important; }

  .cta-banner { padding: 60px 20px; min-height: 260px; }
  .cta-content { flex-direction: column; text-align: center; gap: 25px; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-content p { font-size: 0.95rem; }
  .cta-content .btn-primary { width: 100%; max-width: 300px; justify-content: center; }

  .about-image img { min-height: 280px; }
  .about-badge { bottom: 15px; left: 15px; padding: 12px 16px; }
  .about-badge i { font-size: 1.4rem; }
  .about-badge strong { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; letter-spacing: 2px; }
  .typewriter-text { letter-spacing: 2px; }
}

/* ========== PAUSE ON HOVER ========== */
.hero:hover .hero-slide,
.cta-banner:hover .cta-slide {
  animation-play-state: paused;
}

/* ========== PAGE HERO (Inner Pages) ========== */
.page-hero {
  position: relative;
  background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.85)),
              url("../images/hero/hero1.jpeg") center/cover no-repeat;
  padding: 100px 20px 80px;
  text-align: center;
  color: var(--white);
}

.page-hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-hero-content p { color: var(--gray-300); font-size: 0.95rem; }
.page-hero-content p a { color: var(--brand-yellow); }
.page-hero-content p i { font-size: 0.7rem; margin: 0 10px; color: var(--gray-500); }

/* ========== SERVICES PAGE ========== */
.services-page { padding: 90px 20px; background: var(--off-white); }

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-pro-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.service-pro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-pro-img { position: relative; height: 240px; overflow: hidden; }

.service-pro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-pro-card:hover .service-pro-img img { transform: scale(1.08); }

.service-pro-icon {
  position: absolute;
  bottom: -28px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: var(--brand-yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.service-pro-body { padding: 45px 25px 30px; }
.service-pro-body h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--dark); }
.service-pro-body p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }

/* ========== ABOUT PAGE ========== */
.about-page { padding: 90px 20px; background: var(--white); }
.what-we-do { padding: 90px 20px; background: var(--off-white); }

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.what-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.what-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--brand-yellow);
}

.what-card i { font-size: 2.2rem; color: var(--brand-blue); margin-bottom: 15px; }
.what-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.what-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ========== WHY US ========== */
.why-us { padding: 90px 20px; background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.why-card {
  background: var(--off-white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: var(--brand-yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ========== MISSION PAGE ========== */
.mission-page { padding: 90px 20px; background: var(--off-white); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.mission-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--brand-yellow);
  transition: all 0.3s ease;
}

.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.mission-card-icon {
  width: 70px;
  height: 70px;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mission-card h2 { font-size: 1.6rem; color: var(--dark); margin-bottom: 15px; }
.mission-card p { color: var(--gray-700); line-height: 1.7; }

/* ========== CONTACT PAGE ========== */
.contact-info { padding: 70px 20px 40px; background: var(--off-white); }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.contact-info-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.ci-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 18px;
}

.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

.contact-main { padding: 40px 20px 90px; background: var(--off-white); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-left h2 { font-size: 2rem; margin-bottom: 15px; }
.contact-left h2 span { color: var(--brand-blue); }
.contact-left > p { color: var(--gray-700); margin-bottom: 25px; }

.contact-features { list-style: none; margin-bottom: 30px; }
.contact-features li { padding: 8px 0; color: var(--gray-700); font-size: 0.95rem; }
.contact-features li i { color: var(--brand-yellow); margin-right: 10px; }

.contact-social p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 12px; font-weight: 600; }
.contact-social .social-icons a { background: var(--white); box-shadow: var(--shadow-sm); color: var(--brand-blue); }

.contact-right form {
  background: var(--white);
  padding: 40px 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--brand-yellow);
}

.contact-right form h3 { font-size: 1.4rem; margin-bottom: 25px; color: var(--dark); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.privacy-note { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 20px; }
.privacy-note i { color: var(--brand-blue); margin-right: 6px; }

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

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-right form { padding: 30px 20px; }
  .section-title h2 { font-size: 1.6rem; }
  .about-text h2 { font-size: 1.6rem; }
  .contact-left h2 { font-size: 1.6rem; }
  .mission-card h2 { font-size: 1.4rem; }
}
/* ============================================
   HERO — TYPEWRITER "GWC" + TRUCK INAOPITA
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 200px;
  color: var(--white);
  overflow: hidden;
}

/* ---------- Background Slideshow ---------- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSlideShow 18s infinite;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroSlideShow {
  0%   { opacity: 0; transform: scale(1.08); }
  8%   { opacity: 1; transform: scale(1.08); }
  33%  { opacity: 1; transform: scale(1.15); }
  41%  { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.08); }
}

/* ---------- Dark Overlay ---------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(0, 61, 128, 0.75) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

/* ---------- Grid Pattern ---------- */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    linear-gradient(rgba(245, 179, 1, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 179, 1, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* ---------- Hero Content ---------- */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 15px;
  animation: heroFadeIn 1s ease-out;
}

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

/* ---------- Badge ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
  box-shadow: 0 8px 25px rgba(245, 179, 1, 0.35);
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
/* ============================================
   TYPEWRITER TITLE — SENTENSI ZINAZOBADILIKA
   ============================================ */

.hero-title {
  color: var(--brand-yellow);
  font-size: 3.5rem;          /* ← Sio 7rem, sio 5rem */
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: 2px;         /* ← Punguza kutoka 8px */
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(245, 179, 1, 0.4);
  min-height: 1.2em;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.typewriter-text {
  color: var(--brand-yellow);
  display: inline-block;
  letter-spacing: 2px;         /* ← Punguza kutoka 8px */
}

/* ---------- Cursor ---------- */
.cursor-blink {
  display: inline-block;
  width: 5px;                  /* ← Nyembamba kidogo */
  height: 0.9em;
  background: var(--brand-yellow);
  margin-left: 5px;
  vertical-align: middle;
  border-radius: 2px;
  animation: cursorGlow 0.9s ease-in-out infinite;
  box-shadow: 
    0 0 10px rgba(245, 179, 1, 0.8),
    0 0 20px rgba(245, 179, 1, 0.4);
}

@keyframes cursorGlow {
  0%, 45% { 
    opacity: 1;
    box-shadow: 0 0 10px rgba(245, 179, 1, 0.8), 0 0 20px rgba(245, 179, 1, 0.4);
  }
  50%, 100% { 
    opacity: 0.15;
    box-shadow: 0 0 5px rgba(245, 179, 1, 0.3), 0 0 10px rgba(245, 179, 1, 0.2);
  }
}

/* ============================================
   PAGE HERO — SLIDESHOW
   ============================================ */

.page-hero-slideshow {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 80px 20px;
}

.page-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: pageHeroSlideShow 15s infinite;
  transform: scale(1.08);
}

.page-hero-slide:nth-child(1) { animation-delay: 0s; }
.page-hero-slide:nth-child(2) { animation-delay: 5s; }
.page-hero-slide:nth-child(3) { animation-delay: 10s; }

@keyframes pageHeroSlideShow {
  0%   { opacity: 0; transform: scale(1.08); }
  10%  { opacity: 1; transform: scale(1.08); }
  33%  { opacity: 1; transform: scale(1.15); }
  43%  { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.08); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(0, 61, 128, 0.75) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 3;
  animation: heroFadeIn 1s ease-out;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-hero-content p {
  color: var(--gray-300);
  font-size: 1rem;
  letter-spacing: 1px;
}

.page-hero-content p a {
  color: var(--brand-yellow);
  font-weight: 600;
}

.page-hero-content p i {
  font-size: 0.7rem;
  margin: 0 10px;
  color: var(--gray-500);
}

/* ============================================
   WORK SHOWCASE
   ============================================ */

.work-showcase {
  padding: 90px 20px;
  background: var(--off-white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.work-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.work-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-item:hover img {
  transform: scale(1.08);
}

.work-info {
  padding: 22px;
  border-top: 4px solid var(--brand-yellow);
}

.work-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.work-info p {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* ============================================
   SECTORS SECTION
   ============================================ */

.sectors-section {
  padding: 90px 20px;
  background: var(--white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.sector-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover img {
  transform: scale(1.1);
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
  z-index: 1;
}

.sector-card h4 {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.5px;
}

.sector-card h4::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--brand-yellow);
  margin-bottom: 8px;
}

/* ============================================
   VALUES SECTION (Mission Page)
   ============================================ */

.values-section {
  margin-top: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.value-item {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--brand-yellow);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--brand-yellow);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.value-item p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
  padding: 90px 0 0;
  background: var(--white);
}

.map-section .section-title {
  padding: 0 20px;
  margin-bottom: 40px;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--brand-yellow);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s ease;
}

.map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .page-hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .page-hero-slideshow {
    min-height: 350px;
    padding: 60px 20px;
  }

  .page-hero-content h1 { font-size: 2rem; }
  .page-hero-content p { font-size: 0.9rem; }

  .work-item img { height: 180px; }
  .sector-card { height: 180px; }

  .map-wrapper { height: 350px; }
}