

@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
  margin: 0;
  padding: 0;
  font-family: "poppins" sans-serif;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #000000;
  color: #fff;
}
#typing-text {
  font-family: 'Orbitron', sans-serif;
  color: #0ff;
  position: relative;
}

#typing-text::before, #typing-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
}

#typing-text::before {
  color: #f0f;
  z-index: -1;
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}
/* Navigation Menu Styling */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;  /* No background */
  padding: 20px 50px;
  box-shadow: none;  /* No shadow */
}

/* Restored Original Logo Size */
.logo {
  height: auto;          /* Keeps the original aspect ratio */
  max-height: 60px;       /* Current limit */
  transition: transform 0.3s ease;
  
  /* ✅ Increase size */
  width: 120px;           /* Adjust width */
  max-width: 100%;        /* Ensures responsiveness */
}

.logo:hover {
  transform: scale(1.1);
}


/* Menu List */
ul {
  list-style: none;
  display: flex;
  gap: 8px;  /* Tight spacing */
  margin: 0;
  padding: 0;
}

ul li {
  position: relative;
}

/* Navigation Links */
ul li a {
  text-decoration: none;
  color: #fff;  
  font-size: 16px;
  font-weight: 500;
  padding: 8% 6px;  /* Compact padding */
  transition: all 0.4s ease;
  position: relative;
}

/* Glow Effect on Hover */
ul li a:hover {
  color: #ff4d4d;
  text-shadow: 0 0 8px #ff4d4d, 0 0 20px #ff4d4d;
  transform: scale(1.05);
}

/* Active State */
ul li a.active {
  color: #ff4d4d;
  font-weight: 600;
}

/* Icons */
.fas {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s;
}

.fas:hover {
  color: #ff4d4d;
}




#header {
  width: 100%;
  height: 100vh;
  background-image: url(bg.png);
  background-size: 50%;
  background-position: right;
  background-repeat: no-repeat;
}
.container {
  padding: 10px 10px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  width: 100px;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
nav ul li a:hover::after {
  width: 100%;
}
.header-text {
  margin-top: 20%;
  font-size: 30px;
}
.header-text h1 {
  font-size: 60px;
  margin-top: 20px;
}
.header-text h1 span {
  color: #ff004f;
}
/* Preloader full-screen overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* or your site background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader animation */
.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top: 6px solid #ff004f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------------------------About---------------------------*/
#about {
  padding: 80px 0;
  color: #ababab;
}
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-col-1 {
  flex-basis: 35%;
}
.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}
.about-col-2 {
  flex-basis: 60%;
}
.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}
.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}
.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}
.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after {
  width: 50%;
}
.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}
.tab-contents ul li span {
  color: #b54769;
  font-size: 14px;
}
.tab-contents {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tab-contents.active-tab {
  display: block;
  opacity: 1;

}
/* ------------------------Skills and Tools------------------- */
#skills-tools {
  padding: 50px 0;
  background: #0a0a0a; /* dark background */
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.skill-item {
  background: #262626;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.skill-item i {
  font-size: 50px;
  color: #ff004f; /* your theme color */
  margin-bottom: 10px;
}

.skill-item h3 {
  font-size: 18px;
  margin-top: 10px;
  color: #fff;
}

.skill-item:hover {
  transform: translateY(-10px);
  background: cyan;
  box-shadow: 0 12px 20px cyan;;
}

.skill-item:hover i, 
.skill-item:hover h3 {
  color: black;
}

/* Certifications Section */
.certifications-section {
  padding: 80px 20px;
  background: #111;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: cyan;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
  color: #000;
}
.section-title:hover{
  color: cyan;
  box-shadow: #0ff 0 8px 16px rgba(8, 188, 216, 0.1);
  font-size: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #262626;
  padding: 30px 20px;
  border-radius: 15px;
  /* box-shadow: 0 8px 16px rgba(8, 188, 216, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 16px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px cyan;;
  /* font-size: 30px; */
  /* font-weight: 600; */
 
  background: cyan;
  color: black;
}

/* .card-title {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
}
.card-title:hover {
  color: #000;
  font-size: 30px;
} */

/* .card-desc {
  font-size: 16px;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
}
.card-desc:hover{
  color: #000;
} */

.card-date {
  font-size: 14px;
  color: white;
  font-weight: 500;
  position: absolute;
  bottom: 10px;
}
.card-date:hover{
  color: #ff4d4d;
  font-size: 15px;

}

/*---------------my project session---------------*/
#my-projects {
  padding: 50px 0;
  background: #111;
  color: #fff;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 15px;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  text-align: center;
}

.project-card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: crimson;
}

.project-card h2 {
  font-size: 22px;
  margin: 10px 0;
  color: #fff;
}

.project-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.project-card a {
  color: crimson;
  text-decoration: none;
  font-weight: bold;
}
.project-card a:hover {
  color: crimson;
  text-shadow: 0 0 8px #ff4d4d, 0 0 20px #ff4d4d;
}

.project-card:hover {
  background: cyan;
  transform: translateY(-10px);
  box-shadow: 0 12px 20px cyan;;
  color: black;
}

.project-card:hover h2,
.project-card:hover p,
.project-card:hover a
.project-card:hover i {
  color: #000;
}


/* ---------services-------------------------------- */
#services {
  padding: 30px 0;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
.services-list div {
  background: #262626;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-radius: 10px;
  transition: background 0.5s, transform 0.5s;
}
.services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
}
.services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
.services-list div a {
  text-decoration: none;
  color: black;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}
.services-list div:hover {
  background: cyan;
  transform: translateY(-10px);
  color: black;
}
/* ---------------My Work Section------------------------ */
#portfolio {
  padding: 50px 0;
}
#portfolio {
  padding: 50px 0;
  color: #0ff; /* Change this to your preferred text color */
}

#portfolio .work h3,
#portfolio .work p,
#portfolio .layer h3,
#portfolio .layer p {
  color: black; /* Set color for headings and paragraph inside work cards */
}



.show-extra .extra-work {
  display: block;
}


.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
.extra-work-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.extra-work-container.show {
  max-height: 1000px; /* Adjust depending on content */
}

.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.work img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}
.extra-work {
  display: none; /* Initially hide extra work items */
}

.extra-work-container.show .extra-work {
  display: block; /* Show the extra work items when 'show' class is added */
}


.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), cyan);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}
.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}
.layer a {
  margin: 20px;
  color: cyan;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: black;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}
.work:hover img {
  transform: scale(1.1);
}
.work:hover .layer {
  height: 100%;
}
.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid cyan;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  transition: 0.3s ease;
  border-radius: 10px;
  color: white;
}
.btn:hover {
  background: cyan;
  box-shadow: 0 0 5px cyan,
  0 0 20px cyan,
  0 0 50px cyan,
  0 0 100px cyan,
  0 0 200px cyan;
  color: black;
  
}
/* ------------------Testimonials---------------- */
/* #testimonials {
  padding: 80px 20px;
  background: black;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 50px;
  font-weight: bold;
}

.testimonial-container {
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  animation: slide 15s infinite ease-in-out;
}

.testimonial-card {
  background: #262626;
  border-radius: 15px;
  padding: 30px;
  min-width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: white;
}

.testimonial-card h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-card p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 10px;
}

@keyframes slide {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(-200%); }
  75%, 100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
    padding: 20px;
  }

  .testimonial-slider {
    flex-direction: column;
    animation: none;
  }
} */


/* ------------------contacts---------------- */
.contact-left {
  flex-basis: 35%;
}
.contact-right {
  flex-basis: 60%;
}
.contact-left p {
  margin-top: 30px;
}
.contact-left p i {
  color: #ababab;
  margin-right: 15px;
  font-size: 25px;
}
.contact-left p i:hover {
  color: #ff004f;
  transition: 0.5s;
  transform: translateY(-5px);
  background-color: #ff004f;
  box-shadow: 0 0 5px #ff004f,
  0 0 20px #ff004f,
  0 0 50px #ff004f,
  0 0 100px #ff004f,
  0 0 200px #ff004f;
  color: black;
}


.social-icons {
  margin-top: 30px;
}
.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover {
  color: #ff004f;
  transform: translateY(-5px);
  background-color: #ff004f;
  box-shadow: 0 0 5px #ff004f,
  0 0 20px #ff004f,
  0 0 50px #ff004f,
  0 0 100px #ff004f,
  0 0 200px #ff004f;
  color: black;
}
  

.btn.btn2 {
  display: inline-block;
  background-color: #ff004f;
  border-color: #ff004f;
}
.btn.btn2:hover{
  background-color: #ff004f;
  border-color: #ff004f;
  box-shadow : 0 0 5px #ff004f,
  0 0 20px #ff004f,
  0 0 50px #ff004f,
  0 0 100px #ff004f,
  0 0 200px #ff004f;
}

.contact-right form {
  width: 100%;
}
form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
  box-sizing: border-box;
}
form .btn2 {
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}
.copyright {
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}
/* -----------------css for small screens----------- */
nav .fas {
  display: none;
}

@media only screen and (max-width: 600px) {
  #header {
    background-image: url(myimage2.jpg);
    background-size: 80%;
    background-position: right -50% center;
  }
  /* .about-col-1 img {
    width: 80%; 
    margin-left: auto; 
    margin-right: auto;
    display: block;
  } */

  .header-text {
    margin-top: 60%;
    font-size: 16px;
  }
  .header-text h1 {
    font-size: 30px;
  }
  nav .fas {
    display: block;
    font-size: 25px;
  }
  nav ul {
    background: #ff004f;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.3s ease;
  }
  nav ul li {
    display: block;
    margin: 25px;
  }
  nav ul .fas {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  .sub-title {
    font-size: 40px;
  }
  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
  }
  .about-col-1 {
    margin-bottom: 30px;
  }
  .about-col-2 {
    font-size: 14px;
  }
  .tab-links {
    font-size: 16px;
    margin-top: 20px;
  }
  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }
  .copyright {
    font-size: 14px;
  }
}
#msg {
  color: #61b752;
  margin-top: -40px;
  display: block;
}
