/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0d1117;
    color: #ffffff;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #0d1117;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #61dafb;
    text-shadow: 1px 1px 5px rgba(97,218,251,0.3);
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links ul li a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #61dafb;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: width 0.3s;
}

.nav-links ul li a:hover {
    color: #61dafb;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

/* ========== HOME SECTION ========== */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 60px 140px; /* ↑ Increased top & bottom padding */
    background-color: #161b22;
    gap: 100px;
    flex-wrap: wrap;
}


.profile-pic {
    width: 360px;   /* increased from 320px */
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #3fbfff;
    box-shadow: 0 12px 25px rgba(63, 191, 255, 0.3);
}


.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    max-width: 520px;
    color: #ffffff;
    animation: floatInRight 1.2s ease forwards;
    text-align: left;
}

.home-right-inner {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Gap between each text block and button */
    align-items: flex-start;
}




.home-right h1 {
    font-size: 44px;  /* was 40 or 36px */
    color: #3fbfff;
    margin-bottom: 10px;
}


.typing-text {
    font-size: 22px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 10px;
}

.download-resume-btn {
    margin-top: 16px;
    margin-left: 100px;   /* 👉 This pushes it to the right */
    padding: 12px 24px;
    background: linear-gradient(135deg, #3fbfff, #61dafb);
    color: #0d1117;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(63, 191, 255, 0.3);
    display: inline-block;
}


.download-resume-btn:hover {
    background: #ffffff;
    color: #0d1117;
    box-shadow: 0 0 15px #3fbfff;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background-color: #0d1117;
    padding: 100px 60px;
    color: #ffffff;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #3fbfff;
    border-bottom: 2px solid #3fbfff;
    display: inline-block;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, #0d1117, #161b22);
    padding: 100px 60px;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.contact-container {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Section Title */
.section-title {
    font-size: 36px;
    color: #61dafb;
    margin-bottom: 30px;
    border-bottom: 2px solid #61dafb;
    display: inline-block;
    text-shadow: 0 0 10px rgba(97, 218, 251, 0.2);
}

/* Left Side (Form) */
.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    padding: 14px 18px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
    font-family: inherit;
    outline: none;
    border: 1px solid transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #61dafb;
    box-shadow: 0 0 10px rgba(97, 218, 251, 0.2);
}

.contact-form button {
    background: linear-gradient(135deg, #3fbfff, #61dafb);
    color: #0d1117;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button:hover {
    background: #ffffff;
    color: #0d1117;
    box-shadow: 0 0 15px #61dafb;
}

/* Right Side (Info) */
.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-info {
    width: 100%;
    padding-top: 60px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #d1d5db;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.contact-info .icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    filter: brightness(1.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
@media (max-width: 768px) {

  /* === NAVBAR === */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .nav-links ul {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }

  /* === HOME SECTION === */
  .home-section {
    flex-direction: column;
    padding: 100px 30px 60px;
    text-align: center;
    gap: 30px;
  }

  .home-left,
  .home-right {
    align-items: center;
    justify-content: center;
  }

  .profile-pic {
    width: 250px;
    height: 250px;
  }

  .home-right h1 {
    font-size: 28px;
  }

  .home-right p {
    font-size: 16px;
  }

  .download-resume-btn {
    margin: 20px auto 0;
    display: inline-block;
  }

  /* === ABOUT SECTION === */
  .about-section {
    padding: 80px 30px;
    text-align: center;
  }

  .about-section h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* === SKILLS SECTION === */
  /* ===== SKILLS SECTION (Mobile) ===== */
.skills-section {
  padding: 80px 30px;
  text-align: center;
}

.skills-section .section-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.skills-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  background: none;
  border: 2px solid #3fbfff;
  color: #3fbfff;
  font-weight: bold;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #3fbfff;
  color: #0d1117;
}

/* Skill cards as full-width on small screens */
.skills-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.skill-card {
  width: 100%;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
  text-align: center;
}

.skill-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 12px #3fbfff;
  background: rgba(63, 191, 255, 0.08);
}



  /* === PROJECTS SECTION === */
  .projects-section {
    padding: 80px 30px;
  }

  .projects-section .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .project-card-horizontal {
    flex-direction: column;
    min-height: unset;
  }

  .project-img-box {
    width: 100%;
    height: 200px;
  }

  .project-content-box {
    padding: 20px;
    text-align: center;
    align-items: center;
  }

  .project-link {
    justify-content: center;
    margin-top: 10px;
  }

  /* === CERTIFICATES SECTION === */
  .certificates-section {
    padding: 80px 30px;
  }

  .certificates-section .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .certificates-filter {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .cert-btn {
    font-size: 13px;
    padding: 6px 14px;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .certificate-card {
    padding: 16px;
    border-radius: 10px;
  }

  .certificate-card img {
    border-radius: 6px;
    margin-bottom: 10px;
  }

  /* === CONTACT SECTION === */
  .contact-section {
    padding: 80px 30px;
  }

  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    max-width: 100%;
    text-align: center;
  }

  .contact-info {
    padding-top: 20px;
  }

  .contact-info p {
    justify-content: center;
    font-size: 16px;
    gap: 8px;
  }

  .contact-info .icon {
    margin-right: 8px;
    width: 20px;
    height: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }

  .contact-form button {
    font-size: 15px;
  }
}


    
}
/* === SKILLS SECTION === */
.skills-section {
    background-color: #0d1117;
    padding: 100px 60px;
    text-align: center;
    color: #fff;
}

.skills-section .section-title {
    font-size: 36px;
    color: #3fbfff;
    margin-bottom: 30px;
    border-bottom: 2px solid #3fbfff;
    display: inline-block;
}

/* Filter Buttons */
.skills-filter {
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid #3fbfff;
    color: #3fbfff;
    padding: 8px 18px;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3fbfff;
    color: #0d1117;
}

/* Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    justify-content: center;
}

.skill-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

.skill-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px #3fbfff;
    background: rgba(63, 191, 255, 0.08);
}
/* === PROJECTS SECTION === */
.project-card-horizontal {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    min-height: 240px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
}

.project-card-horizontal:hover {
    transform: scale(1.01);
    box-shadow: 0 0 12px rgba(63, 191, 255, 0.3);
}

.project-img-box {
    width: 280px;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content-box {
    flex-grow: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-text h3 {
    font-size: 22px;
    color: #3fbfff;
    margin-bottom: 10px;
}

.project-text p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

.project-link {
    display: flex;
    justify-content: flex-end;
}

.project-report-btn {
    padding: 10px 18px;
    background: #3fbfff;
    color: #0d1117;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-report-btn:hover {
    background: #ffffff;
    color: #0d1117;
    box-shadow: 0 0 10px #3fbfff;
}
@media (max-width: 768px) {
  .project-card-horizontal {
    flex-direction: column;
  }

  .project-img-box {
    width: 100%;
    height: 200px;
  }

  .project-content-box {
    padding: 20px;
    text-align: center;
  }

  .project-link {
    justify-content: center;
  }
  /* ===== CERTIFICATE FILTER - MOBILE STYLES ===== */
.certificates-section {
    padding: 80px 30px;
}

.certificates-section .section-title {
    font-size: 28px;
    margin-bottom: 24px;
}

/* Filter Buttons - Mobile */
.certificates-filter {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.cert-btn {
    font-size: 13px;
    padding: 6px 14px;
    margin: 4px;
}

/* Certificates Grid - 1 per row on small screens */
.certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
}

/* Certificate Card */
.certificate-card {
    padding: 16px;
    border-radius: 10px;
    text-align: center;
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.certificate-card h3 {
    font-size: 15px;
    line-height: 1.4;
    color: #ccc;
}

}


/* === CERTIFICATES SECTION === */
.certificates-section {
    background-color: #0d1117;
    padding: 100px 60px;
    text-align: center;
    color: #ffffff;
}

.certificates-section .section-title {
    font-size: 36px;
    color: #61dafb;
    margin-bottom: 30px;
    border-bottom: 2px solid #61dafb;
    display: inline-block;
}

/* Filter Buttons */
.certificates-filter {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cert-btn {
    background: none;
    border: 2px solid #3fbfff;
    color: #3fbfff;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-btn.active,
.cert-btn:hover {
    background-color: #3fbfff;
    color: #0d1117;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
}

.certificate-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(63, 191, 255, 0.3);
}

.certificate-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
}

.certificate-card h3 {
    font-size: 16px;
    color: #ccc;
}
