* { margin: 0; padding: 0; box-sizing: border-box; } :root { /* Dark Theme (Default) */ --primary-bg:#d85144; --secondary-bg: #f8f8f8; --text-color: #6d1717; --text-color-light: #c74444; } body { background: linear-gradient(to bottom, #f8f8f8, #f34e4e); color: #ffffff; min-height: 100vh; font-family: Arial, sans-serif; } nav { background: #f8f8f8; position: fixed; width: 100%; top: 0; z-index:50; } .spotlight { position: fixed; top: 0; left: 0; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 117, 225, 0.312) 0%, rgba(255, 255, 255, 0) 80%); pointer-events: none; transform: translate(-50%, -50%); filter: blur(30px); transition: background 0.2s ease; z-index: 100; } .nav-container { max-width: 100%; margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 2rem; font-weight: bold; position: relative; z-index: 100; color: var(--text-color); margin-right: 0; font-family: "Smooch Sans", sans-serif; } .watermark { font-size: 2rem; font-weight: bold; position: relative; z-index: 100; color: var(--text-color); margin-right: 0; font-family: "Smooch Sans", sans-serif; } .login-btn:hover { transform: scale(1.1); } .nav-links { display: flex; gap: 2rem; list-style: none; margin-left: auto; margin-right: auto; background-color: rgba(50, 50, 51, 0); border-radius: 50px; height: 40px; align-items: center; width: 500px; justify-content: space-evenly; position: relative; overflow-x: hidden; transition: transform 0.3s ease; } .nav-links a { position: relative; text-decoration: none; color: var(--text-color); font-size: larger; transition: all 0.3s ease; font-family: 'Smooch Sans', sans-serif; font-weight: bold; } .nav-links a::after { content: ''; position: absolute; width: 0%; height: 2px; left: 0; bottom: -4px; background-color: var(--text-color-light); transition: width 0.3s ease; } .nav-links li:hover a::after { width: 100%; } .nav-links li:hover a { cursor: pointer; color: var(--text-color-light); } /* Active navigation link styling */ .nav-links a.active { color: var(--text-color-light); font-weight: bold; font-size: 1.1em; transform: scale(1.05); } .nav-links a.active::after { width: 100%; height: 3px; background-color:var(--text-color-light); } .disclaimer-badge { background-color: #ffedd5; color: #9a3412; padding: 16px 8px; border-radius: 50px; font-size: 1.2rem; font-weight: bold; text-align: center; font-family: "Smooch Sans", sans-serif; margin-top: 1.5rem; width: 20%; margin-left: 40%; } .disclaimer-badge span { margin-left: 4px; } #projects h2 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 3rem; margin-bottom: 2rem; letter-spacing: 1px; background: linear-gradient(to bottom, #cfbffc, #da5353); -webkit-background-clip: text; color: transparent; text-align: center; } #contact h2 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 3.5rem; margin-bottom: 2rem; letter-spacing: 1px; background: linear-gradient(to top, #cfbffc, #ffffff); -webkit-background-clip: text; color: transparent; text-align: center; } .style-selector { padding: 8px; border: 1px solid #cbd5e0; border-radius: 4px; outline: none; background-color: #f8f9fa; } /* Typing indicator */ .typing-indicator { display: flex; align-items: center; column-gap: 5px; padding: 10px 12px; background-color: #e2e8f0; border-radius: 10px; width: fit-content; margin-bottom: 10px; } .typing-dot { width: 8px; height: 8px; background-color: #a0aec0; border-radius: 50%; animation: typing-bounce 1.4s infinite ease-in-out; } .typing-dot:nth-child(1) { animation-delay: 0s; } .typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } } .chat-window { display: none; position: fixed; bottom: 80px; left:5%; width: 85%; height: 500px; background: #f8f8f8; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); overflow: hidden; z-index: 1000; flex-direction: column; border: 2px solid #da5353; transition: all 0.3s ease; } .chat-window.open { display: flex; animation: popIn 0.5s cubic-bezier(0.26, 1.48, 0.46, 0.94) forwards; } @keyframes popIn { 0% { opacity: 0; transform: scale(0.8) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } } .chat-header { background: linear-gradient(45deg, #da5353, #e88181); color: white; padding: 15px; font-family: "Special Gothic Expanded One", sans-serif; display: flex; justify-content: space-between; align-items: center; } .chat-header .chat-title { font-size: 1.2rem; } .chat-close { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; } .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f8f8f8; } .message { margin-bottom: 15px; max-width: 80%; padding: 10px 15px; border-radius: 18px; font-family: "Smooch Sans", sans-serif; font-size: 1rem; animation: messageAppear 0.3s ease-out; } .bot-message { background: #e9e4fc; color: #1d172f; border-top-left-radius: 5px; align-self: flex-start; font-weight: bold; } .user-message { background: #da5353; color: white; border-top-right-radius: 5px; align-self: flex-end; margin-left: auto; font-weight: bold; } @keyframes messageAppear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .chat-input { display: flex; padding: 15px; background: #f0eeff; border-top: 1px solid #e0e0e0; } .input-row{ width:100%; display: flex; justify-content: space-between; } .chat-input input { flex: 1; padding: 10px 15px; border: 1px solid #ddd; border-radius: 25px; outline: none; font-family: "Smooch Sans", sans-serif; font-size: 1rem; width: 70% } .chat-input button { background: #6e53da; color: white; border: none; width: 40px; height: 40px; border-radius: 50%; margin-left: 10px; cursor: pointer; transition: all 0.2s ease; } .chat-input button:hover { background: #e88181; transform: scale(1.05); } .cta-button { background: linear-gradient(45deg, #da5353, #e88181); color: white; border: none; padding: 1rem 2rem; font-size: 1.2rem; font-weight: bold; border-radius: 50px; cursor: pointer; margin-top: 2rem; font-family: "Special Gothic Expanded One", sans-serif; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(218, 83, 83, 0.4); transition: all 0.3s ease; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 0.5rem; z-index: 10; width: 20%; margin-left: 40%; text-align: center; } .cta-button:before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: all 0.5s ease; } .cta-button:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(218, 83, 83, 0.5); } .cta-button:hover:before { left: 100%; } .cta-button:active { transform: translateY(-2px); } .cta-button:after { content: "\f4ad"; /* Font Awesome chat icon */ font-family: "Font Awesome 5 Free"; font-weight: 900; margin-left: 0.5rem; font-size: 1.2rem; } .about-text{ font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.2rem; margin-bottom: 2rem; letter-spacing: 0.1px; font-weight: bold; -webkit-background-clip: text; color: rgb(195, 194, 194); width: 70%; text-align: justify; } #projects h2 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 3rem; margin-bottom: 1rem; letter-spacing: 1px; background: linear-gradient(to bottom, #fcbfbf, #da5353); -webkit-background-clip: text; color: transparent; text-align: center; } .stack-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem; } .stack-intro p { font-family: "Smooch Sans", sans-serif; font-size: 1.8rem; color: #6e46ca; font-weight: bold; } .tech-stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin: 0 auto 4rem; max-width: 1200px; } .stack-card { background: rgba(236, 231, 242, 0.7); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 2rem; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); height: 100%; opacity: 0; transform: translateY(30px); animation: fadeSlideUp 0.6s ease forwards; } .stack-card:nth-child(2) { animation-delay: 0.1s; } .stack-card:nth-child(3) { animation-delay: 0.2s; } .stack-card:nth-child(4) { animation-delay: 0.3s; } .stack-card:nth-child(5) { animation-delay: 0.4s; } .stack-card:nth-child(6) { animation-delay: 0.5s; } .stack-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); } .stack-icon { font-size: 3rem; margin-bottom: 1.5rem; height: 80px; width: 80px; display: flex; align-items: center; justify-content: center; background: rgba(110, 83, 218, 0.2); border-radius: 50%; color: #51369c; transition: all 0.3s ease; } .stack-card:hover .stack-icon { transform: scale(1.1); background: rgba(110, 83, 218, 0.3); } .stack-card h3 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.5rem; margin-bottom: 1rem; color: #4b32b2; } .stack-card p { font-family: "Smooch Sans", sans-serif; font-size: 1.1rem; line-height: 1.5; color: #261451; font-weight: bold; } /* Architecture Flow Diagram */ .architecture-diagram { max-width: 1000px; margin: 0 auto 3rem; text-align: center; } .architecture-diagram h3 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 2rem; margin-bottom: 2rem; background: linear-gradient(to right, #ffffff, #cccccc); -webkit-background-clip: text; color: transparent; } .flow-diagram { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 2rem; background: rgba(30, 30, 31, 0.7); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); } .flow-step { background: rgba(110, 83, 218, 0.15); border-radius: 10px; padding: 1.5rem; width: 180px; text-align: center; position: relative; transition: all 0.3s ease; } .flow-step:hover { background: rgba(110, 83, 218, 0.25); transform: translateY(-5px); } .flow-number { width: 36px; height: 36px; background: #6e53da; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; margin: 0 auto 1rem; font-family: "Special Gothic Expanded One", sans-serif; } .flow-step p { font-family: "Smooch Sans", sans-serif; font-size: 1rem; color: #e0e0e0; } .flow-arrow { font-size: 1.5rem; color: #6e53da; } /* Animation for the How It Works section */ #how-it-works { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; } #how-it-works.animated { opacity: 1; transform: translateY(0); } /* Responsive design */ @media (max-width: 768px) { .tech-stack-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } .flow-diagram { flex-direction: column; gap: 0.5rem; } .flow-arrow { transform: rotate(90deg); margin: 0.5rem 0; } .flow-step { width: 100%; } } @media (max-width: 480px) { .tech-stack-grid { grid-template-columns: 1fr; } .stack-card { padding: 1.5rem; } .architecture-diagram h3 { font-size: 1.8rem; } } .section h3{ margin-bottom: 0.2rem; font-family: "Special Gothic Expanded One", sans-serif; font-size: 2rem; letter-spacing: 1px; background-color: 6e53da; } /* Section Styling */ /* Hire Me Section Styling */ .hire-me-container { display: flex; gap: 3rem; width: 100%; max-width: 1200px; margin: 0 auto; } .hire-me-cta { flex: 1; padding: 2rem; background: rgba(30, 30, 31, 0.7); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; } .hire-me-cta h3 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 2rem; margin-bottom: 1.5rem; background: linear-gradient(to right, #ffffff, #cccccc); -webkit-background-clip: text; color: transparent; } .hire-pitch { font-family: "Smooch Sans", sans-serif; font-size: 1.2rem; line-height: 1.6; color: #e0e0e0; margin-bottom: 1.5rem; } .benefits-list { list-style: none; margin-bottom: 2rem; } .benefits-list li { font-family: "Smooch Sans", sans-serif; font-size: 1.1rem; margin-bottom: 0.8rem; display: flex; align-items: center; color: #e0e0e0; } .benefits-list i { color: #6e53da; margin-right: 0.8rem; font-size: 1.2rem; } .fiverr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 1rem 2rem; background: linear-gradient(45deg, #6e53da, #9581e8); color: white; border: none; border-radius: 8px; font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.1rem; font-weight: bold; text-decoration: none; margin-top: auto; transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(110, 83, 218, 0.4); text-align: center; } .fiverr-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(110, 83, 218, 0.5); } .fiverr-btn:active { transform: translateY(-2px); } .contact-form { flex: 1; max-width: none; width: auto; } #bot-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; } #bot-mascot { position: fixed; left: 37%; top:25%; width: 20%; height: auto; z-index: 1001; animation: bounce 2s infinite; cursor: pointer; transition: transform 0.3s ease; } #bot-mascot:hover { transform: scale(1.1); } #bot-bubble { position: fixed; left: 37%; top:25%; width: 20%; padding: 10px 15px; background-color: white; border-radius: 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1001; cursor: pointer; animation: fadeIn 0.5s; color:#7222ab } #bot-bubble:after { content: ''; position: absolute; bottom: -10px; right: 30px; border-width: 10px 10px 0; border-style: solid; border-color: white transparent; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .contact-form h3 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 2rem; margin-bottom: 1.5rem; background: linear-gradient(to right, #ffffff, #cccccc); -webkit-background-clip: text; color: transparent; } /* Update existing contact form styling */ .contact-form form { display: flex; flex-direction: column; gap: 1rem; background: rgba(30, 30, 31, 0.7); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); } .contact-form input, .contact-form textarea { padding: 1rem; background-color: rgba(50, 50, 51, 0.8); border: 1px solid #333; border-radius: 4px; color: white; font-family: "Smooch Sans", sans-serif; font-size: 1.1rem; } .contact-form textarea { min-height: 150px; resize: vertical; } .contact-form button { background: linear-gradient(45deg, #6e53da, #9581e8); color: white; border: none; padding: 1rem; font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.1rem; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; } .contact-form button:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(110, 83, 218, 0.4); } /* Responsive design for the Hire Me section */ @media (max-width: 768px) { .hire-me-container { flex-direction: column; gap: 2rem; } .hire-me-cta, .contact-form { width: 100%; } } /* Animation for the Hire Me section */ #contact.animated .hire-me-cta { opacity: 0; transform: translateX(-30px); animation: fadeSlideRight 0.8s ease forwards 0.2s; } #contact.animated .contact-form { opacity: 0; transform: translateX(30px); animation: fadeSlideLeft 0.8s ease forwards 0.4s; } @keyframes fadeSlideRight { 0% { opacity: 0; transform: translateX(-30px); } 100% { opacity: 1; transform: translateX(0); } } @keyframes fadeSlideLeft { 0% { opacity: 0; transform: translateX(30px); } 100% { opacity: 1; transform: translateX(0); } } .section { min-height: 100vh; padding: 80px 2rem 2rem; display: flex; flex-direction: column; } section h2 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 3.5rem; margin-bottom: 2rem; letter-spacing: 1px; background: linear-gradient(to top, #cfbffc, #ffffff); -webkit-background-clip: text; color: transparent; } .heading-text { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 5%; } .heading-text h1 { display: inline-block; text-align: center; font-size: 70px; font-family: "Special Gothic Expanded One", sans-serif; letter-spacing: 2px; background: linear-gradient(to bottom, #ff3737, #da5353); -webkit-background-clip: text; color: transparent; opacity: 0; transform: translateY(30px); /* Remove the typing animation properties */ white-space: normal; border-right: none; width: auto; /* New animation */ animation: fadeSlideUp 1.2s ease-out forwards; }@keyframes fadeSlideUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } } .heading-text h3 { text-align: center; margin-top: 0.5rem; font-family: "Smooch Sans", sans-serif; letter-spacing: 0.5px; font-size: 2rem; background: linear-gradient(to bottom, #ff0000, #da5353) ; -webkit-background-clip: text; opacity: 0; color:transparent; } .heading-text p { text-align: center; margin-top: 1.5rem; font-family: "Smooch Sans", sans-serif; letter-spacing: 0.5px; font-size: 2rem; background: linear-gradient(to top, #8164ce, #6e53da) ; -webkit-background-clip: text; opacity: 0; color:transparent; } .heading-text h3 { opacity: 0; transform: translateY(20px); animation: fadeSlideUp 1.2s ease-out 0.3s forwards; } .heading-text p { opacity: 0; transform: translateY(20px); animation: fadeSlideUp 1.2s ease-out 0.6s forwards; } .mascot-container { position: fixed; bottom: 20px; left: -200px; /* start fully off-screen */ z-index: 1000; animation: slideIn 1s ease-out forwards; } @keyframes slideIn { to { left: -3.7rem; /* end here */ } } .mascot-image { width: 200px; display: block; /* Idle bob animation */ animation: idle-bob 4s ease-in-out infinite; transition: transform 0.3s ease, filter 0.3s ease; } /* Hover scale + rotate + glow */ .mascot-image:hover { transform: scale(1.2) rotate(-5deg); filter: drop-shadow(0 0 15px rgba(110, 83, 218, 0.6)); animation: hover-bounce 0.6s ease; } /* Quick up-and-down bounce */ @keyframes hover-bounce { 0% { transform: scale(1.2) translateY(0) rotate(-5deg); } 50% { transform: scale(1.2) translateY(-10px) rotate(-5deg); } 100% { transform: scale(1.2) translateY(0) rotate(-5deg); } } /* Idle bobbing */ @keyframes idle-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(0deg); } } /* Projects Section Styling */ .tech-stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 2rem; margin-bottom: 4rem; } /* Project Card Styling */ .project-card { background: linear-gradient(145deg, #1a1a1a, #131313); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 1.8rem; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); height: 100%; display: flex; flex-direction: column; } .project-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.2s quick; } .project-card:before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%); transform: rotate(30deg); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .project-card:hover:before { opacity: 1; } .project-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; } .project-card h3 { font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.8rem; margin-bottom: 0.8rem; background: linear-gradient(to right, #ffffff, #a0a0a0); -webkit-background-clip: text; color: transparent; transition: all 0.3s ease; } .project-card:hover h3 { background: linear-gradient(to right, #ffffff, #cccccc); -webkit-background-clip: text; } .project-card p { font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.1rem; line-height: 1.5; color: #b0b0b0; margin-bottom: 1.5rem; flex-grow: 1; } /* Tech Stack Styling */ .tech-stack { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } .tech-icon { background-color: rgba(255, 255, 255, 0.05); border-radius: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .tech-icon i { font-size: 1.5rem; color: #cccccc; } .tech-icon:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-3px); } /* Technology-specific icon colors */ .devicon-python-plain { color: #3776AB; } .devicon-tensorflow-original { color: #FF6F00; } .devicon-flask-original { color: #ffffff; } .devicon-huggingface-plain { color: #FFD21E; } .devicon-cplusplus-plain { color: #00599C; } .devicon-c-plain { color: #A8B9CC; } .devicon-git-plain { color: #F05032; } .devicon-html5-plain { color: #E34F26; } .devicon-css3-plain { color: #1572B6; } .devicon-javascript-plain { color: #F7DF1E; } .devicon-bootstrap-plain { color: #7952B3; } /* Project Links */ .project-links { display: flex; gap: 1rem; margin-top: auto; } .demo-btn, .github-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.6rem 1.2rem; border-radius: 6px; font-family: "Special Gothic Expanded One", sans-serif; font-size: 1.1rem; font-weight: bold; text-decoration: none; transition: all 0.3s ease; cursor: pointer; letter-spacing: 0.5px; } .demo-btn { background: linear-gradient(45deg, #4a4a4a, #2a2a2a); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.1); } .github-btn { background: transparent; color: #b0b0b0; border: 1px solid rgba(255, 255, 255, 0.1); } .demo-btn:hover { background: linear-gradient(45deg, #555555, #333333); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .github-btn:hover { background: rgba(255, 255, 255, 0.05); color: #ffffff; transform: translateY(-2px); } /* Contact Section */ .contact-form { max-width: 600px; width: 100%; } .contact-form form { display: flex; flex-direction: column; gap: 1rem; } .contact-form input, .contact-form textarea { padding: 1rem; background-color: rgba(50, 50, 51, 0.8); border: 1px solid #333; border-radius: 4px; color: white; font-family: Arial, sans-serif; } .contact-form textarea { min-height: 150px; resize: vertical; } footer { text-align: center; padding: 2rem; background-color: #0a0a0a; font-family: "Special Gothic Expanded One", sans-serif; } .roadmap-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 2rem auto; } .roadmap-btn { background-color: rgb(50, 50, 51); border: 0.05rem solid white; color: #ffffff; padding: 0.5rem 1rem; font-size: clamp(1rem, 1.5vw, 1.5rem); border-radius: 5px; cursor: pointer; font-family: "Special Gothic Expanded One", sans-serif; width: 100%; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: all 0.3s ease; margin-top: 2rem; } .roadmap-btn:hover { background-color: rgb(143, 143, 143); transform: scale(1.05); } /* Sliding Animation Base Styles */ #about, #projects, #contact { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; } #about.animated, #projects.animated, #contact.animated { opacity: 1; transform: translateY(0); } /* Cascade effect for project cards */ .project-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border 0.3s ease; transition-delay: 0.2s; } .project-card:nth-child(2) { transition-delay: 0.3s; } .project-card:nth-child(3) { transition-delay: 0.4s; } .project-card.animated { opacity: 1; transform: translateY(0); } /* Preserve existing hover effects by separating them */ .project-card:hover { transform: translateY(-10px) !important; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); } /* Form elements animation */ .contact-form input, .contact-form textarea, .contact-form button { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s ease; } .contact-form.animated input, .contact-form.animated textarea, .contact-form.animated button { opacity: 1; transform: translateY(0); } .contact-form.animated input:nth-child(1) { transition-delay: 0.2s; } .contact-form.animated input:nth-child(2) { transition-delay: 0.3s; } .contact-form.animated textarea { transition-delay: 0.4s; } .contact-form.animated button { transition-delay: 0.5s; } /* Make sure the about section content animates nicely */ .about-content { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; transition-delay: 0.2s; } .about-content.animated { opacity: 1; transform: translateY(0); } .education-highlight { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; transition-delay: 0.4s; } .education-highlight.animated { opacity: 1; transform: translateY(0); } @media (max-width: 768px) { .cta-button { padding: 0.8rem 1.8rem; font-size: 1.1rem; } .nav-links { position: fixed; top: -100%; left: 0; height: 100vh; width: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); flex-direction: column; justify-content: center; align-items: center; transition: all 0.5s ease; opacity: 0; display: flex; z-index: 100; } .logo { position: absolute; left: 15%; transform: translateX(-50%); } .watermark { position: absolute; font-size: 1.8rem; right: 5%; } .login-btn { background: #ffffff; color: #111111; border: none; padding: 0.25rem 0.5rem; font-size: 1em; font-weight: bold; border-radius: 4px; cursor: pointer; transition: background 0.3s ease; } .nav-links li { transform: translateY(-20px); opacity: 0; transition: all 0.5s ease; } .nav-links.active { top: 0; opacity: 1; } .nav-links.active li { transform: translateY(0); opacity: 1; transition-delay: 0.3s; } .nav-links a { color: #ffffff; font-size: 2rem; padding: 1rem; font-weight: bold; } /* Active link for mobile */ .nav-links a.active { color: #ffffff; font-size: 2.2rem; text-decoration: underline; } .hamburger { display: block; z-index: 1000; margin-right: 1.4rem; cursor: pointer; } .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); } .hamburger.active span:nth-child(2) { opacity: 0; } .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -5px); } .heading-text { margin-top: 12%; align-items: center; width: 100%; padding: 0 1rem; } .heading-text h1 { display: inline-block; text-align: center; font-size: 70px; font-family: "Special Gothic Expanded One", sans-serif; letter-spacing: 2px; background: linear-gradient(to bottom, #fcbfbf, #da5353); -webkit-background-clip: text; color: transparent; opacity: 0; transform: translateY(30px); /* Remove the typing animation properties */ white-space: normal; border-right: none; width: auto; /* New animation */ animation: fadeSlideUp 1.2s ease-out forwards; }@keyframes fadeSlideUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } } .heading-text h3 { font-size: 1.6rem; text-align: center; margin: 0.5rem 0 0 0; } /* Social Icons Responsive */ .social-icons { gap: 1.2rem; margin-top: 1.5rem; } .social-icons a { width: 40px; height: 40px; } .social-icons a i { font-size: 1.2rem; } .spotlight { display: none; } .roadmap-container { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: auto; } .roadmap-btn { width: 100%; transform: scale(1.75); } .section { padding-top: 100px; } /* About content responsive */ .about-content { flex-direction: column; align-items: center; } .about-text { width: 100%; margin-bottom: 1rem; } .education-highlight { width: 100%; margin-left: 0; text-align: center; } .tech-stack-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1rem; } #projects h2 { font-size: 2.5rem; margin-bottom: 1.5rem; } .project-card { width: 100%; padding: 1.5rem; } .project-card h3 { font-size: 1.6rem; } } /* Small phone screens */ /* Update this section in your CSS file */ @media (max-width: 480px) { .cta-button { padding: 0.7rem 1.5rem; font-size: 1rem; width: 80%; margin: 2rem auto 0; } .heading-text h1 { font-size: 2.3rem; text-align: center; /* Remove typing animation specific properties */ width: auto; white-space: normal; border-right: none; /* Replace with fade animation */ animation: fadeSlideUp 1.2s ease-out forwards; } /* Rest of your mobile styles... */ .disclaimer-badge { background-color: #ffedd5; color: #9a3412; padding: 16px 8px; border-radius: 50px; font-size: 1.5rem; font-weight: bold; text-align: center; font-family: "Smooch Sans", sans-serif; margin-top: 1.5rem; width: 50%; margin-left: 25%; } .disclaimer-badge span { margin-left: 4px; } .heading-text h3 { font-size: 2.3rem; } .heading-text p { font-size: 2rem; } .social-icons { gap: 3rem; } .social-icons a { width: 35px; height: 35px; } .social-icons a i { font-size: 2.3rem; } .about-text, .education-highlight { font-size: 1rem; } .tech-stack-grid { padding: 0 0.5rem; } #projects h2 { font-size: 2rem; } .stack-card { padding: 1rem; transform: scale(0.9); } .stack-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; } .stack-card p { font-size: 1rem; margin-bottom: 1rem; } /* Make tech stack icons smaller */ .tech-stack { gap: 0.5rem; margin-bottom: 1rem; } .tech-icon { width: 32px; height: 32px; } .tech-icon i { font-size: 1.2rem; } /* Improve button layout for tiny screens */ .project-links { flex-direction: column; gap: 0.5rem; } .demo-btn, .github-btn { width: 100%; padding: 0.5rem 1rem; font-size: 0.9rem; justify-content: center; } }