/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI',sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}
:root {
--text-color:#fff;
--bg-color:#1b1f24;
--second-bg-color:#22282f;
--main-color:#13bbff;
--other-color:#c3cad5;

--h1-font:4.5rem;
--h2-font:2.9rem;
--p-font:1rem;
}
span {
    color: var(--main-color);
}

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

/* Navbar Start */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  transition: all .50s ease;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem .3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: bold;
}

.nav-links a {
  margin-left: 1.5rem;
  color: #ccd6f6;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000;
  text-shadow: 3px 3px 20px var(--main-color), -2px 1px 30px var(--main-color);
}

.cv-btn {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cv-btn:hover {
  background: var(--main-color);
  color: #000;
  box-shadow: 0 0 20px var(--main-color);
  transform: scale(1.1);
}
/* Navbar End */
.navbar.sticky {
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem rgba(0,0,0,.2);
    padding: 8px 3%;
    transition: all 0.3s ease;
}

section {
    padding: 110px 6% 90px;
}
/* hero section */
.hero {
    height: 100vh;
    width: 100%;
    background: url("./img/background5.37e02bd0d57c.jpg");
    background-position: top right;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.main-content h4 {
color: #c3cad5;
    font-size: 1.6rem;
}
.main-content h1 {
	color: var(--text-color);
    font-size: var(--h1-font);
    font-weight: 900;
    margin: 20px 0px 20px;
    line-height: 1.2;
}
.main-content p {
    font-size: var(--p-font);
    font-weight: 400;
    width: 620px;
    max-width: 100%;
    color: var(--other-color);line-height: 30px;
    margin-bottom: 15px;

}
.social {
    margin-bottom: 40px;
}
.social i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--main-color);
    border-radius: 50%;
    backdrop-filter: brightness(88%);
    font-size: 20px;
    margin-right: 17px;
    box-shadow: 0 0 20px transparent;
    cursor: pointer;
    transition: all .50s ease;
}
.social i:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--main-color);
}
.btn {
    display: inline-block;
    padding: 11px 26px;
    background:var(--main-color) ;
    color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: all .50s ease;
}
.btn:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}
.btn2 {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    margin-left: 15px;
    transition: all .50s ease;
}
.btn2:hover {
    background: var(--main-color);
    color: var(--bg-color);
}
/* hero section end*/


.about {
    background: var(--second-bg-color);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 1rem;
}
.about-img img {
    width: 100%;
    height: 530px;
    max-width: 530px;
    border-radius: 50%;
    object-fit: cover;
    border: 7px solid var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
}
.about-text h2 {
    font-size: var(--h2-font);
    line-height: 1.3;
    margin-bottom: 20px;
}
.exp-area {
    margin-bottom: 50px;
}
.exp-area p {
    color: var(--text-color);
    font-weight: 600;
    font-size: 19px;

    line-height: 42px;
}
.exp-area p span {
    color: var(--other-color);
    font-size: var(--p-font);
    font-weight:400 ;
    margin-left: 8px ;
}
.center-text {
    text-align: center;
}
.center-text h2 {
	margin-bottom: 10px;
    font-size: var(--h2-font);
	position: relative;
	display: inline-block;
	color: #fff;
}

.center-text h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: var(--main-color); /* Fallback if --main-color is not set */
  box-shadow: 0 0 2px var(--main-color), 0 0 16px var(--main-color);
  border-radius: 4px;
}

.education-section {
  background: var(--bg-color);
  color: #ccd6f6;
  padding: 50px 1rem;
}

.education-container {
  max-width: 1185px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  padding-top: 50px;
}

.education-item {
  background-color: #2d343f;
  padding: 1.5rem 2rem;
  border-left: 4px solid #64ffda;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 0 5px var(--main-color);
  transition: all 0.5s ease;
  cursor: pointer;
}

.education-item:hover {
  border: 1px solid var(--main-color);
  transform: translateY(-5px) scale(1.03);
}

.education-item h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.education-institute {
  font-size: 1.1rem;
  color: #8892b0;
}

.education-duration {
  font-size: 0.95rem;
  color: #a8b2d1;
  margin-bottom: 1rem;
}

.education-details {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}
/* Education End */

/* Skill Start */
.skills-section {
  background-color: var(--second-bg-color);
  color: var(--text-color);
  padding: 50px 1rem;
}

