:root {
    --theme-color: #1995AD;
    --theme-bg-color1: #ffffff;
    --theme-bg-color2: #f4f4f4;
    --primary-font-color: #000000;
    --secondary-font-color: #ffffff;
    --font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.ibm-plex-mono-thin {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 100;
    font-style: normal;
}

.ibm-plex-mono-extralight {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-style: normal;
}

.ibm-plex-mono-light {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-style: normal;
}

.ibm-plex-mono-regular {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.ibm-plex-mono-medium {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-style: normal;
}

.ibm-plex-mono-semibold {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-style: normal;
}

.ibm-plex-mono-bold {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-style: normal;
}

.ibm-plex-mono-thin-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 100;
    font-style: italic;
}

.ibm-plex-mono-extralight-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-style: italic;
}

.ibm-plex-mono-light-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 300;
    font-style: italic;
}

.ibm-plex-mono-regular-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

.ibm-plex-mono-medium-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 500;
    font-style: italic;
}

.ibm-plex-mono-semibold-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    font-style: italic;
}

.ibm-plex-mono-bold-italic {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-style: italic;
}



body {
    font-family: 'IBM Plex Mono', 'Poppins', sans-serif !important;
    color: var(--primary-font-color);
    /*cursor: none;*/

}

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* .custom-cursors {
    width: 20px;
    height: 20px;
    background-color: var(--theme-color);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
    box-shadow: 0 0 10px var(--theme-color), 0 0 20px var(--theme-color);
    animation: pulseSquare 1.2s infinite ease-in-out;
} */

/* Pulse animation for square */
@keyframes pulseSquare {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

button {
    padding: 9px 20px !important;
    background-color: var(--theme-color) !important;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 5px !important;
    border-radius: 20px !important;
}

button:hover {
    background: #0056b3;
}

nav.custom-nav {
    padding: 10px 25px;
    display: flex;
    justify-content: right;
    gap: 25px;
    border-radius: 10px;
    z-index: 1000;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    padding: 8px 12px;
}

.nav-link:hover {
    background-color: #058EB0;
    transform: scale(1.05);
    box-shadow: 4px 9px 18px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    color: white !important;
    padding: 5px;
}


nav a:hover {
    background-color: #058EB0;
    transform: scale(1.1);
    box-shadow: 4px 9px 18px rgba(0, 0, 0, 0.3);
    padding: 2px 20px;
}

nav a i {
    font-size: 16px;
}

.nav-link.active {
    background-color: #058EB0;
    transform: scale(1.05);
    box-shadow: 4px 9px 18px rgba(0, 0, 0, 0.3);
    padding: 2px 20px;
}

.typewriter {
    font-size: 30px;
    font-weight: bold;
    border-right: 3px solid black;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    color: var(--theme-color);
    font-family: cursive;
}

.social-block {
    margin-top: 10px;
    display: flex !important;
}

.resume-btn {
    background-color: var(--theme-color);
    color: var(--secondary-font-color);
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    transition: 0.3s ease-in;
}

@media screen and (max-width: 768px) {
    .resume-btn {
        font-size: 0.8rem;
        /* Reduce font size */
        padding: 10px 24px;
        /* Reduce padding */
    }
}

@media screen and (max-width: 480px) {
    .resume-btn {
        font-size: 0.75rem;
        /* Further reduce font size */
        padding: 8px 20px;
        /* Adjust padding for smaller screens */
        border-radius: 30px;
        /* Slightly smaller border-radius */
    }
}

.resume-btn:hover {
    transform: scale(1.01);
    box-shadow: var(--theme-color) 0px 4px 6px;

}

.social-block {
    margin-left: 20px;
    display: inline-block;
    float: left;
}

.social-icons-block {
    font-size: 2em;
    color: var(--theme-color);
    margin-left: 10px;
}

.social-icons {
    margin-left: 15px;
    background-color: white;
    box-shadow: var(--theme-color) 0px 4px 6px;
    padding: 4px 4px;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(238, 238, 238);
    border-image: initial;
    transition: 0.3s ease-in;
    opacity: 1 !important;
}

.social-icons:hover {
    color: #058EB0;
    /* Different hover color */
    transform: scale(1.2);
}


header {
    background: var(--theme-color);
    color: #fff;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-margin-top: 80px;
}

/* Home container starts */
#home {
    background: var(--theme-bg-color1);
    color: #212121;
}

