/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  font-family: "Poppins", sans-serif;
}
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  /* Change favorite color */
  --hue-color: 190; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --main-color: #253b73; /* Deep blue */
  --accent-color: #7ed1f2; /* Light blue */
  --secondary-color: #4978ba; /* Medium blue */
  --bg-color: #fff;
  --text-color: #253b73; /* Use deep blue for text */
  --hover: #4978ba; /* Medium blue for hover */
  --card-bg: #f6faff; /* Very light blue for cards */
  --shadow: 0 4px 24px rgba(37, 59, 115, 0.10);
 
  --big-font: 3.2rem;
  --medium-font: 1.8rem;
  --p-font: 0.941rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --border-radius: 18px;
}

section {
  padding: 60px 10%;
  background: var(--bg-color);
}
body {
  background: var(--bg-color),
    radial-gradient(circle at 20% 30%, #7ed1f2 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, #4978ba 0%, transparent 70%),
    radial-gradient(circle at 50% 100%, #e0e7ef 0%, transparent 80%);
  color: var(--text-color);
  font-family: 'Poppins', 'Inter', 'Montserrat', sans-serif;
}
body.active {
  --text-color: #eaf6fb;
  --text-color-light: #b3d0e6;
  --bg-color: linear-gradient(135deg, #232946 0%, #16181c 100%);
  --main-color: #7ed1f2;
  --accent-color: #4978ba;
  --secondary-color: #253b73;
  --card-bg: #16213e;
  --shadow: 0 4px 24px rgba(124, 207, 242, 0.15);
  background: var(--bg-color),
    radial-gradient(circle at 15% 20%, #253b73 0%, transparent 60%),
    radial-gradient(circle at 85% 80%, #7ed1f2 0%, transparent 70%),
    radial-gradient(circle at 60% 100%, #16213e 0%, transparent 80%);
  cursor: pointer;
}
body.active, body.active * {
  cursor: pointer;
}
body.active .cursor-dot,
body.active .cursor-dot-outline {
  background: #fff !important;
  border-color: #fff !important;
}
*::selection {
  color: var(--bg-color);
  background: var(--main-color);
}
.heading {
  text-align: center;
}
.heading h2 {
  font-size: 30px;
}
 
.heading span {
  font-size: var(--p-font);
  color: rgb(2, 166, 70);
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 0 8vw;
  min-height: 70px;
  box-shadow: var(--shadow);
}
header.shadow {
  box-shadow: 0 0 4px rgb(14 55 54 / 15%);
}
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
body.dark-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main-color);
  margin-right: 2vw;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.navbar {
  display: flex;
  align-items: center;
  gap: 1.2vw;
}
/* Navbar underline animation on hover */
.navbar a {
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: color 0.2s;
  overflow: hidden;
  font-size: 1.08rem;
  padding: 0.5em 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar a::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0.3em;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1), left 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}
.navbar a:hover {
  color: var(--hover);
  background: none;
}
.navbar a:hover::after {
  width: 80%;
  left: 10%;
}
#menu-icon {
  font-size: 28px;
  cursor: pointer;
  z-index: 10001;
  display: none;
  margin-left: 2vw;
}
#darkmode {
  font-size: 25px;
  cursor: pointer;
  margin-left: 2vw;
  display: flex;
  align-items: center;
}
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.2fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
}
.home-img {
  order: 3;
}
.home-img img {
  width: 100%;
}
.home-text span {
  font-size: var(--medium-font);
  font-weight: 500;
}
.home-text h1 {
  font-size: var(--big-font);
}
.home-text h2 {
  font-size: 1.1rem;
  font-weight: 400;
}
.home-text p {
  font-size: var(--p-font);
  font-weight: 400;
  margin: 0.7rem 0 1rem;
}
.social {
  display: flex;
  flex-direction: column;
}
.social a {
  margin-bottom: 1rem;
  font-size: 22px;
  color: var(--text-color);
}
.social a:hover {
  color: var(--hover);
}
.btn {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  padding: 0.75em 2em;
  border-radius: var(--border-radius);
}
.btn:hover {
  background: var(--hover);
  color: var(--bg-color);
  transform: translateY(-2px) scale(1.03);
}
 

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
 
.about-img img {
  width: 50%;
  border-radius: 0.5rem;
}
.about-text p {
  font-size: var(--p-font);
  font-weight: 400;
  text-align: justify;
}
.information {
  margin: 1rem 0 1.4rem;
}
.information .info-box {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}
.information .info-box .bx {
  font-size: 22px;
}
.information .info-box span {
  font-weight: 400;
  margin-left: 1rem;
}
.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}
.skills-img img {
  width: 100%;
  padding-left: 4rem;
  object-position: center;
}
.bars-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1rem;
}
.bars-box h3,
span {
  font-size: 1.1rem;
  font-weight: 500;
}
.light-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: #7ed1f2;
  border-radius: 0.5rem;
}
.percent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.5rem;
  background: var(--main-color);
  border-radius: 0.5rem;
}
.html-bar {
  width: 94%;
}

