
    /* .modal-body .img-fluid:hover {
             transform: scale(0.8);
        transition: 0.2s all ease-out;
        border: 2px solid #000;
    border-radius: 5px;
      } */
      #psychology .modal-body .img-sec {
        display: inline-table;
        width: 33%;
        padding: 0px;
    }
          .col-lg-4 {
            -ms-flex: 0 0 20%;
            flex: 20%;
            max-width: 22.8%;
            /* padding-right: 5px; */
            /* padding-left: 5px; */
        }
    .hero-sec .cnt-sec p {
        font-size: 16px;
        color: #000;
        margin-bottom: 30px;
        font-family: "Google Sans", sans-serif;
        font-weight: 500;
        
    }
    .modal-body h3, .card-popup .modal .modal-header .modal-title {font-family: "PT Serif", serif; font-size: 28px;}
    .cnt-sec {
        
        background: #ffffff;
        }
    .hero-sec {
        width: 100%;
        padding: 30px 0px 30px 0px;
    }
    .modal-body .img-fluid {
        max-width: 100%;
        height: auto;
        width: 200px;
        margin: 0 auto;
        display: block;
        margin-bottom: 10px;
        cursor: auto;
    }
    .img-sec.profile {
        width: 300px;
        text-align: right;
        float: right;
    }
    #researchpaper .modal-body .img-sec {
        display: inline-grid;
        width: 49%;
        padding: 0px;
        margin-bottom: 30px;
    }
    a.button {
        border: 1px solid #000;
        padding: 10px 0px;
        margin: 15px 10px;
        display: block;
        color: #000;
        font-weight: bold;
        font-size: 14px;
        border-radius: 10px;
        background: #dfc1fe;
    }
    a.button:hover {
        color: #7d09fb;
        background: #fff;
        border-radius: 10px;
        transition: auto;
    }
   
    #msp .modal-body h3 { 

        text-align: center;
    font-size: 14px;
    display: grid;
    margin-top: 10px;
    color: #000;
    background: #c5fcfe;
    height: 30px;
    padding-top: 7px;
    line-height: 25px;
    font-weight: 600;
    box-shadow: none;
    border: 1px solid #000;
    border-radius: 10px;
    width: 200px;

    }


    #research .modal-body {
        
        display: block;
    }
    #public .modal-body .img-sec {
        display: inline-block;
        width: 49%;
        padding: 0px ;
    }
    .hero-sec {
        width: 100%;
        padding: 100px 0px 100px 0px;
        background: url(img/103869.jpg);
        background-size: cover;
        background-position: 0% 41%;
    }
    .modal-body .img-sec {
    display: inline-block;
    width: 49%;
    padding: 0px 80px;
    margin-bottom: 20px;
}
#research .modal-body .img-sec {
    display: inline-block;
    width: 49%;
    padding: 0px;
}
#research .modal-body h3 {
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    display: flex;
  justify-content: center; /* horizontal */
  align-items: center; 
}



#tag .modal-body h3 {
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    display: flex;
  justify-content: center; /* horizontal */
  /* align-items: center;  */
}




#Columbia .modal-body h3 {
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    display: flex;
  justify-content: center; /* horizontal */
  align-items: center; 
}







#msp .modal-body .img-sec {
    display: inline-block;
    width: 33%;
    padding: 0px 20px;
    margin-bottom: 0px;
} 
.modal-body h3 {font-size: 15px;}
#msp .modal-body h3 {height: 65px;}


    @media (max-width: 767px) {
    	.col-lg-4 {
    	    -ms-flex: 0 0 20%;
    	    flex: 100%;
    	    max-width: 100%;
    	    padding-right: 5px;
    	    padding-left: 5px;
    	}
    	    
        .hero-sec { }
        .cnt-sec {
        background: #fff;
        width: 100%;
        padding: 20px
    	}
    
        .hero-sec .img-sec img {
            width: 100%;
            float: none;
            border-color: #ffffffb3;
        }
            .mobile {
            margin: 0 auto;
            display: contents;
        }
        .hero-sec {
        width: 100%;
        padding: 50px 0px 100px 0px;}
    }




/* =========================================
   HIGHLIGHTS TITLE
========================================= */

.highlight-title-area {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}


/* TURQUOISE HIGHLIGHTS BOX */

.highlight-title-area .highlight-title-box {
    width: 228px !important;
    /* height: 66px !important; */
    font-family: "Google Sans", sans-serif;
    margin: 0 auto 25px !important;

    /* padding: 0 !important; */

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* background: #baeaff !important; */

    border-radius: 5px !important;

    border: none !important;

    /* box-shadow:
        0 0 18px rgba(80, 220, 210, 0.45),
        inset 0 0 20px rgba(255, 255, 255, 0.25) !important; */
}


/* HIGHLIGHTS TEXT */

.highlight-title-area .highlight-title-box h3 {
    background-color: #f5f3ec;
    padding-top: 15px !important;
    padding-right: 35px !important;
    padding-bottom: 15px !important;
    padding-left: 35px !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-width: 3px;
    border-bottom-color: #3aa7c8;
    border-bottom-style: solid;
    box-shadow: inset 0px 0px 30px 0px #92c3e6;
    text-align: start;
    overflow: hidden;
    width: max-content;
    margin: auto;
}


