/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 3rem;

    /*========== Colors ==========*/
    /* Change favorite color */
    --hue-color:500; /*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%);
    /* --z-tooltip: 100;  */
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
    
    /* project section */
 
    



    /*========== 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: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .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;
}

/* Font size for large devices */
@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: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== Variables Dark theme ==========*/
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%, 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%);
   /* --z-tooltip: 100;   */
}

/*========== Button Dark/Light ==========*/
.nav__btns{
  display: flex;
  align-items: center;
}
.change-theme{
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
}
.change-theme:hover{
  color: var(--first-color);
}


/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
  padding: 2rem 0 4rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section__title, 
.section__subtitle {
  text-align: center;
}

/*==================== LAYOUT ====================*/
.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* .header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
} */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color); /* Ensures the header is visible */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100; /* Ensures it stays above other elements */
  transition: background-color 0.3s ease-in-out;
}


/*==================== NAV ====================*/

.nav
{
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo img {
  height: 20px; /* Adjust as needed */
  width: auto;
}
.nav__logo,
.nav__toggle{
  color: var(--title-color);
  font-weight: var(--font-medium);
}
.nav__toggle{
  font-size: 1.1rem;
  cursor: pointer;
}
/* .nav__logo:hover{
  color: var(--first-color);
}

.nav__toggle:hover{
  color: var(--first-color);
} */

@media screen and (max-width: 767px) {
  .nav__menu{
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding:2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0,0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: .3s;
  }
}


/* hover effect */
.nav__logo,
.nav__toggle,
.nav__close,
.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
}

/* Glow Effect on Hover */
.nav__logo:hover,
.nav__toggle:hover,
.nav__close:hover,
.nav__link:hover {
  color: #fff; /* Change text color to white */
  background: linear-gradient(45deg, transparent, transparent); /* No background change */
  border-radius: 8px; /* Rounded corners */
  text-shadow: 0 0 8px var(--first-color), 0 0 12px var(--first-color); /* Glowing text */
  box-shadow: 0 0 15px var(--first-color); /* Glowing box shadow */
  transform: scale(1.05); /* Slight scaling on hover */
}


/* Add pulse effect on hover */
.nav__link:hover {
  animation: glow 3s ease-out infinite;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px var(--first-color), 0 0 10px var(--first-color);
  }
  50% {
    text-shadow: 0 0 20px var(--first-color), 0 0 30px var(--first-color);
  }
  100% {
    text-shadow: 0 0 5px var(--first-color), 0 0 10px var(--first-color);
  }
}

/*  */

.nav__list{
  
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

.nav__link{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size:var(--small-font-size) ;
  color: var(--title-color);
  font-weight: var(--font-medium); 
}

/* .nav__link:hover{
  color: var(--first-color);
} */
.nav__icon{
  font-size: 1.2rem;
}

.nav__close{
  position: absolute;
  right: 1.3rem;
  bottom: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--first-color);
}
/* .nav__close:hover{
  color: var(--first-color-alt);
} */


/* show menu */
.show-menu{
  bottom:0;
}

/* Active link */
.active-link{
  color: var(--first-color);
}

/* Change background header */
/* .scroll-header{
  box-shadow: 0 -1px 4px rgba(0, 0, 0,.15); 
} */

.scroll-header {
  background-color: var(--container-color); /* Darker background on scroll */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}



/*==================== HOME ====================*/
.home__container{
  gap:1rem;
}

.home__content{
  grid-template-columns: .5fr 3fr;
  padding-top:3.5rem;
  align-items: center; 
}
.home__social{
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}
.home__social-icon{
  font-size:1.25rem;
  color:var(--first-color)
}
.home__social-icon:hover{
  color: var(--first-color-alt);
}
/*  */
@keyframes uniqueImpress {
  0% { 
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) translateY(0);
    box-shadow: 0 0 10px rgba(240, 3, 3, 0.748);
    border-radius: 50%;
  }
  25% { 
    transform: perspective(500px) rotateX(15deg) rotateY(15deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(175, 228, 3, 0.94);
    border-radius: 40%;
  }
  50% { 
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) translateY(0);
    box-shadow: 0 0 10px rgba(232, 141, 4, 0.933);
    border-radius: 50%;
  }
  75% { 
    transform: perspective(500px) rotateX(-15deg) rotateY(-15deg) translateY(10px);
    box-shadow: 0 15px 30px rgba(47, 4, 238, 0.795);
    border-radius: 60%;
  }
  100% { 
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) translateY(0);
    box-shadow: 0 0 10px rgba(235, 4, 96, 0.853);
    border-radius: 50%;
  }
}