.js-bar {
  width: 74%;
}
.react-bar {
  width: 80%;
}
.iot-bar {
  width: 75%;
}
.tailwind-bar {
  width: 70%;
}
.ux-bar{
  width: 90%;
}
.web-bar {
  width: 80%;
}
.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.services-box {
  padding: 20px;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
  border-bottom: 2px solid var(--main-color);
  box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
  background: inherit;
}
.services-box:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(37, 59, 115, 0.18);
  background: inherit;
}
.services-box h3,
.services-box .bx,
.services-box a {
  color: inherit;
  transition: none;
}
.services-box:hover h3{
  color: var(--main-color);
}
.services-box .bx {
  padding-top: 2rem;
  font-size: 54px;
  color: var(--main-color);
}
.services-box:hover .bx{
  color: var(--secondary-color);
}
.services-box a {
  color: var(--main-color);
  font-size: var(--p-font);
  font-weight: 500;
}
.services-box:hover a{
  color: var(--secondary-color);
}
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;

}
.portfolio-img {
  overflow: hidden;
  border-radius: 0.5rem;
  padding: 18px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portfolio-img a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--main-color);
  margin-top: 10px;
}
.portfolio-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
  margin-bottom: 10px;
}
.portfolio-img img:hover {
  transform: scale(1.1);
  transition: 1s;
}
.contact-form {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: none;
  border: none;
  color: var(--text-color);
  padding: 1.2rem 2.2rem 1.2rem 2.2rem;
  max-width: 420px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
body.active .contact-form {
  background: rgba(22, 33, 62, 0.45);
  box-shadow: none;
  border: none;
  color: var(--text-color);
}
.contact-form form {
  width: 100%;
}
form input,
textarea {
  padding: 15px;
  border-radius: 0.5rem;
  width: 100%;
  border: none;
  outline: none;
  background: hsla(260, 100%, 44%, 0.1);
  margin-bottom: 1rem;
  color: var(--text-color);
}
form input::placeholder,
textarea::placeholder {
  color: var(--text-color);
}
form textarea {
  resize: none;
  height: 200px;
}
.contact-button {
  width: 160px;
  cursor: pointer;
  background: var(--main-color);
  color: var(--bg-color);
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 35%;
  border: none;
  border-radius: 24px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.contact-button:hover {
  background: var(--hover);
  color: var(--bg-color);
  box-shadow: 0 4px 16px 0 rgba(73, 120, 186, 0.18);
}
.footer {
  display: grid;
  place-items: center;
  padding: 20px;
  
}
.footer h2 {
  margin-top: 80px;
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
}
.footer-social a i{
  color: var(--main-color);
  font-size: 25px;
  margin-left: 10px;
  text-align: center;
  line-height: 40px;
  background-color: var(--card-bg);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.copyright {
  padding: 20px;
  background: var(--main-color);
  text-align: center;
  color: #fff;
}
.copyright a{
  color: #22cf91;
}
/* Making Responsive */
@media (max-width: 991px) {
  header {
    padding: 0 4vw;
    min-height: 60px;
  }
  section {
    padding: 50px 4%;
  }
  .navbar {
    gap: 1.2vw;
  }
  .logo {
    font-size: 1.4rem;
  }
  .home {
    padding-top: 80px;
  }
}
@media (max-width: 881px) {
  :root {
    --big-font: 2.7rem;
    --medium-font: 1.4rem;
  }
}
@media (max-width: 768px) {
  :root {
    --big-font: 2.4rem;
    --medium-font: 1.2rem;
  }
  header {
    flex-direction: row;
    padding: 0 2vw;
    min-height: 56px;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    position: absolute;
    top: -500px;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
    transition: top 0.3s cubic-bezier(0.4,0,0.2,1);
    text-align: left;
    padding: 1rem 2vw;
    z-index: 1000;
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a {
    width: 100%;
    padding: 1rem 0.5rem;
    justify-content: flex-start;
  }
  #menu-icon {
    display: block;
  }
  #darkmode {
    position: absolute;
    top: 1.4rem;
    right: 2rem;
  }
  .scroll-down {
    display: none;
  }
  .home {
    grid-template-columns: 0.5fr 3fr;
  }
  .home-text {
    grid-column: 1/3;
    padding-left: 1.4rem;
  }
  .home-img {
    order: initial;
  }
  .about-container {
    grid-template-columns: 1fr;
  }
  .about-img {
    display: flex;
    justify-content: center;
  }
  .skills-container {
    grid-template-columns: 1fr;
  }
  .skills-img img {
    padding-left: 0;
  }
  .skills-img {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
  }
  .contact-form form{
    width: 300px;
  }
  .contact-button{
    margin-left: 25%;
  }
}
@media (max-width: 340px) {
  :root {
    --big-font: 1.7rem;
    --medium-font: 1.1rem;
  }
  .home-text span {
    font-size: 1rem;
  }
  .home-text h2 {
    font-size: 0.9rem;
    font-weight: 500;
  }
  .information .info-box span {
    font-size: 1rem;
  }
  .portfolio-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  }
  .contact-form form{
    width: 300px;
  }
  .contact-button{
    margin-left: 25%;
  }
}

.skills-wrapper{
  display: flex;
  flex-wrap: wrap;
  margin:6rem 0rem 4rem 0rem;
}
.skills-wrapper a{
  margin:0.5rem;
  margin-left: 30px;
}
.skills-heading h2{
  margin-top: 80px;
  margin-bottom: 60px;
  font-size: 1.5rem;
}


.btn-outline-pill#cpp{
  background-color: #7ed1f2;
  border: 2px solid #253b73;
  color: #253b73;
}