.skills-container {
  max-width: 1185px;
  margin: 0 auto;
  padding-top: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, auto));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.skill-card {
  width: 140px;
  height: 120px;
  background-color: var(--bg-color);
  border: 2px solid var(--main-color);
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
  color: #64ffda;
  cursor: pointer;
  box-shadow:  0 0 5px var(--main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
  transition: 0.3s ease;
  
}
.skill-card:hover img {
  filter: drop-shadow(0 0 10px var(--main-color));
}
.skill-card:hover {
  background-color: #0f2027;
  box-shadow: 0 0 12px var(--main-color);
  transform: translateY(-10px);
}

/* Skill End */

/* Project Start */
.portfolio {
    background: var(--bg-color);
	padding-top: 60px;
}
.Portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,auto));
    align-items: center;
    gap: 2.3rem;
    margin-top: 4.2rem;
}
.row img {
    height: auto;
    width: 100%;
    border-radius: 28px;
    margin-bottom: 1.4rem;
}
.row {
    background: #2d343f;
    border-radius: 28px;
    border: 1px solid transparent;
    box-shadow: 0 0 5px var(--main-color);
    padding: 20px;
    transition: all .50s ease;
}
.main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.row h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--other-color);
}
.row i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 27px;
    border-radius: 50%;
    color: var(--text-color);
    background: #075fe4;
    
}
.row h4 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom:10px 
    ;
    line-height: 1.4;
}
.row:hover {
    border: 1px solid var(--main-color);
    transform: translateY(-5px) scale(1.03);
    cursor: pointer;
}

/* Project End */

/* Achivements Start */
.extras-section {
  background-color: var(--second-bg-color);
  color: #ccd6f6;
  padding: 50px 2rem;
}

.extras-container {
  max-width: 1185px;
  margin: 0 auto;
  padding-top: 20px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.extras-card {
  background-color: var(--bg-color);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 5px var(--main-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.extras-card:hover {
  border: 1px solid var(--main-color);
  transform: translateY(-5px) scale(1.03);
}

.extras-card h3 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.extras-card ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

.extras-card li {
  margin-bottom: 0.6rem;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Achivements End */

/* Hire me Start */
.hire-me-section {
  background-color: var(--bg-color);
  color: #ccd6f6;
  padding: 40px 2rem;
}

.hire-me-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1185px;
  margin: auto;
  padding-top: 50px;
  align-items: center;
}

.hire-me-box {
  background-color: #2d343f;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 2rem;
  flex: 1 1 45%;
  box-shadow: 0 0 5px var(--main-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hire-me-box:hover {
  border: 1px solid var(--main-color);
  transform: translateY(-5px) scale(1.03);
}

.hire-me-box h2 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hire-me-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.hire-me-box ul li {
  margin-bottom: 0.75rem;
}

.hire-me-box a {
  color: var(--main-color);
  text-decoration: underline;
}

.hire-me-box form {
  display: flex;
  flex-direction: column;
}

.hire-me-box input,
.hire-me-box textarea {
  background: #2d343f;
  border: 1px solid transparent;
  outline: none;
  color: var(--text-color);
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 5px var(--main-color);
}

.hire-me-box input::placeholder, textarea::placeholder{
  color: var(--text-color)
}

.hire-me-box textarea {
  min-height: 100px;
  resize: vertical;
}

.hire-me-box button {
  padding: 0.75rem;
  background: var(--main-color);
  color: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 5px var(--main-color);
  transition: all .50s ease;
}

.hire-me-box button:hover {
  background: var(--bg-color);
  color: var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
}

.email-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: var(--bg-color);
  color: var(--main-color);
  font-weight: 600;
  text-decoration: none !important;
  border: 2px solid var(--main-color);
  border-radius: 8px;
  transition: all 0.5s ease;
}

.email-btn .arrow {
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin-left: 8px;
  animation: bounceArrow 1s ease-in-out infinite alternate;
}

.email-btn:hover .arrow {
  color: var(--bg-color);
  opacity: 1;
  transform: translateX(0);
}

.email-btn:hover {
  background: var(--main-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--main-color);
}

.hire-cta {
  text-align: center;
  margin-top: 2rem;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0d8ddf, #13bbff, #117ea8);
  color: var(--bg-color);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.4);
  transition: background-color 0.3s, transform 0.3s;
}

.cta-btn:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 0 15px #13bbff88;
}

.cta-btn .arrow {
  display: inline-block;
  margin-left: 8px;
  color: var(--bg-color);
  animation: bounceArrow 1s ease-in-out infinite alternate;
}

.success {
  color: white;
  background-color: green;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
  animation: fadeIn 0.5s ease;
}
/* Arrow bounce animation */
@keyframes bounceArrow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(10px);
  }
}

