* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top left, #0b132b, #1c2541);
  color: #e0e0e0;
  min-height: 100vh;
  border-radius: 50px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  transition: all ease 0.4s;
}
.navbar {
  background: transparent;
}
.navbar.scrolled {
  background: #0b132bea;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
   border-bottom: 0.1px solid rgba(109, 107, 107, 0.74);
}
.logo {
  color: #00aaff;
  font-weight: 700;
  font-size: 1.5rem;
   font-family: "Stalinist One", cursive;
}
.shadows-into-light-regular {
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: #00aaff;
}
nav a:active .navbar  {
  color: #00aaff;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  flex-wrap: wrap;
}
@media (min-width: 736px) {
  .nav-btn {
  display: none;
}
.hero-text {
  flex: 1 1 400px;
}
.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
}
.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}
.nav-btn {
  display: none;
}
.subtitle {
  font-size: 1.1rem;
padding: 0;
  color: #aaa;
  margin: 0;
  font-weight: bolder;
}

.desc {
margin: 0;
  line-height: 1.6;
  max-width: 480px;
  color: #c5c5c5;
  padding: 0;
  font-weight: bolder;
}

/* Buttons */

.hero-img {
  flex: 1 1 350px;
  text-align: center;
  width: 100%;
  height: 60%;
}
.hero-img img {
   border: solid 4px rgba(0, 224, 255, 0.7),;
    object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 350px;
  border-radius: 20px;
}
}
@media (min-width: 1024px) {
.hero-text {
  flex: 1 1 400px;
}
.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
}
.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}
.nav-btn {
  display: none;
}
.subtitle {
  font-size: 1.1rem;
padding: 0;
  color: #aaa;
  margin: 0;
  font-weight: bolder;
}

.desc {
margin: 0;
  line-height: 1.6;
  max-width: 480px;
  color: #c5c5c5;
  padding: 0;
  font-weight: bolder;
}

/* Buttons */

.hero-img {
  flex: 1 1 350px;
  text-align: center;
  width: 100%;
  height: 60%;
}
.hero-img img {
   border: solid 4px rgba(0, 224, 255, 0.7),;
    object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 350px;
  border-radius: 20px;
}
}
.buttons {
  margin-top: 2rem;
}

.btn1 {
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-right: 1rem;
}

.primary {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  color: #fff;
}


.secondary {
  background: transparent;
  border: 1px solid #00e0ff;
  color: #00e0ff;
}

.secondary:hover {
  background: #00e1ffad;
  color: #fff;
}
.socials {
  margin-top: 3rem;
  display: flex;
}

.socials .icon {
  color: #aaa;
  font-size: 3rem;
  margin-right: 1rem;
  transition: 0.3s;
}

.icon:hover {
  color: #00e1ff;
}



/* === General Section Styling === */
#projects, #About {
  background-color: #0f172a;
  color: #e2e8f0;
  text-align: center;
  padding: 4rem 1rem;
  font-family: "Poppins", sans-serif;
  
}

.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
}
.projects {
  font-size: 3.5rem;
}

.section-subtitle {
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 1.1rem;
}

/* === Project Grid === */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* === Project Card === */
.project-card {
  background: #1e293bb7;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.2s ease;
  border: .1px solid rgba(163, 161, 161, 0.363);
  display: grid;
  justify-content: flex-start;
}

.project-card:hover {
  border-color: rgba(0, 225, 255, 0.575);
  box-shadow: 0 0 20px rgba(0, 225, 255, 0.514),
    0 0 40px rgba(128, 0, 255, 0.288);
}

/* === Project Title & Paragraph === */
.project-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.project-card p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* === Tech Tags === */
.tech-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;

}

.tech-tags span {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding: 0.5rem ;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
    height: auto;
}

/* === Buttons === */
.project-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #38bdf8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.651);
}

.btn i {
  font-size: 0.9rem;
}

.demo {
  background: rgba(0, 0, 0, 0.589);
  color: #fff;
  box-shadow: 0 0 0 rgba(0, 224, 255, 0);
}

.demo:hover {
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.5),
    0 0 20px rgba(127, 0, 255, 0.4);
  
}

.source {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.5);
}

.source:hover {
  
  box-shadow: 0 0 8px rgba(56, 191, 248, 0.253);
}
  .project-card {
    opacity: 0;
    transform: translateY(50px);
  }
  .project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
  }



#skills {
  text-align: center;
  padding: 60px 2%;
  background-color: #0f172ad3;
  color: #eaeaea;
}

#skills h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #9ba3b0;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.0rem;
  
}

.skill-card {
  background: #1e293bb7;
  padding: 1.3rem;
  border-radius: 14px;
  box-shadow: 0 0 0 rgba(127, 0, 255, 0);
  display: grid;
  justify-content: flex-start;
  border: 1px solid rgba(40, 41, 41, 0.4);
  transition: border ease 0.3s;
}

.skill-card:hover {
   border: 1px solid rgba(0, 225, 255, 0.733);
}


.skill-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: white;
}

.gradient-bg {
  background: linear-gradient(135deg, #00e0ff, #7f00ff);
}

.skill-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
}

.tags span {
  background: #2c3749;
  color: #e2e5eb;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid rgba(40, 41, 41, 0.4);
  transition: border ease 0.3s;
}

