@import ('~lucide-static/font/Lucide.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Work Sans','Montserrat','Segoe UI', sans-serif;
  overflow-x: hidden;
}

.gradient-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(-45deg, #2193b0, #145DA0, #1e3c72, #2a5298); */
  background-size: 400% 400%;
  animation: gradientMove 100s ease infinite;
  z-index: -10;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.cursor-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-inner {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1001;
  transform: translate(-50%, -50%);
}

.page-layout {
  display: grid;
  /* grid-template-columns: 45% 55%; */
  grid-template-columns: 40% 60%;
  max-width: 1100px;
  margin: auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}
.highlight-name {
  color: #0077b6;
  padding-bottom: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.highlight-name:hover {
  color: white;
  border-bottom-color: white;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}


.profile-section {
  padding-right: 2rem;
  color: white;
  font-size: 1rem;
}

.profile-section h1 {
  /* color: #A29BFE; */
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}



.profile-section .nav-links {
  margin-top: 2rem;
  font-size:1.5rem;
}

.profile-section .nav-links a {
  display: block;
  margin-bottom: 0.5rem;

  /* color: #A29BFE; */

}


.profile-section .nav-links a:hover {
  color: white;
  text-decoration: underline;
}

.content-section {
  color: white;
  max-width: 800px;
  margin-top:1.5rem;
}

.content-section h3 {
  color: #e63946;
  margin-bottom: 1rem;
}

.content-section ul {
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.content-section ul li a {
  color: #0f4c81;
  text-decoration: none;
}

.content-section ul li a:hover {
  text-decoration: underline;
}
body:not(.light-mode) .content-section ul li a {
  color: white;
}

body:not(.light-mode) .content-section ul li a:hover {
  text-decoration: underline;
  text-decoration-color: white; 
}
.bio h2 {
  margin-bottom: 1rem;
}


.bio p {
  line-height: 1.6;
}

.profile-img {
  height:600px;
  width:750px
  border-radius: 8px;
  margin-bottom: 1rem;
  border: solid #ffffff 5px;
  border-radius:30px;
}

@media (max-width: 768px) {
  .page-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .profile-section {
    text-align: center;
    margin-bottom: 2rem;
  }

  .profile-img {
    height: 500px;
    width: 650px;
    border: solid white 5px;
    border-radius: 30px;
    margin-bottom: 1rem;
  }

  .profile-section .nav-links a {
    display: inline-block;
    margin: 0.3rem 0.7rem;
  }
}
.profile-inner {
  text-align: right;
  font-size: 2.0rem;
  padding-right: 1.2rem; 
  margin-left: 2rem; 
  margin-top: 1rem;
}

.content-inner {
  text-align: left;
  font-size:1.5rem;
}
.profile-section a {
  color: #e63946;
  text-decoration: none;
  word-break: break-word;
  white-space: nowrap;
}
body.light-mode .profile-section a {
  color: #e63946;
}

.home-page-div {
  margin-bottom:2rem;
}
.info-div{
  margin-bottom:2rem;
  font-size:1.5rem;
}
.socials-div{
  margin-bottom:1rem;
  font-size:1.5rem;
}
ul.degrees {
  list-style: none;
  padding-left: 0;
  
}

ul.degrees li {
  margin-bottom: 0.5rem;
}

ul.experience {
  list-style: none;
  padding-left: 0;
  
}


ul.experience li {
  margin-bottom: 0.5rem;
}
.bio{
  margin-bottom:1.5rem;
}

.contact-form {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: white;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0077b6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ff4c4c;
}


.download-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0077b6;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #ff4c4c;
}

/* === Photo Gallery Section === */
.photo-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.photo-item {
  text-align: center;
}

.photo-item img {
  height: 500px;
  width: 650px;
  border-radius: 30px;
  margin-bottom: 1rem;
  border: solid white 5px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: white;
}



.button-group {
  margin-bottom: 1.5rem;
}

.button-group {
  text-align: left;
  margin: 1.5rem 0;
}

.project-btn {
  background: transparent;
  color: #6dd5ed;
  border: 2px solid #6dd5ed;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  margin: 0 0.5rem 1rem 0;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-btn:hover,
.project-btn.active {
  background-color: #1e3c72;
  color: white;
  border-color: transparent;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
body.light-mode .project-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #0D1A33;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.card-header {
  font-size: 0.85rem;
  color: #ccc;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

body.light-mode .card-header {
  font-size: 0.85rem;
  color: #145DA0;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-header i {
  margin-right: 0.5rem;
}

.project-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  
}
body.light-mode .project-card h3  {
  color: #145DA0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1rem;
}
body.light-mode .project-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2c5364;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #6dd5ed;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.project-card a:hover {
  color: white;
}
.publication-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: white;
}

.project-card,
.publication-item {
  background: var(--card-bg);
  color: var(--text-color);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(14px);
}


.publication-item h3 {
  color: #0077b6;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* .publication-item p {
  margin: 0.2rem 0;
  color: #e0e0e0;
} */

.pub-link {
  margin-top: 0.8rem;
  display: inline-block;
  color: #6dd5ed;
  font-weight: 500;
  text-decoration: none;
}

.pub-link:hover {
  color: white;
  text-decoration: underline;
}

:root {
  --text-color: white;
  /* --bg-gradient: linear-gradient(-45deg, #2193b0, #145DA0, #1e3c72, #2a5298); */
  --bg-gradient: linear-gradient(45deg, #203a43, #2c5364, #000000);

  --cursor-dot-color: rgba(255, 255, 255, 0.8);
  --cursor-inner-color: white;
}

body.light-mode {
  --text-color: #102a43;
  --bg-gradient: linear-gradient(45deg, #ada996, #f2f2f2, #dbdbdb,#eaeaea);
  --card-bg: rgba(255, 255, 255, 0.85);
  --cursor-dot-color: #145DA5;
  --cursor-inner-color: #145DA5;
  background-size: cover;
  background-position: center;
}


/*  --bg-gradient: linear-gradient(-45deg, #2193b0,#ffffff, #ffeef2, #dcefff, #2a5298 ); */
/* body.light-mode {
  --text-color: #102a43;
  --bg-gradient:
  radial-gradient(120% 150% at 30% 20%, rgba(220, 235, 255, 0.9) 20%, #d0e3ff 100%),
  radial-gradient(100% 130% at 70% 80%, rgba(255, 255, 255, 0.6) 30%, rgba(180, 210, 255, 0.3) 100%),
  linear-gradient(to top, #e6f0fa 0%, #ffffff 100%);

  --cursor-dot-color: #145DA5;
  --cursor-inner-color: #145DA5;
} */
/* .gradient-background {
  background: var(--bg-gradient);
  background-blend-mode: screen, overlay, normal;
  background-size: cover;
  background-attachment: fixed;
} */


body {
  color: var(--text-color);
}
body.light-mode .profile-img {
  border: solid #0D1A33 5px;
}

.gradient-background {
  background: var(--bg-gradient);
  background-size: 400% 400%;
  animation: gradientMove 60s ease infinite;
}


.cursor-dot {
  background: var(--cursor-dot-color);
  box-shadow: 0 0 12px var(--cursor-dot-color);
}

.cursor-inner {
  background: var(--cursor-inner-color);
}


.node-grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -5;
  display: none;
}

body.light-mode, 
body.light-mode .content-section, 
body.light-mode .profile-section, 
body.light-mode .bio,
body.light-mode .publication-item,
body.light-mode .contact-form {
  color: #145DA0;
}


.node-grid {
  width: 100%;
  height: 100%;
  stroke: #6dd5ed;
  stroke-width: 0.2;
  fill: #6dd5ed;
  opacity: 0.12;
  animation: pulseGrid 10s ease-in-out infinite alternate;
}

@keyframes pulseGrid {
  from {
    transform: scale(1) rotate(0deg);
    opacity: 0.12;
  }
  to {
    transform: scale(1.05) rotate(1deg);
    opacity: 0.22;
  }
}

.animated-title span {
  display: inline-block;
  font-weight: bold;
  font-size: 1.1em;
  color: inherit;
}
.custom-toast {
  visibility: hidden;
  min-width: 280px;
  background: linear-gradient(135deg, #00b4db, #0083b0);;
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
  transition: visibility 0s, opacity 0.4s ease-in-out;
  opacity: 0;
}

.custom-toast.show {
  visibility: visible;
  opacity: 1;
}




body.light-mode .highlight-name:hover,
body.light-mode .profile-section .nav-links a:hover,
body.light-mode .content-section ul li a:hover,
body.light-mode .project-card a:hover,
body.light-mode .pub-link:hover,
body.light-mode .social-icons:hover {
  color: #1e6091;
  text-shadow: none; 
  border-bottom-color: #1e6091; 
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
body.light-mode .social-icons a:hover,
body.light-mode .social-icons i:hover {
  color: #1e6091;
  text-shadow: none;
  border-bottom-color: #1e6091;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.social-icons a:hover,
.social-icons i:hover {
  color: #ffffff;
  transition: color 0.3s ease;
}



body.light-mode .download-button:hover,
body.light-mode .contact-form button:hover,
body.light-mode .project-btn:hover {
  background-color: #2563eb; 
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode .project-btn:hover {
  border-color: transparent;
}




.photo-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.photo-item {
  text-align: center;
}
.photo-item iframe {
  width: 650px;
  height: 500px;
  border-radius: 30px;
  border: solid white 5px;
  margin-bottom: 1rem;
}
.caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: white;
}

.theme-switch-wrapper {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-switch {
  position: relative;
  width: 80px;
  height: 40px;
  background: linear-gradient(to right, #ccc, #777);
  border-radius: 50px;
  cursor: pointer;
}

.theme-switch .toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.theme-switch.light .toggle-thumb {
  left: 2px;
  background-image: url('sun.png');
}

.theme-switch.dark .toggle-thumb {
  left: 42px;
  background-image: url('moon.png');
}

.theme-labels {
  font-size: 0.9rem;
  color: var(--text-color, white);
  display: flex;
  justify-content: space-between;
  width: 120px;

