:root {
    --nav-bg: rgb(24, 24, 24);
    --btn-bg: rgb(24, 24, 24);
    --border-color: rgb(78, 78, 78);
    --bg-color: black;
    --card-bg:  rgb(24, 24, 24);
    --title-color: white;
    --socials-bg: rgb(38, 38, 38);
    --socials-color: rgb(245, 248, 252);
    --education-bg:rgb(15, 15, 15);
    --pages-color: rgb(103, 110, 118);
    --contact-btn: black;
    --action-btn: rgb(158, 165, 173);
    --home-btn: white;
    --drop: rgb(122, 122, 155);
  }

body.dark-mode {
    --drop: black;
    --home-btn: rgb(158, 165, 173);
    --bg-color: white;
    --text-color: #000000;
    --nav-bg: rgb(245, 248, 252);
    --btn-bg: rgb(245, 248, 252);
    --border-color: #d1d1d1;
    --card-bg: rgb(245, 248, 252);
    --title-color: #000000;
    --socials-bg: white;
    --action-btn: #000000;
    --education-bg: rgb(232, 232, 232);
    --pages-color: rgb(103, 110, 118);
    --contact-btn: black;
  }

  html, body {
    overflow-x: hidden;
  }
  

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

html {
    scroll-behavior: smooth;
  }

/* HTML: <div class="loader"></div> */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* or any background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }

@keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }


body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: roboto, arial;
    transition: background-color 0.4s ease, color 0.4s ease;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

button{
    background-color: var(--btn-bg);
    color: var(--title-color);
  }

p{
    margin: 0;
  }

nav{
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 126px;
  }

.navbar-container {
    display: flex;
    height: 84.5px;
    justify-content: space-between;
    padding: 1rem;
    background: transparent;
  }

.dark-mode {
    --bg-color: white;
    --text-color:  rgb(38, 38, 38);
  }

#theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
  }

.dark-icon{
    color: white;
  }

.theme-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
  }

#theme-toggle{
    height: 19px;
    width: 25px;
    border-radius: 50%;
  }


.hidden {
    display: none;
  }

.right-side{
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
  } 

.right-side img{
    width: 60px;
    height: 60px;
    margin-right: 10px;
    cursor: pointer;
  }

.right-side a {
    display: flex;
    text-decoration: none;
  }

.name-container{
    width: 100%;
    line-height: 24px;
    padding: 5px 0;
  }

.firstname{
    font-size: 18px;
    color: var(--title-color);
  }

.lastname{
    font-size: 40px;
    color: rgb(158, 165, 173);
  }

.middle-side{
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
  }

.middle-side button{
    background-color: var(--btn-bg);
    color: var(--action-btn);
    margin-right: 35px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.5s ease;
    white-space: nowrap;
  }

.middle-side button:hover{
    opacity: 0.8;
  }

.middle-side button:active{
    color: var(--home-btn);
  }

.dropdown-icon{
    width: 13px;
  }

.socials-button{
    position: relative;
  }

.socials-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 650px;
    right: 0;
    background-color: var(--socials-bg);
    width: 210px;
    padding: 10px 0;
    z-index: 100;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    white-space: nowrap;
  }

.socials-container a{
    display: flex;
    margin-bottom: 15px;
  }

.socials-container img{
    margin-right: 12px;
    cursor: pointer;
    background-color: var(--socials-color);
  }

.socials-container p{
    cursor: pointer;
    color: var(--title-color);
  }

.socials-button:hover .socials-container{
    opacity: 1;
    position: fixed;
    top: 50px;
    left: 650px;
    pointer-events: auto;
  } 

.socials{
    display: flex;
    flex: 1;
    color: white;
    padding: 10px 0 10px 10px;
    margin-bottom: 5px;
    cursor: pointer;
    opacity: 0.8;
  }

.socials img{
    width: 20px;
  }

.socials:hover{
    background-color: rgb(245, 248, 252);
    opacity: 0.8;
  }

.socials:hover p{
    color: black;
  }

.left-side{
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px 0 0;
  } 

/* From Uiverse.io by vinodjangid07 */ 
#checkbox {
    display: none;
  }

.toggle {
    position: relative;
    visibility: hidden;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: flex;
    margin-left: 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition-duration: .5s;
  }

.bars {
    width: 100%;
    height: 4px;
    background-color: rgb(158, 165, 173);
    border-radius: 4px;
  }

#bar2 {
    transition-duration: .8s;
  }

#bar1,#bar3 {
    width: 70%;
  }