/* Hire me End */


/* Footer section start */
.footer {
  background-color: var(--second-bg-color);
  color: var(--main-color);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-top: 1px solid #1f2937;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  margin-bottom: 40px;
}

.footer-right a {
  margin-left: 1rem;
  color: #8892b0;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #64ffda;
}

/* Footer Section end */
.verify-container {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      background-color: #000;
    }

    .verify-box {
      background-color: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 400px;
      text-align: center;
    }

    .verify-box h2 {
      font-size: 28px;
      margin-bottom: 20px;
      color: #333;
    }

    .verify-box h2 span {
      color: #007bff;
    }

    .verify-box input[type="text"] {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 6px;
      margin-bottom: 20px;
    }

    .verify-box button {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .verify-box button:hover {
      background-color: #0056b3;
    }

    .error-message {
      color: red;
      margin-top: 10px;
      font-size: 14px;
    }
/* Toggle Menu Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #64ffda;
  cursor: pointer;
}

/* for mobile responsive */

@media(max-width:1700px) {
    header {
        padding: 20px 8%;
    }
    header.sticky {
        padding: 14px 8%;
    }
    section{
        padding: 90px 8% 80px;
    }
    .footer {
        padding: 18px 8%;
    }
    .logo {
        font-size: 28px;
    }
}

@media(max-width:1380px) {
    header {
        padding: 8px 2%;
    }
    header.sticky {
        padding: 12px 3%;
    }
    section{
        padding: 90px 5% 80px;
    }
    .footer {
        padding: 18px 5%;
    }
    .hero {
        height: 90vh;
        background-position: center;
    }
}
@media (max-width:1290px){
    .box {
        padding: 40px 40px 46px;
    }
    .box img {
        width: 100%;
        height: 60px;
        max-width: 60px;
    }
    .box h3 {
        font-size: 21px;
    }
}

@media (max-width:1240px){
.about {
    grid-template-columns: 1fr;
    grid-area: 2rem;
    text-align: center;
}
.about-img img {
    text-align: center;
    width: 100%;
    height: 400px;
    max-width: 400px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}
:root {
    --h1-font:4rem;
    --h2-font:2.2rem;
    --p-font:15px;
}
}

@media (max-width:990px){
    :root  {
        --h1-font:3.5rem;
    }
    header {
        padding: 12px 2%;
    }
  
    .navbar.sticky{
    padding: 12px 14px;
    }

.hero {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 28vh;
}

    .social {
        margin-bottom: 20px;
        
    }
    .nav-container {
    padding: 5px;
  }
  .logo {
  font-size: 24px;
  }
  .nav-links a {
    font-size: 12px;
  }

  .cv-btn {
    padding: 0.4rem 1rem;
  }
}

@media (max-width:821px){
:root  {
        --h1-font:2.5rem;
    }
    header {
        padding: 8px 1%;
    }
  
    .navbar.sticky{
    padding: 10px 14px;
    }
    .social {
        margin-bottom: 20px;
        
    }
    .nav-container {
    padding: 8px;
  }
  .logo {
  font-size: 24px;
  }
  .nav-links a {
    font-size: 11px;
  }

  .cv-btn {
    padding: 0.4rem 1rem;
  }
}

@media (max-width:768px) {
	.nav-container {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    font-size: 1.2rem;
    color: var(--main-color);
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-color);
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    width: 100%;
    margin: 0.5rem 0;
  }

  .cv-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem;
    margin-top: 0.5rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 2rem;
	margin-left: 1rem;
	margin-right: 1rem;
  }

  .skill-card {
    width: 100%; /* Card fills available column */
    height: auto;
    padding: 1rem;
  }

  .skill-card img {
    width: 100px;
    height: 100px;
  }
  
  .education-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 2rem;
    padding: 0 1.5rem;
	margin-top: 50px;
  }

  .education-item {
    padding: 1.2rem 1.5rem;
    border-radius: 14px;
  }

  .education-item h3 {
    font-size: 1.4rem;
  }

  .education-institute {
    font-size: 1.05rem;
  }

  .education-duration {
    font-size: 0.95rem;
  }

  .education-details {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .Portfolio-content {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .row {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .row h4 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .row h5 {
    font-size: 1.05rem;
  }

  .row i {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .row img {
    border-radius: 24px;
  }
  
  .extras-section {
    padding: 40px 1.5rem;
  }

  .extras-container {
    padding-top: 15px;
  }

  .extras-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .extras-card {
    padding: 1.2rem;
  }

  .extras-card h3 {
    font-size: 1.1rem;
  }

  .extras-card li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 1.5rem;
  }

  .footer-right a {
    margin: 0 0.75rem;
    font-size: 1.5rem;
  }
}
@media (max-width:680px) {
    .main-content p {
    width: 100%;
}
    
}

@media (max-width:480px) {
:root {
    --h1-font:3rem;
    --h2-font:2rem;
}
header {
  padding: 5px 2%;
}
.hero {
    background-size: 1200px 910px;    
    background-repeat: no-repeat;
    background-position: 85% center;  
    justify-content: flex-start;
    padding-top: 400px;
    height: 93vh; 
}

.main-content h4 {
  color: var(--text-color);
}

.main-content h1 {
  margin: 15px 0;
  font-size: 2.3rem;
}

.hero p {
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  color: #ffffff;
  border-radius: 4px;
  padding: 0.2em 0.1em;
  font-size: 18px;
  font-weight: 600;
}

.btn2 {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    background: var(--main-color);
    color: var(--bg-color);
    border: 2px solid var(--main-color);
    margin-left: 15px;
    transition: all .50s ease;
}

.social i {
    background: var(--bg-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--main-color);
}

section {
    padding: 60px 2% 25px;
}

.about-img img {
    text-align: center;
    width: 100%;
    height: 300px;
    max-width: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}
  .nav-container {
    flex-wrap: wrap;
    padding: 12px;
  }

  .menu-toggle {
    display: block;
    font-size: 1.2rem;
    color: var(--main-color);
    cursor: pointer;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-color);
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 0.5rem 1rem;
    font-size: 1rem;
    width: 100%;
  }

  .cv-btn {
    width: calc(100% - 2rem);
    margin: 0.5rem 1rem;
    text-align: center;
  }
  /* navbar responsive end */
  
  .center-text h2 {
    font-size: 1.5rem; /* Smaller, readable size */
  }

  .center-text h2::after {
    width: 80%; /* Shorter underline for small screens */
    height: 3px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 1rem;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
  }

  .skill-card {
    width: 100%;
    height: auto;
    padding: 0.8rem;
  }

  .skill-card img {
    width: 80px;
    height: 80px;
  }
  
  .education-container {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 cards per row */
    gap: 1rem;
    padding: 0 1rem;
	margin-top: 50px;
  }

  .education-item {
    padding: 1rem;
    border-radius: 10px;
  }

  .education-item h3 {
    font-size: 1rem;
  }

  .education-institute {
    font-size: 0.9rem;
  }

  .education-duration {
    font-size: 0.8rem;
  }

  .education-details {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .Portfolio-content {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 1.2rem;
    padding: 0 1rem;
  }

  .row {
    padding: 1rem;
    border-radius: 20px;
  }

  .row h4 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .row h5 {
    font-size: 0.95rem;
  }

  .row i {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .row img {
    border-radius: 20px;
  }
  
  .extras-section {
    padding: 30px 2.5rem;
  }

  .extras-container {
    padding-top: 10px;
  }

  .extras-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch; /* makes cards expand with content height */
  }

  .extras-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .extras-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .extras-card li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  
  .hire-me-section {
    padding: 30px 2.5rem;
  }

  .hire-me-container {
    flex-direction: column;
    padding-top: 30px;
    gap: 1.5rem;
  }

  .hire-me-box {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .hire-me-box h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .hire-me-box input,
  .hire-me-box textarea {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .hire-me-box button {
    font-size: 0.95rem;
    padding: 0.65rem;
  }

  .email-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 1rem;
  }

  .footer-right a {
    margin: 0 0.5rem;
    font-size: 1.4rem;
  }
}