.btn-outline-pill#cpp:hover{
  background-color: #253b73;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}

.btn-outline-pill#python{
  background-color: #4978ba;
  border: 2px solid #7ccff2;
  color: #fff;
}

.btn-outline-pill#python:hover{
  background-color: #7ccff2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#ruby{
  background-color: #253b73;
  border: 2px solid #7ccff2;
  color: #fff;
}

.btn-outline-pill#ruby:hover{
    background-color: #7ccff2;
    border: 2px solid #253b73;
    color: #253b73;
}

.btn-outline-pill#java{
  background-color: #7ed1f2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#java:hover{
  background-color: #4978ba;
  border: 2px solid #7ed1f2;
  color: #fff;
}

.btn-outline-pill#node{
  background-color: #f6faff;
  border: 2px solid #253b73;
  color: #4978ba;
}

.btn-outline-pill#node:hover{
  background-color: #253b73;
  border: 2px solid #f6faff;
  color: #7ed1f2;
}

.btn-outline-pill#react{
  background-color: #4978ba;
  border: 2px solid #7ccff2;
  color: #fff;
}

.btn-outline-pill#react:hover{
  background-color: #7ccff2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#github{
  background-color: #253b73;
  border: 2px solid #7ccff2;
  color: #fff;
}

.btn-outline-pill#github:hover{
  background-color: #7ccff2;
  border: 2px solid #253b73;
  color: #253b73;
}

.btn-outline-pill#firebase{
  background-color: #7ed1f2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#firebase:hover{
  background-color: #4978ba;
  border: 2px solid #7ed1f2;
  color: #fff;
}

.btn-outline-pill#flutter{
  background-color: #f6faff;
  border: 2px solid #253b73;
  color: #4978ba;
}

.btn-outline-pill#flutter:hover{
  background-color: #253b73;
  border: 2px solid #f6faff;
  color: #7ed1f2;
}

.btn-outline-pill#javascript{
  background-color: #7ccff2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#javascript:hover{
  background-color: #4978ba;
  border: 2px solid #7ccff2;
  color: #fff;
}


.btn-outline-pill#agile{
  background-color: #253b73;
  border: 2px solid #7ccff2;
  color: #fff;
}

.btn-outline-pill#agile:hover{
  background-color: #7ccff2;
  border: 2px solid #253b73;
  color: #253b73;
}

.btn-outline-pill#html{
  background-color: #f6faff;
  border: 2px solid #253b73;
  color: #4978ba;
}

.btn-outline-pill#html:hover{
  background-color: #253b73;
  border: 2px solid #f6faff;
  color: #7ed1f2;
}

.btn-outline-pill#css{
  background-color: #7ed1f2;
  border: 2px solid #4978ba;
  color: #253b73;
}

.btn-outline-pill#css:hover{
  background-color: #4978ba;
  border: 2px solid #7ed1f2;
  color: #fff;
}

.btn-outline-pill#bash{
  background-color: #540D6E;
  border: 2px solid #29977e;
  color: #29977e;
}

.btn-outline-pill#bash:hover{
  background-color: #29977e;
  border: 2px solid #540D6E;
  color: #540D6E;
}

