/* Unique styles for sections */
/* Reset CSS */
/* Reset CSS */
/* Reset CSS */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.content-cards {
    display: grid;
    gap: 20px;
    padding: 20px;
}

/* Desktop: 6 columns */
@media (min-width: 768px) {
    .content-cards {
        grid-template-columns: repeat(6, 1fr); /* 6 cards per row */
    }
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .content-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

/* Card styling */
.card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    font-size: 16px;
    color: #333;
    padding: 10px;
}

/* Container for internal links */
.internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: space-between;
}

/* Individual link card */
.link-card {
    display: block;
    width: calc(33.33% - 20px); /* 3 links per row (desktop) */
    text-decoration: none;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    background: linear-gradient(135deg, #f9f9f9, #fff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover effect for link card */
.link-card:hover {
    transform: scale(1.05);
    border-color: #4CAF50;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Link content styling */
.link-content {
    padding: 20px;
    text-align: center;
}

/* Title styling */
.link-card h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0;
    transition: color 0.3s;
}

/* Hover effect for title */
.link-card:hover h3 {
    color: #4CAF50;
}

/* Responsive design */
@media (max-width: 767px) {
    .link-card {
        width: calc(50% - 20px); /* 2 links per row (mobile) */
    }
}

/* sction */
.content-section {
    max-width: 1600px; /* Sesuaikan lebar maksimal */
    margin: auto; /* Pusatkan section */
    padding: 20px; /* Tambahkan sedikit jarak dalam */
    box-sizing: border-box; /* Pastikan padding tidak menambah lebar total */
}

.unique-section {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.unique-section h2, .unique-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.unique-section img.unique-image {
    display: block;
    margin: 15px auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Section-specific styles */
.section-1 {
    background-color: #e6f7ff;
    border-left: 5px solid #007acc;
}

.section-2 {
    background-color: #e6ffe6;
    border-left: 5px solid #28a745;
}

.section-3 {
    background-color: #fff5e6;
    border-left: 5px solid #ffc107;
}

.section-4 {
    background-color: #ffe6e6;
    border-left: 5px solid #dc3545;
}

.section-5 {
    background-color: #f7e6ff;
    border-left: 5px solid #6f42c1;
}

.section-6 {
    background-color: #e6f9f7;
    border-left: 5px solid #20c997;
}

.section-7 {
    background-color: #f9f9e6;
    border-left: 5px solid #fd7e14;
}

.section-8 {
    background-color: #f2e6ff;
    border-left: 5px solid #6610f2;
}

.section-9 {
    background-color: #e6fff9;
    border-left: 5px solid #17a2b8;
}

.section-10 {
    background-color: #ffefe6;
    border-left: 5px solid #ff4500;
}

.section-11 {
    background-color: #e6ffe0;
    border-left: 5px solid #85bb65;
}

.section-12 {
    background-color: #ffe6f0;
    border-left: 5px solid #e83e8c;
}
    /* Container untuk tombol */
    .floating-buttons {
      position: fixed; /* Posisi tetap melayang */
      bottom: 5px; /* Jarak dari bawah */
      left: 50%; /* Tengah horizontal */
      transform: translateX(-50%); /* Posisi rata tengah */
      display: flex; /* Susunan tombol horizontal */
      gap: 10px; /* Jarak antar tombol */
      z-index: 2002 !important; /* Di atas elemen lain */
    }

    /* Styling tombol */
    .floating-button {
      width: 160px; /* Lebar tombol */
      height: 50px; /* Tinggi tombol */
      border: none; /* Hilangkan border */
      border-radius: 10px; /* Sudut sedikit melengkung */
      font-size: 16px; /* Ukuran teks */
      font-weight: bold; /* Ketebalan teks */
      color: white; /* Warna teks */
      text-align: center; /* Teks rata tengah */
      line-height: 50px; /* Teks berada di tengah vertikal */
      cursor: pointer; /* Kursor berubah saat hover */
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
      transition: transform 0.2s ease; /* Efek saat hover */
    }

    /* Efek hover */
    .floating-button:hover {
      transform: scale(1.05); /* Membesarkan tombol sedikit saat hover */
    }

    /* Tombol "สมัครสมาชิก" */
    .button-register {
      background: linear-gradient(90deg, #4ad315 0%, #a2dc03 100%);
    }

    /* Tombol "เข้าสู่ระบบ" */
    .button-login {
      background: linear-gradient(90deg, #f46b00 0%, #ff9500 100%);
    }
   
    /* Efek glowing */
.button-login:hover, .button-register:hover {
  box-shadow: 0 0 15px rgba(255, 149, 0, 0.8), 0 0 30px rgba(255, 149, 0, 0.5);
}

.button-register:hover {
  box-shadow: 0 0 15px rgba(162, 220, 3, 0.8), 0 0 30px rgba(162, 220, 3, 0.5);
}
