:root {
  --bg: #0f0f14;
  --card: #181825;
  --accent: #c77dff; 
  --accent-soft: #f2e9ff;
  --text: #eaeaf0;
  --muted: #a1a1b3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 70px 10%;
}

/* ===== Header ===== */
header {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(15,15,20,0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

nav a {
  margin-left: 25px;
  font-size: 14px;
  color: var(--muted);
}

nav a:hover {
  color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 85vh;
}

.hero h2 {
  font-size: 42px;
  line-height: 1.2;
}

.hero h2 span {
  color: var(--accent);
}

.hero p {
  margin: 20px 0 30px;
  color: var(--muted);
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}





.profile-img img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  display: flex;
  margin-left: 120px;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 0 40px rgba(199,125,255,0.4);
}

    /* ===== Cards ===== */
.what-i-do {
  max-width: 320px;
  margin-top: 90px;
}

.what-i-do h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 18px;
}

.service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service:last-child {
  border-bottom: none;
}

.service span {
  font-size: 18px;
}

.service p {
  font-size: 14px;
  color: var(--accent-soft);
}

.widimg img{
  margin-top: 10px;
  height: 400px;
  width: 350px;
  border-radius: 20px;
}



















    /* ===== Skills ===== */

.skills-hero {
  text-align: center;
  padding: 80px 10% 40px;
  background: linear-gradient(135deg, rgba(199,125,255,0.1) 0%, rgba(15,15,20,0.8) 100%);
}

.skills-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease;
}

.skills-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.download-cv {
  display: inline-block;
  padding: 14px 35px;
  background: var(--accent);
  color: #000;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.download-cv:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(199,125,255,0.4);
}

/* ===== Filter Buttons ===== */
.filter-section {
  padding: 30px 10%;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(24,24,37,0.6);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 25px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ===== Skills Section ===== */
#skills {
  padding: 40px 10% 80px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 40px;
}

