@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Dancing+Script:wght@400..700&family=Playwrite+MX+Guides&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: #f8f9ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading animation for content */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Certificate Form Styles */
.certificate-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 1rem;
}

.certificate-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    max-width: 500px;
    width: 100%;
}

.certificate-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.certificate-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-description {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 2rem;
}

.nim-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: #f8f9ff;
    color: #333;
    outline: none;
}

.nim-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.nim-input::placeholder {
    color: #999;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.download-btn:active {
    transform: translateY(-1px);
}

.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-text {
    transition: all 0.3s ease;
}

.form-status {
    min-height: 40px;
    padding: 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-status.loading {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========== MOBILE RESPONSIVE ========== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0.8rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features {
        padding: 3rem 1.5rem;
        margin-top: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 1.5rem 1rem;
    }

    .certificate-form {
        padding: 2rem;
        margin: 1rem;
    }

    .certificate-form h3 {
        font-size: 1.5rem;
    }

    .form-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .form-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .nim-input {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    .download-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .features {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .certificate-form-container {
        min-height: 350px;
        padding: 0.5rem;
    }

    .certificate-form {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .certificate-form h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .form-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .nim-input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        border-radius: 12px;
        margin-bottom: 1.2rem;
    }

    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .form-status {
        min-height: 35px;
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    .input-group {
        margin-bottom: 1.5rem;
    }
}

/* Small Mobile - 360px and below */
@media (max-width: 360px) {
    .nav-container {
        padding: 0.7rem 0.8rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .features {
        padding: 1.5rem 0.8rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .certificate-form {
        padding: 1.2rem;
        margin: 0.5rem;
    }

    .certificate-form h3 {
        font-size: 1.2rem;
    }

    .form-description {
        font-size: 0.85rem;
    }

    .form-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .nim-input {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }

    .download-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .footer {
        padding: 1.2rem 0.8rem 0.8rem;
        font-size: 0.85rem;
    }
}

   .select2-container .select2-selection--single {
        height: 45px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 12px;
    }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 28px;
        }
        
        .coffee-box {
  text-align: center;
  margin: 50px auto;
  padding: 30px;
  max-width: 400px;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8e6d9, #fffaf5);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.coffee-icon {
  font-size: 60px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  animation: bounce 2s infinite;
}

/* animasi asap kopi */
.coffee-icon::after {
  content: "〰〰";
  position: absolute;
  top: -25px;
  left: 15px;
  font-size: 18px;
  color: #9c6644;
  opacity: 0.8;
  animation: steam 2s ease-in-out infinite;
}

.deskripsi {
  font-size: 12px;
  font-weight: bold;
  color: #5c4033;
  margin: 5px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* animasi bounce kopi */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* animasi asap */
@keyframes steam {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 0; transform: translateY(-20px); }
}

        