@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Nunito:wght@400;500;600;700&display=swap');

/* === Global Reset === */
* {margin: 0; padding: 0; }
body { font-family: 'Nunito'; background: #fff; color: #333; line-height: 1.6; }

/* === Header & Navbar === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 5vw 1.5rem 5vw;
}

/* Header untuk halaman Home */
.header-home {
  background: #F5E9DA; 
}

/* Header untuk halaman lain (About, Portfolio, Blog, Contact) */
.header-inner {
  background: #fff; 
}

header .logo {
  width: 70px;
  height: auto;
  display: block;
}

header nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

header nav a {
  text-decoration: none;
  color: #333;
  font-family: 'Nunito';
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}

header nav a.active,
header nav a:hover {
  color: #A8C3A7;
  font-weight: 700;
}


/* === Hero Section === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4vw 5vw 0 5vw;
  background: #F5E9DA;
  min-height: 520px;
  position: relative;
  border-bottom-left-radius: 120px 150px;
  border-bottom-right-radius: 120px 150px;
  margin-top: -10px; 
  overflow: hidden;
}

.hero-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  padding-bottom: 2.5vw;
}

.hero-tagline {
  font-family: 'Nunito';
  font-size: 2.2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1.3rem;
  line-height: 1.18;
}

.hero-hr {
  border: none;
  border-top: 2.2px solid #222;
  width: 60%;
  margin: 0 0 2rem 0;
}

.hero-desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.1rem;
  font-weight: 400;
  max-width: 490px;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #A8C3A7;
  color: #fff;
  font-family: 'Nunito';
  font-weight: 600;
  padding: 0.78rem 2.3rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.07rem;
  box-shadow: 0 2px 8px rgba(168,195,167,0.08);
  transition: background 0.2s;
  margin-top: 0.5rem;
  max-width: 220px;   
  width: fit-content; 
  white-space: nowrap; 
  border: none;
  text-align: center;
}


.btn-main:hover {
  background: #8ba88a;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 1;
  position: relative;
  height: 100%;
}

.hero-right img {
  width: 460px;
  max-width: 95vw;
  border-radius: 0 0 120px 120px/0 0 80px 80px;
  object-fit: contain;
  background: none;
  position: relative;
  bottom: -18px;
  right: -30px;
  box-shadow: none;
}


/* === Services Section === */
.services {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  background: #fff;
  padding: 2.5rem 5vw 2rem 5vw;
  border-bottom: 1px solid #f0f0f0;
}

.service {
  border-radius: 18px;
  padding: 1.2rem 2.2rem;
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(168,195,167,0.07);
  position: relative; 
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Garis vertikal di kanan setiap .service, kecuali yang terakhir */
.service:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1.5px;
  height: 64%;
  background: #333; 
  opacity: 0.7;
  border-radius: 1px;
}
.service small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.93rem;
  color: #888;
  font-weight: 400;
}