.skill-card {
  background: rgba(24, 24, 37, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(199, 125, 255, 0.3);
  text-align: center;
  padding: 30px 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease backwards;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(199,125,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(199, 125, 255, 0.4);
  border-color: var(--accent);
}

.skill-card img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  transition: transform 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.skill-card:hover img {
transform: scale(1.15) rotate(5deg);
}

.skill-card h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.skill-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Progress Bar */
.skill-level {
  margin-top: 15px;
  text-align: left;
}

.level-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  border-radius: 10px;
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(199,125,255,0.5);
}

/* ===== Social Links Section ===== */
  .social-section {
  padding: 60px 10%;
  background: rgba(24,24,37,0.3);
  text-align: center;
}

.social-section h2 {
font-size: 32px;
  color: var(--accent);
  margin-bottom: 15px;
}

.social-section p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-box {
  padding: 30px 40px;
  border-radius: 20px;
  background: rgba(24, 24, 37, 0.8);
  border: 2px solid rgba(199,125,255,0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.social-box:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(199,125,255,0.4);
  background: rgba(199,125,255,0.1);
}

.social-icon {
  font-size: 40px;
  transition: transform 0.3s ease;
}

.social-box:hover .social-icon {
  transform: scale(1.2) rotate(5deg);
}

.social-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.social-handle {
  font-size: 13px;
  color: var(--muted);
}

/* Platform specific colors */


.github:hover { border-color: #ffffff; }
.github:hover .social-icon { color: #ffffff; }

.linkedin:hover { border-color: #0077b5; }
.linkedin:hover .social-icon { color: #0077b5; }

.netlify:hover { border-color: #00c7b7; }
.netlify:hover .social-icon { color: #00c7b7; }

.codepen:hover { border-color: #fcd000; }
.codepen:hover .social-icon { color: #fcd000; }

.email:hover { border-color: #ea4335; }
.email:hover .social-icon { color: #ea4335; }


/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(199,125,255,0.1);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
from {
  opacity: 0;
  transform: translateY(30px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }


.hidden {
  display: none;
}


  


    /* ===== Projects ===== */




.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  align-items: stretch;
}

.project-card {
  background: #181825;
  border-radius: 20px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  height: 100%;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 20px;
  text-align: center;

  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-content h4 {
  color: #c77dff;
  font-size: 18px;
  margin-bottom: 15px;
}

.project-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.project-links a {
  padding: 8px 16px;
  border-radius: 20px;
  background: #c77dff;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.project-links a:hover {
  background: #f2e9ff;
}


       /* ===== Education Hero Section ===== */
.education-hero {
  text-align: center;
  padding: 80px 10% 40px;
  background: linear-gradient(135deg, rgba(199,125,255,0.1) 0%, rgba(15,15,20,0.8) 100%);
}

.education-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--text);
  animation: fadeInUp 0.8s ease;
}

.education-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}




/* ===== Timeline Section ===== */
#education {
  padding: 60px 10% 80px;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(199,125,255,0.3));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
  animation: fadeInUp 0.8s ease backwards;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-content {
  position: relative;
  background: rgba(24, 24, 37, 0.8);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(199,125,255,0.4);
  border-color: var(--accent);
}

.timeline-icon {
  position: absolute;
  top: 30px;
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(199,125,255,0.6);
  z-index: 10;
}

.timeline-item.left .timeline-icon {
  right: -80px;
}

.timeline-item.right .timeline-icon {
  left: -80px;
}

.timeline-date {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 16px;
  color: var(--accent-soft);
  margin-bottom: 15px;
  font-weight: 500;
}

.timeline-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.timeline-item.right .timeline-tags {
  justify-content: flex-start;
}

.timeline-tags span {
  background: rgba(199,125,255,0.2);
  color: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 12px;
  border: 1px solid rgba(199,125,255,0.3);
  transition: all 0.3s ease;
}

.timeline-tags span:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

/* ===== Certificates Section ===== */
.certificates-section {
  padding: 60px 10%;
  background: rgba(24,24,37,0.3);
}

.certificates-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 50px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.certificate-card {
  background: rgba(24, 24, 37, 0.8);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(199,125,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.certificate-card:hover::before {
  opacity: 1;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(199,125,255,0.4);
  border-color: var(--accent);
}

.cert-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s ease;
}

.certificate-card:hover .cert-icon {
  transform: scale(1.2) rotate(10deg);
}

.certificate-card h4 {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 10px;
}

.certificate-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 15px;
}

.cert-year {
  display: inline-block;
  background: rgba(199,125,255,0.2);
  color: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== Animation Delays ===== */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }




/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 25px;
  font-size: 13px;
  color: var(--muted);
}



/* ===== Contact Hero Section ===== */
.contact-hero {
  text-align: center;
  padding: 80px 10% 40px;
  background: linear-gradient(135deg, rgba(199,125,255,0.1) 0%, rgba(15,15,20,0.8) 100%);
}

.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--text);
  animation: fadeInUp 0.8s ease;
}

.contact-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ===== Contact Section ===== */
#contact {
  padding: 60px 10% 80px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ===== Contact Info Cards ===== */
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-card {
  background: rgba(24, 24, 37, 0.8);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease backwards;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(199,125,255,0.4);
  border-color: var(--accent);
}

.info-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.4s ease;
}

.info-card:hover .info-icon {
  transform: scale(1.2) rotate(10deg);
}

.info-card h3 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 15px;
}

.info-btn {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(199,125,255,0.2);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(199,125,255,0.3);
}

.info-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
  background: rgba(24, 24, 37, 0.8);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.contact-form-wrapper h2 {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15,15,20,0.6);
  border: 1px solid rgba(199,125,255,0.3);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(199,125,255,0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(199,125,255,0.5);
}

.btn-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* ===== Social Links Section ===== */
.contact-social {
  padding: 60px 10%;
  background: rgba(24,24,37,0.3);
  text-align: center;
}

.contact-social h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 35px;
  background: rgba(24, 24, 37, 0.8);
  border: 2px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
  min-width: 140px;
}

.social-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(199,125,255,0.4);
  border-color: var(--accent);
}

.social-link .icon {
  font-size: 40px;
  transition: transform 0.3s ease;
}

.social-link:hover .icon {
  transform: scale(1.2) rotate(10deg);
}

.social-link .label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* Platform specific colors */
.github-link:hover { 
  border-color: #ffffff; 
  background: rgba(255,255,255,0.1);
}
.linkedin-link:hover { 
  border-color: #0077b5; 
  background: rgba(0,119,181,0.1);
}
.netlify-link:hover { 
  border-color: #00c7b7; 
  background: rgba(0,199,183,0.1);
}
.email-link:hover { 
  border-color: #ea4335; 
  background: rgba(234,67,53,0.1);
}

/* ===== Location Section ===== */
.location-section {
  padding: 60px 10%;
  text-align: center;
}

.location-section h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 15px;
}

.location-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 10px;
}

.availability {
  display: inline-block;
  background: rgba(199,125,255,0.2);
  color: var(--accent-soft);
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 14px;
  margin-top: 10px;
  border: 1px solid rgba(199,125,255,0.3);
}

/* ===== Animation Delays ===== */
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }










