/* =========================
   College-Ready Portfolio CSS
   Author: Saksham Khadka
   ========================= */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #ff004f;
  --dark: #080808;
  --light: #ffffff;
  --gray: #ababab;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: var(--light);
}

/* ---------- Global ---------- */
.container {
  padding: 10px 10%;
}

.sub-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--primary);
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #e60045;
  transform: translateY(-3px);
}
/* ---------- body---------- */
body {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body::before {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  background: var(--primary);
  filter: blur(150px);
  top: 20%;
  left: 10%;
  opacity: 0.2;
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(40px); }
  100% { transform: translateY(0px); }
}
/* ---------- Header ---------- */
#header {
  width: 100%;
  height: 100vh;
  position: relative;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("sasa.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  #header {
    background-attachment: scroll;
  }
}
.parallax-layer {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.2;
  top: 20%;
  left: 10%;
  animation: floatParallax 6s infinite ease-in-out;
}

@keyframes floatParallax {
  0% { transform: translateY(0px); }
  50% { transform: translateY(50px); }
  100% { transform: translateY(0px); }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 140px;
}

nav ul li {
  display: inline-block;
  margin: 10px 20px;
}

nav ul li a {
  color: var(--light);
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

.header-text {
  margin-top: 20%;
}

.header-text h1 {
  font-size: 55px;
}

.header-text h1 span {
  color: var(--primary);
}
.btn:hover {
  background: #ff1a63;
  transform: scale(1.05);
}
#typing {
  font-size: 20px;
  color: var(--primary);
  font-weight: 500;
}

/* ---------- About ---------- */
.about {
  padding: 80px 0;
}

.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;
  transition: 0.4s;
}

.about-col-1 img:hover {
  transform: scale(1.05);
}

.about-col-2 {
  flex-basis: 60%;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: '';
  width: 0;
  height: 3px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.3s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-contents span {
  color: var(--primary);
  font-size: 14px;
}
.sub-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #ff004f, #ff7a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* ---------- work done ---------- */
#daily {
  padding: 80px 0;
}

.daily-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.daily-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #333;
  transition: 0.3s;
  position: relative;
}

.daily-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255,0,79,0.3);
}

.daily-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.daily-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}

.daily-card span {
  font-size: 12px;
  color: #888;
  position: absolute;
  bottom: 10px;
  right: 15px;
}
.daily-card:hover h3 {
  text-shadow: 0 0 10px var(--primary);
}
/* ---------- Services ---------- */
#services {
  padding: 80px 0;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.service-card {
  background: #1a1a1a;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.4s;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

/* ICON */
.service-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

/* TITLE */
.service-card h3 {
  margin-bottom: 10px;
}

/* TEXT */
.service-card p {
  font-size: 14px;
  color: var(--gray);
}

/* 🔥 Hover Effect */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255,0,79,0.4);
}

/* Glow line animation */
.service-card::before {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--primary);
  bottom: 0;
  left: 0;
  transition: 0.4s;
}

.service-card:hover::before {
  width: 100%;
}
/* ---------- why me? ---------- */
#why {
  padding: 80px 0;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.1);
}

.why-card i {
  font-size: 35px;
  color: var(--primary);
  margin-bottom: 15px;
}

.why-card h3 {
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--gray);
}

/* 🔥 Hover Effect */
.why-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 20px var(--primary);
}
/* ---------- stat ---------- */
#stats {
  padding: 80px 0;
  text-align: center;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.stats-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 15px;
  transition: 0.4s;
  backdrop-filter: blur(10px);
}

.stats-card h2 {
  font-size: 35px;
  color: var(--primary);
}

.stats-card p {
  color: var(--gray);
}

.stats-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 20px rgba(255,0,79,0.4);
}
/* ---------- Portfolio ---------- */
#portfolio {
  padding: 80px 0;
}
.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.work-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid #333;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255,0,79,0.4);
}
.work-card, .service-card {
  display: block !important;
  opacity: 1 !important;
}
.work-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.work-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 15px;
}

/* 🔗 Links */
.project-links a {
  display: inline-block;
  margin-right: 10px;
  padding: 8px 15px;
  border-radius: 20px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.project-links a:hover {
  background: #ff1a63;
}

/* ---------- Contact ---------- */
.contact-left p {
  color: var(--gray);
  font-size: 14px;
}

.contact-right form {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #333;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  background: #262626;
  border: 1px solid #333;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  color: white;
  transition: 0.3s;
}

.contact-right input:focus,
.contact-right textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

#msg {
  margin-top: 10px;
  color: lightgreen;
  font-size: 14px;
}
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 12px 15px;
  border-radius: 50%;
  z-index: 1000;
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}
.top-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 10px;
  border-radius: 50%;
}
/* ---------- footer---------- */
#footer {
  background: #0f0f0f;
  padding: 60px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-content h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.footer-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}
/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .header-text h1 {
    font-size: 40px;
  }
  .about-col-1, .about-col-2,
  .contact-left, .contact-right {
    flex-basis: 100%;
  }
  nav ul {
    background: var(--primary);
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    transition: 0.3s;
  }
  nav ul li {
    display: block;
    margin: 25px;
  }
}
.submit-btn{
background: yellowgreen;

}


