:root { --main-color: #17cbb3; --main-color-dark: #14b09e; --main-color-light: #e8f8f6; --main-gradient: #17cbb3; --shadow: 0 10px 30px rgba(0, 0, 0, 0.08); --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.07); --border: 1px solid rgba(23, 203, 179, 0.2); --radius: 16px; --transition: all 0.3s ease; } /* Hide scrollbars but keep scroll functionality */ html, body, .form-wrapper, .faq-content, .rekber-popup-content, .form-content, .input-group, .role-options, .form-modal div, .dropdown-content { scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } html::-webkit-scrollbar, body::-webkit-scrollbar, .form-wrapper::-webkit-scrollbar, .faq-content::-webkit-scrollbar, .rekber-popup-content::-webkit-scrollbar, .dropdown-content::-webkit-scrollbar, .form-content::-webkit-scrollbar, .input-group::-webkit-scrollbar, .role-options::-webkit-scrollbar, .form-modal div::-webkit-scrollbar { display: none; /* Chrome, Safari, Opera */ } html, body, a, button, .faq-icon-top, .close-faq, .popup-ok-btn, .submit-btn, .role-option, .logo, .close-form, #scrollUpBtn { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } body { font-family: 'Poppins', Arial, sans-serif; background: #f9fafb; margin: 0; padding-top: 70px; min-height: 100vh; color: #2c3e50; line-height: 1.6; /* Ensure scroll is always available unless explicitly disabled */ overflow-y: auto; } /* Force scroll reset class */ .scroll-enabled { overflow-y: auto !important; } .scroll-disabled { overflow: hidden !important; } .navbar { position: fixed; top: 0; left: 0; width: 100%; background: var(--main-color); display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); z-index: 1000; height: 65px; box-sizing: border-box; transition: var(--transition); } .navbar-brand { font-weight: 700; font-size: 1.4em; color: white; letter-spacing: -0.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .navbar-menu { display: flex; list-style: none; margin: 0; padding: 0; margin-left: auto; margin-right: 15px; gap: 18px; } .navbar-item { margin: 0; } .navbar-link { text-decoration: none; color: white; font-size: 0.95em; padding: 8px 16px; border-radius: 30px; transition: var(--transition); font-weight: 500; letter-spacing: 0.3px; position: relative; } .navbar-link.mulai-rekber-btn { background: rgba(255, 255, 255, 0.15); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); } .navbar-link:hover, .navbar-link.mulai-rekber-btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); } .navbar-toggle { display: none; flex-direction: column; cursor: pointer; } .bar { width: 26px; height: 3px; background-color: #fff; margin: 2.5px 0; border-radius: 5px; transition: var(--transition); } .profile-icon { font-size: 1.5em; color: white; cursor: pointer; padding: 8px; border-radius: 50%; transition: var(--transition); display: flex; align-items: center; justify-content: center; } .profile-icon:hover, .profile-icon.active { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); } .profile-dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; right: 0; background-color: #fff; min-width: 180px; box-shadow: var(--shadow); z-index: 1; border-radius: var(--radius); overflow: hidden; transform: translateY(10px); opacity: 0; transition: transform 0.3s, opacity 0.2s; border: var(--border); } .dropdown-content.show { display: block; transform: translateY(0); opacity: 1; } .dropdown-content a { color: var(--main-color-dark); padding: 14px 20px; text-decoration: none; display: block; font-size: 0.95em; font-weight: 500; transition: var(--transition); border-bottom: 1px solid rgba(0,0,0,0.03); } .dropdown-content a:last-child { border-bottom: none; } .dropdown-content a:hover { background-color: var(--main-color-light); padding-left: 24px; } .dropdown-content a i { margin-right: 10px; color: var(--main-color); } .rekber-features-section { max-width: 900px; margin: 90px auto 30px auto; padding: 0 16px; text-align: center; animation: fadeIn 0.5s ease-out; } .rekber-features-title { font-family: 'Poppins', sans-serif; font-size: 1.6em; font-weight: 600; color: var(--main-color); margin-bottom: 28px; letter-spacing: 0.5px; } .rekber-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; justify-items: center; align-items: stretch; } .rekber-feature-box { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 32px 20px 24px 20px; display: flex; flex-direction: column; align-items: center; transition: var(--transition); border: var(--border); min-width: 0; } .rekber-feature-box:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); transform: translateY(-3px); } .feature-icon { font-size: 2.2em; color: var(--main-color); margin-bottom: 18px; } .rekber-feature-box h3 { font-size: 1.15em; font-weight: 600; margin-bottom: 10px; color: var(--main-color-dark); } .rekber-feature-box p { font-size: 1em; color: #4a5568; margin: 0; line-height: 1.5; } .start-rekber-btn { display: inline-block; padding: 14px 32px; background: var(--main-color); color: #fff; border: none; border-radius: 30px; text-align: center; text-decoration: none; font-size: 1.1em; font-weight: 600; transition: var(--transition); box-shadow: 0 4px 10px rgba(23, 203, 179, 0.2); letter-spacing: 0.3px; margin-bottom: 20px; cursor: pointer; display: flex; align-items: center; gap: 12px; border: none; } .start-rekber-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(23, 203, 179, 0.3); background: var(--main-color); } .faq-icon-top { position: fixed; bottom: 24px; right: 24px; background: var(--main-color); color: #fff; padding: 12px 18px; border-radius: 25px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 10px rgba(23, 203, 179, 0.2); z-index: 11000; transition: var(--transition); font-size: 0.95em; font-weight: 600; letter-spacing: 0.3px; border: none; font-family: 'Poppins', Arial, sans-serif; white-space: nowrap; } .faq-icon-top:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(23, 203, 179, 0.3); } .faq-icon-top i { font-size: 1.1em; } .faq-icon-top span { display: inline-block; } .faq-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 12000; justify-content: center; align-items: center; } .faq-content { position: relative; background: #fff; border-radius: var(--radius); max-width: 95vw; width: 450px; padding: 35px 30px; box-shadow: var(--card-shadow); text-align: left; color: #2c3e50; font-family: 'Poppins', sans-serif; animation: popupIn 0.4s cubic-bezier(.42,0,.58,1); max-height: 80vh; overflow-y: auto; border: var(--border); } .faq-content h2 { margin-top: 0; color: var(--main-color); font-size: 1.5em; margin-bottom: 16px; text-align: center; } .faq-content h3 { font-size: 1.1rem; margin-top: 1.5rem; color: #2c3e50; } .faq-content p { font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; color: #4a5568; } .close-faq { position: absolute; right: 20px; top: 20px; cursor: pointer; font-size: 24px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--main-color); z-index: 1; transition: var(--transition); } .close-faq:hover { transform: rotate(90deg); color: var(--main-color-dark); } .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s; } .spinner { width: 50px; height: 50px; border: 4px solid rgba(23, 203, 179, 0.1); border-top: 4px solid var(--main-color); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .rekber-popup { display: none; position: fixed; z-index: 10000; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); justify-content: center; align-items: center; } .rekber-popup-content { background: #fff; border-radius: var(--radius); max-width: 95vw; width: 450px; padding: 35px 30px; box-shadow: var(--card-shadow); text-align: left; color: #2c3e50; font-family: 'Poppins', sans-serif; position: relative; animation: popupIn 0.4s cubic-bezier(.42,0,.58,1); border: var(--border); } .rekber-popup-content h2 { margin-top: 0; color: var(--main-color); font-size: 1.5em; margin-bottom: 16px; text-align: center; } .rekber-popup-content ol { margin: 0 0 10px 18px; padding: 0; font-size: 1.05em; color: #4a5568; } .rekber-popup-content ol li { margin-bottom: 8px; } .rekber-popup-content p { font-size: 1em; color: #4a5568; } .popup-checkbox-row { margin-top: 1.5em; display: flex; justify-content: center; align-items: center; } .popup-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 1em; color: #4a5568; cursor: pointer; user-select: none; padding: 8px 16px; border-radius: 12px; background: #f8f9fa; box-shadow: 0 1px 4px rgba(0,0,0,0.03); transition: var(--transition); } .popup-checkbox-label:hover { background: var(--main-color-light); } .popup-checkbox-input { appearance: none; width: 20px; height: 20px; border: 1px solid var(--main-color); border-radius: 6px; background: #fff; margin-right: 0; position: relative; outline: none; cursor: pointer; transition: var(--transition); } .popup-checkbox-input:checked { border-color: var(--main-color-dark); background: var(--main-color); } .popup-checkbox-custom { position: absolute; left: 0; top: 0; width: 20px; height: 20px; pointer-events: none; } .popup-checkbox-input:checked + .popup-checkbox-custom::after { content: ''; position: absolute; left: 5px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); } .popup-ok-btn { display: block; margin: 24px auto 0 auto; padding: 12px 28px; background: var(--main-color); color: #fff; border: none; border-radius: 30px; font-size: 1.1em; font-weight: 600; cursor: pointer; box-shadow: 0 4px 10px rgba(23, 203, 179, 0.2); transition: var(--transition); letter-spacing: 0.5px; } .popup-ok-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(23, 203, 179, 0.3); background: var(--main-color); } .popup-ok-btn-disabled { background: #bfc9c9 !important; color: #fff !important; cursor: not-allowed !important; opacity: 0.7; pointer-events: none; box-shadow: none; transform: none; } .form-modal { display: none; position: fixed; z-index: 10001; inset: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); justify-content: center; align-items: center; } .form-wrapper { position: relative; background: white; padding: 35px 30px; border-radius: var(--radius); max-width: 500px; width: 95%; margin: 0 auto; max-height: 85vh; overflow-y: auto; box-shadow: var(--card-shadow); border: var(--border); animation: popupIn 0.4s cubic-bezier(.42,0,.58,1); } .close-form { position: absolute; right: 20px; top: 20px; cursor: pointer; font-size: 24px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--main-color); z-index: 1; transition: var(--transition); } .close-form:hover { transform: rotate(90deg); color: var(--main-color-dark); } .input-group { margin-bottom: 22px; } .input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #34495e; font-size: 0.95em; letter-spacing: 0.3px; } .input-group input { width: 100%; padding: 12px 16px; border: 1px solid rgba(23, 203, 179, 0.2); border-radius: 12px; font-size: 0.95em; font-family: 'Poppins', Arial, sans-serif; background: #fff; transition: var(--transition); color: #2c3e50; box-shadow: 0 1px 3px rgba(0,0,0,0.03) inset; box-sizing: border-box; } .input-group input:focus { border-color: var(--main-color); outline: none; box-shadow: 0 0 0 3px rgba(23, 203, 179, 0.1); } .role-group { margin-bottom: 25px; text-align: center; } .role-options { display: flex; gap: 20px; margin-top: 10px; justify-content: center; } .role-option { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 20px; background: #f8f9fa; border-radius: 12px; transition: var(--transition); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,0.03); } .role-option:hover { background: var(--main-color-light); transform: translateY(-2px); } .role-option input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--main-color); cursor: pointer; } .submit-btn { display: block; width: 100%; padding: 10px; background: var(--main-color); color: #fff; border: none; border-radius: 12px; text-align: center; text-decoration: none; font-size: 1.1em; font-weight: 600; transition: var(--transition); font-family: 'Poppins', Arial, sans-serif; box-shadow: 0 4px 10px rgba(23, 203, 179, 0.2); letter-spacing: 0.5px; cursor: pointer; margin-top: -10px; } .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(23, 203, 179, 0.3); background: var(--main-color); } .scroll-up-btn { display: block; margin: 0 auto 24px auto; background: var(--main-color); color: white; width: 40px; height: 40px; border-radius: 50%; border: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: var(--transition); font-size: 1.2em; } .scroll-up-btn:hover { background: var(--main-color-dark); transform: translateY(-3px); } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes popupIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .typing-dots { display: flex; align-items: center; gap: 4px; } .typing-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--main-color); animation: typingBounce 1.4s infinite ease-in-out; } .typing-dot:nth-child(1) { animation-delay: -0.32s; } .typing-dot:nth-child(2) { animation-delay: -0.16s; } .typing-dot:nth-child(3) { animation-delay: 0s; } @keyframes typingBounce { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } } @media (max-width: 800px) { .rekber-features-section { margin-top: 70px; } .rekber-features-grid { gap: 18px; } } @media (max-width: 600px) { .rekber-features-section { margin-top: 60px; } .rekber-features-title { font-size: 1.15em; } .rekber-features-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; } .navbar-menu { display: none; position: absolute; top: 65px; left: 0; width: 100%; background: var(--main-color); flex-direction: column; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 10px 0; z-index: 1000; gap: 18px; opacity: 0; transform: translateY(-24px); transition: opacity 0.3s cubic-bezier(.42,0,.58,1), transform 0.3s cubic-bezier(.42,0,.58,1); pointer-events: none; } .navbar-menu.active { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; } .navbar-item { margin: 0; } .navbar-toggle { display: flex; transition: transform 0.3s; } .navbar-toggle.active { transform: rotate(90deg); } .navbar-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); } .navbar-toggle.active .bar:nth-child(2) { opacity: 0; } .navbar-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } .faq-icon-top { padding: 10px 14px; bottom: 16px; right: 16px; font-size: 0.9em; gap: 6px; } .faq-icon-top i { font-size: 1em; } .faq-icon-top span { display: inline-block; } .faq-content, .rekber-popup-content, .form-wrapper { padding: 25px 20px; border-radius: 14px; } .role-options { flex-direction: column; gap: 10px; align-items: center; } .role-option { width: 80%; } body.navbar-open { position: fixed; width: 100vw; overflow: hidden; touch-action: none; } .navbar-menu.active ~ .rekber-features-section, .navbar-menu.active ~ section, .navbar-menu.active ~ .rekber-features-section * { pointer-events: none; user-select: none; } } @media (max-width: 480px) { .faq-icon-top { padding: 8px 12px; font-size: 0.85em; gap: 5px; } } /* Mobile-specific styles */ @media (max-width: 768px) { .mobile-device { position: relative !important; overflow-y: auto !important; height: auto !important; } html.mobile-device { height: auto !important; overflow-y: auto !important; } } .chat-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 11500; pointer-events: none; overflow: hidden; /* Prevent scrolling */ } .chat-container { position: fixed; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); border: var(--border); display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; animation: chatSlideIn 0.3s ease-out; } .chat-header { background: var(--main-color); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-radius: var(--radius) var(--radius) 0 0; } .chat-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1em; } .close-chat { cursor: pointer; font-size: 20px; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); } .close-chat:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(90deg); } .chat-body { flex: 1; padding: 20px; background: #f8f9fa; overflow-y: auto; overflow-x: hidden; /* Prevent horizontal scrolling */ max-height: 100%; } .chat-messages { min-height: 100px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; overflow-anchor: none; /* Prevent auto-scroll jumping */ } .chat-footer { padding: 15px 20px; background: white; border-top: 1px solid rgba(0,0,0,0.05); border-radius: 0 0 var(--radius) var(--radius); } .chat-input-container { display: flex; gap: 8px; align-items: center; width: 100%; } .chat-input { flex: 1; min-width: 0; padding: 10px 15px; border: 1px solid rgba(23, 203, 179, 0.2); border-radius: 25px; font-size: 0.95em; font-family: 'Poppins', Arial, sans-serif; background: #fff; transition: var(--transition); outline: none; } .chat-input:focus { border-color: var(--main-color); box-shadow: 0 0 0 3px rgba(23, 203, 179, 0.1); } .chat-send-btn { background: var(--main-color); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; min-width: 40px; max-width: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-size: 0.9em; flex-shrink: 0; flex-grow: 0; } .chat-send-btn:hover { background: var(--main-color-dark); transform: translateY(-1px); } .chat-menu-options { display: flex; flex-direction: column; gap: 8px; } .chat-menu-btn { background: var(--main-color-light); color: var(--main-color-dark); border: 1px solid rgba(23, 203, 179, 0.3); border-radius: 8px; padding: 8px 12px; font-size: 0.9em; font-weight: 500; cursor: pointer; transition: var(--transition); text-align: left; font-family: 'Poppins', Arial, sans-serif; } .chat-menu-btn:hover { background: var(--main-color); color: white; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(23, 203, 179, 0.2); } @keyframes chatSlideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Desktop styles */ @media (min-width: 769px) { .chat-container { bottom: 20px; right: 20px; width: 350px; height: 450px; max-height: calc(100vh - 40px); } } /* Mobile styles */ @media (max-width: 768px) { .chat-modal { background: rgba(0,0,0,0.3); pointer-events: auto; overflow: hidden; /* Prevent background scrolling on mobile */ touch-action: none; /* Prevent touch scrolling on background */ } .chat-container { bottom: 15px; left: 15px; right: 15px; width: auto; height: 70vh; max-height: 500px; touch-action: auto; /* Allow touch scrolling within chat */ } .chat-body { padding: 15px; -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */ } .chat-send-btn { width: 36px; height: 36px; min-width: 36px; max-width: 36px; font-size: 0.85em; } } @media (max-width: 480px) { .chat-container { height: 65vh; max-height: 450px; bottom: 10px; left: 10px; right: 10px; } .chat-footer { padding: 10px 15px; } .chat-input-container { gap: 5px; } .chat-input { padding: 8px 10px; font-size: 16px; } .chat-send-btn { width: 32px; height: 32px; min-width: 32px; max-width: 32px; font-size: 0.8em; } } @media (max-width: 360px) { .chat-container { bottom: 8px; left: 8px; right: 8px; height: 60vh; max-height: 400px; } .chat-footer { padding: 8px 12px; } .chat-input-container { gap: 4px; } .chat-input { padding: 6px 8px; font-size: 14px; } .chat-send-btn { width: 28px; height: 28px; min-width: 28px; max-width: 28px; font-size: 0.75em; } }