/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}




body {
  background: #f6f7fb;
  color: #111;
  line-height: 1.6;
}

section {
  padding: 80px 10%;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: white;
  padding: 20px 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar_links {
  display: flex;
  gap: 30px;
}

.navbar_links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.3s;
}

.navbar_links a:hover {
  opacity: 0.6;
}

.navbar_logo {
  font-weight: 700;
  font-size: 18px;
}

/* =========================
   HOME WRAPPER
========================= */

.home-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f5f6fa;
  padding: 40px;
}

/* =========================
   MAIN CARD
========================= */

.home-card {
  width: 1400px;          /* bigger width */
  max-width: 98%;
  min-height: 750px;  
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  background: white;
  box-shadow:
    0 40px 80px rgba(140, 0, 255, 0.25),
    0 0 60px rgba(140, 0, 255, 0.2);
}

/* =========================
   LEFT SIDE (40%)
========================= */

.home-left {
  width: 40%;
  background: linear-gradient(135deg, #7a00ff, #b84dff);
  color: white;
  padding: 100px 60px;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.home-left h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.home-left p {
  line-height: 3;
  opacity: 0.9;
}

/* =========================
   RIGHT SIDE (60%)
========================= */

.home-right {
  width: 60%;
  background: white;
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-right h1 {
  font-size: 60px;
  margin-bottom: 20px;
  color: #111;
}

.home-right span {
  color: #7a00ff;
}

.home-right p {
  color: #444;
  margin-bottom: 30px;
  max-width: 500px;
}

/* Button */

.hero-btn {
  display: inline-block;      /* ensures padding works correctly */
  padding: 10px 18px;         /* vertical 10px, horizontal 18px */
  font-size: 14px;            /* smaller text */
  border-radius: 25px;        /* keeps pill shape */
  background: #7a00ff;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;        /* prevents wrapping */
}

.hero-btn:hover {
  background: #5e00c2;
  transform: translateY(-3px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){

  .home-card {
    flex-direction: column;
  }

  .home-left {
    width: 100%;
    clip-path: none;
    text-align: center;
  }

  .home-right {
    width: 100%;
    padding: 60px 40px;
    text-align: center;
  }
  
/* =========================
   ABOUT
========================= */
.about-container {
  display: flex;
  gap: 60px;
  position: relative;
}

.about-text {
  width: 60%;
}

.about-illustration {
  width: 40%;
  position: relative;
}

/* Floating 3D shapes */
#aboutCanvas {
  width: 100%;
  height: 400px;
}

.about-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 80px 0;
  min-height: 500px; /* important for canvas to have height */
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;   /* full wrapper height */
  z-index: 1;
}

.about-card {
  position: relative;
  z-index: 2; /* on top of canvas */
  max-width: 900px;
  background: white;
  border-radius: 25px;
  padding: 60px;
  box-shadow: 0 30px 60px rgba(122,0,255,0.2); /* purple glow */
}

.about-keywords {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.keyword {
  background: #eaeafc;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* =========================
   SKILLS
========================= */
.skill_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.skill_card,
.skill-card,
.l_card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.skill {
  margin-bottom: 15px;
}

.skill-bar {
  background: #eee;
  height: 8px;
  border-radius: 10px;
  margin-top: 5px;
}

.skill-fill {
  height: 8px;
  width: 0;
  background: #6c63ff;
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* =========================
   PROJECTS
========================= */
.project_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.project-card {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-carousel img {
  width: 100%;
  border-radius: 15px;
  display: none;
}

.project-carousel img.active {
  display: block;
}

.project_btn,
.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #6c63ff;
  color: white;
  text-decoration: none;
  border-radius: 25px;
}

/* =========================
   CONTACT
========================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.send-btn {
  padding: 12px 25px;
  border: none;
  background: #111;
  color: white;
  border-radius: 25px;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width: 900px){

  .contact {
    grid-template-columns: 1fr;
  }

  .navbar_links {
    display: none;
  }

}