.home-container {
    max-width: 900px;
}

.bio-text {
    font-size: 1.25rem;
    font-weight: 400;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.profile-img:hover {
    box-shadow: 0px 0px 15px var(--theme-color);
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
}

.profile-image-container {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 220px;
    height: 220px;
    background: url('../assets/images/brush1.png') no-repeat center/contain;
    z-index: 1;
}

[data-aos] {
    will-change: opacity, transform;
    z-index: 0;
}


.bio {
    letter-spacing: 1px;
    color: #5F6F81;
    font-size: 1rem;
    min-width: 250px;
    line-height: 1.4;
    margin-top: 10px !important;
}

.fname-text {
    color: #000000;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: 24px 0;
}

.lname-text {
    color: rgb(5, 118, 174);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin: 24px 0;
}

/*Home container ends*/


#about {
    background: var(--theme-bg-color2);
}

.about-section {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: left;
    align-items: flex-start;
    min-height: 35vh !important;
}

.about-head {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 83px;
    font-weight: 500;
    font-size: 1.6rem;
}

.short-head {
    padding: 10px 0px;
    font-weight: 500;
    text-decoration: underline;
}

.about-head-text {
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.6rem;
}

.about-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;

    span {
        color: #8444df;
    }
}

.hobbies-section {
    background: var(--theme-color);
    border-radius: 15px;
}

.hobbies-icon {
    font-size: 35px;
    text-align: center;
}

.hobbies-text {
    color: var(--secondary-font-color);
    text-align: center;
    padding: 5px;
}



#skills {
    background: var(--theme-bg-color2);
}

.skill-section {
    padding: 0px 25px;
    min-height: 23vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: left;
    align-items: flex-start;
}

.skill-head {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 83px;
    font-weight: 500;
    font-size: 1.6rem;
}

.skill-head-text {
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.6rem;
}

.skill-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    width: 100%;

    span {
        color: #8444df;
    }
}

.skills-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(80px, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

.skills-grid li {
    background-color: white;
    padding: 5px 5px;
    border-radius: 15px;
    width: 80px;
    list-style: none;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -webkit-box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
    box-shadow: 0px 4px 8px rgba(134, 151, 168, 0.1);
    border: 1px solid #eee;
}

.skills-grid li p {
    margin-top: 5px;
}

.skills-grid li img {
    height: 35px;
    padding-left: 15px;
}

.skills-grid li:hover {
    -webkit-box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.skill-name {
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}

.experience-section {
    background: var(--theme-bg-color2);
    padding: 0px 25px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: left;
    align-items: flex-start;
}

.experience-head {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 83px;
    font-weight: 500;
    font-size: 1.6rem;
}

.experience-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    width: 100%;

    span {
        color: #8444df;
    }
}

.project-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    width: 100%;

    span {
        color: #8444df;
    }
}

.contact-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    width: 100%;

    span {
        color: #8444df;
    }
}




.left-line-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px 0;
}

.left-line-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 4px;
    height: 100%;
    background: var(--theme-color);
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 50px 0;
}

.timeline-marker {
    position: relative;
    width: 60px;
    height: 60px;
    margin-right: 20px;
    z-index: 1;
}

.timeline-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--theme-color);
    object-fit: contain;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.timeline-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    margin: 0 5px 8px 0;
    color: var(--theme-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-years {
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.timeline-details {
    padding-left: 20px;
    margin: 0;
}

.timeline-details li {
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
    list-style-type: disc;
}

.timeline-details li::marker {
    color: var(--theme-color);
}

/* Optional: Slight bullet point spacing */
.timeline-details li::before {
    content: "";
    margin-right: 5px;
}


@media (max-width: 768px) {
    .left-line-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 40px 0;
    }

    .timeline-marker {
        margin-bottom: 20px;
        margin-left: -7px;
    }

    .timeline-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 15px 20px;
    }
}

