* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #dceeff;
    color: #222;
    line-height: 1.6;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
    background-color: #dceeff;
    box-shadow: none; 
    margin: 10;
    border-top-left-radius: 40px; 
    border-top-right-radius: 40px;
    
}
nav a.active {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.logo img {
  max-width: 70%;        
  height: auto;          
}


nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 10px;
    height: 35px;
}

.search-box input[type="text"] {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    font-size: 14px;
    width: 150px;
    color: #333;
}

.search-box button {
    border: none;
    background: none;
    cursor: pointer;
    color: #007bff;
    font-size: 16px;
}

.search-box i {
    pointer-events: none;
}
/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background-color: #dceeff;
    border-bottom-left-radius: 40px; 
    border-bottom-right-radius: 40px;
    
}

.hero-text {
    flex: 1;
}
.hero-text h3 {
    font-size: 30px;
    color: #333;
    font-family: 'DM Serif Text', serif;
}
.hero-text h1 {
    font-size: 30px;
    color: #333;
    font-family: 'DM Serif Text', serif;
}

.hero-text p {
    margin-top: 10px;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #58ADFF; 
    color: #fff;            
    border-radius: 50%;    
    margin: 5px;
    text-decoration: none;
    font-size: 18px;       
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.social-icons a:hover {
    color: #a7cef3; 
    transform: translateY(-2px);
}
.social-icons a:active {
    background-color: #3c95d0;
    transform: scale(0.95);
}
.hero-img img {
    width: 400px;
    border-radius: 50%;
}

/* Projects */
.projects {
    padding: 60px 5%;
}

.projects h2 {
  font-family: 'DM Serif Text', serif;
  text-align: center;
}


.project-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.project-card {
    background: #fff;
    padding: 30px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    cursor: pointer;
}
.project-card img {
    width: 100%;
    height: auto;
}
.btn {
  display: block;
  background-color: #58ADFF;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 30px;
  margin: 20px auto 0 auto; 
  text-align: center;
  width: fit-content; 
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.project-card:active {
    transform: scale(0.97);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn:hover {
  background-color: #4fa3e1; 
  transform: translateY(-2px);
}

.btn:active {
    background-color: #3c95d0;
    transform: scale(0.95);
}
.project-card.highlight {
  border: 2px solid #d3e4f0;
}

.project-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px; 
}

.project-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px; 
    flex-grow: 1;
}

.read-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #58ADFF;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;
  align-self: center;
}

.read-button:hover {
  background-color: #58ADFF;
  transform: translateY(-2px);
}

.read-button:active {
  transform: scale(0.95); 
  background-color: #3c95d0; 
}

/* About */
.about {
    display: flex;
    padding: 60px 5%;
    background-color: #dceeff;
    align-items: center;
    gap: 40px;
    border-top-left-radius: 40px; 
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px; 
    border-bottom-right-radius: 40px;
}
.about-img img {
  width: 260px;
  height: 300px;
  margin-right: 30px;
  margin-left: 90px;
}
  

.about-text {
    margin-top: 10px;
    max-width: 700px;
    font-family: 'Poppins', sans-serif;
}
.about-text h2 {
    font-size: 30px;
    color: #333;
    font-family: 'DM Serif Text', serif;
}
.about-text .btn {
    display: inline-block;
    margin-top: 20px;
    background-color: #58ADFF;
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 40px;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}
.about-text .btn:hover {
    background-color: #4fa3e1;
    transform: translateY(-2px);
}

.about-text .btn:active {
    background-color: #3c95d0;
    transform: scale(0.95);
}

/* Blog */
.blogs {
    padding: 20px 5% 60px 5%;
    background: #fff;
}

.blogs h2 {
  font-family: 'DM Serif Text', serif;
  text-align: center;
  padding: 10px 5%;
}

.blog-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.blog-card {
    background: #f0f4ff;
    padding: 30px;
    width: 300px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s; 
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
}
.blog-card:active {
    transform: scale(0.97); /* DITAMBAHKAN */
}
.blog-card img.blog-image {
  width: 100%;
  height: auto;
  border-radius: 8px; 
  margin-bottom: 10px;
}
.blog-card h3 {
    font-family: 'DM Serif Text', serif;
    font-size: 20px;
    margin-bottom: 10px;
}
.blog-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
}
.blog-card a:hover {
    color: #0056b3; 
    transform: translateY(-2px); 
}
.blog-card a:active {
    transform: scale(0.95); 
    color: #003e80; 
}

/* FONT */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;600&display=swap');

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}


header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #444;
}

/* NAVIGATION */
nav {
  text-align: right;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #3d7eff;
}