.home__blob {
  width: 200px;
  fill: var(--first-color);
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: uniqueImpress 7s ease-in-out infinite;
}

.home__blob-img{
  width:170px;
}

.home__data{
  grid-column: 1/3;
}
.home__title{
  font-size:var(--big-font-size);
}

.home__subtitle{
  font-size:var(--h3-font-size);
  color: var(--text-color);
  font-weight:var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

.home__description {
  max-width: 600px; /* Adjust as needed */
  margin: auto;
}
.home__scroll{
  display :none;
padding-inline: var(--mb-2);
}
.home__scroll-button{
  color:var(--first-color);
  transition: .3s;
}
.home__scroll-button:hover{
  transform: translateY(0.25rem);
}
.home__scroll.mouse{
  font-size:2rem;
}

.home__scroll-name{
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}
.home__scroll-arrow{
  font-size: 1.25rem;
}


/*==================== BUTTONS ====================*/

.button {
  display: inline-block;
  background: linear-gradient(45deg, var(--first-color), var(--first-color));
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  animation: float 3s ease-in-out infinite;
}

.button:hover {
  box-shadow: 0 0 15px var(--first-color), 
              0 0 30px var(--first-color);
  transform: scale(1.1);
}
.button__icon{
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: .3s;
}

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}



/* project in mid */
.button--white {
  background-color: #fff;
  color: white;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  border: 2px solid #fff; /* Default white border in light mode */
}

/* Hover effect */
.button--white:hover {
  background-color: white;
  color:white;
  box-shadow: 0 0 10px var(--first-color);
}

/* Light mode (Explicitly set white border) */
.light-theme .button--white {
  border: 2px solid #fff;
}

/* Dark mode (Border changes to theme color) */
.dark-theme .button--white {
  border: 2px solid var(--first-color);
  color: #fff;
}

/* Dark mode hover effect */
.dark-theme .button--white:hover {
  background-color: var(--first-color);
  color: #fff;
  box-shadow: 0 0 10px var(--first-color);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-right: var(--mb-1);
  
}



/* servies button below one */
.button--small{
  padding:.75rem  5rem;
  margin-left: -15px;
  margin-right: 25px;

  .button__icon{
    margin-left: -5px;
  }
}
.button--link{
  padding: 0;
  background-color: transparent;
  color: white;
 
}
.button--link:hover{
  background-color: transparent;
  color: white;
}


/*==================== ABOUT ====================*/
.about__img {
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  margin-top: 30px;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  
  /* Neon glow effect */
  box-shadow: 0 0 10px var(--first-color), 
              0 0 20px var(--first-color);
}

.about__img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--first-color), 
              0 0 30px var(--first-color);
}


.about__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 10px; /* Controls spacing */
}




.about__info-title{
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  
}
.about__info-name{
  font-size: var(--small-font-size);
}
.about__info-title,
.about__info-name{
  display:block;
  text-align: center;
}
.about__buttons{
  display: flex;
  justify-content: center;
}


/*==================== SKILLS ====================*/
/* Skills Section */
.skills {
  text-align: center;
  margin: 50px;
}

.skills-title {
  font-size: 38px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 10px #00ffea, 0 0 20px #00ffea;
  margin-bottom: 35px;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 25px;
  max-width: 950px;
  margin: 0 auto;
}

/* Individual Skill Cards with RGB Border and 3D Glassmorphic Effect */
.skill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  transition: transform 0.8s ease, box-shadow 0.4s ease, border 0.4s ease;
  position: relative;
  cursor: pointer;
  animation: rgbBorderGlow 8s linear infinite;
  border: 3px solid transparent;
  overflow: hidden;
}

