*{
margin: 0;
padding: 0%;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;

}
body{
background-color: #2B2726;
}
a{
color: aliceblue ;
text-decoration: none;
}
.navbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    background-color: slateblue;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}
.navbar .logo{
    font-size: 30px;
    font-weight:700;
}
.navbar ul{
    display: flex;
}
.navbar ul li{
    list-style: none;
    margin-left: 35px;
}
.navbar ul li a{
font-size: 20px;
font-weight: 500;
}
.navbar ul li:hover a{
color: greenyellow;

}
.home {
     display: flex;
     align-items: center;
     height: 100vh;
     padding: 60px 9% 0;
     color: antiquewhite;
}
.home-info h1 {
    font-size: 55px;
}
.home-info h2{
    font-size: 23px;
    margin-top: -5px;
}
.home-info p{
    font-size: 16px;
    margin: 15px 0 25px;
}
.home-info .btn-sci{
    display: flex;
    align-items: center;
}
.btn{
    display: inline-block;
    padding: 10px 30px;
    background: #7cf03d;
    border: 2px solid #7cf03d;
    border-radius: 40px;
    box-shadow: 0 0 10px #7cf03d;
    font-size: 17px;
    color: #1f242d;
    font-weight: 200px;
}
.btn:hover{
    background: transparent;
    color: #7cf03d;
    box-shadow: none;
}
.home-info .btn-sci .sci{
    margin-left: 20px;
}
.home-info .btn-sci .sci a{
display: inline-flex;
padding: 8px;
border: 2px solid #7cf03d;
border-radius: 50px;
font-size: 20px;
color: #7cf03d;
margin: 0 8px;
transition: .5s;
}
.home-info .btn-sci .sci a:hover{
background: #7cf03d;
color: #1f242d;
box-shadow: 0 0 10px #7cf03d;
}
/* -------------------- Logo Styling (Professional & Classy) -------------------- */
.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: none;
  transition: all 0.4s ease;
  font-family: "Playfair Display", serif; /* elegant typeface */
  position: relative;
}

/* subtle underline accent */
.navbar .logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 35%;
  height: 2px;
  background: linear-gradient(90deg, #7cf03d, transparent);
  transition: all 0.4s ease;
  opacity: 0.8;
  border-radius: 2px;
}

/* hover glow */
.navbar .logo:hover {
  color: #7cf03d;
  letter-spacing: 2px;
}

.navbar .logo:hover::after {
  width: 100%;
  opacity: 1;
}

/* optional if you want part-color highlight */
.logo span {
  color: #7cf03d;
  font-weight: 800;
}
/* -------------------- Responsive Navbar -------------------- */
.menu-toggle {
  display: none;
  font-size: 32px;
  color: #7cf03d;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* default desktop view */
.navbar ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* mobile view */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 8%;
  }

  .menu-toggle {
    display: block;
    z-index: 200;
  }

  .navbar ul {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 200px;
    flex-direction: column;
    background: #1f1c1b;
    border-radius: 10px 0 0 10px;
    padding: 20px 0;
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease;
  }

  .navbar ul.show {
    right: 0;
  }

  .navbar ul li {
    margin: 10px 0;
  }

  .navbar ul li a {
    font-size: 18px;
    color: #f5f5f5;
    transition: color 0.3s ease;
  }

  .navbar ul li a:hover {
    color: #7cf03d;
  }
}
/* -------------------- Home Section Layout -------------------- */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100vh;
  padding: 80px 9% 0;
  color: antiquewhite;
}

/* text side */
.home-info {
  flex: 1 1 50%;
  max-width: 600px;
}

/* image side */
.home-img {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-img img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #7cf03d;
  box-shadow: 0 0 25px rgba(124, 240, 61, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(124, 240, 61, 0.6);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 900px) {
  .home {
    flex-direction: column-reverse;
    text-align: center;
    height: auto;
    padding-top: 120px;
  }

  .home-info {
    max-width: 100%;
  }

  .home-img {
    margin-bottom: 30px;
  }

  .home-img img {
    width: 240px;
    height: 240px;
  }
}
/*contact page
/* =================== GLOBAL RESET =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #2B2726;
  color: #fff;
  line-height: 1.6;
}

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(72, 61, 139, 0.95); /* slateblue with opacity */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 9%;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.logo:hover {
  color: #c7bfff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #c7bfff;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #c7bfff;
  transition: width 0.3s;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

/* =================== HERO / MAIN SECTIONS =================== */
section {
  padding: 120px 9% 60px;
  text-align: center;
}

h1, h2, h3 {
  color: slateblue;
  margin-bottom: 10px;
}

p {
  color: #ddd;
  font-size: 1rem;
}

/* =================== BUTTONS =================== */
.btn {
  background: slateblue;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s;
  margin-top: 15px;
}

.btn:hover {
  background: #4b3fa1;
  transform: translateY(-2px);
}

/* =================== CONTACT SECTION =================== */
/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #1e1b1a;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(72, 61, 139, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 9%;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.logo:hover {
  color: #d1caff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #c7bfff;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #c7bfff;
  transition: width 0.3s;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
  width: 100%;
}

/* ================= CONTACT SECTION ================= */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at top, #2b2726 0%, #1c1a1a 100%);
  padding: 120px 10% 60px;
}

