/* ===== GENERAL STYLES ===== */ :root { --primary-color: #007bff; --primary-color-dark: #0056b3; --primary-color-light: #e0f0ff; --secondary-color: #6c757d; --dark-color: #343a40; --light-color: #f8f9fa; --success-color: #28a745; --danger-color: #dc3545; --warning-color: #ffc107; --info-color: #17a2b8; --body-color: #f8f9fa; --text-color: #333333; --border-color: #dee2e6; --transition: all 0.3s ease; --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); --border-radius: 5px; --border-radius-lg: 12px; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; height: 100%; } body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--body-color); overflow-x: hidden; min-height: 100%; } h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; } a { text-decoration: none; color: var(--primary-color); transition: var(--transition); } a:hover { color: var(--primary-color-dark); } img { max-width: 100%; height: auto; display: block; } ul { list-style: none; } section { padding: 80px 0; position: relative; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Enhanced button styles */ .btn { display: inline-block; padding: 12px 28px; border-radius: 30px; font-weight: 500; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: none; position: relative; overflow: hidden; z-index: 1; font-size: 1rem; letter-spacing: 0.5px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent); transform: translateX(-100%); transition: 0.6s; z-index: -1; } .btn:hover::before { transform: translateX(100%); } .btn-primary { background-color: var(--primary-color); color: white; } .btn-primary:hover { background-color: var(--primary-color-dark); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3); } .btn-secondary { background-color: var(--secondary-color); color: white; } .btn-secondary:hover { background-color: #5a6268; color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(108, 117, 125, 0.3); } .section-header { text-align: center; margin-bottom: 60px; position: relative; } .section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark-color); position: relative; display: inline-block; } .section-header h2::before, .section-header h2::after { content: ''; position: absolute; width: 40px; height: 3px; background-color: var(--primary-color); bottom: -10px; transition: all 0.6s ease; } .section-header h2::before { left: 50%; transform: translateX(-125%); } .section-header h2::after { right: 50%; transform: translateX(125%); } .section-header:hover h2::before { transform: translateX(-175%); } .section-header:hover h2::after { transform: translateX(175%); } .underline { height: 4px; width: 60px; background-color: var(--primary-color); margin: 0 auto; position: relative; overflow: hidden; } .underline::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent); transform: translateX(-100%); } .section-header:hover .underline::before { animation: shimmer 2s infinite; } @keyframes shimmer { 100% { transform: translateX(100%); } } /* ===== NAVBAR ===== */ .navbar { position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.98); z-index: 1000; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); padding: 15px 0; transition: all 0.4s ease; } .navbar.sticky { padding: 10px 0; background-color: white; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .navbar .container { display: flex; justify-content: space-between; align-items: center; } .logo a { font-size: 1.8rem; font-weight: 700; color: var(--dark-color); font-family: 'Poppins', sans-serif; transition: all 0.3s ease; position: relative; padding-left: 8px; } .logo a::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 70%; background-color: var(--primary-color); transform: translateY(-50%); border-radius: 2px; transition: all 0.3s ease; } .logo a:hover { color: var(--primary-color); } .logo a:hover::before { height: 90%; background-color: var(--primary-color-dark); } .nav-menu { display: flex; } .nav-menu li { margin-left: 30px; } .nav-menu li a { color: var(--dark-color); font-weight: 500; padding: 5px 0; position: relative; font-size: 1.05rem; } .nav-menu li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition); transform-origin: left; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.3s ease-out; } .nav-menu li a:hover::after, .nav-menu li a.active::after { width: 100%; transform: scaleX(1); } .nav-menu li a:hover, .nav-menu li a.active { color: var(--primary-color); } .menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--dark-color); transition: all 0.3s ease; } .menu-toggle:hover { color: var(--primary-color); } /* ===== HERO SECTION ===== */ .hero { height: 100vh; background-size: cover; background-position: center; background-attachment: fixed; display: flex; align-items: center; position: relative; color: white; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.3), transparent 60%); z-index: 1; } .hero-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); position: relative; display: inline-block; } .hero-content p { font-size: 1.4rem; margin-bottom: 30px; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); opacity: 0.9; max-width: 80%; margin-left: auto; margin-right: auto; } .cta-buttons { margin-top: 30px; } .cta-buttons .btn { margin: 0 10px; } .scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; } .scroll-down a { color: white; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); border-radius: 50%; transition: all 0.3s ease; } .scroll-down a:hover { background-color: var(--primary-color); transform: scale(1.1); } /* ===== ABOUT SECTION ===== */ .about { position: relative; overflow: hidden; } .about::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at bottom left, rgba(0, 123, 255, 0.05), transparent 60%); z-index: 0; } .about-content { display: flex; flex-wrap: wrap; gap: 50px; position: relative; z-index: 1; } .about-image { flex: 1; min-width: 300px; position: relative; } .profile-img { border-radius: var(--border-radius-lg); box-shadow: var(--card-shadow); transition: all 0.5s ease; position: relative; } .about-image::before { content: ''; position: absolute; width: 90%; height: 90%; border: 3px solid var(--primary-color); border-radius: var(--border-radius-lg); top: 20px; left: 20px; z-index: -1; opacity: 0.3; transition: all 0.5s ease; } .about-image:hover::before { top: 10px; left: 10px; opacity: 0.6; } .about-text { flex: 2; min-width: 300px; } .about-text h3 { font-size: 1.8rem; margin-bottom: 20px; position: relative; display: inline-block; } .about-text h3::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 50px; height: 3px; background-color: var(--primary-color); transition: width 0.3s ease; } .about-text:hover h3::after { width: 75px; } .about-text p { margin-bottom: 18px; line-height: 1.8; color: #555; } .personal-info { margin: 25px 0; background-color: rgba(255, 255, 255, 0.8); padding: 20px; border-radius: var(--border-radius); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .info-item { margin-bottom: 15px; display: flex; } .info-title { font-weight: 600; margin-right: 10px; min-width: 120px; display: flex; align-items: center; } .info-title i { margin-right: 10px; color: var(--primary-color); font-size: 1.1rem; } .info-value { color: #555; } .social-links { margin-top: 25px; } .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background-color: var(--primary-color); color: white; margin-right: 12px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2); } .social-links a:hover { transform: translateY(-5px) rotate(10deg); background-color: var(--primary-color-dark); box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4); } .social-links a i { font-size: 1.1rem; } /* ===== SKILLS SECTION ===== */ .skills { background-color: #f9f9f9; position: relative; overflow: hidden; } .skills::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background-color: rgba(0, 123, 255, 0.05); z-index: 0; } .skills::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 300px; height: 300px; border-radius: 50%; background-color: rgba(0, 123, 255, 0.03); z-index: 0; } .skill-category { margin-bottom: 50px; position: relative; z-index: 1; } .skill-category h3 { font-size: 1.6rem; margin-bottom: 25px; text-align: center; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); } .skill-category h3::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary-color), transparent); } .skill-items { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; } .skill-item { background-color: white; border-radius: var(--border-radius-lg); padding: 28px 25px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07); width: calc(33.33% - 25px); min-width: 250px; text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(0, 0, 0, 0.03); position: relative; overflow: hidden; } .skill-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark)); transform: translateY(-100%); transition: all 0.3s ease; } .skill-item:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); } .skill-item:hover::before { transform: translateY(0); } .skill-icon { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 20px; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); display: inline-block; } .skill-item:hover .skill-icon { transform: rotateY(180deg); color: var(--primary-color-dark); } .skill-item h4 { margin-bottom: 15px; font-size: 1.2rem; transition: all 0.3s ease; } .skill-item:hover h4 { color: var(--primary-color); } .progress-bar { width: 100%; height: 8px; background-color: #e9ecef; border-radius: 4px; overflow: hidden; margin-top: 15px; position: relative; } .progress { height: 100%; width: 0; /* Will be animated by JS */ background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark)); border-radius: 4px; position: relative; } .progress::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); } /* ===== PROJECTS SECTION ===== */ .projects { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f9f9f9); } .projects::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background-color: rgba(0, 123, 255, 0.05); top: 50px; left: -50px; z-index: 0; } .projects::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background-color: rgba(0, 123, 255, 0.03); bottom: -150px; right: -150px; z-index: 0; } .projects-filter { margin-bottom: 40px; text-align: center; position: relative; z-index: 1; } .filter-btn { background: none; border: none; cursor: pointer; padding: 10px 20px; font-size: 1rem; font-weight: 500; margin: 0 8px 10px; transition: all 0.3s ease; border-radius: 30px; color: var(--dark-color); position: relative; overflow: hidden; background-color: rgba(255, 255, 255, 0.8); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); } .filter-btn:hover, .filter-btn.active { background-color: var(--primary-color); color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); } .projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 35px; position: relative; z-index: 1; } .project-item { border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); background-color: white; border: 1px solid rgba(0, 0, 0, 0.05); position: relative; } .project-item:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); } .project-img { position: relative; overflow: hidden; height: 250px; } .project-img img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; } .project-item:hover .project-img img { transform: scale(1.1); } .project-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0, 123, 255, 0.9), rgba(0, 123, 255, 0.7)); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.4s ease; } .project-item:hover .project-overlay { opacity: 1; } .project-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background-color: white; color: var(--dark-color); border-radius: 50%; margin: 0 5px; transition: all 0.3s ease; } .project-links a:hover { background-color: var(--dark-color); color: white; transform: translateY(-5px); } .project-info { padding: 25px; } .project-info h3 { font-size: 1.3rem; margin-bottom: 12px; transition: all 0.3s ease; } .project-item:hover .project-info h3 { color: var(--primary-color); } .project-info p { color: #666; margin-bottom: 18px; line-height: 1.6; } .project-tags { display: flex; flex-wrap: wrap; gap: 10px; } .project-tags span { background-color: var(--primary-color-light); color: var(--primary-color-dark); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; transition: all 0.3s ease; } .project-tags span:hover { transform: translateY(-3px); background-color: var(--primary-color); color: white; box-shadow: 0 5px 10px rgba(0, 123, 255, 0.2); } /* ===== EXPERIENCE SECTION ===== */ .experience { background-color: #f9f9f9; position: relative; overflow: hidden; } .experience::before { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 123, 255, 0.03), transparent); top: 0; left: 0; } .timeline { position: relative; max-width: 1000px; margin: 0 auto; } .timeline::before { content: ''; position: absolute; width: 3px; background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-dark)); top: 0; bottom: 0; left: 50%; margin-left: -1.5px; border-radius: 3px; } .timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; margin-bottom: 40px; } .timeline-item:nth-child(odd) { left: 0; } .timeline-item:nth-child(even) { left: 50%; } .timeline-dot { position: absolute; width: 22px; height: 22px; right: -11px; background-color: white; border: 3px solid var(--primary-color); border-radius: 50%; z-index: 1; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); } .timeline-item:nth-child(even) .timeline-dot { left: -11px; } .timeline-content { padding: 25px; background-color: white; position: relative; border-radius: var(--border-radius-lg); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.4s ease; } .timeline-content::before { content: ''; position: absolute; top: 20px; width: 0; height: 0; border-style: solid; } .timeline-item:nth-child(odd) .timeline-content::before { right: -15px; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent white; } .timeline-item:nth-child(even) .timeline-content::before { left: -15px; border-width: 10px 15px 10px 0; border-color: transparent white transparent transparent; } .timeline-date { display: inline-block; background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark)); color: white; padding: 7px 18px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 18px; box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2); } .timeline-content h3 { font-size: 1.4rem; margin-bottom: 5px; color: var(--dark-color); } .timeline-content h4 { font-size: 1rem; color: var(--primary-color); margin-bottom: 15px; font-weight: 500; } .timeline-content p { color: #666; line-height: 1.6; } .timeline-content ul { margin-top: 15px; padding-left: 20px; } .timeline-content ul li { margin-bottom: 8px; position: relative; padding-left: 15px; color: #555; } .timeline-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background-color: var(--primary-color); border-radius: 50%; } .timeline-item:hover .timeline-content { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); } /* ===== CONTACT SECTION ===== */ .contact { background-color: #f9f9f9; position: relative; overflow: hidden; } .contact::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.05) 0%, transparent 60%); z-index: 0; } .contact::after { content: ''; position: absolute; width: 300px; height: 300px; background-color: rgba(0, 123, 255, 0.03); border-radius: 50%; bottom: -150px; left: -150px; z-index: 0; } .contact .container { position: relative; z-index: 1; } .contact-container { max-width: 800px; margin: 0 auto; } .contact-message-card { background: white; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; padding: 50px 40px; text-align: center; border: 1px solid rgba(0, 0, 0, 0.05); position: relative; } .contact-message-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 100%); z-index: -1; } .contact-message-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); } .contact-message h3 { font-size: 2rem; margin-bottom: 20px; color: var(--dark-color); font-weight: 700; } .contact-message p { margin-bottom: 10px; color: #666; font-size: 1.2rem; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; } #email-button { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark)); color: white; border-radius: 12px; font-weight: 600; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-decoration: none; font-size: 2rem; padding: 12px 30px; box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4); position: relative; overflow: hidden; margin: 15px 0 35px; border: 2px solid transparent; } #email-button:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(0, 123, 255, 0.5); border-color: rgba(255, 255, 255, 0.2); } #email-button::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent); transform: translateX(-100%); transition: transform 0.6s ease; } #email-button:hover::before { transform: translateX(100%); } .button-text { position: relative; z-index: 2; } .cta-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark)); color: white; border-radius: 30px; font-weight: 500; transition: all 0.4s ease; text-decoration: none; font-size: 1.05rem; margin-top: 10px; gap: 10px; box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3); } .cta-button i { font-size: 0.9rem; } .cta-button:hover { background: var(--primary-color-dark); transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4); color: white; } .cta-note { margin-top: 20px; font-size: 0.85rem; color: #888; font-style: italic; } .contact-message .social-links { margin-top: 30px; display: flex; justify-content: center; gap: 15px; } .contact-message .social-links a { width: 45px; height: 45px; background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); } .contact-message .social-links a:hover { transform: translateY(-8px) rotate(10deg); box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4); } /* ===== FOOTER ===== */ .footer { background: linear-gradient(to right, #343a40, #23272b); color: white; padding: 40px 0; position: relative; overflow: hidden; } .footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark)); } .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .copyright p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); } .footer-links { display: flex; flex-wrap: wrap; } .footer-links a { color: rgba(255, 255, 255, 0.7); margin-left: 25px; font-size: 0.9rem; transition: all 0.3s ease; position: relative; } .footer-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background-color: var(--primary-color); transition: width 0.3s ease; } .footer-links a:hover { color: white; } .footer-links a:hover::after { width: 100%; } /* ===== BACK TO TOP BUTTON ===== */ .back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 999; box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); } .back-to-top.show { opacity: 1; pointer-events: auto; } .back-to-top:hover { background: var(--primary-color-dark); color: white; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 123, 255, 0.5); } /* ===== RESPONSIVE STYLES ===== */ @media screen and (max-width: 992px) { .section-header h2 { font-size: 2.2rem; } .timeline-item { width: 100%; padding-left: 80px; padding-right: 25px; } .timeline-item:nth-child(even) { left: 0; } .timeline::before { left: 30px; } .timeline-dot { left: 20px; right: auto; } .timeline-item:nth-child(even) .timeline-dot { left: 20px; } .timeline-item:nth-child(even) .timeline-content::before { left: -15px; border-width: 10px 15px 10px 0; border-color: transparent white transparent transparent; } .projects-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } } @media screen and (max-width: 768px) { .hero-content h1 { font-size: 2.5rem; } .hero-content p { font-size: 1.1rem; max-width: 90%; } .menu-toggle { display: block; } .nav-menu { position: fixed; top: 70px; right: -100%; width: 80%; height: calc(100vh - 70px); background-color: white; flex-direction: column; align-items: center; padding: 40px 0; transition: all 0.4s ease; box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1); z-index: 1000; overflow-y: auto; } .nav-menu.active { right: 0; } .nav-menu li { margin: 15px 0; } .nav-menu li a { font-size: 1.1rem; } .about-content, .contact-content { flex-direction: column; } section { padding: 60px 0; } .skill-item { width: calc(50% - 20px); } .contact-message-card { padding: 30px 20px; } .contact-message h3 { font-size: 1.6rem; } #email-button { font-size: 1.5rem; padding: 10px 20px; } .footer-content { flex-direction: column; text-align: center; gap: 15px; } .footer-links { justify-content: center; margin-top: 10px; } .footer-links a { margin: 0 10px; } } @media screen and (max-width: 576px) { section { padding: 50px 0; } .hero-content h1 { font-size: 2rem; } .hero-content p { font-size: 1rem; max-width: 100%; } .section-header h2 { font-size: 1.8rem; } .section-header { margin-bottom: 40px; } .about-text h3 { font-size: 1.5rem; } .skill-item { width: 100%; } .cta-buttons .btn { display: block; width: 80%; margin: 10px auto; } .projects-filter .filter-btn { margin-bottom: 10px; } .projects-grid { grid-template-columns: 1fr; } .timeline-content { padding: 20px 15px; } .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; } }