/* ========== Global Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f172a; /* dark navy */
  color: #e5e7eb; /* light gray */
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #1e293b;
}

/* Section defaults */
section {
  padding: 100px 0;
}

.logo {
  display: flex;
  align-items: center; /* vertically center items */
  text-decoration: none;
}

.logo-img {
  width: 50px;   /* set a fixed width */
  height: 50px;  /* make it a square for alignment */
  object-fit: contain; /* scale without distortion */
}

.logo-text {
  font-size: 1.5rem;  /* adjust font size */
  font-weight: 600;
  line-height: 1;      /* aligns text vertically with image */
  color: #000;         /* or your desired color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}


.max-width {
  max-width: 1200px;
  margin: auto;
  padding: 0 80px;
}

section .title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #f8fafc;
  position: relative;
}

section .title::after {
  content: attr(data-subtitle);
  display: block;
  font-size: 16px;
  margin-top: 8px;
  font-weight: 400;
  color: #94a3b8;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  width: 100%;
  padding: 25px 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.navbar.sticky {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  padding: 15px 0;
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.navbar .logo a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.4s ease;
}

.navbar.sticky .logo a {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Menu */
.navbar .menu {
  list-style: none;
}

.navbar .menu li {
  display: inline-block;
}

.navbar .menu li a {
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 500;
  margin-left: 28px;
  position: relative;
  transition: 0.3s ease;
}

.navbar .menu li a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  transition: width 0.3s ease;
}

.navbar .menu li a:hover {
  color: #3b82f6;
}
.navbar .menu li a:hover::after {
  width: 100%;
}

/* ========== Scroll Up Btn ========== */
.scroll-up-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  font-size: 22px;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-up-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.5);
}

/* ========== Home Section ========== */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  background: url("https://source.unsplash.com/1920x1080/?technology,workspace") center/cover no-repeat;
  color: #fff;
}

.home .text-1 {
  font-size: 28px;
}
.home .text-2 {
  font-size: 72px;
  font-weight: 700;
}
.home .text-3 {
  font-size: 32px;
  margin: 15px 0;
}
.home .text-3 span {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home a {
  display: inline-block;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  margin-top: 20px;
  transition: 0.3s ease;
}
.home a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(6, 182, 212, 0.5);
}

/* ========== About ========== */
.about {
  background: #1e293b;
}
.about .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}
.about .about-content .left img {
  width: 380px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}
.about .about-content .right .text {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}
.about .about-content .right .text span {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about .about-content .right a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  font-size: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #fff;
  transition: 0.3s ease;
}
.about .about-content .right a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(236, 72, 153, 0.5);
}

/* ========== Services ========== */
.services {
  background: #0f172a;
  color: #e5e7eb;
}
.services .serv-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.services .card {
  flex: 1 1 300px;
  background: #1e293b;
  border-radius: 10px;
  padding: 40px 25px;
  text-align: center;
  transition: 0.3s ease;
}
.services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.services .card i {
  font-size: 40px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services .card .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ========== Skills ========== */
.skills {
  background: #1e293b;
}
.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.skills .left {
  flex: 1;
}
.skills .right {
  flex: 1;
}
.skills .bars {
  margin-bottom: 18px;
}
.skills .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.skills .line {
  height: 6px;
  background: #334155;
  border-radius: 4px;
  overflow: hidden;
}
.skills .line::before {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
.line.python::before { width: 90%; }
.line.html::before { width: 85%; }
.line.css::before { width: 75%; }
.line.js::before { width: 70%; }
.line.bootstraps::before { width: 80%; }
.line.django::before { width: 65%; }

/* ========== Projects ========== */
.projects {
  background: #0f172a;
}
.projects .carousel .card {
  background: #1e293b;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: 0.3s ease;
}
.projects .carousel .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.projects .card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #3b82f6;
}
.projects .card .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ========== Contact ========== */
.contact {
  background: #1e293b;
}
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}
.contact .column {
  flex: 1;
}
.profile-pic{
	height:150px;
	width:150px !important;
}
.contact .row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.contact .row i {
  font-size: 22px;
  color: #3b82f6;
  margin-right: 15px;
}
.contact .info .head {
  font-weight: 600;
  color: #f8fafc;
}
.contact .info .sub-title {
  color: #94a3b8;
}
.contact form input,
.contact form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  outline: none;
  background: #334155;
  color: #f8fafc;
}
.contact form button {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}
.contact form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(6, 182, 212, 0.5);
}