/* RESPONSIVE SPLIT */
@media screen and (max-width: 768px) {
  header, .hero, .about, .projects, .blogs {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  header {
    align-items: flex-start;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-img img {
    width: 80%;
    margin-top: 20px;
  }

  .project-list,
  .blog-list {
    flex-direction: column;
    align-items: center;
  }

  .project-card,
  .blog-card {
    width: 100%;
    max-width: 90%;
  }

  .about {
    flex-direction: column;
  }

  .about-img img {
    width: 80%;
    height: auto;
    margin: 0 auto 20px;
  }

  nav {
    text-align: center;
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 10px 8px;
  }
}

@media screen and (max-width: 480px) {
  .hero-text h1,
  .hero-text h3,
  .about-text h2 {
    font-size: 22px;
  }

  .hero-text p,
  .about-text {
    font-size: 14px;
  }

  .btn,
  .read-button {
    padding: 10px 14px;
    font-size: 14px;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}


/* ABOUT */
.about {
  display: flex;
  align-items: center;
  margin: 40px 20px;
}

.intro-section {
  display: flex;
  align-items: center;       
  gap: 20px;                
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;                
}
.intro-img img {
  width: 120px;
  height: auto;
  object-fit: cover;
}
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 40px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  line-height: 1.4;
  font-size: 14px;
}

.checklist li i {
  position: absolute;
  left: 0;
  top: 4px;
  background-color: black;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 20px;
}

.about-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-text h1,
.hero-text h2,
.hero-text p,
.hero-text ul,
.hero-text li {
  font-family: 'Poppins', sans-serif !important;
}

.about-text p {
  max-width: 600px;
  font-size: 16px;
}

/* FACTS */
.facts {
  margin: 40px 20px;
}

.facts ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.facts li {
  width: calc(50% - 10px);
  padding-left: 20px;
  position: relative;
}

.facts li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #3d7eff;
}

.checklist li {
  font-family: 'Poppins', sans-serif;
}

/* TIMELINE */
/* Import font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');

body {
  font-family: 'DM Serif Display', serif;
  background: #fff;
  margin: 0;
  padding: 0;
}

.timeline-section {
  padding: 50px 20px;
  max-width: 700px;
  margin: auto;
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.timeline-section h2 {
  font-family: 'DM Serif Display', serif;
}

.timeline {
  position: relative;
  border-left: 2px solid #3ba2ff;
  padding-left: 25px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-date {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #3ba2ff;
  border-radius: 50%;
}

.timeline-content {
  background: #e6f1fb;
  padding: 20px;
  border-radius: 10px;
  line-height: 1.6;
  color: #333;
}

.timeline-content.highlight {
  border: 2px solid #3ba2ff;
}


/* SKILL SECTION (UPDATED TO MATCH .projects STYLE) */
.skills {
    text-align: center;
    padding: 0px 5% 60px 5%;
    background-color: #ffffff;
}

.skills h3,
.skill-card h3,
.skill-card p {
  font-family: 'Poppins', sans-serif !important;
}
 
.skills h2 {
  font-family: 'DM Serif Text', serif;
}

  .skills h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  
  .skill-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .skill-card {
    background: #fff;
    padding: 30px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .skill-card img {
    width: 235px;
    height: auto;
    margin-bottom: 15px;
  }
  
  .skill-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .skill-card p {
    font-size: 14px;
    color: #555;
  }

  
/* Footer */
footer {
  background-color: #ffffff; 
  color: #565a5c;                  
  text-align: left;
  padding: 20px 0;
  border-top: 1px solid #8aabcd;   
}

/* Styling untuk logo di footer */
footer .logo img {
  width: 70px;   
  height: auto;   
  display: block; 
  margin: 0 auto; 
  margin-left: 30px;
}

footer {
  position: relative;
}

.back-to-top {
  position: absolute;
  top: 20%;
  right: 30px;
  transform: translateY(-50%);
}

.back-to-top a {
  background-color: #58ADFF;
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-to-top a:hover {
  background-color: #3c95d0;
  transform: translateY(-2px);
}

.back-to-top a i {
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}


footer .social-icons {
  margin: 15px 0;
  padding-left: 30px;
}

footer p {
  padding-left: 40px;
}

footer .social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 5px;
  border-radius: 50%;
  background-color: #E8F3FB;
  color: #58ADFF;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s;
  cursor: pointer;
}

footer .social-icons a:hover {
  background-color: #aed4f8;
  transform: translateY(-2px);
}
footer .social-icons a:active {
    background-color: #3c95d0;
    transform: scale(0.95);
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}
.hero-content p + p {
  margin-top: 10px;
}
.hero-content h3 {
  font-family: 'DM Serif Text', serif;
  text-align: center;
  font-size: 30px;
}

/* Main layout */
.container {
  display: flex;
  padding: 40px 5%;
  gap: 30px;
}

/* Article */
main.container {
  max-width: 1000px;     
  margin: 0 auto;       
  padding: 20px;       
  display: block;       
}


.container {
  display: block; 
}

.meta {
  font-size: 14px;
  color: #555;
  margin: 10px 0 20px;
}
article.content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
}

ol li ul {
  margin-top: 12px;
  margin-bottom: 20px;
}

ol li ul li {
  margin-bottom: 8px;
}
.featured-image {
  width: 150%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.article-body ol {
  margin-left: 20px;
  margin-top: 10px;
}

.kesimpulan {
  margin-top: 20px;
  font-weight: normal;
}

.share-buttons {
  text-align: center;
  margin-top: 20px;
}

.share-buttons p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.share-buttons a {
  text-decoration: none;   
  color: inherit;      
  font-size: 24px;     
  margin: 0 10px;
  display: inline-flex;  
  align-items: center;
  justify-content: center;
}

.share-buttons i {
  display: block;      
}

/* Read Next */
.read-next {
  padding: 5px 5%;
}

.read-next-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: nowrap; 
  gap: 10px;
  width: 100%
}

.btn-explore {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-explore:hover {
  background-color: #333;
  transform: translateY(-2px);
}
.btn-explore:active {
    background-color: #3c95d0;
    transform: scale(0.95);
}
/* contact */

.contact-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.contact-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.info-box {
  max-width: 250px;
  text-align: center;
}

.info-box img {
  width: 30px;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.contact-form button {
  background-color: #000;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 20px;
  width: 150px;
  margin: 0 auto;
  cursor: pointer;
}

.icon-circle {
  background-color: #58ADFF;
  border-radius: 20%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.icon-circle img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; 
  gap: 90px;
  margin-bottom: 40px;
  text-align: left;
}

.info-box {
  flex: 1 1 250px; 
  max-width: 300px;
  min-width: 220px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-info {
    justify-content: center;
    gap: 20px;
  }

  .info-box {
    flex: 1 1 100%;
    max-width: 90%;
    text-align: center;
  }
}