#checkbox:checked + .toggle .bars {
    position: absolute;
    transition-duration: .5s;
  }

#checkbox:checked + .toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
  }

#checkbox:checked + .toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
  }

#checkbox:checked + .toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
  }

#checkbox:checked + .toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
  }

/* Styles for Stack area */

.ticker-wrapper {
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    z-index: 200;
  }


/* #d1d1d1; #444; */

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 30s linear infinite;
  }

.ticker-content {
    display: flex;
  }

.ticker-item {
    display: flex;
    align-items: center;
    color: var(--title-color);
    font-size: 14px;
    margin-right: 40px;
    white-space: nowrap;
  }

.ticker-item img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-color: white;
    object-fit: contain;
  }

@keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

/* From Uiverse.io by vinodjangid07 */ 
.Documents-btn {
    display: flex;
    border: 2px solid grey;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    height: 45px;
    margin-left: 10px;
    padding: 0px 15px;
    border-radius: 5px;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
  }

.folderContainer {
    width: 30px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
  }

.fileBack {
    z-index: 1;
    width: 80%;
    height: auto;
  }

.filePage {
    width: 50%;
    height: auto;
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease-out;
  }

.fileFront {
    width: 85%;
    height: auto;
    position: absolute;
    z-index: 3;
    opacity: 0.95;
    transform-origin: bottom;
    transition: all 0.3s ease-out;
  }

.text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--title-color);
  }

.Documents-btn:hover .filePage {
    transform: translateY(-5px);
  }

.Documents-btn:active {
    transform: scale(0.95);
  }

.Documents-btn:hover .fileFront {
    transform: rotateX(30deg);
  }

/* Animation styles */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
  }

main{
    margin-top: 230px;
  }

.introduction-container{
    display: flex;
    max-width: 1123px;
    flex-direction: column;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
  }

.intro{
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
  }

.intro h1{
    color: var(--title-color);
    margin: 0;
    font-size: 55px;
    font-weight: 700;
    line-height: 72px;
  }

.intro span{
    color: rgb(158, 165, 173);
    font-size: 50px;
  }

.sub-header{
    margin-top: 15px;
    text-align: center;
    display: flex;
    flex: 1;
    line-height: 28px;
    color: rgb(158, 165, 173);
  }

.sub-header p{
    font-size: 18px;
  }

.technical-articles{
  display: flex;
  color: var(--title-color);
  margin-right: 30px;
  margin-left: 22px;
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

  .tech {
    margin-right: 10px;
  }

/* From Uiverse.io by vinodjangid07 */ 
.button {
    margin-top: 20px;
    width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0px 15px;
    border-radius: 10px;
    border: 2px solid grey;
    position: relative;
    cursor: pointer;
    transition-duration: .2s;
  }

.arrow {
    position: absolute;
    right: 0;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.button:hover {
      background-color: rgb(77, 77, 77);
      --text-color: #ffffff;
      transition-duration: .2s;
  }

  .button:hover .arrow {
      animation: slide-right .6s ease-out both;
    }

/* arrow animation */
  @keyframes slide-right {
    0% {
      transform: translateX(-10px);
      opacity: 0;
  }

  100% {
      transform: translateX(0);
      opacity: 1;
      }
  }

.button:active {
    transform: translate(1px , 1px);
    transition-duration: .2s;
  }


/* Projects */

.projects-container{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
  }

.projects-contents{
    padding: 0 60px 0 0;
    margin: 0;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
  }

.projects-contents p{
    color: var(--title-color);
    margin-right: 30px;
    margin-left: 22px;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
  }

.projects-contents button{
    margin-bottom: 17px;
  }

/* Carousel */

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0 20px 10px;
  }

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

.card {
    background-color: var(--card-bg);
    width: 400px;
    height:  450px;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }

.card-image {
    height: 300px;
    max-height: 300px;
    width: 400px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
  }

.card-content {
    padding: 15px;
    height: 156px;
  }

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
  }

.tag {
    font-size: 12px;
    color: #666;
    font-weight: 500;
  }

.tag:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
  }

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--title-color);
  }

.card-date {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
  }

/* Blogs section */

 .blog{
    margin: 60px 10px;
    border-radius: 20px;
    background-color: var(--card-bg);
  }

.blog-section{
    display: flex;
    margin: 0 30px;
  }

.description{
    max-width: 600px;
  }

.sub-paragraphs{
    color: var(--title-color);
  }

.blog-slider-container {
    width: 60%;
    min-width: 60%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
  }

.blog-slides-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
  }