.contact-container {
  max-width: 720px;
  width: 100%;
  background: rgba(59, 54, 53, 0.85);
  padding: 60px 50px;
  border-radius: 18px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: fadeIn 1s ease;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-container h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #9f8fff;
}

.contact-container p {
  margin-bottom: 35px;
  color: #cfcfcf;
  font-size: 1rem;
}

/* ================= FORM ================= */
.contact-form {
  width: 100%;
}

.input-box {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: #2f2a29;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid slateblue;
  background: #322d2c;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

/* ================= BUTTON ================= */
.btn {
  background: slateblue;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px transparent;
}

.btn:hover {
  background: #4b3fa1;
  transform: translateY(-3px);
  box-shadow: 0 0 20px #7a6fe2;
}

/* ================= CONTACT INFO ================= */
.contact-info {
  margin-top: 40px;
}

.info-box {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: #ddd;
}

.info-box i {
  font-size: 1.5rem;
  color: #9f8fff;
}

.info-box a {
  color: #9f8fff;
  text-decoration: none;
  transition: 0.3s;
}

.info-box a:hover {
  text-decoration: underline;
  color: #c7bfff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 7%;
  }

  .navbar ul {
    flex-direction: column;
    gap: 20px;
    background: rgba(72, 61, 139, 0.97);
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    padding: 25px;
    border-radius: 12px;
    display: none;
  }

  .navbar ul.show {
    display: flex;
  }

  .input-box {
    flex-direction: column;
  }

  .contact-container {
    padding: 40px 30px;
  }
}

/* skills

/* -------------------- Skills / Projects Page -------------------- */
.skills {
  padding: 120px 9% 80px;
  background-color: #1f1c1b;
  color: #fff;
  text-align: center;
  min-height: 100vh;
}

/* Title */
.skills h1 {
  font-size: 45px;
  margin-bottom: 60px;
  color: #7cf03d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.skills h1 span {
  color: slateblue;
}

/* -------- Skill Boxes -------- */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
  margin-bottom: 90px;
}

.skill-box {
  background: #2B2726;
  border-radius: 16px;
  padding: 25px 30px;
  border: 1px solid rgba(124, 240, 61, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(124, 240, 61, 0.4);
  border-color: #7cf03d;
}

.skill-box h3 {
  color: #7cf03d;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.skill-box p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

/* -------- Projects Slider -------- */
.project-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 33px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(124, 240, 61, 0.2);
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.slide img:hover {
  transform: scale(1.05);
}

/* -------- Navigation Buttons -------- */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(124, 240, 61, 0.1);
  color: #7cf03d;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(124, 240, 61, 0.8);
  color: #1f1c1b;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* -------- Responsive -------- */
@media (max-width: 768px) {
  .skills h1 {
    font-size: 35px;
  }

  .slide img {
    height: 320px;
  }

  .skill-box {
    padding: 20px;
  }

  .nav-btn {
    font-size: 22px;
  }
}

/* ---------- SERVICES SECTION ---------- */
.services {
  padding: 140px 10% 100px;
  text-align: center;
  background: #2b2726;
}

.services h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
}

.services h1 span {
  color: #a48cf2;
  text-shadow: 0 0 10px rgba(164, 140, 242, 0.6);
}

.service-intro {
  color: #dcdcdc;
  max-width: 700px;
  margin: 10px auto 60px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- SERVICE CONTAINER ---------- */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 40px 25px;
  text-align: center;
  transition: 0.35s ease;
  backdrop-filter: blur(5px);
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(164, 140, 242, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-box i {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 15px;
}

.service-box h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.service-box p {
  color: #cfcfcf;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .services h1 {
    font-size: 2.2rem;
  }

  .service-box {
    padding: 30px 20px;
  }

  .service-box i {
    font-size: 2.5rem;
  }
}