/* RGB Running Border Effect */
@keyframes rgbBorderGlow {
  0% { box-shadow: 0 0 15px #ff00ff7c, 0 0 30px #ff00ff; }
  25% { box-shadow: 0 0 15px #00ffff9d, 0 0 30px #00ffff; }
  50% { box-shadow: 0 0 15px #a9020260, 0 0 30px #ff0000; }
  75% { box-shadow: 0 0 15px #ffff0074, 0 0 30px #ffff00; }
  100% { box-shadow: 0 0 15px #0037ff, 0 0 30px #0037ff77; }
}

/* Floating Effect */
@keyframes floatSkill {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.skill-icon {
  width: 70px;
  height: auto;
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
  animation: floatSkill 3s ease-in-out infinite;
}

/* Hover Effect - Brighten Theme */
.skill:hover {
  transform: scale(1.25) rotate(5deg);
  box-shadow: 0 0 25px #ffffff, 0 0 45px #ffffff;
  background: rgba(255, 255, 255, 0.15); /* Add slight background change */
  border-color: transparent; /* Remove border color on hover */
}

/* Brighten and Rotate the Icon on Hover */
.skill:hover .skill-icon {
  filter: brightness(2) drop-shadow(0 0 20px #ffffff);
  transform: scale(1.15) rotate(-5deg);
}

/* Soft Glow and Focused Shadows on Icon Hover */
.skill:hover::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: glowEffect 7s infinite alternate;
}

/* Smooth Glow Effect Animation */
@keyframes glowEffect {
  0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.556); }
  50% { box-shadow: 0 0 40px rgba(1, 24, 8, 0.686); }
  100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.668); }
}

/*==================== QUALIFICATION ====================*/
.qualification__tabs{
  display:flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}
.qualification__button{
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}
.qualification__button:hover{
  color: var(--first-color);
}
.qualification__icon{
  font-size: 1.8rem;
  margin-right: var(--mb-0-25); 
}

.qualification__data{
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}
.qualification__title{
  /* display: inline-block; */
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
.qualification__subtitle{
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}
.qualification__calender{
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}
.qualification__rounder{
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification__line{
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px,-7px);
}

.qualification [data-content]{
  display:none;

}
.qualification__active[data-content]{
  display: block;
}

.qualification__button.qualification__active{
  color: var(--first-color);
}

/*==================== SERVICES ====================*/
 .services__container{
  gap:1.5rem;
  grid-template-columns: repeat(2,1fr);
} 


   .services__content{
    position:relative;
    background-color: var(--container-color);
    padding: 3.5rem .5rem 1.25rem 1.5rem;
    border-radius: 0 2px 4px rgba(0,0,0,.15);
    transition: .3s;
    border-radius: .25rem;

    transition: .3s;
    border: 2px solid var(--first-color); /* Border in theme color */
    box-shadow: 0 0 5px var(--first-color), 0 0 10px var(--first-color-alt); /* Neon glow effect */
    transition: 0.3s ease-in-out;
    }
    .services__content:hover{
      box-shadow: 0 0 25px var(--first-color), 0 0 50px var(--first-color-alt);
    }
  
  .services__icon{
    display: block;
    font-size: 1.5rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
  }
  
  .services__title{
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-medium);
  }
  
  /* .services__button{
    cursor: pointer;
    font-size:var(--small-font-size) ;
    
  
  }
  
  .services__button:hover .button__icon{
    transform: translateX(.25rem);
  } */
  /* Default Style for Light Mode */
.services__button {
  color: var(--title-color); /* Keeps text color as default */
  border: 2px solid transparent; /* No border by default */
}

/* Hover Effect */
.services__button:hover {
  color: var(--first-color); /* Changes text to theme color */
}

/* Dark Mode: Change Border & Text Color */
@media (prefers-color-scheme: dark) {
  .services__button {
      color: white; /* Ensures text is theme-colored */
      border: 2px solid var(--first-color); /* Adds theme border in dark mode */
  }

  .services__button:hover {
      background-color: var(--first-color); /* Changes background to theme color */
      color: white; /* Ensures text is readable */
  }
}

  .services__modal{
    position:fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    z-index: var(--z-modal);
    opacity:0; 
    visibility:hidden;
    transition: .3s;
   
  }
  
  .services__modal-content{
    position: relative;
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: .5rem;
    margin-left:-0px; 
    border: 2px solid var(--first-color); /* Border in theme color */
    box-shadow: 0 0 5px var(--first-color), 0 0 10px var(--first-color-alt); /* Neon glow effect */
    transition: 0.3s ease-in-out;

  }
  .services__modal-content:hover {
    box-shadow: 0 0 25px var(--first-color), 0 0 50px var(--first-color-alt);
}

  
  .services__modal-service{
    display: flex;
    row-gap: 1rem;  }
  .services__modal-title{
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1-5);
  }
  .services__modal-close{
    position: absolute;
    top:1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--first-color);
    cursor: pointer;  
  }
  
  .services__modal-icon{
    color:var(--first-color);
    margin-right: var(--mb-0-25); 
  }
  
  /* Active Modal*/
   .active-modal{
    opacity: 1;
    visibility:visible ;
  } 

/*==================== PORTFOLIO ====================*/
.portfolio__container {
  overflow: initial;
  display: flex;
  justify-content: center; /* Centers the content horizontally */
  align-items: center; /* Centers the content vertically (if needed) */
}

.portfolio__content {
  padding: 0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* Ensures content inside is centered */
  text-align: center; /* Centers text inside the container */
}

.portfolio__img {
  width: 100%; /* Makes the image responsive */
  max-width: 320px; /* Restricts size for medium devices */
  display: block; /* Ensures proper centering */
  margin: 0 auto; /* Centers the image horizontally */
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.portfolio__description {
  margin-bottom: var(--mb-0-75);
}

.portfolio__button:hover .button__icon {
  transform: translateX(.25rem);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: none;
}

.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -2rem;
}

.swiper-button-next {
  right: -.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
  outline: none;
  /* display: flex !important; */
}


/*==================== PROJECT IN MIND ====================*/
.project{
  text-align: center;
  display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    align-items: auto; /* Align items vertically */
    justify-content: auto; /* Center items horizontally */
    position: relative; /* Keeps other elements fixed */
}
.project__bg{
  background-color: var(--first-color-second);
  padding-top:3rem ;
}
.project__title{
  font-size:var(--h2-font-size) ;
  margin-bottom: var(--mb-0-75);
}
.project__description{
  margin-bottom: var(--mb-1-5);
}
.project__title,
.project__description{
  color:#fff;
}
.project__img {
  width: 232px;
  margin-top: -3rem;
  margin-right: 8rem; /* Pushes image towards the center */
  align-self: center; /* Centers vertically */
  right: 50%; /* Adjust horizontal position */
  top: 50%; 
}



/*==================== TESTIMONIAL ====================*/



/*==================== CONTACT ME ====================*/
.contact__container{
  row-gap:3rem;
}
.contact__information{
  display: flex;
  margin-bottom: var(--mb-2);
}
.contact__icon{
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}
.content__title{
  font-size: var(--h3-font-size);
  font-weight:var(--font-medium) ;
}
.contact__subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}
.contact__content{
  background-color: var(--input-color);
  border-radius: .5rem;
  padding: .75rem 1rem .25rem;
}
.contact__label{
  font-size: var(--small-font-size);
  color: var(--title-color);

}
.contact__input{
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family:var(--normal-font-size) ;
  font-size:var(--normal-font-size);
  border: none;
  outline:none;
  padding: .25rem .5rem .5rem 0;
}

/*==================== FOOTER ====================*/
/* 
footer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  background: #F8F8F8;
  padding-block: 40px 60px;
}
.top-footer p{
  font-size: 25px;
  font-weight: 600;
}
.middle-footer .footer-menu{
  display: flex;
}
.footer_menu_list{
  list-style: none;
}
.footer_menu_list a{
  text-decoration: none;
  color: var(--text-color-second);
  font-weight: 500;
  margin-inline: 20px;
}
.footer-social-icons{
  display: flex;
  gap: 30px;   
}
.bottom-footer{
  font-size: 14px;
  margin-top: 10px;
} */
/* .footer {
  padding-top: 2rem;
}

.footer__container {
  row-gap: 3.5rem;
}

.footer__bg {
  background-color: var(--first-color-second);
  padding: 2rem 0 3rem;
}

.footer__subtitle {
  font-size: var(--small-font-size);
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-25);
}

.footer__link {
  color: #fff;
}

.footer__link:hover {
  color: var(--first-color-lighter);
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.footer__social {
  font-size: 1.25rem;
  margin-right: var(--mb-1-5);
}

.footer__social:hover {
  color: var(--first-color-lighter);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color-light);
  margin-top: var(--mb-3);
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
  color: #fff;
} */

/* ------------------------------------------ */
.footer {
  background-color: var(--first-color); /* Use theme color */
  color:var(--first-color); /* Light text color */
  padding: 3rem 2rem;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
}

/* Footer Top Section */
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__section {
  width: 48%;
}
 /*    */
.footer__link {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__social {
  color: #fff;
  font-size: 1.5rem;
}

.footer__copy {
  font-size: 0.9rem;
  margin-top: 2rem;
}


/*   */

.footer__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
}
.footer__links {
    display: flex;  /* Enables flexbox */
    justify-content: center; /* Centers links */
    align-items: center; /* Aligns items vertically */
    gap: 20px; /* Adds spacing between links */
    list-style: none; /* Removes bullet points */
    padding: 0;
    margin: 0;
}

.footer__link {
    text-decoration: none; 
    color: white; /* Adjusts color based on theme */
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color:black; /* Hover effect */
}

.footer__socials {
  display: center;
  gap: 1rem;
  color: white
}

.footer__social {
  font-size: 1.5rem;
  color:white;
  transition: color 0.3s ease;
}

.footer__social:hover {
  color:white;
}

/* Footer Bottom Section */
.footer__bottom {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  background-color: var(--second-color);
}

.footer__copy {
  color: #ffffff;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .footer__top {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
  }
}


@keyframes neonGlow {
  0% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; }
  50% { text-shadow: 0 0 15px currentColor, 0 0 30px currentColor; }
  100% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; }
}