.blog-slide-card {
    min-width:  100%;
    height: 350px;
    background-color: #111;
    color: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

.blog-slide-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

.blog-slide-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

.blog-slide-card button {
    font-size: 1rem;
    width: 125px;
    padding: 10px 40px 10px 20px;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

.blog-nav-controls {
    position: absolute;
    margin-bottom: 20px;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

.blog-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }

.blog-nav-btn.active {
    background-color: #000;
  }

.blog-arrow-btn {
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
  }

.arrow-img{
    width: 10px;
  }

.description1{
    margin-left: 60px;
  }

.description1 h1{
    margin-bottom: 15px;
  }

.description-sub1{
    background-color: var(--education-bg);
    margin-bottom: 20px;
    padding: 20px 70px 20px 25px;
    min-width: 350px;
    border-radius: 20px;
  }

.location{
    background-color: var(--education-bg);
    padding: 20px;
    border-radius: 20px;
    min-width: 350px;
  }

.hats{
    width: 24px;
    margin-right: 10px;
  }

.education{
    margin-bottom: 25px;
  }

.education-sub{
    display: flex;
    text-align: center;
    align-items: center;
  }

.education-sub p{
    font-weight: bold;
  }

.icon-span{
    color: rgb(103, 110, 118);
    margin-right: 10px;
    font-size: 20px;
  }

.icon-span1{
  color: rgb(103, 110, 118);
  margin-right: 15px;
  font-size: 20px;
  margin-left: 9px;
}

.icon-span2{
  color: rgb(103, 110, 118);
  margin-right: 13px;
  font-size: 20px;
  margin-left: 7px;
}

@media screen and (max-width: 600px) {
  .blog-slide-card h2 {
    font-size: 1.4rem;
  }

  .blog-slide-card p {
    font-size: 1rem;
  }

  .blog-slide-card button {
    font-size: 0.9rem;
  }
}

/* Styles for footer */

/* From Uiverse.io by SelfMadeSystem */ 
/*
More comprehensive version at shenanigans.shoghisimon.ca/collection/css-rain-bg/
 */

 .container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    backdrop-filter: blur(1em) brightness(6);
    background-image: radial-gradient(
      circle at 50% 50%,
      #0000 0,
      #0000 2px,
      hsl(0 0 4%) 2px
    );
    background-size: 8px 8px;
  }

.container {
  position: relative;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  display: flex;
  z-index: 0;
  margin: auto;
  width: 100%;
  height: 500px;
  --c: #09f;
  background-color: #000;
  background-image: radial-gradient(4px 100px at 0px 235px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 235px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 117.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 252px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 252px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 126px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 150px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 150px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 75px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 253px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 253px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 126.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 204px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 204px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 102px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 134px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 134px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 67px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 179px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 179px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 89.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 299px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 299px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 149.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 215px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 215px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 107.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 281px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 281px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 140.5px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 158px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 158px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 79px, var(--c) 100%, #0000 150%),
    radial-gradient(4px 100px at 0px 210px, var(--c), #0000),
    radial-gradient(4px 100px at 300px 210px, var(--c), #0000),
    radial-gradient(1.5px 1.5px at 150px 105px, var(--c) 100%, #0000 150%);
  background-size:
    300px 235px,
    300px 235px,
    300px 235px,
    300px 252px,
    300px 252px,
    300px 252px,
    300px 150px,
    300px 150px,
    300px 150px,
    300px 253px,
    300px 253px,
    300px 253px,
    300px 204px,
    300px 204px,
    300px 204px,
    300px 134px,
    300px 134px,
    300px 134px,
    300px 179px,
    300px 179px,
    300px 179px,
    300px 299px,
    300px 299px,
    300px 299px,
    300px 215px,
    300px 215px,
    300px 215px,
    300px 281px,
    300px 281px,
    300px 281px,
    300px 158px,
    300px 158px,
    300px 158px,
    300px 210px,
    300px 210px,
    300px 210px;
  animation: hi 150s linear infinite;
}

@keyframes hi {
  0% {
    background-position:
      0px 220px,
      3px 220px,
      151.5px 337.5px,
      25px 24px,
      28px 24px,
      176.5px 150px,
      50px 16px,
      53px 16px,
      201.5px 91px,
      75px 224px,
      78px 224px,
      226.5px 350.5px,
      100px 19px,
      103px 19px,
      251.5px 121px,
      125px 120px,
      128px 120px,
      276.5px 187px,
      150px 31px,
      153px 31px,
      301.5px 120.5px,
      175px 235px,
      178px 235px,
      326.5px 384.5px,
      200px 121px,
      203px 121px,
      351.5px 228.5px,
      225px 224px,
      228px 224px,
      376.5px 364.5px,
      250px 26px,
      253px 26px,
      401.5px 105px,
      275px 75px,
      278px 75px,
      426.5px 180px;
  }

  to {
    background-position:
      0px 6800px,
      3px 6800px,
      151.5px 6917.5px,
      25px 13632px,
      28px 13632px,
      176.5px 13758px,
      50px 5416px,
      53px 5416px,
      201.5px 5491px,
      75px 17175px,
      78px 17175px,
      226.5px 17301.5px,
      100px 5119px,
      103px 5119px,
      251.5px 5221px,
      125px 8428px,
      128px 8428px,
      276.5px 8495px,
      150px 9876px,
      153px 9876px,
      301.5px 9965.5px,
      175px 13391px,
      178px 13391px,
      326.5px 13540.5px,
      200px 14741px,
      203px 14741px,
      351.5px 14848.5px,
      225px 18770px,
      228px 18770px,
      376.5px 18910.5px,
      250px 5082px,
      253px 5082px,
      401.5px 5161px,
      275px 6375px,
      278px 6375px,
      426.5px 6480px;
  }
}

.mid-container{
    z-index: 100;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
  }

.sub-mid{
    display: flex;
    align-items: center;
    justify-content: center;
  }

.sub-mid img{
    width: 190px;
  }

.semi-sub{
    font-size: 92px;
    line-height: 90px;
    font-weight: bold;
  }

.semi-sub span{
    color: rgb(103, 110, 118);
  }


.last-container{
    position: absolute;
    z-index: 100;
    bottom: 20px;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
  }


/* From Uiverse.io by wilsondesouza */ 
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}
.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}
.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15spx;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
  background-color: #24262a;
}
.example-2 .icon-content a[data-social="twitter"] .filled,
.example-2 .icon-content a[data-social="twitter"] ~ .tooltip {
  background-color: black;
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #ff0000;
}

.copyright{
 color: white;
 margin-top: 20px;
 font-style: italic;
}


/* Form */

.form-container {
    background-color: var(--nav-bg);
    color: var(--text-color);
    margin: 0 auto;
    padding: 40px;
    margin: 40px 10px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }

.text-content {
    display: flex;
  }

.sub-text{
    display: flex;
    flex-direction: column;
    flex: 1;
  }

.form-btn-container{
    z-index: 100;
    margin: auto;
    align-items: center;
    justify-content: center;
    margin-left: 168px;
  }

.text-content span{
    color: rgb(158, 165, 173);
  }

.text-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--title-color);
  }

