body {
    font-family: 'Times New Roman', Times,serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('water.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
 body::before {
	 content: "";
	 position:absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-color: rgba(255, 255, 255, 0.6);
	 z-index: -1;
 }

@keyframes particlePath1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  25%  { transform: translate(80px, -10px) scale(1.1); opacity: 0.8; }
  50%  { transform: translate(160px, 10px) scale(0.9); opacity: 0.6; }
  75%  { transform: translate(240px, -5px) scale(1); opacity: 0.4; }
  100% { transform: translate(320px, 0) scale(1); opacity: 0; }
}

@keyframes particlePath2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  25%  { transform: translate(60px, 10px) scale(1.05); opacity: 0.7; }
  50%  { transform: translate(120px, -10px) scale(0.95); opacity: 0.5; }
  75%  { transform: translate(180px, 5px) scale(1); opacity: 0.3; }
  100% { transform: translate(240px, 0) scale(1); opacity: 0; }
}

@keyframes particlePath3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  50%  { transform: translate(120px, 15px) scale(1.05); opacity: 0.5; }
  100% { transform: translate(240px, 0) scale(1); opacity: 0; }
}

@keyframes arrowFloat {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { opacity: 0.1; }
  50% { opacity: 0.5; }
  100% { transform: translateX(100%); opacity: 0; }
}

header {
  position: relative;
  overflow: hidden;
  background-color: #9df4fa;
  color: #fcfcfc;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  padding: 60px 0;
  z-index: 1;
  isolation: isolate;
}


/* Particle 1 */
header::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -50px;
  width: 8px;
  height: 8px;
  background-color: #9ca3af;
  border-radius: 50%;
  opacity: 0;
  animation: particlePath1 6s linear infinite;
  z-index: -1;
}

/* Particle 2 */
header::after {
  content: '';
  position: absolute;
  top: 60%;
  left: -50px;
  width: 8px;
  height: 8px;
  background-color: #cbd5e1;
  border-radius: 50%;
  opacity: 0;
  animation: particlePath2 8s linear infinite;
  z-index: -1;
}

/* Additional particles using layered pseudo-elements */
header::marker {
  content: '';
  position: absolute;
  top: 45%;
  left: -50px;
  width: 8px;
  height: 8px;
  background-color: #64748b;
  border-radius: 50%;
  opacity: 0;
  animation: particlePath3 10s linear infinite;
  z-index: -1;
}

/* Flow arrow simulation */
header::selection {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: linear-gradient(to right, transparent, rgba(0,0,0,0.2), transparent);
  opacity: 0.2;
  animation: arrowFloat 6s ease-in-out infinite;
  z-index: 0;
}


header h1 {
    margin: 0;
    font-size: 3em;
}

nav {
    background: linear-gradient(to right, #5BBBCC, #7CD9E9);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
    position: relative;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #82BCDE;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2em;
    margin-bottom: 10px;
    border-bottom: 2px solid #6a11cb;
    display: inline-block;
}

.about, .research, .contact {
    margin-bottom: 50px;
}

.about p, .research p {
    font-size: 1.1em;
    line-height: 1.6;
}

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

.research-item {
    background:  linear-gradient(to right, #B5E8F2, #C7F5F0);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.research-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 17, 203, 0.3);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.4s ease;
}

.research-item:hover::before {
    clip-path: circle(150% at 50% 50%);
}

.research-item h3 {
    margin-top: 0;
    color: #D7F4FB;
}

.contact form {
    display: grid;
    gap: 15px;
}

.contact label {
    font-weight: bold;
}

.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact button {
    background: #6a11cb;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #2575fc;
}
.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.content{
	flex: 1;
}

footer {
    bottom: 0;
    width: 100%
    background-color: #205A8A;
    color: black;
    text-align: center;
    padding: 15px 0;
    margin-top: auto;
   
}

.custom-cursor {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 25%;
    pointer-events: none; 
    z-index: 1000;
    display: none;
    /* transition: transform 0.1s ease, background-color 0.1s ease;*/
}
/* Hide the checkbox */
.toggle-input {
    display: none;
}

/* Style for the label */
.toggle-label {
    cursor: pointer;
    font-weight: bold;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    display: block;
    margin-bottom: 5px;
    position: relative;
    user-select: none;
}


.toggle-content {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
 

/* Show the content when the checkbox is checked */
.toggle-input:checked + .toggle-label + .toggle-content {
    display: block;
}
/* Show the content when the checkbox is checked */
#toggle-education:checked + .toggle-label + .toggle-content,
#toggle-experience:checked + .toggle-label + .toggle-content {
    display: block;
}

/*#toggle-experience:checked + .toggle-label + .toggle-content {
    display: block;
}*/

.profile {
    padding: 20px;
}

.experience-content {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.experience-item {
    display: flex;
    align-items:center;
    gap: 20px;
    flex-direction:row;
    position: relative;
}
.experience-text{
	display:none;
	position:absolute;
	top: 0;
	left: 120px;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border-radius:10px;
}
.experience-item:hover .experience-text {
	display: block;
}
.arrow {
    cursor: pointer;
    font-size: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.info {
    display: none; /* Ensure the info section is hidden initially */
    margin-top: 10px;
}

.arrow.open {
    transform: rotate none;
}