.tags span:hover {
   border: 1px solid rgba(0, 225, 255, 0.685);
  color: white;
}
.skill-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}
.skill-card.show {
  opacity: 1;
  transform: translateY(0);
}


.education {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: start;
}
.philosophy {
  text-align: center;
  display: flex;
  font-size: large;
}
.contact {
  padding: 5rem 2%;
  text-align: center;
  background: #0d1117;
  color: #fff;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: #9ca3af;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1s ease;
}

.contact-container.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-card,
.contact-info {
  background: #161b22;
  padding: 2rem;
  border-radius: 15px;
  flex: 1 1 360px;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 0.3s ease;
}


.contact-card h3 {
  text-align: left;
  margin-bottom: 0.3rem;
}

.contact-card p {
  text-align: left;
  font-size: 0.95rem;
  color: #aaa;
  margin-bottfont-size: 1.1rem;
  margin-top: 0.5rem;om: 1rem;
}

form input,
form textarea {
  width: 100%;
  background: #0d1117;
  border: 1px solid #222;
  color: #fff;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #00e0ff;
}

.btn2 {
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: 0.3s;
  
}

.primary2 {
  background: linear-gradient(90deg, #00e0ff, #7f00ff);
  color: #fff;
}

.primary2:hover {
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.5);
}

.info-card {
  background: #1c2128;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 12px; 
  margin-bottom: 1.5rem;
}
.info-card2 {
  background: #1c2128;
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
  font-size: small;
}

.icon-box {
  background: linear-gradient(135deg, #00e0ff, #7f00ff);
  color: white;
  font-size: 1.0rem;
  padding: 0.8rem;
  border-radius: 12px;
}

.info-card h4 {
  margin: 0;
}
.info-card p,
.info-card a {
  color: #00e0ff;
  text-decoration: none;
  font-size: 0.95rem;
}
.socials .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icons a {
  color: #f8f6f6;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00e0ff, #7f00ff);
  padding: 0.8rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #00e0ff;font-size: 1.5rem;
  
  background: #1a1f26;
}
.navlink-phone {
  display: none;
}
.site-footer {
  background: #0b1317;
  color: #9fdfe8;      
  padding: 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 13px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.meta {
  color: #7fe8ff; 
  font-weight: 600;
}
.tagline {
  color: rgba(159, 223, 232, 0.8);
  font-size: 12px;
  margin: 0;
}
@media (max-width: 420px) {
  .site-footer { padding: 14px 12px; font-size: 12px; }
  .footer-inner { gap: 4px; }
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-card,
  .contact-info {
    flex: 1 1 330px;
    padding: 8px;
    padding-block: 15px;
  }
  .philosophy {
  text-align: center;
  display: flex;
  font-size: medium;
  width: 100%;
  text-align: left;
}
}



@media (max-width: 768px) {
  .hero {
    position: relative;
    padding: 5px;
    padding-top: 4rem;
    
  }
  .hero-text {
    position: absolute;
    bottom: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.877), rgba(161, 159, 159, 0));
    font-size: small;
    
  }
  .hero-img {
  width: 100%;
  height: 100%;
 
}
.hero-img img {
    
    object-fit: cover;
  width: 100%;
  height: 100%;
  
  border-radius: 5px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
}
.skill-card {
  padding: 0.5rem;
  justify-content: center;
  padding-block: 1.0rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.0rem;
  justify-content: center;
}
.project-card {
  padding: 0.5rem;
  justify-content: center;
  padding-block: 1.0rem;
}
.buttons {
  margin-top: 1rem;
}
.socials {
  margin-top: 1rem;
}
.socials .icon {
  font-size: 2rem;
}
.btn1 {
  
  padding: 0.4rem 1.3rem;
  font-size: 1rem;
  
}
.hero-text h1 {
  font-size: 1.5rem;
  line-height: 1.0;
}

.subtitle {
  color: #eeebeb;
}
.desc {
  margin-top: 0.8rem;
  line-height: 1.6;

}
.info-card {
  padding: 0.8rem;
}
.info-card2 {
  padding: 0.8rem;
}
.info-card2 .socials {
padding: 0.8rem;
}
.subtitle {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.desc {
  margin: 0;

  line-height: 1.6;

}
.gradient-text {
  font-size: 2.0rem;
}
.projects {
   font-size: 2.0rem
}
.navbar {
  padding: 1rem 2%;
}
.logo {
  color: #00aaff;
  font-weight: 700;
  font-size: 0.7rem;
  font-style: normal;
}
.navlink {
  display: none;
}
.navlink-phone a {
  color: #ccc;
  text-decoration: none;
  margin: 0.1rem;
  font-weight: 900;
  transition: color 0.3s;
  font-size: smaller;
  cursor: pointer;
  background: #2c3749;
  padding: 5px;
  border-radius: 8px;
}

.navlink-phone {
  display: grid;
  position: absolute;
  z-index: 10;
  bottom: -115px;
  right: 8px;
  background-color: #0b132b;
  border-radius: 6px;
  padding: 0.8rem 2%;
  display: none;
  transition: all 0.4s ease;
}

.nav-btn {
  background: #2c3749;
  padding: 6px;
  color: white;
  border-radius: 8px;
  border: none;
  outline: none;
  font-weight: bold;
  width: 40px;
  text-align: center;
  margin-left: 1rem;
}




}



