/* General Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #6a11cb, #2575fc); color: white; line-height: 1.6; overflow-x: hidden; } /* Navbar */ .navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: rgba(0, 0, 0, 0.8); position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; } .nav-links { display: flex; list-style: none; gap: 2rem; } .nav-links a { text-decoration: none; color: white; font-size: 1rem; } .logo-container { position: absolute; left: 50%; transform: translateX(-50%); } .logo { height: 70px; } /* Hero Section */ .hero { text-align: center; padding: 8rem 2rem 4rem; background: linear-gradient(135deg, #6a11cb, #2575fc); position: relative; } .hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; } .hero h1 span { background: linear-gradient(90deg, #3a82f7, #a367f7); -webkit-background-clip: text; color: transparent; } .hero p { font-size: 1.2rem; color: #ddd; } .video-container { margin-top: 30px; display: flex; justify-content: center; } video { width: 100%; max-width: 800px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } /* Content Section (Flip Card) */ .content-container { max-width: 1100px; padding: 60px; margin: 70px auto; text-align: center; display: flex; justify-content: center; align-items: center; perspective: 1000px; } .flip-card { width: 100%; max-width: 800px; height: 500px; position: relative; perspective: 1000px; border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); } .flip-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s ease-in-out; } /* Flip Card Flipping */ .flipped .flip-card-inner { transform: rotateY(180deg); } .flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; /* Safari Support */ border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); } /* Front Side */ .flip-card-front { background: linear-gradient(135deg, #6a11cb, #2575fc); color: white; z-index: 2; } /* Front Side Title */ .flip-card-front h1 { font-size: 3rem; /* Larger title */ font-weight: bold; margin-bottom: 20px; } /* Front Side Paragraph */ .flip-card-front p { font-size: 1.5rem; /* Larger description text */ line-height: 1.8; margin-bottom: 15px; } /* Back Side */ .flip-card-back { background: linear-gradient(135deg, #3a82f7, #a367f7); transform: rotateY(180deg); color: white; } /* Back Side Title */ .flip-card-back h2 { font-size: 2.8rem; /* Larger title */ font-weight: bold; margin-bottom: 20px; } /* Back Side Paragraph */ .flip-card-back p { font-size: 1.6rem; /* Larger instructional text */ line-height: 1.8; margin-bottom: 10px; } /* QR Code Styling */ .flip-card-back .qr-code { max-width: 200px; margin: 20px 0; } /* Button Styling */ .cta-button { position: relative; z-index: 10; padding: 15px 30px; font-size: 1.2rem; background-color: #00e5ff; border: none; border-radius: 30px; color: white; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; margin-top: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .cta-button:hover, .cta-button:focus { background-color: #00bcd4; transform: translateY(-5px); } /* Features Section */ .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 50px 20px; text-align: center; } .feature-item { background: rgba(0, 0, 0, 0.5); border-radius: 10px; padding: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } /* Counter Section */ .counter-section { display: flex; justify-content: space-around; background: rgba(255, 255, 255, 0.1); padding: 30px 20px; text-align: center; } .counter { margin: 0 10px; flex-shrink: 0; /* Prevent counters from shrinking */ } .counter h3 { font-size: 2.5rem; margin-bottom: 10px; } .counter p { font-size: 1.2rem; color: #ddd; } /* Testimonials Section */ .testimonials { text-align: center; padding: 50px 20px; background: rgba(0, 0, 0, 0.6); } .testimonial-carousel { display: flex; overflow-x: auto; gap: 20px; scroll-behavior: smooth; } .testimonial { min-width: 300px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); } .testimonial p { font-size: 1.2rem; margin-bottom: 10px; color: #ddd; } .testimonial h4 { font-size: 1rem; color: #fff; } /* Contact Section */ .contact { text-align: center; padding: 50px 20px; background: linear-gradient(135deg, #2575fc, #6a11cb); border-radius: 15px; margin: 30px auto; } .contact .section-title { font-size: 2.5rem; margin-bottom: 20px; } .contact-description { font-size: 1.2rem; margin-bottom: 30px; } .contact-form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; } .contact-form input, .contact-form textarea { padding: 10px; border: none; border-radius: 5px; font-size: 1rem; width: 100%; } .contact-form button { padding: 10px; background-color: #00e5ff; color: white; border: none; border-radius: 5px; font-size: 1rem; cursor: pointer; } .contact-form button:hover { background-color: #00bcd4; } /* Footer */ .footer { text-align: center; padding: 20px; background: rgba(0, 0, 0, 0.8); font-size: 1rem; } .footer a { color: #00e5ff; text-decoration: none; margin: 0 5px; } .footer a:hover { text-decoration: underline; } /* Scroll-in Effect */ .hidden { opacity: 0; transform: translateY(50px); } .visible { opacity: 1; transform: translateY(0); } /* Responsive Design */ @media (max-width: 768px) { .hero h1 { font-size: 2.5rem; } .content-container { flex-direction: column; padding: 30px; } .features { grid-template-columns: 1fr; } .qr-code { max-width: 120px; } } /* Hamburger Menu Icon */ .menu-icon { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 20px; cursor: pointer; } .menu-icon span { display: block; height: 3px; width: 100%; background-color: white; border-radius: 2px; transition: all 0.3s ease-in-out; } /* Mobile Navigation */ .nav-links.mobile-hidden { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(0, 0, 0, 0.9); z-index: 999; padding: 1rem; border-radius: 10px; } .nav-links.mobile-visible { display: flex; } /* Show Hamburger Menu on Smaller Screens */ @media (max-width: 768px) { .menu-icon { display: flex; } .nav-links { display: none; } .auth-buttons { display: none; } } /* Styles for Mobile Screens */ @media (max-width: 768px) { .flip-card-front h1, .flip-card-back h2 { font-size: 1.5rem; /* Smaller font size for mobile */ } .flip-card-front p, .flip-card-back p { font-size: 1rem; /* Smaller description font for mobile */ } } /* Counter Section for Mobile Screens */ @media (max-width: 768px) { .counter-section { display: flex; flex-wrap: nowrap; /* Prevent wrapping */ overflow-x: auto; /* Enable horizontal scrolling */ scroll-snap-type: x mandatory; /* Smooth scrolling between items */ gap: 15px; /* Add spacing between counters */ padding: 20px; /* Add padding for mobile */ } .counter { min-width: 150px; /* Ensure each counter fits on smaller screens */ text-align: center; scroll-snap-align: center; /* Align each item to the center when scrolling */ } .counter h3 { font-size: 2rem; /* Adjust font size for mobile */ } .counter p { font-size: 1rem; } /* Hide the scrollbar for better UX */ .counter-section::-webkit-scrollbar { display: none; } .counter-section { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } }