nav ul { list-style: none; display: flex; background-color: #333; padding: 0; } nav ul li { margin: 0 10px; } nav ul li a { color: white; text-decoration: none; padding: 10px 15px; display: block; } nav ul li a:hover { background-color: #555; } /* Example: Start of your CSS */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #f4f2ec; } * { margin: 0; padding: 0; box-sizing: border-box; } body { margin: 0; font-family: Arial, sans-serif; background-color: #f4f2ec; color: #000; transition: background-color 0.3s, color 0.3s; opacity: 0; transform: scale(1.05); transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out; } body.loaded { opacity: 1; transform: scale(1); } /* Transition Overlay (Expanding Circle Effect) */ .transition-overlay { position: fixed; top: 50%; left: 50%; width: 100px; height: 100px; background: radial-gradient(circle, #4a8fdf, #000); /* Green fading into black */ border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform 0.9s ease-in-out; z-index: 9999; } /* Expand circle effect when navigating */ /* Expand */ .transition-overlay.expand { transform: translate(-50%, -50%) scale(30); } /* Contract */ .transition-overlay.contract { transform: translate(-50%, -50%) scale(0); } /* Smooth transition for links */ a { text-decoration: none; color: #4a8fdf; transition: color 0.3s ease-in-out; } a:hover { color: #fff; } .dark-mode { background-color: #131b2b; color: #fff; } .navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; background: #f4f2ec; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); font-size: 18px; font-weight: bold; position: sticky; top: 0; z-index: 1000; } .dark-mode .navbar { background: #243342; } .navbar a { text-decoration: none; color: #000; margin: 0 20px; font-size: 18px; font-weight: bold; } .dark-mode .navbar a { color: #fff; } /* Highlighted Section */ .highlight-container { position: relative; /* Changed from absolute */ text-align: center; padding: 50px; background: rgba(255, 255, 255, 0.9); box-shadow: 0px 0px 30px rgba(74,143,223, 0.7); border-radius: 15px; animation: fadeIn 1s ease-in-out; margin: 100px auto; /* Center and add margin */ max-width: 800px; /* Limit width for better readability */ } .dark-mode .highlight-container { background: #131b2b; box-shadow: 0px 0px 30px rgba(74,143,223, 0.7); } /* Animated Glow Effect */ @keyframes glow { 0% { box-shadow: 0px 0px 10px rgba(74,143,223, 0.5); } 50% { box-shadow: 0px 0px 20px rgba(74,143,223, 1); } 100% { box-shadow: 0px 0px 10px rgba(74,143,223, 0.5); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0px); } } @keyframes fadeBounce { 0% { opacity: 0; transform: translateY(-30px); } 50% { opacity: 1; transform: translateY(5px); } 100% { transform: translateY(0); } } .animated-title { font-size: 48px; font-weight: bold; color: #4a8fdf; text-align: center; margin-bottom: 20px; animation: fadeBounce 1.5s ease-in-out; } .dark-mode .animated-title { color: #4a8fdf; } .description { font-size: 26px; font-weight: bold; color: #4a8fdf; margin-bottom: 20px; animation: glow 1.5s infinite alternate; } .dark-mode .description { color: #4a8fdf; } /* Centered Search Bar */ .search-container { width: 400px; position: relative; margin: 0 auto; } .search-box { width: 100%; padding: 14px 50px 14px 16px; font-size: 18px; border: 3px solid #4a8fdf; border-radius: 30px; outline: none; transition: 0.3s; animation: glow 1.5s infinite alternate; } .search-box:focus { border-color: #ff9800; box-shadow: 0 0 15px rgba(255, 152, 0, 0.7); } .search-container i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #777; cursor: pointer; } .stock-suggestions { margin-top: 15px; font-size: 16px; color: #333; } .dark-mode .stock-suggestions { color: #ddd; } .suggestions-list { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; } .suggestion { background-color: #f0f0f0; padding: 8px 12px; border-radius: 5px; cursor: pointer; transition: 0.3s; } .suggestion:hover { background-color: #4a8fdf; color: white; } .dark-mode .suggestion { background-color: #243342; color: white; } .dark-mode .suggestion:hover { background-color: #4a8fdf; } .dark-mode .search-box { background-color: #131b2b; color: white; border-color: #4a8fdf; } .dark-mode .search-box:focus { border-color: #ff9800; } .dark-mode .search-container i { color: #aaa; } .dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; } .dropdown-content a { color: black; padding: 10px 16px; display: block; text-decoration: none; } .dropdown-content a:hover { background-color: #ddd; } .dropdown:hover .dropdown-content { display: block; } .dark-mode .dropdown-content { background-color: #243342; } .dark-mode .dropdown-content a { color: white; } .dark-mode .dropdown-content a:hover { background-color: #374f66; } .toggle-switch { position: relative; display: inline-block; width: 50px; height: 25px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 25px; } .toggle-circle { position: absolute; left: 4px; bottom: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.4s; z-index: 2; font-size: 14px; } .toggle-icon { transition: color 0.4s, content 0.4s; color: #FFD600; /* Sun color */ } input:checked + .slider { background-color: #4a8fdf; } input:checked + .slider .toggle-circle { transform: translateX(24px); } input:checked + .slider .toggle-icon { color: #4a8fdf; /* Moon color */ /* Use content swap via JS for moon icon */ } .about-us { text-align: center; padding: 40px; background-color: #fff; border-radius: 10px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); width: 80%; margin: 40px auto; /* Center and add margin */ margin-top: 200px; /* Add space between search bar and about-us */ } .dark-mode .about-us { background-color: #131b2b; color: #ddd; } #three-container { width: 100%; height: 400px; position: relative; margin: 40px auto; /* Add margin */ background-color: #000; } .container { position: relative; font-size: 7vw; font-weight: bold; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px #4a8fdf; display: flex; justify-content: center; align-items: center; margin-top: 10%; } .glow::before { content: attr(data-text); position: absolute; color: #4a8fdf; width: 0; overflow: hidden; white-space: nowrap; animation: revealText 4s ease-in-out infinite alternate; display: flex; justify-content: center; align-items: center; } @keyframes revealText { 0% { width: 0; filter: blur(5px); opacity: 0; } 20% { opacity: 1; filter: blur(3px); } 50% { width: 100%; filter: blur(0px); } 70% { width: 100%; } 100% { width: 0; filter: blur(5px); opacity: 0; } } .cards-container { display: flex; gap: 20px; justify-content: center; align-items: stretch; align-items: center;/ } .card { background: #fff; padding: 40px; width: 220px; height: 550px; text-align: center; border-radius: 10px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; margin-top: 200px; } .card:hover { transform: translateY(-5px); box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2); } .card h3 { margin: 0; padding: 10px; background: #007bff; color: white; border-radius: 5px; } .card p { margin-top: 15px; color: #333; font-size: 14px; } /* Footer Styles */ footer { background-color: #2c3e50; color: #ecf0f1; padding: 40px 20px; font-family: Arial, sans-serif; } .footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: 1200px; margin: 0 auto; } .footer-section { flex: 1; min-width: 200px; margin-bottom: 20px; } .footer-section h3 { font-size: 18px; margin-bottom: 15px; color: #4a8fdf; } .footer-section ul { list-style: none; padding: 0; } .footer-section ul li { margin-bottom: 10px; } .footer-section ul li a { color: #ecf0f1; text-decoration: none; transition: color 0.3s ease; } .footer-section ul li a:hover { color: #4a8fdf; } .footer-section form { display: flex; gap: 10px; } .footer-section input[type="email"] { padding: 10px; border: none; border-radius: 5px; width: 70%; } .footer-section button { padding: 10px 20px; background-color: #4a8fdf; color: #fff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .footer-section button:hover { background-color: #4a8fdf; } .footer-bottom { text-align: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #34495e; font-size: 14px; } html { scroll-behavior: smooth; } .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; } .fade-in.visible { opacity: 1; transform: translateY(0); } /* Cards Container */ .cards-container { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 20px; margin-top: 150px; } /* Card Styling */ .card { background: #fff; padding: 30px; width: 280px; text-align: center; border-radius: 15px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; position: relative; overflow: hidden; } .card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #4a8fdf, #007bff); opacity: 0; transition: opacity 0.3s ease; z-index: 1; } .card:hover::before { opacity: 0.1; } .card:hover { transform: translateY(-10px); box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2); } .card h3 { margin: 0; padding: 15px; background: linear-gradient(45deg, #4a8fdf, #007bff); color: white; border-radius: 10px; font-size: 20px; position: relative; z-index: 2; } .card p { margin-top: 20px; color: #555; font-size: 15px; line-height: 1.6; position: relative; z-index: 2; } .dark-mode .card { background-color: #131b2b; color: #ddd; box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.05); } .dark-mode .card p { margin-top: 20px; color: #c9d1dd; font-size: 15px; line-height: 1.6; position: relative; z-index: 2; } /* Fade-in Animation */ .fade-in { opacity: 0; animation: fadeIn 1s ease-in-out forwards; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive Design */ @media (max-width: 768px) { .cards-container { flex-direction: column; gap: 20px; } .card { width: 90%; } } /* Include the rest from the style block */ /* Glow effect for card and about-us containers */ .card, .about-us { animation: glow 2s infinite alternate; box-shadow: 0 0 20px #4a8fdf, 0 0 40px #4a8fdf33; } .dark-mode .card, .dark-mode .about-us { animation: glow 2s infinite alternate; box-shadow: 0 0 30px #4a8fdf, 0 0 60px #4a8fdf33; } .custom-introjs-tooltip { font-size: 1.05rem; color: #222; } .introjs-tooltip { z-index: 11000 !important; }