.btn-outline-pill#rest{
  background-color: #342E37;
  border: 2px solid #D2D68D;
  color: #016c7c;
}

.btn-outline-pill#rest:hover{
  background-image: linear-gradient(to right, red , yellow);
  border: 2px solid #342E37;
  color: #D2D68D;
}


.btn-outline-pill#nosql:hover{
  background-color: white;
  border: 2px solid black;
  color: black;
}

.btn-outline-pill#sql{
  background-color: #387db6;
  border: 2px solid #3a3939;
  color: #3a3939;
}

.btn-outline-pill#sql:hover{
  background-image:linear-gradient(black, gray);
  border: 2px solid #387db6;
  color: #387db6;
}

.btn-outline-pill#docker{
  background-color: #9395ec;
  border: 2px solid #555353;
  color: #555353;
}

.btn-outline-pill#docker:hover{
  background-image:linear-gradient(black, gray);
  border: 2px solid #9395ec;
  color: #9395ec;
}


.bxl-linkedin:hover{
   background-color: #000000;
   color: #15bcda;
  

}

.bxl-github:hover{
  background-color: #000000;
}

.bxl-instagram:hover{
  background-color: #000000;
  color: #d81b1b;
}

.bxl-youtube:hover{
 background-color: #000000;
 color: #d81b1b;
}

.team .member {
  position: relative;
  box-shadow: 6px 6px 10px rgba(108, 111, 112, 0.708);
  padding: 22px;
  border-radius: 5px;
  color: #000000;
  background-color:#ffffff;
  transition: 0.5s;
  margin: 40px;
  text-align: center;
  border-bottom:2px solid #005772;
}
.team .member span{
  font-size: small;
}
.team .member:hover{
  background-image: linear-gradient(to top, #accbee 0%, #c1f8f8 100%);
  color: #000000;
}

html,
html *,
body,
body * {
  cursor: none;
}

html, body {
  overflow-x: hidden !important;
}

.cursor-dot,
.cursor-dot-outline {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  z-index: 99999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #253b73;
  z-index: 999999;
}

.cursor-dot-outline {
  width: 40px;
  height: 40px;
  background-color: rgba(37, 59, 115, 0.10);
  z-index: 9999999;
}

@media only screen and (max-width: 991px) {

  .cursor-dot,
.cursor-dot-outline {
  display: none !important;
}
}

#contact-form h2{
  padding: 3rem;
  text-align: center;
}

/* Remove timeline line and dots from qualification */
.qualification__rounder,
.qualification__line {
  display: none !important;
}

/* Glassmorphism (glassy) card style for qualification and all cards - LIGHT MODE */
.qualification__content,
.services-box,
.portfolio-img,
.about-container,
.skills-container {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text-color);
  padding: 2rem 1.5rem;
}