@keyframes runningText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer__title{
  background: transparent;
  font-size: 22px;
  font-weight: bold;
  padding: 16px 28px;
  border: 2px solid var(--first-color);
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  text-align: center;
  animation: neonGlow 3s infinite alternate;

  /* Running Gradient Text */
  background-image: linear-gradient(90deg, #ff00ff, #00ffff, #ff0000, #ffff00);
  background-size: 300%;
  color: white; /* Fallback for older browsers */
  background-clip: text; /* Standard */
  -webkit-background-clip: text; /* WebKit Browsers */
  -webkit-text-fill-color: transparent; /* Transparent fill for gradient effect */
  animation: runningText 3s infinite linear, neonGlow 1.5s infinite alternate;
}




/*========== SCROLL UP ==========*/
@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.scrollup {
  display: block;
  position: fixed;
  right: 1rem;
  bottom: -3rem; /* Initially hidden */
  background-color: var(--first-color);
  opacity: 0;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: bottom 0.4s ease-in-out, opacity 0.4s, visibility 0.4s;
  visibility: hidden;
  animation: floatAnimation 3s infinite ease-in-out;
}

.scrollup {
  font-size: 1.5rem;
  color: white;
}
.scrollup:hover{
  box-shadow: 0 0 15px var(--first-color), 
              0 0 30px var(--first-color);
  transform: scale(1.1);
}
.scrollup__icon{
  font-size: 1.5rem;
  color: #FFF;

}
/* Show scroll */
.show-scroll{
  bottom: 5rem;
  visibility: visible;
  opacity: 1;
  
}

/*========== SCROLL BAR ==========*/
::-webkit-scrollbar{
  width: .60rem;
  background-color: var(--scroll-bar-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb{
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: var(--text-color-light);

}
/* ***************************************************************************************** */




/*==================== MEDIA QUERIES ====================*/

/* For small devices */
@media screen and (max-width:350px){
  .container{
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .nav__menu{
    padding: 2rem .25rem 4rem;
  }
  .nav__list{
    column-gap: 0;
  }

  .home__content{
    grid-template-columns: .25fr 3fr;
  }

  .home__blob{
    width:180px;
  }
  .about__description{
    width: fit-content;
  }
  .skills__title{
    font-size:var(--normal-font-size);
  }
  .skills__container{
    width: fit-content;
  }
  .qualification__data{
    gap: 0.5rem;
  }
  .services__container{
    grid-template-columns: max-content;
    justify-content: center;
  }
  .services__content{
    width: 312px;
    padding-right: 3.5rem;
  }
  .services__modal{
    padding: 0 .5rem;
  }

  .services__title{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .project__bg {
    padding: 1rem;
    text-align: center;
    width: 344px;
  }
  

  .project__img{
    width: 200px;
  }
  .swiper-button-prev{
    left: -1rem; /* Adjust the position */
    font-size: 1.5rem; /* Adjust the icon size */
  }
  .swiper-button-next{
    right: -1rem; /* Adjust the position */
    font-size: 1.5rem; /* Adjust the icon size */
  }
  .testimonial__data,
  .testimonial__header{
    flex-direction: column;
    align-items: center;
  }
  .testimonial__img{
    margin-right: 0;
    margin-bottom: var(--mb-0-25);
  }
  .testimonial__data,
  .testimonial__description{
    text-align: center;
  }
  .contact__form{
    padding-left: .5rem;
    padding-right: .5rem;
  }
  /* .button__icon{
    position: 
  } */


  .footer__top {
    flex-direction: column;
    align-items: center;
  }

  .footer__section {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
    gap: 1rem;
  }

  .footer__link {
    font-size: 0.9rem;
  }

  .footer__social {
    font-size: 1.2rem;
  }

  .footer__copy {
    font-size: 0.8rem;
  }
}

/* For medium devices */

/* ////////////////////////////////////////////////////////////////////////// */


@media screen and (min-width: 568px) {
  .footer__top {
    flex-direction: row;
    justify-content: center; /* Center the content horizontally */
    align-items: center;     /* Center the content vertically */
}


  .footer__section {
    width: 48%;
  }

  .footer__socials {
    gap: 1rem;
  }

  .footer__link {
    font-size: 1rem;
  }

  .footer__social {
    font-size: 1.5rem;
  }

  .footer__copy {
    font-size: 0.9rem;
  }

  .home__content{
    grid-template-columns: max-content 1fr 1fr;
  }
  .home__data{
    grid-column: initial;
  }
  .home__img{
    order: 1;
    justify-self: center;
    
  }
  .about__container,
  .skills__container,
  .portfolio__content,
  .project__container,
  .contact__container,
  .footer__container
  {
    grid-template-columns: repeat(2,1fr);
  }

  .qualification__sections{
    display: grid;
    grid-template-columns: .6fr;
    justify-content: center;
  }

  .skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 skills per row */
    gap: 45px; /* Space between items */
    justify-content: center;
    align-items: center;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;  /* Adjust size */
    height: 100px;
}

.skill img {
    width: 80px; /* Icon size */
    height: auto;

}
.project__bg {
  padding: 1rem;
  text-align: center;
  width: 344px;
}

}
/* =++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


@media screen and (min-width:600px) {
  .project__bg {
    padding: 2rem;
    text-align: center;
    width: 200%;
    margin-top: 100px; /* Adjust to move section down */
    overflow: hidden; /*Prevents image overflow */
    margin-left: auto; 
    margin-right: 0;
}
  .project__img {
    max-width: 100%; /* Ensures responsiveness */
    height: auto;
    display: block;
    margin: 0 auto;
}
.skills-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 skills per row */
  gap: 45px; /* Space between items */
  justify-content: center;
  align-items: center;
}
}


/* ====================FOOTER================== */
@media screen and (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: center; /* Center the content horizontally */
    align-items: center;     /* Center the content vertically */
}


  .footer__section {
    width: 48%;
  }

  .footer__socials {
    gap: 1.5rem;
  }

  .footer__link {
    font-size: 1rem;
  }

  .footer__social {
    font-size: 1.7rem;
  }

  .footer__copy {
    font-size: 1rem;
  }

  .container{
    margin-left: auto;
    margin-right: auto;;
  }
  body{
    margin:0;
  }
  .section{
    padding: 6rem 0  2rem;
  }
  .section__subtitle{
    margin-bottom:4rem;

  }
  .header{
    top: 0;
    bottom: initial;
  }
  .header,
  .main,
  .footer__container{
    padding:0 1rem;
  }
  
  .nav{
    height:calc(var(--header-height)+1.5rem);
    column-gap: 1rem;
  }

  .nav__icon,
  .nav__close,
  .nav__toggle{
    display: none;
  }

  .nav__list{
    display: flex;
    column-gap: 2rem;
  }
  .nav__menu{
    margin-left: auto;
  }

  .change-theme{
    margin: 0;
  }
  .home__container{
    row-gap: 5rem;
  }
  .home__content{
    padding-top: 5.5rem;
    column-gap: 2rem;
  }
  .home__blob{
    width: 270px;
  }
  .home__scroll{
    display: block;
  }
  .home__scroll-button{
    margin-left: 3rem;
  }

  .about__container{
    column-gap: 5rem;
  }
  .about__img{
    width: 350px;
  }
  .about__description{
    text-align: initial;
  }
  .about__info{
    justify-content: space-between;
  }
  .about__buttons{
    justify-content: initial;
  }
  .qualification__tabs{
    justify-content: center;
  }
  .qualification__button{
    margin: 0 var(--mb-1);
  }
  .qualification__sections{
    grid-template-columns: .5fr;
  }
  .services__container{
    grid-template-columns: repeat(3,218px);
    justify-content: center;
  }
  .services__icon{
    font-size: 2rem;
  }
  .services__content{
    padding: 6rem 0 2rem 2.5rem;
  }
  .services__modal-content{
    width: 450px;
  }
  .portfolio__img{
    width: 320px;
    display: block;
  }
  .portfolio__container {
    display: flex;
        justify-content: center; 
    align-items: center; /* Centers vertically if needed */
    width: 100%; /* Ensures it spans the full width */
    position: relative;

    .skills-container {
      /* width: 100%; Adjust percentage as needed */
     /* Optional: To limit maximum expansion */
      /* margin-left: 200px; */
      grid-template-columns: repeat(5, fr); /* Show 3 per row on smaller screens */
    }
}


/* Skill box styling */
.skill {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
}

/* Icon styling */
.skill img {
  width: 80px;
  height: auto;;
  }


.swiper-button-prev {
  left: -1rem !important; /* Moves it slightly left but keeps it visible */
  visibility: visible;
  opacity: 1;
  z-index: 10; /* Ensures it stays above other elements */
}

.swiper-button-next {
  right: -1rem !important; /* Moves it slightly right */
  z-index: 10;
}

/* Prevent arrows from going out of bounds */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; /* Adjust arrow size */
  height: 40px;
  /* background: rgba(0, 0, 0, 0.1); Light background for visibility */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services__title {
  margin-top: -80px;
  text-align: left; /* Align text to the left */
  margin-left: -30px;  /* Ensure no extra left margin */
}

.services__content.button--link {
  position: absolute;
  bottom: 1rem; /* Adjust this value to place the button at a fixed position */
  left: 50%;
  transform: translateX(-50%); /* Centers the button horizontally */
}

.portfolio__content{
    align-items: center;
  }
  .project{
    text-align: initial;
  }

  .project__bg{
    padding: 1rem;
    text-align: center;
    width: 165%;
    margin-left: 55px;
    border-radius:  10px;
  }

  .project__container{
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
  .project__data{
    padding-top: .8rem;
  }

  .footer__container{
    grid-template-columns: repeat(3,1fr);
  }
  .footer__bg{
    padding: 3rem 0 3.5rem;
  }
  .footer__link{
    flex-direction: row;
    column-gap: 2rem;
  }
  .footer__socials{
    justify-self: flex-end;
  }
  .footer__copy{
    margin-top: 4.5rem;;
  }
  
  .skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 skills per row */
    gap: 55px; /* Space between items */
    justify-content: center;
    align-items: center;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;  /* Adjust size */
    height: 100px;
}

.skill img {
    width: 80px; /* Icon size */
    height: auto;

}
}
@media screen and(min-width:900px){
.skills-container {
  margin-left: 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 skills per row */
  gap: 45px; /* Space between items */
  justify-content: center;
  align-items: center;
}}
/* ================================================================================= */
/* For large devices */  

@media screen and (min-width:1024px) {
  .header,
  .main,
  .footer__container{
    padding: 0;
  }
  .home__blob{
    width: 320px;
  }
  .home__social{
    transform: translateX(-6rem);
  }
  .services__container{
    grid-template-columns: repeat(3,238px);
  }
  .portfolio__content{
    column-gap: 5rem;
  }
  .swiper-portfolio-icon{
    font-size: 3.5rem;
  }
  .swiper-button-prev{
    left:-3.5rem;
  }
  .swiper-button-next{
    right:-3.5rem;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets{
    bottom:-4.5rem;
  }
  .contact__form{
    width: 460px;
  }
  .contact__inputs{
    grid-auto-columns: repeat(2,1fr);
    display: grid;
    gap: 1rem;
  }
  .contact__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
  }
  .skills-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 skills per row */
    gap: 55px; /* Space between items */
    justify-content: center;
    align-items: center;
}

.skill {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;  /* Adjust size */
    height: 100px;
}

.skill img {
    width: 80px; /* Icon size */
    height: auto;
}

  .footer__top {
    flex-direction: row;
    justify-content: center; /* Center the content horizontally */
    align-items: center;     /* Center the content vertically */
}


  .footer__section {
    width: 48%;
  }

  .footer__socials {
    gap: 2rem;
  }

  .footer__link {
    font-size: 1.1rem;
  }

  .footer__social {
    font-size: 1.8rem;
  }

  .footer__copy {
    font-size: 1.1rem;
  }
  
  .project__bg {
    padding: 2rem;
    text-align: center;
    width: 150%;
    margin-top: 100px; /* Adjust to move section down */
    overflow: hidden; /*Prevents image overflow */
    margin-left:180px; 
    margin-right: 0;
    border-radius: 1px;
}
  .project__img {
    max-width: 100%; /* Ensures responsiveness */
    height: auto;
    display: block;
    margin: 0 auto;
}

  .project__container{
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
    
  }

  
}