/* DISCOVER MY WORK */

.highlight-title-area h2 {
    margin: 0 !important;

    padding: 0 !important;

    color: #30252b !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: clamp(42px, 4vw, 62px) !important;

    line-height: 1 !important;

    font-weight: 600 !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .highlight-title-area {
        margin-bottom: 35px;
    }

    .highlight-title-area .highlight-title-box {
        width: 200px !important;
        height: 58px !important;
    }

    .highlight-title-area .highlight-title-box span {
        font-size: 25px !important;
    }

    .highlight-title-area h2 {
        font-size: 40px !important;
    }
}


/* =====================================
   CONTACT BUTTONS
===================================== */

.side-contact {
    position: absolute;

    right: 30px;
    top: 60%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;

    gap: 14px;

    z-index: 9999;
}


/* BUTTON */

.contact-btn {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #ffffff;

    border: 2px solid #000000;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #111111;

    font-size: 22px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    transition: all 0.3s ease;
}


.contact-btn:hover {
    background: #ed9316;
    color: #ffffff;

    transform: scale(1.08);
}


/* MOBILE */

@media (max-width: 700px) {

    .side-contact {
        right: 10px;
    }

    .contact-btn {
        width: 48px;
        height: 48px;

        font-size: 18px;
    }
}

/* Custom Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Modal Base Container */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

.modal-overlay * {
  box-sizing: border-box;
}

/* Active State */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Card Box */
.modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 2rem); /* Keeps card within view bounds on mobile */
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 
              0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.94) translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

/* Close Button */
.modal-close-btn {
 position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

/* Header Section */
.modal-header {
background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  padding: 1.5rem 3.5rem 1.25rem 1.5rem; /* Extra right padding (3.5rem) keeps text clear of the button */
  color: #ffffff;
  position: relative;
}

.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* Body Section (Scrollable on small screens) */
.modal-body {
  padding: 1.5rem;
  color: #334155;
  overflow-y: auto; /* Scrollable if text is too long for small screens */
  -webkit-overflow-scrolling: touch;
}

.patent-subtitle {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.patent-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.patent-details-list li {
  position: relative;
  padding-left: 1.25rem;
  word-break: break-word; /* Prevents overflow of long text/numbers */
}

.patent-details-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.patent-details-list strong {
  color: #0f172a;
}

/* Image Wrapper */
.modal-image-wrapper {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 40%;
  padding: 0.875rem;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
  background: #f8fafc;
  text-align: center;
}

/* Footer Section */
.modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  margin-top: -20px;
  justify-content: center;
  background: #ffffff;
  flex-shrink: 0;
  border-top: 1px solid #f1f5f9;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* Full width button on small devices */
  max-width: 280px;
  padding: 0.75rem 1.5rem;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-action:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

/* Example Trigger Button */
.open-modal-btn {
  padding: 0.75rem 1.5rem;
  background: #d97706;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* Media Queries for Mobile Screens */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-card {
    border-radius: 16px;
    max-height: calc(100vh - 1.5rem);
  }

  .modal-header {
    padding: 1.25rem 1rem 1rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 10px;
    height: 10px;
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .patent-subtitle {
    font-size: 0.95rem;
  }

  .patent-details-list {
    font-size: 0.85rem;
  }

  .modal-footer {
    padding: 0.875rem 1rem 1rem;
  }

  .btn-action {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 1rem;
  }
}

/* Centered Title Utility */
.modal-title-center {
  text-align: center !important;
}

/* Image-Only Body Styling */
.modal-body-image-only {
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .modal-image-container {
  width: 100%;
  max-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.modal-img {
  width: 130px;
  height: auto;
  /* max-height: max-content; */
  object-fit: cover;
  display: block;
}

/* Mobile Adjustment for Image Popup */
@media (max-width: 480px) {
  .modal-image-container {
    max-height: 260px;
  }
  .modal-img {
    max-height: 260px;
  }
}

/* Centered Subtitle Utility */
.modal-subtitle-center {
  text-align: center;
}

/* Responsive Image inside Placeholder */
.modal-img-fit {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}


/* Subtitle in Header */
.modal-subtitle-header {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  text-align: center;
  color: #ffffff;
}

/* Paragraph Text Styling */
.modal-paragraph-text {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #334155;
  text-align: justify;
  margin-bottom: 1.5rem;
}

/* PDF Buttons Grid Layout */
.pdf-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  transition: all 0.2s ease;
  text-align: center;
}

.pdf-btn:hover {
  background: #d97706; /* Glows gold/amber on hover */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.25);
}

.pdf-btn svg {
  flex-shrink: 0;
}

/* Responsive adjustment for small mobile screens */
@media (max-width: 480px) {
  .pdf-buttons-grid {
    grid-template-columns: 1fr; /* Stack into 1 column on phones */
  }
}

/* Experience Block Spacing */
.experience-block {
  margin-bottom: 1.5rem;
}

.experience-block:last-child {
  margin-bottom: 0;
}

/* Date Tag Styling */
.experience-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d97706;
  margin: -0.5rem 0 1rem 0;
}

/* Section Divider Header (e.g. "Internships") */
.section-divider-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.35rem;
  margin: 1rem 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}