/* =========================
   GLOBAL SCROLL
========================= */
html {
  scroll-behavior: smooth;
}

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

main {
  font-family: 'Inter', sans-serif;
  color: #222;
  line-height: 1.6;
  background: url("../imgs/index_bg.png") center / cover no-repeat fixed;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(120, 120, 120, 0.35); /* grey tint */
  z-index: -1;
}

  :root{
    --sw-bg: #0b1220;
    --sw-surface: rgba(255,255,255,.06);
    --sw-surface-2: rgba(255,255,255,.08);
    --sw-border: rgba(255,255,255,.12);
    --sw-text: rgba(255,255,255,.92);
    --sw-muted: rgba(255,255,255,.68);
    --sw-faint: rgba(255,255,255,.52);
    --sw-accent: #4ade80; /* green */
    --sw-accent-2: #60a5fa; /* blue */
    --sw-radius: 18px;
    --sw-shadow: 0 18px 40px rgba(0,0,0,.35);
    --sw-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  }

/* =========================
   SECTION SPACING SYSTEM
========================= */
section {
  padding: 50px 0;
}

.container {
  width: 88%;
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================
   PROJECT DETAIL SECTIONS
========================= */
.project-detail {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.project-detail h2 {
  font-size: 38px;
  margin-bottom: 25px;
  color: #111;
}

.project-detail p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
}

/* =========================
   COMPANY PROFILE SECTION
========================= */

.company-profile {
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background:rgba(0,0,0,.55);
  color:white;
}

.profile-logo {
     text-align: center;
     margin-bottom: 20px;
}

.profile-logo img {
     width: 220px;
     height: auto;
     display: inline-block;
}

.profile-section {
  padding: 0px 20px;
  padding-top: 60px;
  text-align: center;
}

.company-container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
  letter-spacing: 1px;
  font-weight: 700;
}

.profile-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: justify;
}

.profile-section ul {
  list-style: none;
  padding: 0;
}

.profile-section ul li {
  font-size: 17px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.profile-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2c3e50;
  font-size: 22px;
  line-height: 1;
}

/* =========================
   NEWS SECTION
========================= */
.news-section {
  font-family: 'Segoe UI', sans-serif;
  background:rgba(0,0,0,.55);
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  margin-bottom: 140px;
  background:rgba(0,0,0,.75);
  border-radius: 14px;
  padding:30px;
}

.news-item:last-child {
  margin-bottom: 0;
}

.news-item.reverse {
  flex-direction: row-reverse;
}

/* IMAGE SIDE */
.news-image {
  flex: 1;
}

.news-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.news-image img:hover {
  transform: scale(1.03);
}

/* CONTENT SIDE */
.news-content {
  flex: 1;
}

.news-content h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
  line-height: 1.2;
}

.news-content p {
  font-size: 19px;
  line-height: 1.8;
  color: #d3d3d3;
  margin-bottom: 30px;
  max-width: 550px;
}

.news-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #179717;
  position: relative;
  transition: 0.3s ease;
}

.news-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #179717;
  transition: width 0.3s ease;
}

.news-link:hover::after {
  width: 100%;
}

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

@media (max-width: 1200px) {
  .news-item {
    gap: 60px;
  }

  .news-content h2 {
    font-size: 34px;
  }
}

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

  .news-item,
  .news-item.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .news-content h2 {
    font-size: 30px;
  }

  .section-title {
    font-size: 34px;
  }

  .project-card {
    min-width: 280px;
  }
}

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

  .profile-section {
    padding: 60px 20px;
  }

  .profile-section h2 {
    font-size: 26px;
  }

  .profile-section p,
  .profile-section ul li {
    font-size: 16px;
  }

  .news-image img {
    max-width: 100%;
  }
}