/* === Reset and Base === */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { min-height: 100vh; font-family: 'Open Sans', sans-serif; background: #f8f9fa; color: #333; scroll-behavior: smooth; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* === Sidebar with Subtle Transparency and Blur === */ #header { position: fixed; top: 0; left: 0; width: 180px; height: 100vh; background: rgba(20, 30, 40, 0.92); backdrop-filter: blur(12px); box-shadow: 2px 0 18px rgba(0, 0, 0, 0.3); padding: 30px 15px; overflow-y: auto; z-index: 1000; display: flex; flex-direction: column; transition: all 0.4s ease; } #header .nav-menu ul { list-style: none; padding: 0; margin: 0; } #header .nav-menu ul li { margin-bottom: 22px; } #header .nav-menu ul li a { color: #ccc; text-transform: uppercase; font-weight: 600; display: block; padding: 14px 18px; border-radius: 10px; transition: all 0.3s ease; font-size: 15px; letter-spacing: 0.8px; } #header .nav-menu ul li a:hover, #header .nav-menu ul li a.active { background: #18d26e; color: #fff; box-shadow: 0 0 10px rgba(24, 210, 110, 0.8); } /* === Sidebar Mobile Toggle === */ @media (max-width: 991px) { #header { transform: translateX(-100%); } #header.active { transform: translateX(0); } } /* === Hamburger Button === */ #sidebarToggle { position: fixed; top: 20px; left: 20px; z-index: 1101; background: rgba(20, 30, 40, 0.9); color: #fff; padding: 10px 12px; border: none; border-radius: 8px; font-size: 24px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); transition: background 0.3s; } #sidebarToggle:hover { background: rgba(24, 210, 110, 0.8); } /* === Main Content Layout === */ main { margin-left: 180px; transition: margin-left 0.4s ease; } @media (max-width: 991px) { main { margin-left: 0; } } /* === Sections === */ .section { padding: 100px 20px; } .bg-light { background: #f6f9fc; } .section-title { margin-bottom: 50px; } .section-title h2 { font-size: 36px; font-weight: 700; margin-bottom: 15px; } .section-title p { font-size: 17px; color: #555; margin-top: 10px; } /* === Hero Section === */ #hero { width: 100%; height: 100vh; background: url('../img/hero-bg.jpg') center center/cover no-repeat; position: relative; color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; } #hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 0; } #hero .hero-container { position: relative; z-index: 1; animation: fadeIn 1.5s ease; } #hero h1 { font-size: 52px; font-weight: 800; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); } #hero p { margin-top: 20px; font-size: 24px; font-weight: 400; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4); } .btn-get-started { margin-top: 30px; border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 50px; transition: all 0.3s; text-transform: uppercase; font-weight: 600; } .btn-get-started:hover { background: #18d26e; border-color: #18d26e; animation: pulseGlow 1.5s infinite; } /* === Pulse Glow Animation === */ @keyframes pulseGlow { 0% { box-shadow: 0 0 0 rgba(24, 210, 110, 0.7); } 50% { box-shadow: 0 0 18px rgba(24, 210, 110, 0.8); } 100% { box-shadow: 0 0 0 rgba(24, 210, 110, 0.7); } } /* === Skills Section === */ .skills-content .progress { background: #dfe6ed; height: 20px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); } .skills-content .progress-bar { height: 100%; width: 0; background: #18d26e; transition: width 2s ease, box-shadow 0.6s; border-radius: 12px; } .skills-content .progress-bar:hover { box-shadow: 0 0 14px #18d26e; } .skill { font-weight: 700; margin-bottom: 5px; font-size: 15px; } /* === Services Section === */ .info-box { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease; text-align: center; } .info-box:hover { transform: translateY(-8px); } .info-box i { font-size: 38px; color: #18d26e; margin-bottom: 12px; } /* === Portfolio Section === */ .portfolio-wrap { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); transition: transform 0.4s ease, box-shadow 0.4s; } .portfolio-wrap:hover { transform: scale(1.04); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3); } .portfolio-info { background: rgba(35, 49, 64, 0.92); padding: 20px; text-align: center; } .portfolio-info h4, .portfolio-info p { color: #fff; } .portfolio-links a { color: #fff; font-size: 22px; margin: 0 8px; transition: color 0.3s; } .portfolio-links a:hover { color: #18d26e; } /* === CTA Section === */ #cta { background: #18d26e; color: #fff; text-align: center; padding: 60px 20px; } #cta h2 { font-size: 32px; margin-bottom: 15px; } #cta p { font-size: 18px; margin-bottom: 20px; } #cta .btn { padding: 10px 30px; border-radius: 30px; font-weight: 600; } /* === Contact Section === */ #contact .info-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: transform 0.3s; } #contact .info-box:hover { transform: translateY(-8px); } #contact .info-box i { font-size: 36px; color: #18d26e; margin-bottom: 10px; } #contact .info-box h3 { font-weight: 700; font-size: 20px; } /* === Footer === */ #footer { background: #233140; padding: 50px 0; text-align: center; color: #ccc; } #footer h3 { font-size: 26px; color: #fff; margin-bottom: 20px; } #footer p { font-size: 15px; margin-bottom: 20px; } #footer a { color: #18d26e; text-decoration: none; } #footer a:hover { text-decoration: underline; } /* === Back to Top Button === */ #back-to-top { display: none; position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; background: #18d26e; color: #fff; border-radius: 50%; align-items: center; justify-content: center; z-index: 9999; transition: background 0.3s, transform 0.3s; } #back-to-top:hover { background: #14b261; transform: scale(1.1); } /* === Fade-in Animations === */ @keyframes fadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }