   
:root {
    --primary-bg: linear-gradient(135deg, #3d0c02, #00008b,#ff0000);
    --transparent-white-bg: rgba(255, 255, 255, 0.12);
    --highlight-color: #E0BBE4;
    --text-color: #f0f0f0;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Times New Roman', serif;
    background: var(--primary-bg);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    line-height: 1.8;
    font-size: 1.2rem; /* Increased font size */
}

h1 {
    font-family: 'Times New Roman', serif;
    color: #ffffff; /* Deep white color */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Shadow effect */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

h1:hover {
    color: #ff0000; /* Red color on hover */
}

h2, h3, h4 {
    font-family: 'Times New Roman', serif;
    color: #000000; /* Deep black color */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Shadow effect */
}

p {
    margin-bottom: 15px;
    font-size: 1.2rem; /* Increased paragraph font size */
}

/* Animation for the Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particle Background */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* Header Styles */
header {
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    color: var(--highlight-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1.5s ease;
    font-weight: 300;
    margin-bottom: 10px;
}

/* Tab Button Styling */
.tab-button {
    background: var(--transparent-white-bg);
    color: yellow;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 8px;
    border-radius: 8px;
    border: 2px solid white; /* Red border */
    backdrop-filter: blur(5px);
}

.tab-button:hover {
    color: red; /* Change text color to red on hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4); /* Red shadow effect on hover */
    border-color: red; /* Maintain red border on hover */
}

.tab-button.active {
    background: rgba(255, 255, 25, 0.35);
}

/* Main Content Styling */
main {
    display: none;
    padding: 20px;
    animation: slideIn 0.5s forwards;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 6px 15px var(--shadow-color);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

main.active {
    display: block;
}

/* Profile Picture Styling */
.profile-pic {
    width: 120px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin: 15px 0;
    animation: bounce 1s ease;
}

/* Link Box Styling */
.link-box {
    background: var(--transparent-white-bg);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.link-box a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.link-box a:hover {
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

/* Gradient Styles */
.gradient1 { background: linear-gradient(135deg, #b2fbc5, #e0b3ff); }
.gradient2 { background: linear-gradient(135deg, #ff00ff, #33ccff); }
.gradient3 { background: linear-gradient(135deg, #8e44ad, #2980b9); }
.gradient4 { background: linear-gradient(135deg, #f5b982, #90caf9); }
.gradient5 { background: linear-gradient(135deg, #b2fbc5, #e0b3ff); }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Gallery */
.gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-item {
    flex: 1 1 calc(33% - 10px);
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
}

.gallery-thumbnail {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-thumbnail:hover {
    transform: scale(1.1);
}

/* About Me Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-container p {
    flex: 1;
    text-align: justify;
    font-size: 1.1rem; /* Increased about me section font size */
    line-height: 1.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        font-size: 1.5rem;
    }
    .tab-button {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .profile-pic {
        width: 100px;
    }
    main {
        padding: 15px;
    }
}


.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 15px;
  color: #010001;   /* Adjust black color front */
}

.field input {
  display: block;
  min-width: 400px;
  line-height: 1.5;
  font-size: 16px;
}

input[type="submit"] {
  display: block;
  padding: 8px 40px;
  font-size: 14px;
  background-color: #4460AA;  /* Adjust blue color background */
  color: #fff;  /* Adjust THE WHITE COLOR SEND */
  border: none
}

.collaboration-container {
    display: flex;
    justify-content: space-between;
}

.collaboration-column {
    width: 49%; /* Adjust width to fit the columns side by side */
}

.collaborator {
    margin-bottom: 10px;
}

.collaborator-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

h2 {
    text-align: center;
}

@media (max-width: 768px) {
    /* For smaller screens, stack the columns vertically */
    .collaboration-container {
        flex-direction: column;
    }

    .collaboration-column {
        width: 100%;
    }
}





#EK-Tree {
    width: 100vw;
    height: 100vh;
    padding: 5px;  /* Corrected spacing */
    margin: 5px;   /* Corrected spacing */
    display: flex;
    justify-content: flex-start;  /* Start alignment to allow scrolling left and right */
    align-items: flex-start;      /* Align content to the top */
    background-color: #f7f9fc;    /* Light background */
    overflow-x: auto;             /* Enable horizontal scrolling */
    overflow-y: auto;             /* Enable vertical scrolling */
    position: relative;           /* Ensure proper positioning */
}

/* Tree structure */
.tree, .tree ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
}

.tree ul {
    padding-left: 0;
    display: flex;
    justify-content: flex-start;  /* Ensure left alignment */
}

.tree ul ul {
    display: block;
    margin-top: 10px;
}

/* Remove the horizontal lines */
.tree ul::before {
    content: "";
    display: none;  /* Hide horizontal line */
}

/* Reduce gap between columns */
.tree li {
    padding: 8px 5px;
    position: relative;
    text-align: center;
    margin-right: 5px;
    white-space: nowrap;  /* Prevent wrapping */
}

/* Adjust the vertical lines with deep red color */
.tree li::before {
    content: "";
    border-left: 2px solid #c0392b;
    position: absolute;
    height: 20px;
    top: -10px;
    width: 3px;
    left: 50%;
}

.tree li::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 5px;
    border-top: 0;  /* Hide horizontal line */
}

/* Styling for tree nodes */
.tree li span {
    padding: 8px 16px;
    background-color: #3498db;
    color: red;
    border-radius: 5px;
    font-size: 14px;
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Special styling for root node */
.tree li span.root {
    background-color: #ee05f9;
    font-size: 16px;
    font-weight: bold;
}

.tree li span:hover {
    background-color: #f39c12;
}

/* Anchor tag styling */
.tree li span a {
    color: white;
    text-decoration: none;
}

.tree li span a:hover {
    text-decoration: underline;
}

/* Second row color change */
.tree ul ul li span {
    background-color: #028d0f;
    color: white;
}

/* Hover effect for second row */
.tree ul ul li span:hover {
    background-color: #f39c12;
}
