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

:root {
  --blue: #1b4db1;
  --blue-dark: #0f2f6a;
  --black: #0b0b0f;
  --white: #ffffff;
  --gray: #f2f4f8;
  --gray-dark: #4f5666;
  --shadow: 0 18px 45px rgba(15, 21, 41, 0.12);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-light: rgba(10, 12, 18, 0.08);
}

body {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  color: #10131a;
  background: linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 21, 41, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform-origin: top center;
}

.site-header.flip {
  transform: rotateX(180deg);
  box-shadow: 0 20px 30px rgba(15, 21, 41, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 180px;
  height: 110px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--blue-dark);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background: rgba(27, 77, 177, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-slider {
  color: var(--white);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(
    120deg,
    rgba(7, 12, 24, 0.85),
    rgba(13, 37, 86, 0.55)
  );
  padding: 110px 0 90px;
}

.parallax {
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}

.parallax-overlay {
  width: 100%;
  background: rgba(7, 12, 24, 0.45);
  padding: 80px 0;
}

.parallax-content {
  color: var(--white);
  display: grid;
  gap: 16px;
  max-width: 700px;
}

.parallax-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.parallax-content p {
  color: rgba(255, 255, 255, 0.85);
}

.parallax-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.parallax-tags span {
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

.hero-slider .eyebrow {
  color: #f6d78a;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 18px 0;
}

.hero-text-animate {
  animation: textSwap 0.8s ease;
}

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

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

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 21, 41, 0.08);
  backdrop-filter: blur(10px);
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.badge-number {
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 700;
}

.badge-label {
  color: var(--gray-dark);
  font-size: 0.85rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.accent-card {
  background: var(--glass);
  border: 1px solid var(--glass-light);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.accent-card h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.accent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.accent-list span {
  background: rgba(15, 21, 41, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--blue-dark);
}

.grid-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.tile {
  padding: 18px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.tile-light {
  background: linear-gradient(130deg, #e7efff, #b1c8ff);
  color: var(--blue-dark);
}

.tile-blue {
  background: linear-gradient(130deg, #2d66e5, #1b4db1);
}

.tile-dark {
  background: linear-gradient(130deg, #1c1e2a, #0f1017);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--blue-dark);
  transform: rotateX(90deg);
  transform-origin: top center;
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.section-header h2.flip-in {
  transform: rotateX(0deg);
  opacity: 1;
}

.section-header p {
  color: var(--gray-dark);
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-light);
  backdrop-filter: blur(14px);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.7s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15, 21, 41, 0.18);
}

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

.project-card {
  background: var(--glass);
  border: 1px solid var(--glass-light);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 21, 41, 0.18);
}

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

.gallery-card {
  min-height: 180px;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.9s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 21, 41, 0.2);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.gallery-card span {
  position: relative;
  z-index: 1;
}

.gallery-one {
  background-image: url('construction.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-two {
  background-image: url('interiordesign.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-three {
  background-image: url('infrastructure.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-four {
  background-image: url('landdevelopment.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-five {
  background-image: url('realestate.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-six {
  background: linear-gradient(135deg, #355ee6, #0f2f6a);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-weight: 600;
}

.about-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.about-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: var(--gray-dark);
}

.quote-card {
  background: var(--glass);
  border: 1px solid var(--glass-light);
  backdrop-filter: blur(14px);
  color: var(--blue-dark);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quote {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.quote-name {
  font-weight: 600;
  opacity: 0.8;
}

.quote-highlight {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-highlight span {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

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

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-info h4 {
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.contact-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-light);
  backdrop-filter: blur(14px);
  padding: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 21, 41, 0.15);
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(27, 77, 177, 0.35);
  border-color: transparent;
}

.site-footer {
  padding: 24px 0 40px;
  background: #10131a;
  color: var(--white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  opacity: 0.9;
  transition: background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header.flip {
    transform: rotateX(0);
  }

  .parallax {
    background-attachment: scroll;
  }

  .hero {
    padding-top: 60px;
  }

  .header-inner {
    justify-content: center;
  }
}
