* { margin: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; background: linear-gradient(135deg, #2e4c82, #0a2268); color: #fff; display: flex; justify-content: center; align-items: flex-start;; min-height: 100vh; flex-direction: column; overflow: hidden; overflow-y: auto; -webkit-user-select: none; /* Chrome, Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE10+/Edge */ user-select: none; /* Standard */ } .dancing-script-head { font-family: "Dancing Script", cursive; font-optical-sizing: auto; font-weight: 700; font-style: normal; } header { width: 100%; background-color: rgba(0, 0, 30, 1); padding: 10px 20px; position: fixed; top: 0; left: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; /* Prevent wrapping */ } .home-intro, .about-content, .skills-grid, .projects-grid, .contact-container { margin-top: 40px; /* Ensure there is enough space between sections */ } #typed-text { color: #ff8c00; font-weight: 700; font-size: 28px; } .header-left h1 { margin-left: 20px; font-size: 30px; } .hamburger-menu { display: none; font-size: 30px; cursor: pointer; color: #fff; margin-right: 20px; } nav .nav-links { list-style: none; display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; overflow-x: auto; margin-right: 0; } nav .nav-links li { margin: 0 10px; } nav .nav-links li a { text-decoration: none; color: #fff; font-size: 18px; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; transition: color 0.3s, border-bottom 0.3s; } nav .nav-links li a:hover { color: #ff8c00; } nav .nav-links li a.active { color: #ff8c00; font-weight: 700; border-bottom: 2px solid #ff8c00; } nav ul { list-style: none; display: flex; justify-content: flex-end; margin-right: 20px; flex-wrap: wrap; /* Allow items to wrap on small screens */ width: 100%; } nav ul li { margin: 0 10px; } nav ul li a { text-decoration: none; color: #fff; font-size: 18px; text-transform: uppercase; font-weight: 500; letter-spacing: 1px; transition: color 0.3s, border-bottom 0.3s; display: inline-block; padding: 1px 0; } nav ul li a:hover { color: #ff8c00; } nav ul li a.active { color: #ff8c00; font-weight: 700; border-bottom: 2px solid #ff8c00; } main { padding: 90px 0px; padding-bottom: 120px; width: 90%; max-width: 1200px; margin: 0 auto; overflow-y: auto; } .page { display: none; padding-bottom: 60px; } .page h2 { font-size: 35px; margin-bottom: 15px; color: #ff8c00; } .page.active { display: block; } .home-intro { text-align: center; margin-top: 20px; } .home-intro p { font-size: 18px; line-height: 1.8; max-width: 800px; margin: 0 auto; color: #fff; } .about-content { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; flex-wrap: wrap; /* Make sure content stacks on mobile */ gap: 20px; } .about-photo { position: relative; width: 270px; height: 370px; margin: auto; border-radius: 25px 50px; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; } .about-photo:hover { transform: scale(1.05); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6); } .about-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; z-index: 1; border-radius: 25px; transition: filter 0.3s ease, transform 0.3s ease; filter: grayscale(0.1) brightness(0.95) contrast(1.1); } .about-photo:hover img { filter: grayscale(0) brightness(1.1); transform: scale(1.03); } .about-details { max-width: 600px; } .about-details ul { font-size: 16px; line-height: 1.6; } /* #timeline { padding: 60px 20px; text-align: center; } .timeline-cards { max-width: 900px; margin: auto; display: flex; flex-direction: column; gap: 30px; } .timeline-card { background: rgba(0, 0, 0, 0.6); border-left: 5px solid #ff8c00; padding: 20px 25px; border-radius: 12px; position: relative; box-shadow: 0 10px 24px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; align-items: flex-start; gap: 20px; } .timeline-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); } .timeline-icon { font-size: 30px; background: #ff8c00; color: #000; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px #ff8c00aa; flex-shrink: 0; } .timeline-content h3 { font-size: 20px; color: #ff8c00; margin: 0; } .timeline-content .duration { font-size: 14px; color: #ccc; margin-bottom: 10px; } .timeline-content ul { padding-left: 18px; margin-top: 0; color: #eee; font-size: 15px; line-height: 1.6; } .timeline-content p { color: #eee; font-size: 15px; margin-top: 0; } .accordion-timeline { max-width: 900px; margin: 60px auto; display: flex; flex-direction: column; gap: 20px; } .accordion-card { background: rgba(0, 0, 0, 0.6); border-left: 5px solid #ff8c00; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; } .accordion-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 20px; gap: 20px; transition: background 0.3s ease; } .accordion-header:hover { background-color: rgba(255, 140, 0, 0.1); } .accordion-header h3 { font-size: 20px; color: #ff8c00; margin: 0; } .accordion-header .duration { font-size: 14px; color: #aaa; margin-top: 5px; } .accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; background-color: rgba(0, 0, 0, 0.3); } .accordion-body.open { padding: 15px 20px; max-height: 500px; } .accordion-body ul, .accordion-body p { color: #eee; font-size: 15px; margin: 0; line-height: 1.6; } .accordion-body ul { padding-left: 20px; margin-top: 10px; } .timeline-icon { font-size: 30px; background: #ff8c00; color: #000; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px #ff8c00aa; flex-shrink: 0; } .arrow { font-size: 20px; color: #ccc; transition: transform 0.3s ease; } .accordion-header.open .arrow { transform: rotate(180deg); } */ .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; } .skill-card { background-color: rgba(0, 0, 0, 0.6); padding: 20px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; } .skill-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); } .skill-card h3 { font-size: 22px; color: #ff8c00; margin-bottom: 10px; } .skill-card p { font-size: 16px; line-height: 1.5; color: #fff; } .projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; } .project-card { background-color: rgba(0, 0, 0, 0.7); padding: 20px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; } .project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); } .project-card h3 { font-size: 22px; color: #ff8c00; margin-bottom: 10px; } .project-card p { font-size: 16px; line-height: 1.5; color: #fff; margin-bottom: 15px; } .project-link { font-size: 16px; color: #ff8c00; text-decoration: none; border: 1px solid #ff8c00; padding: 8px 16px; border-radius: 6px; transition: background-color 0.3s, color 0.3s; } .project-link:hover { background-color: #ff8c00; color: #000; } .contact-container { text-align: center; margin-top: 20px; } .contact-container p { font-size: 20px; color: #fff; margin-top: 40px; margin-bottom: 30px; } .social-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; } .social-button { background-image: linear-gradient(135deg, #ff8c00, #f44336); padding: 14px 22px; width: 300px; border-radius: 50px; color: #fff; text-decoration: none; font-size: 16px; font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s; margin: 5px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .social-button:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4); background-color: #ff5722; } .social-button:active { transform: translateY(3px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); } .email-section { margin-top: 40px; display: flex; flex-direction: column; align-items: center; } .email-link { background-color: transparent; border: 2px solid #ff8c00; color: #ff8c00; padding: 12px 24px; border-radius: 30px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; } .email-link:hover { background-color: #ff8c00; color: #000; box-shadow: 0 8px 15px rgba(0,0,0,0.3); } .social-button.linkedin { background-image: linear-gradient(135deg, #0077b5, #33a1d1); } .social-button.facebook { background-image: linear-gradient(135deg, #3b5998, #8b9dc3); } .social-button.instagram { background-image: linear-gradient(135deg, #e4405f, #f77737); } .social-button.twitter { background-image: linear-gradient(135deg, #1da1f2, #1c9de5); } .social-button.github { background-image: linear-gradient(135deg, #333, #555); } footer { width: 100%; background-color: rgba(0, 0, 30, 1); padding: 10px; text-align: center; position: fixed; bottom: 0; } .custom-footer { width: 100%; background-color: rgba(0, 0, 30, 1); padding: 12px 0px; font-family: 'Poppins', sans-serif; text-align: center; position: fixed; bottom: 0; left: 0; z-index: 1000; display: flex; flex-direction: column; gap: 10px; } .custom-footer a { color: #ff8c00; letter-spacing: 0.5px; text-decoration: none; font-weight: 600; transition: color 0.3s ease, text-shadow 0.3s ease; } .custom-footer a:hover { color: #fff; text-shadow: 0 0 8px #ff8c00; } .custom-footer i { margin-right: 6px; } .custom-footer p { color: #fff; font-size: 14px; margin: 0; } .combo-glow-link { color: #ff8c00; font-size: 17px; font-weight: 600; text-decoration: none; letter-spacing: 0.5px; display: inline-block; transition: all 0.3s ease; animation: glowPulse 3s ease-in-out infinite; } .combo-glow-link:hover { transform: scale(1.1); animation: glowPulseHover 1s ease-in-out infinite; } /* Glow animation (normal) */ @keyframes glowPulse { 0% { text-shadow: 0 0 5px #ff8c00; } 50% { text-shadow: 0 0 10px #ff8c00, 0 0 15px #ff8c00; } 100% { text-shadow: 0 0 5px #ff8c00; } } /* Glow animation (hover enhanced) */ @keyframes glowPulseHover { 0% { text-shadow: 0 0 8px #ff8c00; } 50% { text-shadow: 0 0 18px #ff8c00, 0 0 28px #ff8c00; } 100% { text-shadow: 0 0 8px #ff8c00; } } /* link styling for content sections */ .highlight-link { color: #ff8c00; font-weight: 600; display: inline-block; text-decoration: none; transition: all 0.6s ease; } .highlight-link:hover { color: #fff; transform: scale(1.01); text-shadow: 0 0 6px #ff8c00; } .page a:hover { color: #fff; transform: scale(1.01); text-shadow: 0 0 6px #ff8c00; } /* Gallery Section Styling */ #gallery { padding: 0 20px; text-align: center; } .glass-card { position: relative; max-width: 400px; margin: 20px auto; padding: 22px 17px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); transition: transform 0.4s ease, box-shadow 0.4s ease; overflow: hidden; } .glass-card img { width: 100%; border-radius: 15px; transition: transform 0.5s ease, filter 0.4s ease; filter: brightness(0.9); } .glass-card:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7); } .glass-card:hover img { transform: scale(1.05); filter: brightness(1); } .glass-card .caption { margin-top: 20px; color: #ccc; font-style: italic; } .mobile-only { display: none; } @media (max-width: 848px) { nav .nav-links li a { font-size: 15px; letter-spacing: 0.5px; } } /* Mobile responsiveness */ @media (max-width: 768px) { .header-left h1 { font-size: 30px; /* Adjust header size */ } /* Hide navigation links by default on mobile */ nav .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 60px; /* Adjust based on header height */ left: 0; background-color: rgba(0, 0, 0, 0.8); padding-top: 20px; } nav .nav-links li { margin: 10px 0; text-align: center; } /* Display the hamburger menu on small screens */ .hamburger-menu { display: block; } /* Show the navigation menu when it's active */ nav .nav-links.active { display: flex; } nav ul { display: block; text-align: center; } nav ul li { margin: 10px 0; } .skills-grid { grid-template-columns: 1fr; width: 80%; margin: 0px 10%; } .projects-grid { grid-template-columns: 1fr; } .social-buttons { flex-direction: column; } .social-button { width: 70%; text-align: center; padding: 12px 0; margin: 5px 15%; } .glass-card:hover { transform: none; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* base shadow */ } .glass-card:hover img { transform: none; filter: brightness(0.9); } .desktop-only { display: none; } .mobile-only { display: block; } .about-photo { border-radius: 50px 50px 25px 25px ; } /* .timeline-card { flex-direction: column; align-items: flex-start; } .timeline-icon { margin-bottom: 10px; } @media (max-width: 768px) { .accordion-header { flex-direction: column; align-items: flex-start; } .arrow { align-self: flex-end; } */ }