/* === Portfolio Section === */
.portfolio {
  background: #F5E9DA;
  padding: 3.5rem 5vw 3rem 5vw;
  text-align: center;
}
.portfolio h2 {
  font-family: 'Nunito';
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #333;
  border-bottom: 2px solid #333;
  display: inline-block;
}
.portfolio-desc {
  color: #666;
  margin-bottom: 2.3rem;
  font-size: 1.06rem;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.card {
  box-sizing: border-box; 
  width: 260px; 
  min-width: 260px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 1.5rem 1.3rem 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(168, 195, 167, 0.15);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(168, 195, 167, 0.25);
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.card h3 {
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.card p {
  color: #888;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.card a {
  text-decoration: none;
  outline: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: inline-block;
}

.card a:focus,
.card a:hover {
  outline: none;
  border: none;
  box-shadow: none;
}

.card h3 {
  cursor: pointer;
  transition: color 0.25s ease;
  color: #333;
}

.card h3:hover {
  color: #A8C3A7;
}

.card a:hover > img {
  filter: brightness(0.75);
  transition: filter 0.25s ease;
}

.card img {
  transition: filter 0.25s ease;
}

.portfolio .card > a:last-child {
  /* style khusus untuk tombol More */
  display: inline-block;
  color: #222;
  background: transparent;
  border: 1.5px solid #222;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 6px 22px;
  margin-top: 0.3rem;
  text-decoration: none;
  transition: 
  background 0.2s,
  color 0.2s,
  border color 0.2s,
  box shadow 0.2s;
  box-shadow: 0 1px 4px rgba(168,195,167,0.07);
  cursor: pointer;
  outline: none;
}

.portfolio .card > a:last-child:hover {
  background: #A8C3A7;
  color: #fff;
  border-color: #A8C3A7;
  box-shadow: 0 2px 10px rgba(168,195,167,0.13);
}


/* === Blog Section === */
.blog {
  background: #fff;
  padding: 3rem 5vw 2.5rem 5vw;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.blog .intro {
  flex: 0 0 370px;
  max-width: 540px;
  text-align: left;
  margin-bottom: 0;
}

.blog .intro h3 {
  font-family: 'Nunito';
  font-weight: 800;
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 1.1rem;
  border-bottom: 2.5px solid #222;
  width: fit-content;
  display: block;
}

.blog .intro p {
  color: #444;
  font-size: 1.04rem;
  margin-top: 1.3rem;
  line-height: 1.6;
}

.posts {
  flex: 1 1 0;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: stretch;
}

.post {
  background: #EEF3ED;
  border-radius: 18px;
  border: 1.5px solid #A8C3A7;
  box-shadow: 0 2px 3px #F5E9DA;
  padding: 1.5rem 1.3rem 1.2rem 1.3rem;
  width: 340px;
  max-width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  transition: box-shadow 0.18s;
}

.post:hover {
  box-shadow: 0 6px 24px rgba(168,195,167,0.17);
}

.post-more {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #222;
  background: #fff;
  border: 1.2px solid #bbb;
  border-radius: 16px;
  padding: 3px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 4px #F5E9DA;
  white-space: nowrap;
}

.post-more:hover {
  background: #A8C3A7;
  color: #fff;
  border-color: #A8C3A7;
}

.post h4 {
  cursor: default;
  color: #222;
  margin: 2.7rem 0 0.6rem 0;
  line-height: 1.22;
}

.post h4 a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
}

.post h4 a:hover {
  color: #A8C3A7;
}

.post p {
  color: #444;
  font-size: 0.97rem;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.post-image {
  position: relative;
  width: 100%;
  margin-top: 0.7rem;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  max-height: 200px;
  box-shadow: 0 2px 8px rgba(168,195,167,0.09);
  background: #eaeaea;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.1rem;
}

.post-image img {
  width: 100%;
  height: 200px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  filter: brightness(0.9);
}

/* === CTA Section === */
.cta {
  background: #F5E9DA;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3.5rem 5vw;
  gap: 3vw;
  min-height: 330px;
  font-family: 'Nunito';
}

.cta-left {
  flex: 0 0 36%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.cta-left h1 {
  font-family: 'Nunito';
  font-weight: 800;
  font-size: 7.2vw; 
  color: #2e2926;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -2px;
  word-break: break-word;
}

.cta-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 560px;
}

.cta-right p {
  font-family: 'Nunito';
  font-weight: 400;
  font-size: 1.13rem;
  color: #3d3835;
  margin-bottom: 2.2rem;
  margin-top: 0;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  background: #A8C3A7;
  color: #fff;
  font-family: 'Nunito';
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 14px;
  padding: 0.85em 2.1em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(168,195,167,0.09);
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  outline: none;
}

.btn-cta i {
  font-size: 1.18em;
  margin-right: 0.2em;
}

.btn-cta:hover,
.btn-cta:focus {
  background: #8ba88a;
  color: #fff;
}

/* === Footer === */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1.5rem 4rem 1.2rem 4rem;
  font-size: 0.97rem;
  color: #888;
  border-top: 1px solid #e2e2e2;
}
.footer-left {
  flex: 1;
  text-align: left;
}
.footer-left a {
  color: #A8C3A7;
  text-decoration: none;
  font-weight: 600;
}
.footer-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-right a {
  color: #000;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  align-items: center;
  font-size: 1.3rem;
}
.footer-right a:hover {
  color: #A8C3A7;
  opacity: 1;
}

/* === Button Back to Top === */
html {
  scroll-behavior: smooth;
}

.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #A8C3A7; /* warna tombol utama */
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  text-align: center;
  line-height: 48px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(168,195,167,0.3);
  transition: background-color 0.3s ease;
  z-index: 9999;
  user-select: none;
}

.btn-back-to-top:hover,
.btn-back-to-top:focus {
  background-color: #8ea892; /* warna hover */
  outline: none;
  cursor: pointer;
}


/* === About Page Style === */
.about-section {
  background: #F5E9DA;
  padding: 0 0 60px 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-header {
  background: #fff;
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 35px 0;
  border-radius: 0;
}

.about-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #222;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.about-divider {
  flex-shrink: 0;
  width: 54px;
  height: 2px;
  background: #222;
  border-radius: 2px;
}

.about-subtitle {
  font-size: 1.05rem;
  color: #222;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.about-main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 720px;
  width: 100%;
  flex-wrap: wrap;
}

.about-photo {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-photo img {
  width: 330px;
  height: 330px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 3px solid #A8C3A7;
  background: #fff;
  display: block;
}

.about-socials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
  align-self: flex-start;
}

.about-socials a {
  color: #222;
  font-size: 1.4rem;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.about-socials a:hover {
  background: #A8C3A7;
  color: #fff;
}

.about-desc {
  max-width: 720px;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.about-desc blockquote {
  font-size: 1.08rem;
  font-style: italic;
  color: #222;
  margin-bottom: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  quotes: "“" "”";
  position: relative;
  padding-left: 1.2em;
  text-align: center;
}

.about-desc p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

/* === Funfact === */
.funfact-section {
  background: #fff;
  padding: 56px 0 56px 0;
}

.funfact-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.funfact-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 0.01em;
  border-bottom: 2px solid #222;
  display: inline-block;
  padding-bottom: 2px;
}

.funfact-desc {
  color: #888;
  font-size: 1.05rem;
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 2.3rem;
  font-weight: 400;
}

.funfact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.funfact-card {
  background: #fff;
  border: 1.5px solid #A8C3A7;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px 18px 20px;
  min-height: 84px;
  transition: box-shadow 0.2s;
}

.funfact-card:hover {
  box-shadow: 0 4px 18px rgba(168, 195, 167, 0.13);
}

.funfact-icon {
  color: #A8C3A7;
  font-size: 1.7rem;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(168, 195, 167, 0.18); 
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funfact-card h4 {
  font-size: 1.02rem;
  color: #222;
  margin: 0 0 4px 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.funfact-card p {
  font-size: 0.98rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}



/* === Portofolio Page Style === */
.portfolio-header-wrapper {
  background: #fff;
  width: 100%;
  margin: 0 auto 0 auto;
  padding: 15px 0 24px 0;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portfolio-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  margin-bottom: 12px;
  background: none;
  box-shadow: none;
}

.portfolio-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #222;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.portfolio-divider {
  flex-shrink: 0;
  width: 70px;
  height: 2px;
  background: #222;
  border-radius: 2px;
  opacity: 0.7;
}

.portfolio-subtitle {
  font-size: 1.05rem;
  color: #222;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.portfolio-desc {
  text-align: center;
  color: #444;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  margin-bottom: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  background: none;
  box-shadow: none;
}

.portfolio-section {
  background: #F5E9DA;
  padding: 0 0 60px 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 auto;
  background: #F5E9DA;
  border-radius: 0;
  box-shadow: none;
  padding: 0 20px;         
  max-width: 1020px;
  padding: 0 40px;
  max-width: 1020px;
  margin: 0 auto;
  margin-top: 38px;       
}

.portfolio-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 0 25px 0;
  min-height: 84px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1.5px solid #d6d1c4;
}

.portfolio-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  flex-shrink: 0;
  margin-top: 2px;
}

.portfolio-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
}

.portfolio-card h3 span {
  font-weight: 400;
  color: #888;
}

.portfolio-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

/* ======= TOOLS & SKILL SECTION ======= */
.tools-section {
  background: #fff;
  padding: 56px 0 56px 0;
}

.tools-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tools-title h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: 0.01em;
  border-bottom: 2px solid #222;
  display: inline-block;
  padding-bottom: 2px;
}

.tools-desc {
  color: #888;
  font-size: 1.05rem;
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 2.3rem;
  font-weight: 400;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

.tools-card {
  background: #fff;
  border: 1.5px solid #A8C3A7;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px 18px 20px;
  min-height: 84px;
  transition: box-shadow 0.2s;
}

.tools-card:hover {
  box-shadow: 0 4px 18px rgba(168, 195, 167, 0.13);
}

.tools-icon {
  color: #A8C3A7;
  font-size: 1.7rem;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(168, 195, 167, 0.18); 
  border-radius: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tools-card h4 {
  font-size: 1.02rem;
  color: #222;
  margin: 0 0 4px 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tools-card p {
  font-size: 0.98rem;
  color: #444;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}


/* === Blog Page Style === */
.blog-section {
  background: #F5E9DA;
  padding: 0 0 60px 0;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-header {
  background: #fff;
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 35px 0;
  border-radius: 0;
}

.blog-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #222;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.Blog-divider {
  flex-shrink: 0;
  width: 54px;
  height: 2px;
  background: #222;
  border-radius: 2px;
}

.Blog-subtitle {
  font-size: 1.05rem;
  color: #222;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.01em;
  font-family: 'Nunito';
}

.blog-hero {
  background: #F5E9DA;
  width: 100%;
  padding: 3.5rem 0;
}

.blog-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;              
  max-width: 1100px;        
  margin: 0 auto;
  padding: 0 3vw;
  width: 100%;
}

.blog-hero-left, .blog-hero-right {
  flex: 1 1 0;
  min-width: 0;
}

.blog-hero-left {
  max-width: 430px;
  flex-direction: column;
  justify-content: center;
}

.blog-hero-right {
  display: flex;
  justify-content: flex-end;
}

.blog-category {
  display: inline-block;
  background: #fff;
  color: #888;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 6px 18px 6px 18px;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}

.blog-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 1.2rem 0;
  line-height: 1.09;
  font-family: 'Nunito', sans-serif;
}

.blog-hero-desc {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 2.1rem;
  margin-top: 0;
  line-height: 1.6;
}

.btn-main {
  background: #A8C3A7;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.78rem 2.3rem;
  font-size: 1.08rem;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-top: 0.6rem;
  cursor: pointer;
}
.btn-main .arrow {
  font-size: 1.2em;
  margin-left: 6px;
}
.btn-main:hover {
  background: #8ea892;
}

.blog-hero-right {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
}

.blog-card-img {
  position: relative;
  width: 410px;
  height: 295px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #222;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.blog-card-img img {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 18px;
  filter: brightness(0.89);
}

/* ===== BLOG GRID ===== */
.blog-grid {
  background: #F5E9DA;
  padding: 2.8rem 6vw 2.5rem 6vw;
}

.blog-cards-row {
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
  width: 360px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.18s;
  border: none;
}

.blog-card:hover {
  box-shadow: 0 6px 24px rgba(168,195,167,0.13);
}

.blog-card-image {
  position: relative;
  background-size: cover;
  background-position: center center; 
  width: 100%;
  aspect-ratio: 4 / 3; 
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 1.7rem 0;
  min-height: 180px;
  max-height: 240px;
  overflow: hidden;
}

.blog-card-content {
  padding: 1.5rem 1.35rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  border-top: none;
}

.blog-card-content h3 {
  font-size: 1.13rem;
  font-weight: 700;
  margin: 0 0 1.35rem 0;
  color: #222;
  line-height: 1.33;
  font-family: 'Nunito', sans-serif;
  border-bottom: 1.5px solid #bcb7a7;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
}

.btn-main {
  background: #A8C3A7;
  color: #fff;
  font-weight: 700;
  border-radius: 11px;
  padding: 0.68rem 2.2rem;
  font-size: 1.03rem;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  margin-top: 0.2rem;
  cursor: pointer;
}
.btn-main .arrow {
  font-size: 1.2em;
  margin-left: 8px;
}
.btn-main:hover {
  background: #8ea892;
}

/* ===== PLAYLIST & RECOMMENDATION ===== */
.playlist-section {
  background: #fff;
  padding: 3.5rem 0;
  width: 100vw;
}

.playlist-header {
  text-align: center;
  margin-bottom: 2.6rem;
}
.playlist-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.tools-desc {
  color: #444;
  font-size: 1.01rem;
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.playlist-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.playlist-list {
  flex: 1;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.playlist-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e7e7e7;
  padding: 0.7rem 0;
  font-size: 0.97rem;
  color: #222;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.13s;
  min-height: 56px;
}
.playlist-item:hover {
  background: #f5f9f4;
}
.playlist-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 0.9rem;
  background: #f3f3f3;
  flex-shrink: 0;
}
.playlist-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 38px;
}
.playlist-name {
  font-weight: 700;
  font-size: 1.03rem;
  color: #222;
  margin-bottom: 0.1rem;
}
.playlist-detail {
  color: #888;
  font-size: 0.95rem;
  font-weight: 400;
  margin-left: 0;
}
.playlist-arrow {
  color: #bdbdbd;
  font-size: 1.4em;
  margin-left: 0.8rem;
  font-weight: bold;
  transition: color 0.2s;
}

.playlist-videos {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.7rem;
  border-left: 2px solid #d4d4d4;
  padding-left: 2.7rem;
  justify-items: center;
}
.video-card {
  background: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 320px;
}
.video-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3ed;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.video-card .btn-main {
  margin-top: 0.2rem;
  width: 85%;
  background: #A8C3A7;
  color: #fff;
  font-weight: 700;
  border-radius: 13px;
  padding: 0.7rem 0;
  font-size: 1.16rem;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  letter-spacing: 0.01em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.video-card .btn-main:hover {
  background: #8ea892;
}


/* === Contact Page Style === */
.contact-section {
  padding: 0 0 60px 0;
  background: #fff;
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
  margin-bottom: 10px;
}
.contact-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #222;
  letter-spacing: 0.01em;
}
.contact-divider {
  width: 60px;
  height: 2px;
  background: #222;
  border-radius: 2px;
  display: inline-block;
}
.contact-subtitle {
  font-size: 1.05rem;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.contact-intro {
  text-align: center;
  color: #222;
  font-size: 0.98rem;
  margin-bottom: 36px;
  margin-top: 0;
  font-weight: 400;
}

.contact-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw;
}

.contact-form {
  flex: 1.1;
  background: #fff;
  padding-right: 36px;
  min-width: 300px;
}
.contact-form h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #222;
}
.form-desc {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.contact-form input,
.contact-form select {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  font-size: 1rem;
  color: #222;
  outline: none;
  font-family: inherit;
  margin-bottom: 0;
  transition: border-color 0.2s;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  cursor: pointer;
}
.select-wrapper {
  position: relative;
  flex: 1;
}
.select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  pointer-events: none;
  font-size: 0.9em;
}
.contact-form textarea {
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  font-size: 1rem;
  color: #222;
  font-family: inherit;
  margin-bottom: 16px;
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom: 2px solid #A8C3A7;
}
.submit-btn {
  display: inline-block;
  background: #A8C3A7;
  color: #fff;
  border: none;
  padding: 10px 32px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
  letter-spacing: 0.02em;
}
.submit-btn:hover {
  background: #8ea892;
}

.contact-info {
  flex: 1;
  padding-left: 36px;
  border-left: 1.5px solid #eee;
  min-width: 260px;
}
.info-block {
  margin-bottom: 38px;
}
.info-block h4 {
  font-size: 1.03rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 4px 0;
}
.info-desc {
  color: #888;
  font-size: 0.96rem;
  margin-bottom: 10px;
  margin-top: 0;
  font-weight: 400;
}
.info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #A8C3A7;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
}
.info-icon {
  font-size: 1.1em;
  color: #A8C3A7;
  display: flex;
  align-items: center;
}
.info-text {
  color: #A8C3A7;
  font-weight: 600;
  font-size: 1rem;
}

/* ======= RESPONSIVE ======= */
/* === Responsive Home === */
@media (max-width: 1024px) {
  header, .hero, .services, .portfolio, .blog, .cta, footer {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero .image img {
    width: 220px;
  }
  .cta h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero .image img {
    width: 180px;
    margin-bottom: 1.2rem;
  }
  .services {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    padding: 2rem 2vw;
  }
  .cards {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .blog .posts {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .cta {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .cta h1 {
    font-size: 2rem;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* === Responsive Nav-bar === */
@media (max-width: 500px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 3vw;
  }
  .logo {
    font-size: 2rem;
  }
  nav ul {
    gap: 1.1rem;
  }
  .hero h1 {
    font-size: 1.2rem;
  }
  .cta h1 {
    font-size: 1.3rem;
  }
}

/* === Responsive About=== */
@media (max-width: 600px) {
  .about-header, .funfact-header {
    flex-direction: column;
    gap: 8px;
  }
  .about-section, .funfact-section {
    padding: 24px 0 18px 0;
  }
  .about-photo img {
    width: 98vw;
    max-width: 320px;
    height: auto;
  }
  .about-socials {
    right: -20px;
    top: 12px;
    gap: 12px;
  }
  .funfact-cards {
    gap: 10px;
    max-width: 98vw;
  }
  .funfact-card {
    padding: 16px 10px 14px 10px;
  }
}

@media (min-width: 700px) {
  .about-main {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 54px;
  }
}

@media (min-width: 700px) {
  .about-desc {
    text-align: left;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .funfact-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 18px;
  }
}

/* === Responsive Portfolio=== */
@media (max-width: 900px) {
  .portfolio-grid,
  .tools-grid {
    grid-template-columns: 1fr;
    max-width: 98vw;
    gap: 18px;
    padding: 0 8vw;
  }
  .portfolio-section, .tools-section {
    padding: 32px 0 32px 0;
  }
}

@media (max-width: 600px) {
  .portfolio-section, .tools-section {
    padding: 18px 0 18px 0;
  }
  .portfolio-title .line,
  .tools-line {
    width: 30px;
  }
  .portfolio-card,
  .tools-card {
    padding: 12px 8px;
    gap: 10px;
  }
  .portfolio-card img {
    width: 40px;
    height: 40px;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    gap: 36px;
    padding: 0 4vw;
  }
  .contact-form, .contact-info {
    padding: 0;
    border: none;
    min-width: 0;
  }
  .contact-info {
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .contact-header {
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    margin-bottom: 4px;
  }
  .contact-main {
    padding: 0 2vw;
    gap: 18px;
  }
  .contact-form h4 {
    font-size: 1rem;
  }
  .info-block h4 {
    font-size: 0.97rem;
  }
  .info-line {
    font-size: 0.98rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .blog {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 4vw 2.5rem 4vw;
  }
  .blog .intro {
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .posts {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
  }
  .post {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.5rem 6vw;
  }
  .cta-left {
    justify-content: flex-start;
    width: 100%;
  }
  .cta-left h1 {
    font-size: 11vw;
  }
  .cta-right {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .cta {
    padding: 2rem 3vw;
    gap: 1.5rem;
  }
  .cta-left h1 {
    font-size: 15vw;
  }
  .cta-right p {
    font-size: 1rem;
  }
  .btn-cta {
    padding: 0.8em 1.3em;
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-card {
    padding: 16px 20px;
  }
}

/* === Responsive === */
@media (max-width: 1000px) {
  .hero, .cta { flex-direction: column; align-items: flex-start; }
  .hero-right, .cta-left { width: 100%; justify-content: center; }
  .hero-right img { width: 90vw; max-width: 330px; }
  .cta-left h1 { font-size: 2.5rem; }
  .cta { gap: 1.2rem; }
}
@media (max-width: 700px) {
  header, .hero, .services, .portfolio, .blog, .cta, footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .services, .cards, .posts {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .cards, .posts { width: 100%; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-left h1 { font-size: 2rem; }
  .footer-left, .footer-right { text-align: center; justify-content: center; }
  footer { flex-direction: column; gap: 0.7rem; }
}

/* Responsive */
@media (max-width: 1100px) {
  .blog-hero {
    flex-direction: column;
    gap: 3rem;
    padding: 2.5rem 4vw 2.5rem 4vw;
  }
  .blog-hero-right, .blog-hero-left {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  .blog-card-img {
    width: 95vw;
    max-width: 410px;
    height: 54vw;
    max-height: 295px;
  }
}
@media (max-width: 700px) {
  .blog-main-title, .blog-card-title {
    font-size: 1.5rem;
  }
  .blog-card-img {
    min-height: 180px;
    height: 38vw;
    max-height: 220px;
  }
  .blog-card-category, .blog-card-title, .blog-card-underline {
    left: 12px;
  }
  .blog-card-title {
    bottom: 36px;
    font-size: 1.2rem;
  }
  .blog-card-underline {
    bottom: 16px;
    width: 48px;
    height: 4px;
  }
}


/* Responsive */
@media (max-width: 1100px) {
  .blog-cards-row {
    gap: 1.2rem;
  }
  .blog-card {
    width: 95vw;
    max-width: 370px;
  }
}
@media (max-width: 700px) {
  .blog-cards-row {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .blog-card {
    width: 100%;
    max-width: 99vw;
    min-width: 0;
  }
  .blog-card-image {
    height: 36vw;
    min-height: 140px;
    max-height: 200px;
  }
  .blog-card-content {
    padding: 1.1rem 0.7rem 1.1rem 0.7rem;
  }
}


/* Responsive */
@media (max-width: 1000px) {
  .playlist-content {
    flex-direction: column;
    gap: 2.5rem;
    max-width: 98vw;
    padding: 0 2vw;
  }
  .playlist-videos {
    border-left: none;
    padding-left: 0;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .playlist-section {
    padding: 1.3rem 0;
  }
  .playlist-content {
    padding: 0 1vw;
    gap: 1.2rem;
  }
  .playlist-videos {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-thumb-wrap {
    aspect-ratio: 16/10;
  }
  .video-thumb-wrap img {
    height: 110px;
  }
}