/* ========== Footer ========== */
footer {
  background: #0f172a;
  padding: 15px 0;
  text-align: center;
  color: #94a3b8;
}
footer a {
  color: #3b82f6;
}
footer a:hover {
  color: #06b6d4;
}


/* Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Poppins", sans-serif; line-height: 1.6; background: #0f172a; color: #e5e7eb; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Container */
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Navbar */
.navbar { background: rgba(15,23,42,0.95); padding: 15px 0; position: fixed; width: 100%; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { width: 32px; margin-right: 8px; }
.logo-text { font-size: 22px; font-weight: 700; background: linear-gradient(135deg,#06b6d4,#3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.menu { display: flex; gap: 20px; }
.menu li a { font-size: 16px; transition: 0.3s; }
.menu li a:hover { color: #3b82f6; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Home */
.home { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; background: url("https://source.unsplash.com/1920x1080/?technology") center/cover no-repeat; color: #fff; }
.home h1 { font-size: 42px; margin-bottom: 10px; }
.home h1 span { color: #3b82f6; }
.home h2 { font-size: 24px; margin-bottom: 20px; }
.btn { display: inline-block; padding: 10px 20px; background: linear-gradient(135deg,#06b6d4,#3b82f6); border-radius: 6px; color: #fff; transition: 0.3s; }
.btn:hover { transform: translateY(-3px); }

/* Sections */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 32px; }

/* About */
.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about img { width: 250px; border-radius: 50%; }

/* Experience / Projects */
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.card { background: #1e293b; padding: 20px; border-radius: 10px; transition: 0.3s; }
.card:hover { transform: translateY(-5px); }
.card h3 { margin: 15px 0; font-size: 20px; }

/* Skills */
.skills .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.skills-list li { margin-bottom: 10px; }
.bar { margin-bottom: 15px; background: #334155; border-radius: 6px; overflow: hidden;padding: 5px; }
.bar span { display: block; margin-bottom: 5px; }
.progress { height: 8px; background: linear-gradient(135deg,#06b6d4,#3b82f6); }

/* Contact */
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info li { margin-bottom: 10px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: none; border-radius: 6px; background: #334155; color: #fff; }

/* Footer */
footer { background: #0f172a; padding: 20px; text-align: center; color: #94a3b8; }

/* Responsive */
@media(max-width: 768px) {
  .about .grid, .skills .grid, .contact .grid { grid-template-columns: 1fr; text-align: center; }
  .menu { display: none; flex-direction: column; background: #1e293b; position: absolute; right: 0; top: 60px; width: 200px; padding: 15px; }
  .menu.active { display: flex; }
  .menu-toggle { display: block; color: #fff; }
  .home h1 { font-size: 28px; }
}


@media (max-width: 768px) {
  .home .text-3 {
      font-size: 28px;
      margin: 0px;
    }
    .skills-list{
        text-align:left;
    }
    .skills-right{
        text-align:left;
    }
}

@media (max-width: 480px) {
  .home .text-3 {
      font-size: 24px;
      margin: 0px;
    }
    .skills-list{
        text-align:left;
    }
    .skills-right{
        text-align:left;
    }
}

/* Projects Section */
.projects {
  padding: 80px 20px;
  background: #0f172a;
  color: #e5e7eb;
}

.projects .section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 50px;
}

.projects-category {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: #3b82f6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
