/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f2544;
  --navy-dark: #0b1d35;
  --orange: #ff7a18;
  --orange-soft: #ffefe4;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f5f7fa;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= UTILITIES ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.center {
  text-align: center;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 10px;
  display: inline-block;
}

.subtitle {
  color: var(--gray);
  margin-top: 10px;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #e96c0f;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ================= HEADER ================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.brand-sub {
  font-size: 11px;
  color: #cbd5e1;
}

.main-nav {
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--orange);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 90vh;
  background:
    linear-gradient(
      to right,
      rgba(15, 37, 68, 0.95),
      rgba(15, 37, 68, 0.6)
    ),
    url("https://res.cloudinary.com/dp9ffewdb/image/upload/v1770459280/construction.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  background-attachment: scroll;
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 700px;
}

.badge {
  display: inline-block;
  background: rgba(255, 122, 24, 0.15);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 17px;
  color: #e5e7eb;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy);
  color: #e5e7eb;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.socials a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

.site-footer {
  background: var(--navy);
  color: #e5e7eb;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.socials a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ===== Curved / Slanted Footer Top ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 140px; /* creates space for the curve */
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -220px;
  width: 140%;
  height: 200px;
  background: #ffffff;
  border-bottom-left-radius: 100% 100%;
  transform: rotate(-3deg);
}

/* ================= LIVE PROJECTS ================= */
.live-projects {
  background: var(--navy-dark);
  color: var(--white);
  padding: 14px 0;
  font-size: 14px;
}

.live-projects {
  background: #0b1f3b;
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.ticker .label {
  white-space: nowrap;
  background: #ff7a00;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.ticker-move {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-move span {
  font-size: 14px;
  opacity: 0.95;
}

/* Animation */
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ================= STATS ================= */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat h3 {
  font-size: 32px;
  color: var(--orange);
}

.stat p {
  font-size: 14px;
  color: #cbd5e1;
}
/* ================= ABOUT ================= */
.about {
  padding: 120px 0;
  background: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.about-text {
  max-width: 100%;
}

.section-label {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0a3cff;
  margin-bottom: 12px;
}

.about h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #111;
}

.about p {
  max-width: 100%;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
  color: #333;
}

/* ================= CEO ================= */
.ceo {
  padding: 60px 0;
}

.ceo-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* IMAGE CARD */
.ceo-img-wrapper {
  width: 260px;
  height: 320px;           /* CONTROLS SHORTNESS */
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.ceo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* TEXT */
.ceo-content {
  max-width: 650px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #555;
}

.ceo-content h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.ceo-content p {
  line-height: 1.7;
  color: #333;
}

/* ================= VIDEO SECTION ================= */

.video-section {
  padding: 0;
  background-color: #0a2540;
}

.video-section .container {
  width: 96%;
  max-width: 1800px;
  margin: 40px auto 100px auto;
}

.video-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 2.4rem;
}

.video-wrapper {
  width: 100%;
  height: 95vh;              /* Strong vertical presence */
  min-height: 700px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.70);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Extended cinematic bottom gradient */
.video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.15) 35%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.95) 100%
  );
}


/* ================= SERVICES ================= */

.services {
  background-color: #ffffff;
  padding: 100px 0;
}

.services .container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  color: #ff7a00;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: #0a2540;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: #f9fbfd;
  padding: 40px 34px;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #0a2540;
}

.service-card p {
  color: #4a5d73;
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* ================= PROJECTS ================= */
.projects {
  padding: 90px 0;
}

.projects-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card img {
  height: 220px;
  object-fit: cover;
}

.tag {
  position: absolute;
  margin: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 50px;
}

.project-info {
  padding: 20px;
}

.news-highlights {
  padding: 80px 0;
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
}

.news-highlights h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.4rem;
  color: #0a2540;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.news-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.news-image {
  position: relative;
  height: 220px;
}

.news-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.news-image img.active {
  opacity: 1;
}

.news-content {
  padding: 25px;
}

.news-content h3 {
  margin-bottom: 10px;
  color: #0a2540;
  font-size: 1.2rem;
}

.news-content p {
  color: #555;
  font-size: 0.95rem;
}

/* ================= RATINGS ================= */
.ratings {
  background: var(--light-gray);
  padding: 80px 0;
}

.ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.rating-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
}

.rating-card h3 {
  color: var(--orange);
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--navy);
  color: #e5e7eb;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.socials a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}
/* ===== Curved / Slanted Footer Top ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 160px; /* gives room for the curve */
}

/* White slanted curve */
.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -380px;
  width: 200%;
  height: 340px;
  background: #ffffff;

  /* The magic */
  border-bottom-left-radius: 160% 100%;
  transform: rotate(-8deg);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .stats-grid,
  .projects-grid,
  .ratings-grid,
  .footer-grid,
  .ceo-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }
}

/* ===== General Styles ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ===== CEO Section Styles ===== */
.ceo {
  padding: 60px 0;
}

.ceo-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.ceo-img-wrapper {
  width: 260px;
  height: 320px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.ceo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ceo-content {
  max-width: 650px;
}

/* ===== MOBILE STYLES (PUT THIS AT THE VERY END) ===== */
@media (max-width: 768px) {
  .ceo-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ceo-img-wrapper {
    width: 220px;
    height: 260px;
  }
}
@media (max-width: 768px) {
  .site-footer::before {
    top: -60px;
    right: -120px;
    height: 140px;
    transform: none;
  }
}