/* Tablets and Medium Devices (max-width: 1024px) */
@media (max-width: 1024px) {
section {
padding: 50px 5%;
}
header {
padding: 15px 5%;
}
.hero {
grid-template-columns: 1fr;
gap: 30px;
text-align: center;
}
.profile-img img {
margin-left: auto;
margin-right: auto;
width: 220px;
height: 220px;
}
.what-i-do {
margin: 30px auto;
max-width: 100%;
}
.widimg img {
width: 100%;
height: auto;
max-width: 400px;
margin: 20px auto;
display: block;
}
.contact-container {
grid-template-columns: 1fr;
gap: 30px;
}
.skills-grid,
.projects {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
}
/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
/* Header Navigation */
header {
flex-direction: column;
gap: 15px;
padding: 15px 5%;
margin-top: 10px;
}
header h1 {
font-size: 20px;
}
nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}
nav a {
margin: 0 8px;
font-size: 13px;
}
/* Hero Section */
.hero {
grid-template-columns: 1fr;
min-height: auto;
padding: 30px 0;
gap: 20px;
}
.hero h2 {
font-size: 28px;
}
.hero p {
font-size: 14px;
max-width: 100%;
}
.btn {
padding: 10px 24px;
font-size: 13px;
}
.profile-img img {
width: 200px;
height: 200px;
margin: 20px auto;
}
.what-i-do {
max-width: 100%;
margin: 30px auto;
}
.widimg img {
width: 100%;
height: auto;
margin-top: 20px;
}
/* Skills Page */
.skills-hero h1,
.education-hero h1,
.contact-hero h1 {
font-size: 32px;
}
.skills-hero p,
.education-hero p,
.contact-hero p {
font-size: 15px;
padding: 0 10px;
}
.skills-hero,
.education-hero,
.contact-hero {
padding: 60px 5% 30px;
}
.download-cv {
padding: 12px 28px;
font-size: 14px;
}
.filter-section {
padding: 20px 5%;
}
.filter-buttons {
gap: 10px;
}
.filter-btn {
padding: 8px 18px;
font-size: 13px;
}
#skills {
padding: 30px 5% 60px;
}
.skills-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.skill-card {
padding: 25px 20px;
}
.skill-card img {
width: 70px;
height: 70px;
}
.social-section {
padding: 40px 5%;
}
.social-links {
flex-direction: column;
align-items: center;
}
.social-box {
width: 100%;
max-width: 300px;
}
/* Projects Page */
.projects {
grid-template-columns: 1fr;
gap: 25px;
}
.project-card img {
height: 180px;
}
.project-content {
padding: 18px;
}
.project-content h4 {
font-size: 17px;
}
.project-content p {
font-size: 13px;
}
.project-links {
flex-direction: column;
gap: 10px;
}
.project-links a {
width: 100%;
padding: 10px 16px;
}
/* Education Page */
#education {
padding: 40px 5% 60px;
}
.timeline::before {
left: 30px;
}
.timeline-item {
width: 100%;
padding-left: 80px;
padding-right: 20px;
left: 0 !important;
text-align: left;
}
.timeline-item.left,
.timeline-item.right {
left: 0;
}
.timeline-item.left .timeline-icon,
.timeline-item.right .timeline-icon {
left: 0;
right: auto;
}
.timeline-content {
padding: 20px;
}
.timeline-content h3 {
font-size: 20px;
}
.timeline-content h4 {
font-size: 15px;
}
.timeline-tags {
justify-content: flex-start !important;
}
.certificates-section {
padding: 40px 5%;
}
.certificates-section h2 {
font-size: 28px;
margin-bottom: 30px;
}
.certificates-grid {
grid-template-columns: 1fr;
}
.certificate-card {
padding: 30px 20px;
}
/* Contact Page */
#contact {
padding: 40px 5% 60px;
}
.contact-container {
grid-template-columns: 1fr;
gap: 30px;
}
.contact-info {
grid-template-columns: 1fr;
}
.contact-form-wrapper {
padding: 25px;
}
.contact-form-wrapper h2 {
font-size: 24px;
}
.form-group label {
font-size: 13px;
}
.form-group input,
.form-group textarea {
padding: 10px 14px;
font-size: 13px;
}
.submit-btn {
padding: 12px;
font-size: 15px;
}
.contact-social {
padding: 40px 5%;
}
.contact-social h2 {
font-size: 28px;
}
.social-icons {
flex-direction: column;
align-items: center;
}
.social-link {
width: 100%;
max-width: 280px;
}
.location-section {
padding: 40px 5%;
}
.location-section h2 {
font-size: 28px;
}
.location-section p {
font-size: 14px;
}
/* Footer */
footer {
padding: 20px 10px;
font-size: 12px;
}
}
/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
header h1 {
font-size: 18px;
}
nav a {
margin: 0 5px;
font-size: 12px;
}
.hero h2 {
font-size: 24px;
}
.hero p {
font-size: 13px;
}
.profile-img img {
width: 180px;
height: 180px;
}
.what-i-do h4 {
font-size: 16px;
}
.service p {
font-size: 13px;
}
.skills-hero h1,
.education-hero h1,
.contact-hero h1 {
font-size: 28px;
}
.skill-card h4 {
font-size: 18px;
}
.skill-card p {
font-size: 13px;
}
.project-card img {
height: 160px;
}
.project-content h4 {
font-size: 16px;
}
.timeline-item {
padding-left: 70px;
padding-right: 15px;
}
.timeline-icon {
width: 50px;
height: 50px;
font-size: 28px;
}
.timeline-content h3 {
font-size: 18px;
}
.timeline-content p {
font-size: 13px;
}
.contact-form-wrapper {
padding: 20px;
}
.social-link {
padding: 20px 25px;
min-width: 120px;
}
.social-link .icon {
font-size: 35px;
}
.social-box {
padding: 25px 30px;
min-width: 140px;
}
.social-icon {
font-size: 35px;
}
.social-name {
font-size: 16px;
}
}
/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
.hero {
min-height: auto;
padding: 20px 0;
}
.profile-img img {
width: 150px;
height: 150px;
}
.skills-hero,
.education-hero,
.contact-hero {
padding: 50px 5% 30px;
}
.what-i-do {
margin-top: 20px;
}
}