/* Base Styles */ :root { --primary-color: #1a237e; /* Dark blue primary color */ --secondary-color: #0d47a1; /* Darker blue secondary color */ --dark-color: #0a0f2e; /* Very dark blue for dark elements */ --light-color: #f5f6fa; --success-color: #00b894; --warning-color: #fdcb6e; --danger-color: #d63031; --gray-color: #636e72; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f9f9f9; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Navbar Styles */ .navbar { background-color: var(--dark-color); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .nav-content { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 36px; font-weight: bold; line-height: 1.2; letter-spacing: -1px; } .logo span { color: var(--primary-color); } .nav-link { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; transition: color 0.3s; } .nav-link:hover { color: var(--primary-color); } /* Hero Section */ .hero { background: url('./photo/codewave.jpg') center/cover no-repeat; color: white; padding: 80px 0; text-align: center; } /*codewave unit styl*/ h1 { font-weight: bold; color: #ECEEFF; } h1 span.unit { color: #1a237e; /* Dark blue for "unit" */ font-weight: normal; text-shadow: 1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF; /* White stitch */ } h2 { font-size: 28px; font-weight: bold; background: linear-gradient(to right, #1a237e, #0d47a1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); letter-spacing: 1px; } h1 span.unit { color: #1a237e; /* Dark blue for "unit" */ font-weight: normal; text-shadow: 1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF; /* White stitch */ } .hero h1 { font-size: 3rem; margin-bottom: 20px; } .hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 30px; } .search-container { max-width: 600px; margin: 30px auto 0; display: flex; border-radius: 50px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } #bot-search { flex: 1; padding: 15px 20px; border: none; font-size: 1rem; outline: none; } #search-btn { background-color: var(--dark-color); color: white; border: none; padding: 0 25px; cursor: pointer; transition: background-color 0.3s; } #search-btn:hover { background-color: #050a24; } /* Pricing Section */ .pricing { padding: 80px 0; } .section-title { text-align: center; margin-bottom: 50px; } .section-title h2 { font-size: 2.5rem; color: var(--dark-color); margin-bottom: 10px; } .section-title p { color: var(--gray-color); font-size: 1.1rem; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; } .pricing-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; } .pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } .pricing-header { padding: 25px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; } .pricing-header h3 { font-size: 1.5rem; margin-bottom: 5px; } .price { font-size: 0.9rem; opacity: 0.9; } .price span { font-weight: bold; } .box-body { padding: 25px; } .specs { margin-bottom: 25px; } .spec { display: flex; align-items: center; margin-bottom: 15px; } .spec i { margin-right: 10px; color: var(--primary-color); width: 20px; text-align: center; } .btn { display: inline-block; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: all 0.3s; text-align: center; width: 100%; border: none; cursor: pointer; } .btn-repo { background-color: var(--primary-color); color: white; } .btn-repo:hover { background-color: #121858; } /* Add Bot Section */ .add-bot { background-color: #f1f2f6; padding: 80px 0; } .add-bot-form { max-width: 600px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .form-group { margin-bottom: 20px; } .form-group input { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; outline: none; transition: border-color 0.3s; } .form-group input:focus { border-color: var(--primary-color); } .btn-submit { background-color: var(--success-color); color: white; } .btn-submit:hover { background-color: #00a884; } /* Dropdown Navigation Styles */ .dropdown { position: relative; display: inline-block; margin-left: 15px; } .dropdown-btn { background: none; border: none; color: white; font-size: 1rem; cursor: pointer; padding: 10px 15px; display: flex; align-items: center; gap: 5px; transition: all 0.3s ease; } .dropdown-btn:hover { color: #2ecc71; } .dropdown-content { display: none; position: absolute; background-color: var(--dark-color); min-width: 180px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); z-index: 1000; border-radius: 5px; right: 0; overflow: hidden; transition: all 0.3s ease; } .dropdown:hover .dropdown-content { display: block; } .dropdown-content a { color: white; padding: 12px 16px; text-decoration: none; display: block; transition: all 0.3s ease; font-size: 0.9rem; } .dropdown-content a:hover { background-color: #1a237e; color: #2ecc71; padding-left: 20px; } .dropdown-content i { margin-right: 8px; width: 20px; text-align: center; } /* Make sure navbar items align properly */ .nav-content>div { display: flex; align-items: center; } /* Responsive adjustments */ @media (max-width: 768px) { .dropdown { margin-left: 10px; } .dropdown-btn { padding: 8px 12px; font-size: 0.9rem; } .dropdown-content { min-width: 160px; } } /* Footer */ footer { background-color: var(--dark-color); color: white; padding: 40px 0 20px; } .footer-content { display: flex; flex-direction: column; align-items: center; } .social-links { margin: 20px 0; } .social-links a { color: white; margin: 0 15px; font-size: 1.5rem; transition: color 0.3s; } .social-links a:hover { color: var(--primary-color); } .copyright { opacity: 0.8; font-size: 0.9rem; } /* Responsive */ @media (max-width: 768px) { .hero h1 { font-size: 2.5rem; } .pricing-grid { grid-template-columns: 1fr; } .nav-content { flex-direction: column; } .nav-link { margin: 10px 0 0; display: inline-block; } } /* Engagement Container Styles */ .engagement-container { display: flex; justify-content: space-between; align-items: center; margin: 15px 0; padding: 10px; background: #f8f9fa; border-radius: 8px; } .engagement-stats { display: flex; gap: 15px; } .stat-item { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; color: #555; } .stat-item i { color: #6c757d; } .stat-count { font-weight: bold; color: #343a40; } .engagement-btn { padding: 8px 15px; border: none; border-radius: 20px; background-color: #e9ecef; color: #495057; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 5px; font-size: 0.9rem; } .engagement-btn:hover { background-color: #dee2e6; } .like-btn { background-color: #fff5f5; color: #fa5252; } .like-btn:hover { background-color: #ffebeb; } .like-btn i { color: #fa5252; } /* Today count */ .today-count { font-size: 0.8em; color: #20c997; font-weight: normal; } /* Pricing Card Hover Effect */ .pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); } /* Bot Stats Styles */ .bot-stats { display: flex; justify-content: space-around; margin: 15px 0; padding: 10px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; } .stat-item { display: flex; align-items: center; gap: 5px; color: var(--gray-color); font-size: 0.9rem; } .stat-item i { color: var(--primary-color); } /* Bot Actions */ .bot-actions { display: flex; gap: 10px; margin: 15px 0; } .btn-like, .btn-comment { flex: 1; padding: 8px; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 0.9rem; } .btn-like { background-color: #ffecec; color: #d63031; } .btn-like:hover { background-color: #ffd8d8; } .btn-comment { background-color: #e8f4fc; color: var(--primary-color); } .btn-comment:hover { background-color: #d0e8fa; } /* Comments Section */ .comments-section { margin: 15px 0; padding: 10px; background: #f9f9f9; border-radius: 5px; } .comments-section h4 { margin-bottom: 10px; color: var(--primary-color); font-size: 0.9rem; } .comment { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #ddd; } .comment:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .comment strong { font-size: 0.85rem; color: var(--dark-color); } .comment p { font-size: 0.8rem; margin: 5px 0; color: #555; } .comment small { font-size: 0.7rem; color: #999; } /* Today count */ .today-count { font-size: 0.4em; color: var(--success-color); font-weight: normal; } .copyright { animation: color-change 5s infinite; } @keyframes color-change { 0% { color: #008000; } 25% { color: #F7DC6F; } 50% { color: #FF0000; } 75% { color: #000000; } 100% { color: #008000; } } /* Chatbot Logo Styles */ .chatbot-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; cursor: pointer; transition: all 0.3s ease; } .chatbot-logo { position: relative; width: 60px; height: 60px; background: linear-gradient(135deg, #4285f4, #34a853); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); color: white; font-size: 24px; animation: pulse 2s infinite; } .chatbot-logo:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); } .ai-badge { position: absolute; top: -5px; right: -5px; background-color: #ff6b00; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 10px; display: flex; justify-content: center; align-items: center; font-weight: bold; border: 2px solid white; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(66, 133, 244, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); } }