/* Add to the top of your CSS or in a sensible location */
:root {
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Add box shadow to all bento boxes */

 

.quick-links,.projects,.mah-name,.bout-me,.education,.dawn,.extras,.achievements-box,.certifications-box,.skills-section,.contact-box
{
  box-shadow: 0 15px 30px var(--shadow-color);
  transition: all 0.3s ease;
}



.quick-links:hover,.projects:hover,.mah-name:hover,.bout-me:hover,.education:hover,.dawn:hover,.extras:hover,.achievements-box:hover,.certifications-box:hover,.skills-section:hover,.contact-box:hover{
  transform: scale(1.03);
  box-shadow: 0 8px 16px var(--shadow-hover);
  z-index: 10; /* Bring hovered element to front */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 1440px;
    height: 2100px;
    padding: 1em;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.row1 {
    flex: 2;

    border-radius: 2em;
    display: flex;
    gap: 1em;
}

.row2    {
    flex: 1;

    border-radius: 2em;
}

.row3 {
    flex: 1;

    border-radius: 2em;
}

.col-left {
    flex: 0.8;

    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.col-right {
    flex: 2;

    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.col-right .row1 {
    

    border-radius: 2em;
    display: flex;
    gap: 1em;
}

.col-right .row2 {
    flex: 1;

    border-radius: 2em;
}


.col-right .row1 .col1 {
    flex: 1;

    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.col-right .row1 .col2 {
    flex: .7;

    border-radius: 2em;
}

.col-right .row1 .col1 .row1 {
    flex: 0.75;

    border-radius: 2em;
    display: flex;
}

.col-right .row1 .col1 .row2 {
    flex: 1;

    border-radius: 2em;
    display: flex;
}

.container .row1 .col-right .row2 {
    display: flex;
    gap: 1em;
}

.container .row1 .col-right .row2 .col1 {
    flex: 1;

    border-radius: 2em;
}

.container .row1 .col-right .row2 .col2 {
    flex: 2;

    border-radius: 2em;
}

.container .row2 {
    display: flex;
    gap: 1em;
}

.container .row2 .col1 {
    flex: 1;
    display: flex;
    border-radius: 2em;
}

.container .row2 .col2 {
    flex: 1;
    
    border-radius: 2em;
}

.container .row1 .col-left {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.container .row1 .col-left .col1 {
    flex: 2;

    border-radius: 2em;
}

.container .row1 .col-left .col2 {
    flex: 1;

    border-radius: 2em;
}

/*ChatGPT*/




.row1>.col-left .row1 {
    background-color: #faeee2;
    /* Hot Pink */
    flex: 0.4;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    /* Vertical center */
    align-items: center;
    /* Horizontal center */
    text-align: center;
}

.row1>.col-left .row2 {
    background-color: #ffcc69;
    /* Cyan */
}




.row1>.col-right .row1 .col1 .row1 {
    background-color: #7651dc;
    /* Red */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    /* Vertical center */
    align-items: center;
    /* Horizontal center */
    text-align: center;
    /* Ensures text inside is centered */

}

.row1>.col-right .row1 .col1 .row2 {
    background-color: #ffffff;
    /* Purple */
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    /* Vertical center */
    align-items: center;
    /* Horizontal center */
    text-align: center;
    /* Ensures text inside is centered */
}

.row1>.col-right .row1 .col2 {
    background-color: #7651dc;
    /* Orange */
}

.row1>.col-right .row2 .col1 {
    background-color: #faeee2;
    /* Mint Green */
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: -6em;
    /* Vertical center */
    align-items: center;
    /* Horizontal center */
    text-align: center;
}

.row1>.col-right .row2 .col2 {
    background-color: #7651dc;
    /* Teal */
}

.container>.row2 .col1 {
    background-color: #ffd60a;
   
}

.container>.row2 .col2 {
    background-color: #fbd89e;
    /* Bright Blue */
}

.container>.row3 {
    background-color: #ffffff;
    /* Pinkish Purple */
}

.name {
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-size: 40px;

}

.name2 {
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 22px;
    margin-left: 50px;
    margin-right: 50px;
}

.name24 {
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 1px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 0px;
    margin-top: 60px;
    padding: 0px;
}



.name3 {
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-size: 22px;
    margin-left: 50px;
    margin-right: 50px;
}


.bento-box.quick-links {
    background-color: #fef6ee;
    /* light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    color: white;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    gap: 1rem;
}

.bento-box.quick-links .title {
    background-color: #ffd166;
    /* yellow badge */
    color: #7b2cbf;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    gap: 1rem;
    color: rgb(0, 0, 0);
}

.link-list li a {
    text-decoration: none;
    color: black;
    font-family: 'DM Sans', sans-serif;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 25px;
    transition: 0.2s ease-in-out;
}

.link-list li a:hover {
    color: #7c57e5;
    transition: 0.2s ease-in-out;
    transition-behavior: smooth;
    transform-origin: 0%;
    /* purple text on hover */
}

.leetcode-icon {
  fill: #222; /* default color */
  transition: fill 0.2s;
}
a:hover .leetcode-icon {
  fill: #7c57e5; /* LeetCode orange or color of your choice */
}

.bento-box.education {
    background-color: #dcd1fc;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    align-items: center;
    gap: 1rem;
}

.bento-box.education .title {
    background-color: #a25cdf;
    /* same yellow badge */
    color: white;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-weight: 600;
}

.education-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #000;
    /* text color */
    width: 100%;
    list-style-position: inside; /* so dot is part of the list item */
    
}

.education-list li.active-edu {
  list-style-type: disc;
  color: rgb(0, 0, 0); /* text color */
  position: relative;
}
.education-list li.active-edu::marker {
  color: green;
  transform: scale(1);
  animation: glow 1.5s infinite ease-in-out;
}   

@keyframes glow {
  0%, 100% {
    color: green;
    opacity: 1;
    transform: scale(1.5);
  }
  50% {
    color: lime;
    opacity: 0.4;
    transform: scale(1);
  }
}

.edu-hr{
    opacity: 0.5;
    color: #7c57e5;
}

.resume-button {
    display: inline-flex;
    align-items: center;
    background-color: #7c57e5;
    color: white;
    padding: 12px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: -120px;

    transition: background-color 0.3s ease;
    text-decoration: none;
}

.resume-button:hover {
    background-color: #9778ea;
}

.resume-button i {
    margin-left: 10px;
}

.download{
    margin-bottom: 0px;
    font-size: 40px;
    margin-top: 0px;
}

.titl-projects{
    background-color: #7651dc;
    /* same yellow badge */
    color: #7b2cbf;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 1em;
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-weight: 600;
}

.project-list{
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #000;
    /* text color */
    width: 100%;
}

.bento-box.projects {
    background-color: #fef6ee;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    align-items: center;
    gap: 1rem;
}

.github-btn {
      display: inline-flex;
      align-items: center;
      background-color: #333;
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      margin-top: 10px;
      transition: background-color 0.3s;
    }

    .github-btn:hover {
      background-color: #ffffff;
      color: black;
    }

    .github-btn i {
      margin-right: 8px;
    }



.bento-box.extras {
    background-color: #fef6ee;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    align-items: center;
    gap: 1rem;
}

.bento-box.extras .tit {
    background-color: #ffffff;
    /* same yellow badge */
    color: #7651dc;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.extras-list {
    /*list-style: disc;*/
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #ffffff;
    /* text color */
    width: 100%;
}



.skills-section {
  text-align: center;
  padding: 40px 20px;
  font-family: 'DM Sans', sans-serif;
}

.skills-section h2 {
  font-size: 2.2em;
  color: #9f792e;
  margin-bottom: 40px;
  display: inline-block;
  padding-bottom: 5px;
  font-family: 'DM Sans', sans-serif;
}

.skills-category h3 {
  
  margin-bottom: 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3em;
}

.skills-category {
  margin-bottom: 40px;
  justify-content: space-evenly;
  align-items: center;
}

.skills-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  vertical-align: middle;
  gap: 40px;
  font-family: 'DM Sans', sans-serif;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  font-family: 'DM Sans', sans-serif;
  color: #070707;
}

.skill img, .skill i {
  font-size: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.windows-icon {
  font-size: 40px;
  color: #00a4ef;
}


.bento-box.cert {
    background-color: #7651dc;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    align-items: center;
    gap: 1rem;
}

.bento-box.cert .tit {
    background-color: #ffd166;
    /* same yellow badge */
    color: #7b2cbf;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-weight: 600;
}

.cert-list {
    /*list-style: disc;*/
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #000;
    /* text color */
    width: 100%;
}

.container .row2 .col1{
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.container .row2 .col1 .achiv{
    flex: 1;
    background-color: #141414;
    border: 2px solid red;
    border-radius: 2em;
}
.container .row2 .col1 .cert1{
    flex: 1;
    background-color: #00d1ff;
    border: 2px solid red;
    border-radius: 2em ;
}

.achievements-certifications {
    display: flex;
    gap: 1em;
    /*background-color: #fef6ee;*/
    padding: 1.5rem;
    margin: 0;
    padding: 0;
    border-radius: 2em;
    flex: 1;
    font-family: 'DM Sans', sans-serif;
    flex-direction: column;
    color: white;
}

.achievements-box {
     background-color: #dcd1fc;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    flex: 1;
    align-items: center;
    gap: 1rem;
}


.certifications-box {
     background-color: #7651dc;
    /* same light peach */
    padding: 1.5rem;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: white;
    flex: 1;
    align-items: center;
    gap: 1rem;
}


.of-cert{
    background-color: #7651dc;
    /* same yellow badge */
    color: #7651dc;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    color: 7651dc;
    font-weight: 600;
}

.achiv-list{
    /*list-style: disc;*/
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #000;
    /* text color */
    width: 100%;
}
.of-achiv{
background-color: #a25cdf;
    /* same yellow badge */
    color: #7b2cbf;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    color: white;
    font-weight: 600;
}


.cert-list{
    /*list-style: disc;*/
    padding-left: 1.2rem;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;    
    color: #ffffff;
    /* text color */
    width: 100%;
}
.of-cert{
background-color: #ffffff;
    /* same yellow badge */
    color: #7651dc;
    /* purple text */
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    color: 7b2cbf;
    font-weight: 600;
}

.of-skill{
    background-color: white;
    /* same yellow badge */
    
   
    padding: 0.3rem 1rem;
    border-radius: 2em;
    font-family: 'DM Sans', sans-serif;
    
    font-weight: 600;
}

.contact-box {
  background-color: #fef6ee;
  padding: 2rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  color: #000;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  text-align: center;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: space-between;
}

.contact-details {
  flex: 0.5;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details a {
  color: #000000;
  text-decoration: none;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 0.8rem;
  font-size: 1rem;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}

.contact-form button {
  background-color: #7651dc;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #947cdc;
}

a.idk{
    color: inherit;          /* Keeps the parent's text color */
    text-decoration: none;   /* Removes underline */
            /* Shows default cursor (instead of pointer) */
    /* Optional: Disable hover/focus effects */
    &:hover, &:focus {
        color: inherit;
        text-decoration: none;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .container {
    width: 100%;
    height: auto;
    padding: 1em;
  }

  /* Make all rows and columns stack vertically */
  .row1, .row2, .row3,
  .col-left, .col-right,
  .achievements-certifications,
  .contact-content {
    flex-direction: column;
  }

  /* Remove fixed heights and set to auto */
  .row1, .row2, .row3 {
    flex: auto;
    height: auto;
    gap: 1em;
  }

  /* Make all columns full width */
  .col-left, .col-right,
  .col1, .col2,
  .achievements-box, .certifications-box,
  .contact-details, .contact-form {
    flex: 1 1 100%;
    width: 100%;
  }

  /* Adjust specific bento boxes */
  .bento-box {
    margin-bottom: 1em;
  }

  /* Adjust text sizes for mobile */
  .name {
    font-size: 32px;
  }
  .name2, .name3 {
    font-size: 18px;
    margin-left: 20px;
    margin-right: 20px;
  }

  /* Adjust the download section */
  .dawn {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .resume-button {
    margin-top: 0;
  }

  /* Adjust skills section */
  .skills-flex {
    gap: 20px;
  }
  .skill {
    width: 80px;
  }

  /* Adjust contact section */
  .contact-content {
    gap: 2rem;
    flex-direction: column;
  }
  .contact-details {
    font-size: 16px;
  }
}

/* Smooth scrolling for mobile */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
}

/* Make buttons more touch-friendly */
.resume-button, .github-btn, .contact-form button {
  min-height: 48px; /* Recommended minimum touch target size */
}

/* Adjust form elements for mobile */
.contact-form input,
.contact-form textarea {
  font-size: 16px; /* Prevent iOS zoom on focus */
}