#projects,
#contact {
    background: var(--theme-bg-color2);
}

.projects-section {
    background: var(--theme-bg-color1);
    padding: 0px 25px;
    min-height: 51vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: left;
    align-items: flex-start;
}



.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.project-card:hover .project-img {
    opacity: 0.8;
}

.project-details {
    padding: 15px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.project-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tech span {
    background-color: #1995AD;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.view-btn {
    display: inline-block;
    background-color: #1995AD;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    align-self: auto;
    text-align: center;
}

.view-btn:hover {
    background-color: #146f8e;
}



.container {
    max-width: 800px;
    text-align: center;
}

.icons i {
    font-size: 30px;
    margin: 10px;
    transition: 0.3s;
}

.icons i:hover {
    color: #007bff;
}

.collapse {
    visibility: visible !important;
}

@media (max-width: 768px) {
    .profile-img {
        width: 200px;
        height: 200px;
    }

    .fname-text,
    .lname-text {
        font-size: 1.8rem;
    }

    .typewriter {
        font-size: 1.5rem;
    }
}

button:hover {
    background: #058EB0 !important;
    box-shadow: 0 0 10px #058EB0, 0 0 20px #058EB0;
    transform: scale(1.05);
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    /* default: 1 per row on mobile */
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .project-list {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row on tablets */
    }
}

@media (min-width: 1024px) {
    .project-list {
        grid-template-columns: repeat(3, 1fr);
        /* 3 per row on desktops */
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    height: 100%;
    margin: 0;
    width: 90%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-details {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-description {
    margin-bottom: auto;
    /* pushes button to bottom */
}

/*---------------------------*/

#contact {
    background: var(--theme-bg-color2);
}

.contact-section {
    background: var(--theme-bg-color1);
    padding: 0px 25px;
    min-height: 51vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: left;
    align-items: flex-start;
}

.contact-head {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 83px;
    font-weight: 500;
    font-size: 1.6rem;
}

.contact-section-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    width: 100%;

    span {
        color: #8444df;
    }
}

/*-----------------------------*/
.border-middle {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Floating container */
.floating-message {
    position: fixed;
    bottom: 93px;
    right: 40px;
    z-index: 1000;
    border: 1px solid #fff;
}

/* Main floating button */
.floating-message button {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background-color: var(--secondary);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: white;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.floating-message button:hover {
    background-color: #4de1c1;
}

/* Options container */
.options {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
}

/* Individual option buttons */
.options a {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

/* Active State */
.floating-message.active .options a {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
}

/* Circular Positioning */
.floating-message.active .options a:nth-child(1) {
    transform: translate(-110px, -50px) scale(1);      /* WhatsApp - left */
    background-color: #25D366;
    color: white;
}

.floating-message.active .options a:nth-child(2) {
    transform: translate(-110px, -110px) scale(1);    /* Email - top-left diagonal */
    background-color: #D44638;
    color: white;
}

.floating-message.active .options a:nth-child(3) {
    transform: translate(-50px, -110px) scale(1);      /* Inquiry - straight up */
    background-color: #007bff;
    color: white;
}

.options a:nth-child(1) { transition-delay: 0.05s; }
.options a:nth-child(2) { transition-delay: 0.1s; }
.options a:nth-child(3) { transition-delay: 0.15s; }

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
  }
  
  form input[type="text"],
  form input[type="email"],
  form input[type="tel"],
  form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1.8px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
    font-family: inherit;
  }
  
  form input[type="text"]:focus,
  form input[type="email"]:focus,
  form input[type="tel"]:focus,
  form textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.4);
  }
  
  form textarea {
    min-height: 100px;
  }
  
  button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #007BFF;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.8px;
  }
  
  button[type="submit"]:hover {
    background-color: #0056b3;
  }

  /* Responsive tweaks */
  @media (max-width: 480px) {
    .container {
      padding: 25px 20px;
    }
    h2 {
      font-size: 1.5rem;
    }
  }

  .get-in-touch{
    text-align: center;
  }
