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

body {
background-color: #f8f9fa;
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
text-decoration: none;
user-select: none;
}

h1, h2, h3 {
margin-bottom: 10px;
}
    
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #00A8FF, #003C8F);
  padding: 15px 20px;
  color: #fff;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar .logo {
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.navbar .menu {
  display: flex;
  gap: 20px;
}

.navbar .menu a {
  color: #e8f5e9;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar .menu a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.navbar .hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #ffffff;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -230px;
  width: 230px;
  height: 100%;
  background: linear-gradient(to bottom, #003C8F, #00A8FF);
  padding-top: 60px;
  transition: 0.3s;
  z-index: 1000;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
  right: 0;
}

.sidebar a {
  display: block;
  padding: 15px 20px;
  color: #e8f5e9;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding-left: 28px;
}

.sidebar a i {
  margin-right: 10px;
}

.sidebar .close-btn {
  position: absolute;
  top: 20px;
  left: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.sidebar .close-btn:hover {
  transform: rotate(90deg);
}

    .container-hom {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ---------- Hero Section ---------- */
    .hero-section {
      position: relative;
      background: url('/logo/background.webp') center/cover no-repeat;
      color: #fff;
      text-align: center;
      padding: 140px 20px;
      overflow: hidden;
      border-bottom: 5px solid #10b981;
    }

    /* Overlay Layer */
    .hero-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1;
    }

    .hero-section .container-hom {
      position: relative;
      z-index: 2;
    }

    .hero-section h1 {
      font-size: 3.5rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    }

    .hero-section p {
      width: 100%;
      max-width: 720px;
      margin: 25px auto 50px;
      font-size: 1.15rem;
      opacity: 0.95;
    }
    
  .hero-btn {
  position: relative;
  background: linear-gradient(135deg, #00A8FF, #003C8F);
  color: #fff;
  width: 300px;
  padding: 15px 45px;
  font-size: 1.1rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.hero-btn:hover {
  background: linear-gradient(135deg, #10b981, #047857);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Shine Effect */
.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s ease-in-out infinite; /* Infinite looping */
}

/* Shine animation keyframes */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
    .about-btn {
      background: linear-gradient(135deg, #00A8FF, #003C8F);
      color: #fff;
      width: 300px;
      padding: 15px 45px;
      font-size: 1.1rem;
      border: none;
      border-radius: 40px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .about-btn:hover {
      background: linear-gradient(135deg, #10b981, #047857);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }
    
    
    /* ---------- Service Section ---------- */
    .service-section {
      background: #f0fdf4;
      padding: 60px 0;
      border-bottom: 5px solid #10b981;
    }

    .service-section h2 {
      text-align: center;
      font-size: 2.6rem;
      font-weight: 700;
      color: #065f46;
      margin-bottom: 60px;
      position: relative;
    }

    .service-section h2::after {
      content: "";
      display: block;
      width: 80px;
      height: 4px;
      background: #10b981;
      margin: 12px auto 0;
      border-radius: 2px;
    }

    .services-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      padding: 0 20px;
    }

    .service-card {
      background: #ffffff;
      border-radius: 14px;
      padding: 35px 25px;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
      border: 1px solid #e9f5ef;
    }

    .service-card i {
      font-size: 50px;
      color: #10b981;
      margin-bottom: 20px;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .service-card h3 {
      font-size: 22px;
      margin-bottom: 15px;
      color: #064e3b;
    }

    .service-card p {
      font-size: 20px;
      color: #4b5563;
      font-weight: 600;
        }

    .service-card:hover i {
      transform: scale(1.1);
      color: #059669;
    }
    
/* About Section */
.about-section {
  background: #f9fbfd;
  padding: 60px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 500px;
}

.about-content {
  flex: 1;
  color: #333;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #003C8F;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

    /* Container */
    .container {
      width: 100%;
      max-width: 650px;
      margin: 0 auto;
      padding: 15px;
      border: 1px solid #ccc;
      border-top: none;
    }

.container h1 {
      text-align: center;
      font-size: 25px;
      margin: 30px auto 15px auto;
 }
    
.container h2 {
      font-size: 22px;
      margin-bottom: 12px;
}

.container p {
      line-height: 1.6;
      font-size: 15px;
      margin-bottom: 15px;
 }

    
/* Form Container */
label {
  display: block;
  margin-top: 12px;
  font-weight: 400;
  color: #333;
  font-size: 16px;
}

input,
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fff;
}

textarea {
height: 150px;
}

input[type="text"] {
  padding: 10px 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00A8FF;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
  outline: none;
}

/* Form Button */
.form-container button,
.insat {
  width: 100%;
  background: linear-gradient(to bottom, #0083DF, #00A8FF);
  border: none;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.error {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

/* Messages */
.message {
  background: #eaf7ff;
  border: 1px solid #b5e0ff;
  color: #055160;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
    #titleError,
    #listTypeError,
    #descriptionError {
     color: red;
    }
    #loadingSpinner {
      display: none;
      text-align: center;
      margin: 15px 0;
    }
    #response {
      margin-top: 20px;
    }
    .result-box {
      background-color: #f7f7f7;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      margin-top: 20px;
    }
    .copy-btn {
      background-color: #4CAF50;
      color: white;
      padding: 10px 15px;
      border: none;
      cursor: pointer;
      border-radius: 5px;
    }
    .copy-btn:hover {
      background-color: #45a049;
    }
    
/* Toolbar container */
.editor-toolbar { border: 1px solid #ccc; padding: 8px; background: #f9f9f9; margin-bottom: 5px; display:flex; flex-wrap:wrap; gap:4px; }
.editor-toolbar button, .editor-toolbar select {width: auto; background: white; color: #000; border: 1px solid #ccc; padding: 6px 10px; cursor:pointer; font-size:15px;}
.editor-box { border: 1px solid #ccc; min-height: 300px; padding: 10px; background: #fff; outline: none;}
.editor-toolbar select{
margin:0;
}
#content {
    width: 100%;
    height: 220px;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    overflow-y: auto;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  }
 
  
  #preview:empty {
  display: none;
}
  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal-content {
    background: #ffffff;
    padding: 20px 20px 15px;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
  }

  .modal-content input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
  }

  .modal-content input:focus {
    border-color: #007bff;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.3);
  }

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #cc0000;
  cursor: pointer;
  transition: color 0.2s;
  width: auto;
  display: inline-block;
}

.container-article {
 flex: 1;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-top: none;
  /*min-height: 100vh;*/
}

.container-article .meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.container-article h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #000;
  font-weight: 700;
}

.container-article h2 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
}

.container-article h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #000;
  font-weight: 600;
}

.container-article p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #000;
}

.container-article ul, ol {
  padding-left: 25px;
  margin-bottom: 15px;
  color: #000;
}

.container-article li {
  margin-bottom: 4px;
}

.container-article a {
  color: #1e90ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.container-article img {
width: 100%;
max-width: 600px;
margin: 5px auto;
}

.container-article blockquote {
  margin: 20px 0;
  padding-left: 15px;
  border-left: 4px solid #00A8FF;
  color: #000;
  font-style: italic;
  background-color: #f9f9f9;
  border-radius: 4px;
}
.meta {
position: relative;
}

/*Video (YouTube / Uploaded) */
.container-article video,
.container-article iframe {
  width: 100%;
  max-width: 100%;
  /*border-radius: 8px;*/
  margin: 5px auto;
  aspect-ratio: 16 / 9;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.share-icon {
    position: absolute;
    right: 15px;
    top: 30%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.new-pastelink-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: #F3F3F3;
    border: none;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    height: 70px;
}

.new-icon {
    background-color: #F3F3F3;
    color: #000;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid #000;
    flex-shrink: 0;
}

.new-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
    flex-grow: 1;
}

.new-text .new-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.new-text .new-subtitle {
    font-size: 14px;
    color: #666;
}
.title-link{
color: #000;
}
.list-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(to bottom, #000, #333);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom:15px;
}
.list-btn i {
    font-size: 18px;
}

/* ---------- Footer ---------- */
.footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 30px 10px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-hero h2 {
  font-size: 25px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-hero p {
  font-size: 15px;
  color: #ddd;
  margin: 0;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  word-wrap: break-word;
}

.footer-links {
  text-align: center;
  margin-top: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links ul li a {
  color: #ddd;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}

.footer-copyright {
  background-color: #2d3748;
  padding: 15px 0;
  text-align: center;
  margin: 0;
}

.footer-copyright p {
  font-size: 15px;
  color: #d1d5db;
  margin: 0;
}


/* ---------- Responsive ---------- */
    @media (max-width: 768px) {
    .navbar .menu {
        display: none;
      }

      .navbar .hamburger {
        display: block;
      }
      .hero-section {
        padding: 80px 20px;
      }

      .hero-section h1 {
        font-size: 2.2rem;
      }

      .hero-section p {
        font-size: 1rem;
      }

      .hero-btn {
        padding: 12px 30px;
      }
      .services-container {
      padding: 0;
      }

      .service-section {
        padding: 60px 0;
      }
      .about-section {
  padding: 60px 0;
}
      
        .about-container {
    flex-direction: column;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .rating-card {
    width: 100%;
    max-width: 320px;
  }
    }

    @media (max-width: 480px) {
      .service-section h2 {
        font-size: 2rem;
      }

      .service-card {
        padding: 25px 15px;
      }
    }