/* Large Devices: min-width 1024px */
@media screen and (min-width: 1024px) {
  .footer__top {
    flex-direction: row;
    justify-content: center; /* Center the content horizontally */
    align-items: center;     /* Center the content vertically */
}

  .footer__section {
    width: 48%;
  }

  .footer__socials {
    display: flex;
    gap: 2.5rem;
    justify-content: center;  /* Centers the items horizontally */
    align-items: center;      /* Centers the items vertically (optional) */
    margin-top: 1rem;         /* Add some spacing above the socials */
  }

  .footer__link {
    font-size: 1.2rem;
  }

 

  .footer__copy {
    font-size: 1.2rem;
  }
}

/* --------------------------FEATURED IMAGE BOX-------------------------- */
.featured-image{
  display: flex;
  justify-content: right;
  align-content: center;
  min-height: 80vh;
  width: 50%;
}
.image{
  margin: auto 0;
  width: 380px;
  height: 380px;
  border-radius: 55% 45% 55% 45%;
  overflow: hidden;
  animation: imgFloat 7s ease-in-out infinite;
}
.image img{
  width: 380px;
  height: 380px;
  object-fit: cover;
}
@keyframes imgFloat {
  50%{
      transform: translateY(10px);
      border-radius: 45% 55% 45% 55%;
  }
}

/* --------------------------FEATURED TEXT CARD-------------------------- */


.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
} 
/* .featured-text-card span {
  background: var(--first-color);
  color: white;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  border-radius: 50px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
} */


/* .featured-text-card span {
  background: var(--first-color);
  color: white;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  border-radius: 50px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
} */

@keyframes neonGlow {
  0% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; }
  50% { text-shadow: 0 0 15px currentColor, 0 0 30px currentColor; }
  100% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; }
}

@keyframes runningText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.featured-text-card span {
  background: transparent;
  font-size: 22px;
  font-weight: bold;
  padding: 16px 28px;
  border: 2px solid var(--first-color);
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  text-align: center;
  animation: neonGlow 3s infinite alternate;

  /* Running Gradient Text */
  background-image: linear-gradient(90deg, #ff00ff, #00ffff, #ff0000, #ffff00);
  background-size: 300%;
  color: white; /* Fallback for older browsers */
  background-clip: text; /* Standard */
  -webkit-background-clip: text; /* WebKit Browsers */
  -webkit-text-fill-color: transparent; /* Transparent fill for gradient effect */
  animation: runningText 3s infinite linear, neonGlow 1.5s infinite alternate;
}




/*
.featured-name{
  font-size: 50px;
  font-weight: 600;
  color: var(--text-color-second);
  margin-block: 20px;
}*/
.featured-name{
  font-size: 20px;
}
.typedText{
  text-transform: capitalize;
  color: var(--first-color); /* Matches the theme's primary color */
  font-weight: bold;
}
/*
.featured-text-info{
  font-size: 15px;
  margin-bottom: 30px;
  color: var(--text-color-second);
}
.featured-text-btn{
  display: flex;
  gap: 20px;
}
.featured-text-btn>.blue-btn{
  background: var(--first-color);
  color: var(--color-white);
}
.featured-text-btn>.blue-btn:hover{
  background: var(--first-color-hover);
} */