/* Glassmorphism (glassy) card style for qualification and all cards - DARK MODE */
body.active .qualification__content,
body.active .services-box,
body.active .portfolio-img,
body.active .about-container,
body.active .skills-container {
  background: rgba(22, 33, 62, 0.45);
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(124, 207, 242, 0.08), 0 0 10px 2px rgba(126, 209, 242, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(124, 207, 242, 0.18);
  color: var(--text-color);
}

.qualification__content {
  font-size: 0.97rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.1rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.qualification__content-main {
  flex: 1 1 0;
}
.qualification__calendar {
  white-space: nowrap;
  align-self: flex-start;
  font-size: 0.92rem;
  color: var(--main-color);
  margin-left: 0.6rem;
}
@media (max-width: 600px) {
  .qualification__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .qualification__calendar {
    margin-left: 0;
    margin-top: 0.15rem;
    align-self: flex-start;
  }
}
.qualification__content h3.qualification__title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.qualification__content h4.qualification__title {
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.qualification__content .qualification__subtitle,
.qualification__content .qualification__calendar {
  font-size: 0.92rem;
}

/* Navbar dark mode icon alignment and style */
#darkmode {
  font-size: 22px;
  margin-left: 18px;
  margin-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
#darkmode:hover {
  background: rgba(37, 59, 115, 0.08);
  color: var(--main-color);
}
body.active #darkmode {
  color: #7ed1f2;
  background: rgba(124, 207, 242, 0.08);
}
header span {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
@media (max-width: 768px) {
  #darkmode {
    height: 36px;
    width: 36px;
    font-size: 20px;
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    position: static;
  }
  header span {
    margin-left: 6px;
    margin-top: 0;
    margin-bottom: 0;
    align-items: center;
    display: flex;
  }
}

section, .container, .about-container, .skills-container, .services-content, .portfolio-content, .qualification__section, .qualification__container, .qualification__content, .qualification__data, .contact-form, .footer {
  overflow: visible !important;
}

html {
  scroll-behavior: smooth;
}

/* Fade-in animation for all major sections */
.home,
.about,
.skills,
.qualification__section,
.services,
.portfolio,
.footer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
.home.show,
.about.show,
.skills.show,
.qualification__section.show,
.services.show,
.portfolio.show,
.footer.show {
  opacity: 1;
  transform: translateY(0);
}

/* HOTFIX: Always show qualification section for debugging */
.qualification__section {
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
}
body.active .btn-outline-pill#cpp {
  background-color: #253b73;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#cpp:hover {
  background-color: #7ed1f2;
  border: 2px solid #253b73;
  color: #253b73;
}
body.active .btn-outline-pill#python {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#python:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#ruby {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#ruby:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#java {
  background-color: #253b73;
  border: 2px solid #4978ba;
  color: #7ed1f2;
}
body.active .btn-outline-pill#java:hover {
  background-color: #4978ba;
  border: 2px solid #253b73;
  color: #fff;
}
body.active .btn-outline-pill#node {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#node:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#react {
  background-color: #4978ba;
  border: 2px solid #7ed1f2;
  color: #fff;
}
body.active .btn-outline-pill#react:hover {
  background-color: #7ed1f2;
  border: 2px solid #4978ba;
  color: #253b73;
}
body.active .btn-outline-pill#github {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#github:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#firebase {
  background-color: #253b73;
  border: 2px solid #4978ba;
  color: #7ed1f2;
}
body.active .btn-outline-pill#firebase:hover {
  background-color: #4978ba;
  border: 2px solid #253b73;
  color: #fff;
}
body.active .btn-outline-pill#flutter {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#flutter:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#javascript {
  background-color: #4978ba;
  border: 2px solid #7ed1f2;
  color: #fff;
}
body.active .btn-outline-pill#javascript:hover {
  background-color: #7ed1f2;
  border: 2px solid #4978ba;
  color: #253b73;
}
body.active .btn-outline-pill#agile {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#agile:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#html {
  background-color: #16213e;
  border: 2px solid #7ed1f2;
  color: #7ed1f2;
}
body.active .btn-outline-pill#html:hover {
  background-color: #7ed1f2;
  border: 2px solid #16213e;
  color: #253b73;
}
body.active .btn-outline-pill#css {
  background-color: #253b73;
  border: 2px solid #4978ba;
  color: #7ed1f2;
}
body.active .btn-outline-pill#css:hover {
  background-color: #4978ba;
  border: 2px solid #253b73;
  color: #fff;
}
body.active .percent-bar {
  background: #7ed1f2 !important;
}
body.active .light-bar {
  background: #253b73 !important;
}

.qualification__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  gap: 1.2rem;
  width: 100%;
}
.information .info-box,
.information .info-box span,
.information .info-box i {
  color: var(--main-color);
}
.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto 0.5rem auto;
  width: 100%;
}
.contact-img-col {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  /* box-shadow: 0 4px 24px rgba(37, 59, 115, 0.10); */
  object-fit: cover;
}
.contact-form-col {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 98vw;
  }
  .contact-img {
    max-width: 220px;
  }
  .contact-form {
    max-width: 98vw;
  }
}
.contact-card {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--text-color);
  padding: 1.2rem 2rem;
  max-width: 90%;
  margin: 2.5rem auto 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Remove extra horizontal padding from parent */
  padding-left: 0;
  padding-right: 0;
}
body.active .contact-card {
  background: rgba(22, 33, 62, 0.45);
  box-shadow: 0 4px 16px 0 rgba(124, 207, 242, 0.08), 0 0 10px 2px rgba(126, 209, 242, 0.12);
  border: 1.5px solid rgba(124, 207, 242, 0.18);
  color: var(--text-color);
}
.contact-form input,
.contact-form textarea {
  border: 1.5px solid var(--main-color);
  outline: none;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.7);
  color: var(--text-color);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: calc(100% - 20px);
  margin-left: 10px;
  margin-right: 10px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .contact-form {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}
body.active .contact-form input,
body.active .contact-form textarea {
  background: rgba(22,33,62,0.7);
  color: var(--text-color);
  border: 1.5px solid #7ed1f2;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(126, 209, 242, 0.15);
}
@media (max-width: 900px) {
  .contact-card {
    padding: 0.7rem 0.5rem;
    padding-left: 0;
    padding-right: 0;
  }
  .contact-form {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}

.resume-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}