:root {
  --primary: #2c7da0;
  --footer-bg: #7fb3d5;
  --text-dark: #0c3c50;
  --light-bg: #f4f4f4;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: auto;
}

/* ================= HEADER ================= */
.header {
  background: var(--light-bg);
  border-bottom: 1px solid #dcdcdc;
  box-shadow: 0px 2px 5px 0px #212121;
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo img {
  height: 46px;
}

/* nav */
.nav {
  display: flex;
  gap: 38px;
  margin-right: -40%;
}

.nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav a.active {
  font-weight: 700;
}

/* hamburger */
.hamburger {
  width: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* ================= HERO ================= */

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.28;
  letter-spacing: 0.3px;
}

/* ================= FOOTER ================= */
.footer {
  	background: var(--footer-bg);
	box-shadow: 0px 0px 5px 2px #212121
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 2fr 1fr 1fr;
  gap: 65px;
  padding:35px 0px;
}

/* logo */
.footer-logo img {
  width: 145px;
}

/* headings */
.footer h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* text */
.footer-info p,
.footer-links a {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dark);
}

.footer-info .title {
  font-weight: 700;
  line-height: 18px;
  font-size: 13px;
}

.footer-info .title1 {
  font-weight: 700;
  line-height: 17px;
  font-size: 11px;
}

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

.contact a:hover {
  text-decoration: underline;
}

/* contact */
.contact {
  margin: 14px 0;
}

.contact .item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
}

/* register */
.register {
  font-size: 12px;
  margin-top: 10px;
  opacity: 0.9;
}

/* links */
.footer-links a {
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
}

/* social */
.social {
  display: flex;
  gap: 12px;
  margin-top: 70px;
}

.social a {
  width: 34px;
  height: 34px;
  background: #eaf3f8;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social img {
  width: 15px;
}

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding: 14px 0;
  font-size: 11px;
  margin: auto auto;
  width: 1245px;
}
.footer-logo {
	margin-top: 50px;
}

/* CONTACT ICON */
.contact .item i {
  font-size: 14px;
  width: 18px;
  color: #0c3c50;
}

/* SOCIAL ICON */
.social a {
  width: 34px;
  height: 34px;
  background: #eaf3f8;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c3c50;
  font-size: 14px;
  transition: 0.3s;
}

.social a:hover {
  background: #d6e9f5;
}

.hero {
  position: relative;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ini kunci */
}

/* overlay text */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: #2c7da0;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
  .nav {
    position: absolute;
    right: 0;
    top: 70px;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    display: none;
  	margin-right: 0%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav.active {
    display: flex;
    z-index: 9;
  }

  .hero h1 {
    font-size: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 768px) {

  .hero {
    height: 60vh;
  }

  .hero-img {
	object-fit: fill;
    object-position: center top; /* fokus atas */
  }

  .hero h1 {
    font-size: 26px;
  }
  .footer-bottom {
  	width: 100%;
  }
}