/* ===================================================================
   Hamarta Outbound & Training — static stylesheet
   =================================================================== */

:root{
  --color-primary: #6EC1E4;
  --color-primary-dark: #298CE3;
  --color-navy: #0F69BA;
  --color-heading: #54595F;
  --color-body: #7A7A7A;
  --color-yellow: #FFDC00;
  --color-purple: #C11BF2;
  --color-green: #009E68;
  --color-white: #FFFFFF;
  --color-offwhite: #F7FBFD;

  --font-heading: "Roboto Slab", serif;
  --font-body: "Roboto", sans-serif;

  --container-width: 1200px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-body);
  line-height: 1.7;
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.6em;
}

p{ margin: 0 0 1em; }

ul{ margin: 0; padding: 0; list-style: none; }

.container{
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-heading);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus{ left: 10px; top: 10px; }

.eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5em;
}

/* Buttons -------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-2px); opacity: 0.94; }

.btn--purple{
  background: var(--color-purple);
  color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(193, 27, 242, 0.35);
}

.btn--yellow{
  background: var(--color-yellow);
  color: var(--color-heading);
  border-radius: 8px;
}

.btn--white{
  background: var(--color-white);
  color: var(--color-green);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ===================================================================
   Header / Hero
   =================================================================== */
.hero{
  position: relative;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding-top: 28px;
  overflow: hidden;
}

.hero__inner{
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.brand{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-white);
}
.brand__main{ color: var(--color-white); }
.brand__accent{ color: var(--color-yellow); }

.hero__nav{ position: relative; }

.nav-menu{
  display: flex;
  gap: 28px;
}
.nav-menu a{
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:hover{ color: var(--color-yellow); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-white);
}

.hero__content{
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 0 90px;
}

.hero__text{ flex: 1 1 50%; min-width: 280px; }

.hero__text h1{
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 0.9em;
}

.hero__image{
  flex: 1 1 45%;
  min-width: 260px;
  display: flex;
  justify-content: center;
}
.hero__image img{ max-width: 480px; width: 100%; }

/* ===================================================================
   Trust strip
   =================================================================== */
.trust{
  background: var(--color-offwhite);
  padding: 50px 0 60px;
  text-align: center;
}

.trust__heading{
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
}

.trust__logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}
.trust__logos li{
  background: var(--color-white);
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.trust__logos img{ width: 130px; height: auto; object-fit: contain; }

/* ===================================================================
   Intro / Tentang
   =================================================================== */
.intro{
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.intro__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.intro__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}
.intro__inner{
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.intro h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* ===================================================================
   Services overview
   =================================================================== */
.services{
  padding: 70px 0;
  background: var(--color-white);
}
.services h2{
  text-align: center;
  max-width: 700px;
  margin: 0 auto 46px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card{
  display: block;
  text-align: center;
  padding: 34px 20px;
  border-radius: 12px;
  background: var(--color-offwhite);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.service-card img{
  margin: 0 auto 18px;
  border-radius: 50%;
}
.service-card h3{
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}
.service-card p{
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-body);
}

/* ===================================================================
   Benefit
   =================================================================== */
.benefit{
  padding: 80px 0;
  background: var(--color-offwhite);
}
.benefit__grid{
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.benefit__text{ flex: 1 1 45%; min-width: 300px; }
.benefit__text h2{ font-size: clamp(1.4rem, 3vw, 2rem); }

.checklist{ margin-top: 20px; }
.checklist li{
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.checklist li::before{
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__photo{
  flex: 1 1 48%;
  min-width: 300px;
  margin: 0;
}
.benefit__photo img{
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.benefit__photo figcaption{
  margin-top: 14px;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-body);
}

.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  background: #000;
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================================================
   Gallery
   =================================================================== */
.gallery{ padding: 80px 0; }
.gallery h2{
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.gallery__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__grid a{
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}
.gallery__grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery__grid a:hover img{ transform: scale(1.06); }

/* ===================================================================
   Service detail sections
   =================================================================== */
.service-detail{ padding: 70px 0; background: var(--color-white); }
.service-detail--alt{ background: var(--color-offwhite); }

.service-detail h2{
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 0.2em;
}
.service-detail__sub{
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 40px;
}

.service-detail__body{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.service-detail__body--photo{
  grid-template-columns: 1fr 1fr 1fr;
}

.service-detail__photo{ margin: 0; grid-column: span 1; }
.service-detail__photo img{ border-radius: 12px; }

.package-list li{
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.package-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.package-list--single{
  grid-column: span 2;
  columns: 1;
}
.package-list--wide{ grid-column: span 3; columns: 2; column-gap: 40px; }

/* When there's no photo, allow the single list to take the full body */
.service-detail__body:has(> .package-list--single:only-child){
  grid-template-columns: 1fr;
}

/* ===================================================================
   CTA
   =================================================================== */
.cta{
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta h2{
  color: var(--color-white);
  max-width: 820px;
  margin: 0 auto 0.5em;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}
.cta p{
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 30px;
}
.cta__buttons{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* ===================================================================
   Testimonials
   =================================================================== */
.testimonials{
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.testimonials__bg{ position: absolute; inset: 0; z-index: 0; }
.testimonials__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(116, 220, 252, 0.82);
}
.testimonials .container{ position: relative; z-index: 1; }
.testimonials h2{ max-width: 700px; margin: 0 auto 40px; }

.testimonials__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card{
  margin: 0;
  background: var(--color-white);
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  text-align: left;
}
.testimonial-card p{
  font-style: italic;
  color: var(--color-heading);
  margin-bottom: 16px;
}
.testimonial-card footer{ font-weight: 600; color: var(--color-navy); }
.testimonial-card cite{ font-style: normal; font-weight: 400; color: var(--color-body); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq{ padding: 80px 0; background: var(--color-offwhite); }
.faq .eyebrow, .faq h2{ text-align: center; }
.faq h2{ max-width: 700px; margin: 0 auto 40px; }

.faq__list{ max-width: 780px; margin: 0 auto; }

.faq-item{
  background: var(--color-white);
  border-radius: 10px;
  padding: 6px 24px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-weight: 600;
  color: var(--color-heading);
  position: relative;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--color-navy);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ padding-bottom: 18px; margin: 0; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer{
  background: var(--color-heading);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
  text-align: center;
}
.site-footer__inner{ display: flex; flex-direction: column; align-items: center; }

.site-footer__portrait{ margin: 0 0 20px; }
.site-footer__portrait img{
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid var(--color-yellow);
}
.site-footer__name{ color: var(--color-white); font-weight: 600; margin-bottom: 0.1em; }
.site-footer__role{ color: var(--color-yellow); margin-bottom: 0.1em; }
.site-footer__tag{ font-size: 0.9rem; margin: 0; }

.social-icons{
  display: flex;
  gap: 14px;
  margin: 20px 0;
}
.social-icons a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  transition: background 0.2s ease;
}
.social-icons a:hover{ background: var(--color-primary); }

.site-footer__cta{ margin: 10px 0 30px; }

.site-footer__divider{
  width: 100%;
  max-width: 400px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 20px auto;
}

.site-footer__credit{ font-size: 0.85rem; margin-bottom: 4px; }
.site-footer__copyright{ font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.5); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 900px){
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .service-detail__body{ grid-template-columns: 1fr 1fr; }
  .package-list--single{ grid-column: span 2; }
  .testimonials__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav-toggle{ display: flex; }
  .nav-menu{
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    gap: 0;
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    display: none;
  }
  .nav-menu.is-open{ display: flex; }
  .nav-menu a{
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero__content{ flex-direction: column; text-align: center; padding-bottom: 70px; }
  .hero__text{ order: 1; }
  .hero__image{ order: 2; }
  .hero__text .btn{ margin: 0 auto; }

  .services__grid{ grid-template-columns: 1fr; }
  .gallery__grid{ grid-template-columns: repeat(3, 1fr); }
  .benefit__grid{ flex-direction: column; }
  .service-detail__body{ grid-template-columns: 1fr; }
  .package-list--single, .package-list--wide{ grid-column: span 1; columns: 1; }
}

@media (max-width: 480px){
  .gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .trust__logos img{ width: 100px; }
  .cta__buttons{ flex-direction: column; align-items: center; }
}