.text-content p {
    font-size: 1rem;
    color: var(--title-color);
  }

.form-button {
    width: 150px;
    height: 40px;
    margin-right: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 15px;
    border-radius: 30px;
    border: 2px solid grey;
    position: relative;
    cursor: pointer;
    transition-duration: .2s;
  }
  
  .arrow {
    position: absolute;
    right: 0;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-button:hover {
    background-color: rgb(77, 77, 77);
    --text-color: #ffffff;
    transition-duration: .2s;
  }
  
  /* arrow animation */
  @keyframes slide-right {
    0% {
    transform: translateX(-10px);
    opacity: 0;
  }
  
  100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .form-button:active {
    transform: translate(1px , 1px);
    transition-duration: .2s;
  }
  

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .form input, .form button {
    width: 100%;
  }
}


/* Whatsapp */

  /* WhatsApp button container */
  .whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
  }
  
  /* WhatsApp link styles */
  .whatsapp-link {
    text-decoration: none;
    display: block;
  }

  /* WhatsApp icon shape (speech bubble with tail) */
  .whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50% 50% 50% 10px;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    z-index: 10;
  }

    /* Icon hover effect */
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }

  /* Phone icon inside the bubble */
  .whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
  }

/* WhatsApp tooltip bubble */
.whatsapp-message-bubble {
  position: absolute;
  top: -60px;
  right: 0;
  background-color: white;
  color: #333;
  padding: 8px 16px;
  border-radius: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  white-space: nowrap;
  opacity: 1; /* changed from 0 */
  visibility: visible; /* changed from hidden */
  transform: translateY(0); /* changed from translateY(10px) */
  transition: all 0.3s ease;
}

/* Tooltip arrow/tail */
.whatsapp-message-bubble:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

  /* Pulse animation for extra attention */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }

  /* Tooltip visible class (added via JS after timeout) */
  .whatsapp-message-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Additional pulse class */
  .pulse {
    animation: pulse 2s infinite;
  }
