    /* ==================== RESET & BASE ==================== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    body {
      background-color: #f8fafc;
      color: #0f172a;
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Container for layout alignment */
    .container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* ==================== 1. HEADER SECTION (ANIMATED BG) ==================== */
    header.header-section {
      position: relative;
      overflow: hidden;
      padding: 70px 0 60px;
      /* background: radial-gradient(circle at 50% 0%, #f3f0ff 0%, #ede9fe 100%); */
      background: #121a82;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8); 
      border-bottom: 1px solid rgba(203, 213, 225, 0.6);
    }

    /* Restricted Animated Blobs for Header Only */
    /* .header-bg-animation {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
    } */

    /* .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.55;
      animation: float 14s infinite alternate ease-in-out;
    }

    .blob-1 {
      width: 380px;
      height: 380px;
      background: #c084fc;
      top: -80px;
      left: -80px;
    }

    .blob-2 {
      width: 420px;
      height: 420px;
      background: #a855f7;
      bottom: -100px;
      right: -80px;
      animation-delay: -5s;
    }

    .blob-3 {
      width: 300px;
      height: 300px;
      background: #f472b6;
      top: 20%;
      left: 40%;
      animation-delay: -9s;
    } */

    /* @keyframes float {
      0% { transform: translate(0, 0) scale(1) rotate(0deg); }
      50% { transform: translate(50px, 30px) scale(1.08) rotate(180deg); }
      100% { transform: translate(-30px, 50px) scale(0.95) rotate(360deg); }
    } */

    /* Particle canvas restricted to Header */
    #header-particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }

    .header-container {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

    .header-content {
      flex: 1;
      max-width: 620px;
    }

    .header-greeting {
      font-size: 1.35rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 6px;
    }

    .header-content h1 {
      font-size: 3.2rem;
       font-family: "Arvo", serif;
      font-weight: 800;
      margin-bottom: 18px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: #ffdc2d;
    }

    .header-content h1 span.purple-text {
      color: #ffdc2d;
       font-family: "Arvo", serif;
      /* display: block; */
    }

    .header-content p {
      color: #ffffff;
      line-height: 1.65;
      font-family: "DM Sans", sans-serif;
      font-weight: 500;
      margin-bottom: 30px;
      font-size: 1.05rem;
    }

    .resume-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      background: #ffdc2d;
      color: #000000;
      text-decoration: none;
      font-weight: 700;
      border-radius: 10px;
      /* box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35); */
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      font-size: 1rem;
    }

    .resume-btn:hover {
      transform: translateY(-2px);
      background: #eb990b;
      color: #fff;
      box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
    }

    .profile-img-wrapper {
      position: relative;
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }

    .profile-img-container {
      width: 280px;
      height: auto;
      border-radius: 20px;
      overflow: hidden;
      border: 4px solid #ffffff;
      box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
      background: #ffffff;
      position: relative;
      z-index: 2;
    }

    .profile-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .floating-contact-side {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-left: 16px;
      z-index: 3;
    }

    .side-icon-btn {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #ffffff;
      border: 1px solid rgba(226, 232, 240, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #6c5ce7;
      text-decoration: none;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .side-icon-btn:hover {
      background: #6c5ce7;
      color: #ffffff;
      transform: scale(1.1);
      box-shadow: 0 6px 16px rgba(108, 92, 231, 0.35);
    }

    /* ==================== 2. MIDDLE SECTION (SOLID WHITE BG) ==================== */
    main.middle-section {
      background-color: #ffffff;
      padding: 40px 0 80px;
      flex: 1;
      border-bottom: 1px solid #e2e8f0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .highlights-title-badge {
      display: inline-block;
      font-family: "DM Sans", sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: #0f172a;
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(108, 92, 231, 0.22) 100%);
      padding: 10px 42px;
      border-radius: 12px;
      border: 1px solid rgba(108, 92, 231, 0.3);
      box-shadow: 0 4px 12px rgba(108, 92, 231, 0.08);
    }

    /* 6 TABS GRID */
    .tabs-grid {
      display: grid;
      height: 230px;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 20px;
      margin-bottom: 0px;
    }

    .tab-card {
      background: #f8fafc;
      border: 2px solid #e2e8f0;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding-bottom: 14px;
    }

    .tab-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
      border-color: rgba(108, 92, 231, 0.4);
    }

    /* .tab-card.active {
      border-color: #6c5ce7;
      background: #ffffff;
      box-shadow: 0 12px 25px -5px rgba(108, 92, 231, 0.2);
      transform: translateY(-4px);
    } */

    .tab-card-img {
      width: 100%;
      height: 155px;
      object-fit: cover;
      margin-bottom: 12px;
      transition: transform 0.3s ease;
    }

    .tab-card:hover .tab-card-img {
      transform: scale(1.05);
    }

    .tab-card h3 {
        font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
      font-size: 18px;
      font-weight: 500;
      color: #0a0f15;
      padding: 0 8px;
      transition: color 0.3s ease;
    }

    /* .tab-card.active h3 {
      color: #6c5ce7;
    } */

    /* TAB CONTENT PANELS */
    .tab-content {
      display: none;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 36px;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
      animation: fadeIn 0.4s ease forwards;
    }

    .tab-content.active {
      display: block;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .tab-content h3 {
      font-size: 1.6rem;
      margin-bottom: 18px;
      color: #0f172a;
      font-weight: 700;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .content-card {
      background: #ffffff;
      padding: 22px;
      border-radius: 14px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .content-card h4 {
      margin-bottom: 8px;
      color: #0f172a;
      font-size: 1.1rem;
    }

    .content-card p {
      color: #64748b;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .skills-container {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .skill-tag {
      background: rgba(108, 92, 231, 0.08);
      color: #6c5ce7;
      padding: 10px 18px;
      border-radius: 20px;
      border: 1px solid rgba(108, 92, 231, 0.2);
      font-size: 0.95rem;
      font-weight: 600;
    }

    /* ==================== 3. FOOTER SECTION (DARK SLATE BG) ==================== */
    footer.footer-section {
      background-color: #0f172a;
      color: #f8fafc;
      padding: 20px 0;
      margin-top: auto;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .contact-info {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #f1f5f9;
      text-decoration: none;
      font-weight: 600;
      padding: 10px 22px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 30px;
      transition: all 0.3s ease;
    }

    .contact-item svg {
      color: #a855f7;
    }

    .contact-item:hover {
      color: #ffffff;
      background: rgba(168, 85, 247, 0.25);
      border-color: #a855f7;
      transform: translateY(-2px);
    }

    .copyright {
      color: #94a3b8;
      font-size: 0.9rem;
      text-align: center;
      font-weight: 500;
    }

    /* ==================== RESPONSIVE DESIGN ==================== */
    @media (max-width: 850px) {
      .header-container {
        flex-direction: column;
        text-align: center;
      }

      .header-content {
        max-width: 100%;
      }

      .tabs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }

      .footer-content {
        flex-direction: column;
        text-align: center;
      }

      .contact-info {
        justify-content: center;
      }
    }

    @media (max-width: 520px) {
      .tabs-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .profile-img-container {
        width: 230px;
        height: 310px;
      }
    }




    @media (max-width: 992px) {
      .tabs-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 850px) {
      header.header-section {
        padding: 50px 0 40px;
      }

      .header-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
      }

      .header-content h1 {
        font-size: 2.5rem;
      }

      .header-content p {
        font-size: 1rem;
      }

      .profile-img-wrapper {
        flex-direction: column;
        gap: 16px;
      }

      .profile-img-container {
        width: 240px;
        height: 310px;
      }

      .floating-contact-side {
        flex-direction: row;
        margin-left: 0;
      }

      .footer-content {
        flex-direction: column;
        text-align: center;
      }

      .contact-info {
        justify-content: center;
      }
    }

    @media (max-width: 520px) {
      .container {
        padding: 0 16px;
      }

      .header-content h1 {
        font-size: 2.1rem;
      }

      .tabs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        height: auto;
      }

      .tab-card-img {
        /* height: 95px; */
      }

      .tab-card h3 {
        font-size: 0.88rem;
      }

      .tab-content {
        padding: 22px 18px;
      }

      .profile-img-container {
        width: 210px;
        height: 270px;
      }

      .contact-info {
        flex-direction: column;
        width: 100%;
      }

      .contact-item {
        justify-content: center;
        width: 100%;
      }
    }





    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #0f172a;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
    }

    #preloader.fade-out {
      opacity: 0;
      visibility: hidden;
    }

    .loader-spinner-container {
      position: relative;
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .loader-ring {
      position: absolute;
      width: 100%;
      height: 100%;
      border: 4px solid rgba(108, 92, 231, 0.15);
      border-top: 4px solid #6c5ce7;
      border-right: 4px solid #a855f7;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .loader-brand {
      font-size: 1.5rem;
      font-weight: 800;
      color: #ffffff;
      text-shadow: 0 0 12px rgba(108, 92, 231, 0.6);
    }

    .loader-progress {
      margin-top: 24px;
      font-size: 1.1rem;
      font-weight: 700;
      color: #c084fc;
      letter-spacing: 1px;
    }

    .loader-text {
      margin-top: 8px;
      font-size: 0.85rem;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 2px;
    }


    .reveal-item {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    body.loaded .reveal-item {
      opacity: 1;
      transform: translateY(0);
    }

    body.loaded .delay-1 { transition-delay: 0.1s; }
    body.loaded .delay-2 { transition-delay: 0.25s; }
    body.loaded .delay-3 { transition-delay: 0.4s; }
    body.loaded .delay-4 { transition-delay: 0.55s; }
    body.loaded .delay-5 { transition-delay: 0.7s; }




                                              
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
p.subhead {
    font-size: 20px !important;
    font-style: normal !important;
    margin-left: 5px;
    margin-bottom: -10px !important;
}

#work .modal-body .img-sec {
    display: inline-block;
    width: 49%;
    padding: 0px;
}
#research .modal-body .img-sec {
    display: inline-block;
    width: 33% !important;
    padding: 0px;
}
.card-popup .modal .modal-content {
    background: #fff;
    width: 80%;
    margin: 0 auto;
}
.modal {
    z-index: 1041 !important;
    background: #00000059;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
   overflow-y: auto;
    padding: 30px 20px;
}

/* .modal-content {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
} */



.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}
.ptb-70 {
    padding-top: 10px;
    padding-bottom: 0px;
    background: transparent;
}
.cnt-sec {
    margin-top: -40px;
}
#internship .modal-body .img-fluid {
    max-width: 100%;
    height: auto;
    width: 180px;
    margin: 0 auto;
    display: block;
}
.modal-body .img-sec {
    display: inline-block;
    width: 49%;
    padding: 0px 80px;
}
p.hed {
    border-bottom: 1px solid;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    background: #0094d4;
    color: #fff;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    text-align: center;
}
#modelpop2 a {

    text-decoration: none;

    display: contents;

}
#art .pdf-sec .pdf-col {
    flex: 0 0 28%;
    max-width: 100%;
    margin: 0px 10px;
}
#kudo .modal-body .img-fluid {
    max-width: 100%;
    height: auto;
    width: 150px;
    margin: 0 auto;
    display: block;
}



.context {
    width: 100%;
    position: absolute;
    top:50vh;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 50px;
}


.area{
    background: #4e54c8;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height:100vh;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}