@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 5.5em;
  background-color: #ffffffa9;
  backdrop-filter: blur(5px);
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}

@media (max-width: 768px) {
  header {
    background: transparent;
    box-shadow: none;
  }
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: rgb(115, 3, 167);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
}
header .logo i {
  font-size: 2.2rem;
}
header .logo:hover {
  color: #fc8c05;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.5rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
   background: transparent;
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
header .navbar {
  position: fixed;
  top: 0;                 /* ✅ start from top */
  right: -120%;
  width: 75%;
  height: 100vh;          /* ✅ full screen height */
  background-color: #0e0f31;
  padding-top: 6.5rem;    /* ✅ creates space for header */
  overflow-y: auto;       /* ✅ if menu is long */
  z-index: 999;           /* ✅ keep above page */
}

  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */

/* hero section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
}
.home .image img {
  width: 70%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h1 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}
.home .content h1 span {
  font-size: 5rem;
  font-weight: 800;
  color: #ff7b00;
}
.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
  text-transform: none;
}
.home .content p span {
  font-size: 2.5rem;
  color: rgb(148, 8, 8);
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 2rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .btn:hover {
  background: #1a047e;
}
.home .btn:hover i {
  transform: translateX(5px);
}
/* social icons start */
.socials {
  position: relative;
  margin-top: 9rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}
.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #0685da;
}
.social-icons a.github:hover {
  background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dev:hover {
  background-color: #070707;
}
.social-icons a.instagram:hover {
  background-color: #ee00da;
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 12rem;
  }
  .home .image img {
    margin-top: -12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
/* about section starts */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #f2f4ff 100%);
}

/* CENTER + BALANCE */
.about .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;        /* ✅ better vertical alignment */
  gap: 3.5rem;                /* ✅ more premium spacing */
  padding: 6rem 2rem;         /* ✅ less “boxy” than 4rem all around */
  max-width: 1200px;          /* ✅ centered container feel */
  margin: 0 auto;             /* ✅ center */
}

/* IMAGE COLUMN */
.about .row .image {
  text-align: center;
  flex: 1 1 36rem;
}

.about .row .image img {
  margin: 0;
  width: 34rem;
  max-width: 100%;
  height: auto;

  border-radius: 20px;                 /* smoother */
  padding: 10px;                       /* frame effect */
  background: rgba(255, 255, 255, 0.65);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);

  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.about .row .image img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.50);
}


/* CONTENT COLUMN */
.about .row .content {
  flex: 1 1 46rem;
  padding: 0;                 /* ✅ remove extra padding (look cleaner) */
}

.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 3.2rem;          /* ✅ bigger, premium */
  line-height: 1.15;
}

/* TAG PILL */
.about .row .content .tag {
  display: inline-block;
  font-size: 1.35rem;
  color: #2506ad;
  font-weight: 700;
  margin-top: 1.2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(37, 6, 173, 0.08);
  border: 1px solid rgba(37, 6, 173, 0.18);
  text-transform: none;
}

/* PARAGRAPH */
.about .row .content p {
  font-size: 1.55rem;
  margin-top: 1.6rem;
  font-family: "Nunito", sans-serif;
  font-weight: 650;
  text-transform: none;
  line-height: 1.95;          /* ✅ better readability */
  max-width: 720px;           /* ✅ avoids very long lines */
}

/* optional box-container stays same */
.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
}

.about .row .content .box-container .box p {
  text-transform: none;
}

.about .row .content .box-container .box p span {
  color: #011aff;
}

/* BUTTON */
.resumebtn{
  margin-top: 2.5rem;
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

/* Make About link look like a clean secondary action */
.aboutlink{
  font-weight:600;
  color:#2b2b2b;
  opacity:.85;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 0;
  border-bottom:2px solid transparent;
  transition:.25s ease;
}

.aboutlink:hover{
  opacity:1;
  border-bottom-color: currentColor;
}

.aboutlink i{
  transition:.25s ease;
}

.aboutlink:hover i{
  transform: translateX(4px);
}


.resumebtn .btn {
  padding: 1.4rem 2.4rem;
  border-radius: 12px;        /* ✅ modern */
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0 10px 22px rgba(37, 6, 173, 0.22);
  font-family: "Nunito", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.resumebtn .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.06rem;
}

.resumebtn .btn i {
  margin-left: 0;
  font-size: 1.3rem;
  transition: 0.3s;
}

.resumebtn .btn:hover {
  background: #1a047e;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 6, 173, 0.28);
}

.resumebtn .btn:hover i {
  transform: translateX(4px);
}


/* about media queries starts */
@media screen and (max-width: 600px) {
  .about .row {
    padding: 3rem 1.2rem;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .about .row .image {
    margin-top: 1rem;
  }

  .about .row .image img {
    width: 90%;
    margin: 0 auto;
    mix-blend-mode: normal;
  }

  .about .row .content {
    padding: 0;
  }

  .resumebtn {
    margin-top: 2.2rem;
  }

  .about .row .content .box-container {
    gap: 0;
  }
}

/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: 90vh;
  background: linear-gradient(to bottom, #57059e, #4a00e0);
}
.skills h2 {
  color: #fff;
}
.skills .heading span {
  color: rgb(255, 230, 0);
}
.skills .container {
  background: rgba(0, 0, 22, 0.4);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
}
.skills .container .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex-wrap: wrap;
  gap: 1.8rem;
}
.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.2s;
}
.skills .container .bar:hover {
  box-shadow: 0 8px 10px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.skills .container .bar .info i {
  font-size: 4rem;
}
.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Poppins";
  margin-left: 0.5rem;
}
/* skills media queries starts*/
@media screen and (max-width: 600px) {
  .skills .container {
    padding: 0;
    margin: 0;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem 2rem 0.2rem;
    gap: 1rem;
  }
  .skills .container {
    margin-top: 5px;
    width: 100%;
  }
}
/* skills media queries ends*/
/* skills section ends */

/* education section starts */
/* ===== Education (Modern Timeline) ===== */
/* ===== Education (Soft Premium Card) ===== */
.education {
  background: #e5ecfb;
  min-height: 80vh;
  padding: 4rem 0;
}

.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin: 0.8rem auto 2.5rem;
  max-width: 900px;
  padding: 0 1.2rem;
  color: rgba(1, 41, 112, 0.85);
}

/* container becomes centered, not timeline */
.edu-timeline {
  width: min(980px, 92%);
  margin: 0 auto;
  position: relative;
  padding-left: 0; /* removed timeline spacing */
}

/* remove vertical line */
.edu-timeline::before {
  content: none;
}

/* main card */
.edu-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.92));
  border: 1px solid rgba(1, 41, 112, 0.08);
  box-shadow: 0 18px 45px rgba(13, 38, 76, 0.10);
  border-radius: 20px;
  padding: 2.1rem 2.2rem;
  margin: 0 auto 1.8rem; /* centered */
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* subtle left accent (matches your output style) */
.edu-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  height: 72%;
  width: 6px;
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(90, 102, 255, 0.55), rgba(126, 87, 255, 0.55));
}

/* soft glow layers */
.edu-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 25% 0%, rgba(90, 102, 255, 0.12), transparent 42%),
    radial-gradient(circle at 100% 55%, rgba(126, 87, 255, 0.10), transparent 45%);
  pointer-events: none;
}

.edu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 41, 112, 0.16);
  box-shadow: 0 26px 70px rgba(13, 38, 76, 0.14);
}

/* remove dot */
.edu-dot {
  display: none;
}

/* header layout */
.edu-head {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* icon box (soft, premium) */
.edu-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(1, 41, 112, 0.10);
  box-shadow: 0 10px 22px rgba(13, 38, 76, 0.10);
  color: #1f3c88;
  font-size: 2.2rem;
}

/* title */
.edu-title h3 {
  margin: 0;
  font-size: 2.3rem;
  color: #0b2b6a;
  font-weight: 900;
  font-family: "Nunito", sans-serif;
  line-height: 1.2;
}

.edu-sub {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
  color: rgba(11, 43, 106, 0.78);
  font-weight: 700;
  font-family: "Nunito", sans-serif;
}

/* right side pills */
.edu-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.edu-pill {
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(31, 60, 136, 0.08);
  color: #1f3c88;
  border: 1px solid rgba(31, 60, 136, 0.12);
  font-family: "Nunito", sans-serif;
  white-space: nowrap;
}

.edu-pill--good {
  background: rgba(34, 109, 0, 0.10);
  color: rgb(34, 109, 0);
  border-color: rgba(34, 109, 0, 0.18);
}

/* body */
.edu-body {
  margin-top: 1.2rem;
  position: relative;
  z-index: 1;
}

.edu-college {
  margin: 0;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.70);
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* tags */
.edu-tags {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.edu-tag {
  font-size: 1.15rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 60, 136, 0.10);
  color: rgba(31, 60, 136, 0.85);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 700px) {
  .edu-head {
    grid-template-columns: 52px 1fr;
  }

  .edu-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 2rem;
  }

  .edu-meta {
    justify-content: flex-start;
    margin-top: 0.8rem;
  }

  .edu-title h3 {
    font-size: 2.05rem;
  }

  .edu-card {
    padding: 1.7rem 1.4rem;
  }
}

.edu-card--secondary {
  opacity: 0.92;
  box-shadow: 0 14px 36px rgba(13, 38, 76, 0.08);
}

.edu-card--secondary .edu-title h3 {
  font-size: 2.1rem;
}

.edu-card--secondary .edu-logo {
  background: rgba(255, 255, 255, 0.7);
}

/* education media queries ends*/
/* education section ends */

/* work section starts */
/* ===== Home Projects / Work (Modern) ===== */
.work{
  background: radial-gradient(circle at 20% 0%, rgba(115,3,167,0.25), transparent 35%),
              radial-gradient(circle at 80% 20%, rgba(1,26,255,0.22), transparent 40%),
              linear-gradient(to bottom, #070728, #02021b);
  padding: 4rem 0;
}

/* keep ML/AI etc not broken by global capitalize */
.work, .work *{ text-transform: none; }

.work h2{
  color: #fff;
  padding: 1rem;
}

.work .heading span{
  color: rgb(255, 230, 0);
}

/* optional subtitle you added */
.work-sub{
  margin: 0.2rem auto 2.2rem;
  text-align: center;
  color: rgba(255,255,255,0.78);
  font-size: 1.45rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
}

/* ===== Grid ===== */
.work .box-container{
  width: min(1150px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 992px){
  .work .box-container{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .work .box-container{ grid-template-columns: 1fr; }
}

/* ===== Card ===== */
.work .box-container .box{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 340px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 55px rgba(0,0,0,0.35);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.work .box-container .box:hover{
  transform: translateY(-7px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
}

/* image */
.work .box-container .box img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* better than contain for modern cards */
  transform: scale(1);
  transition: transform .35s ease;
}

.work .box-container .box:hover img{
  transform: scale(1.06);
}

/* ===== Overlay content ===== */
.work .box-container .box .content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0)
  );
}

/* ===== Badges (if JS adds them) ===== */
.work .badge-row{
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  z-index: 2;
}

.work .badge{
  font-size: 1.1rem;
  font-weight: 800;
  padding: .45rem .9rem;
  border-radius: 999px;
  letter-spacing: .02em;
  color: #fff;
}

/* solid badges */
.work .badge--client{
  background: #f59e0b; /* amber */
  color: #111;
}

.work .badge--personal{
  background: #4f46e5; /* indigo */
  color: #fff;
}

/* ===== Title ===== */
.work .box-container .box .content .tag{
  background: transparent;
  padding: 0;
  margin-bottom: .7rem;
  height: auto;
  width: 100%;
}

.work .box-container .box .content .tag h3{
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
}

/* ===== Description + buttons ===== */
.work .desc{
  margin: 0;
}

.work .desc p{
  color: rgba(255,255,255,0.86);
  font-size: 1.35rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  font-family: "Nunito", sans-serif;
}

.work .desc .btns{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.work .desc .btns .btn{
  padding: 1.15rem 1.6rem;
  border-radius: 12px;
  font-size: 1.35rem;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.work .desc .btns .btn:hover{
  background: #fff;
  color: #000;
}

/* ===== View All button ===== */
.work .viewall{
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.work .viewall .btn{
  position: relative;
  line-height: 1;
  padding: 1.6rem 3rem;
  border-radius: 999px;
  transition: 0.3s;
  color: #fff;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,0.9);
  background: transparent;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.35);
  text-align: center;
}

.work .viewall .btn span{
  font-weight: 700;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}

.work .viewall .btn i{
  margin-left: 0.5rem;
  font-size: 1.5rem;
  transition: 0.25s;
}

.work .viewall .btn:hover{
  background: #fff;
  color: #000;
}

.work .viewall .btn:hover i{
  transform: translateX(5px);
}

/* small screens */
@media (max-width: 450px){
  .work .box-container{ gap: 1.4rem; }
  .work .box-container .box{ height: 320px; }
}

/* work section ends */

/* =========================
   EXPERIENCE (UPGRADED)
   ========================= */

.experience{
  background: linear-gradient(180deg, #ffffff 0%, #f2f4ff 100%);
  padding-bottom: 6rem;
}

/* timeline wrapper */
.experience .timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem;
}

/* center line (lighter + cleaner) */
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: rgba(37, 6, 173, 0.20);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  z-index: 0;
}

/* timeline container */
.experience .container {
  padding: 12px 28px;
  position: relative;
  background-color: inherit;
  width: 50%;
  z-index: 1;
}

/* circles on timeline (bigger + nicer) */
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 44px;
  height: 44px;
  right: -22px;
  background: #fff;
  border: 3px solid #2506ad;
  top: 18px;
  border-radius: 50%;
  z-index: 10;

  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #2506ad;
  font-family: "Font Awesome 5 Free";
  box-shadow: 0 12px 24px rgba(37, 6, 173, 0.16);
}

.experience .left { left: 0; }
.experience .right { left: 50%; }
.experience .right::after { left: -22px; }

/* arrows (match card background) */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 30px;
  width: 0;
  z-index: 2;
  right: 16px;
  border: 10px solid transparent;
  border-left-color: rgba(255,255,255,0.92);
}

.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 30px;
  width: 0;
  z-index: 2;
  left: 16px;
  border: 10px solid transparent;
  border-right-color: rgba(255,255,255,0.92);
}

/* card */
.experience .content {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.experience .content:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.14);
}

/* company header bar */
.experience .content .tag {
  background: linear-gradient(135deg, #ff9800, #ff7b00);
  padding: 1.4rem 1.6rem;
}

.experience .content .tag h2{
  margin: 0;
  font-size: 1.9rem;
  font-weight: 900;
  color: #111;
}

/* body */
.experience .content .desc {
  margin: 0;
  padding: 1.5rem 1.6rem 1.7rem;
}

.experience .content .desc h3 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  color: #002057;
}

.experience .content .desc p {
  margin-top: 0.7rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(0,0,0,0.70);
  text-transform: none;
}

/* view all button (keep yours but slightly modern) */
.morebtn {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.morebtn .btn {
  position: static;
  line-height: normal;
  padding: 1.4rem 2.6rem;
  border-radius: 12px;
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0 10px 22px rgba(37, 6, 173, 0.22);
  text-align: center;
  text-decoration: none;
}

.morebtn .btn span {
  font-weight: 800;
  font-size: 1.65rem;
  font-family: "Nunito", sans-serif;
}

.morebtn .btn i {
  margin-left: 0.4rem;
  font-size: 1.4rem;
  transition: 0.3s;
}

.morebtn .btn:hover {
  background: #1a047e;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 6, 173, 0.28);
}

.morebtn .btn:hover i {
  transform: translateX(4px);
}

/* Responsive */
@media screen and (max-width: 600px) {
  .experience {
    min-height: auto;
  }

  .experience .timeline {
    margin-top: 2rem;
  }

  .experience .timeline::after {
    left: 28px;
    transform: none;
  }

  .experience .container {
    width: 100%;
    padding-left: 7.5rem;
    padding-right: 1rem;
    left: 0 !important;
  }

  .experience .container::before {
    left: 48px;
    border: 10px solid transparent;
    border-right-color: rgba(255,255,255,0.92);
  }

  .experience .left::after,
  .experience .right::after {
    left: 6px;
    right: auto;
  }

  .morebtn {
    margin-top: 3rem;
  }
}
/* experience section ends */

/* contact section starts */
.contact {
  background: #e5ecfb;
  min-height: 60vh;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 2rem 5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.contact .container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}
.contact .content .image-box {
  max-width: 60%;
  margin-left: 4rem;
}
.contact .content .image-box img {
  width: 100%;
  height: 40rem;
  position: relative;
}
.contact .content form {
  width: 45%;
  margin-right: 3.5rem;
}
form .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group .field {
  height: 50px;
  display: flex;
  position: relative;
  margin: 1rem;
  width: 100%;
}
form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgb(51, 51, 51);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 16px 0 48px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  border: 1px solid rgb(51, 51, 51);
  background: #e5ecfb;
}
.field input::placeholder,
.message textarea::placeholder {
  color: rgb(51, 51, 51);
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid rgb(115, 3, 167);
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: rgb(115, 3, 167);
}
form .message {
  position: relative;
  margin: 1rem;
  width: 100%;
}
form .message i {
  top: 25px;
  font-size: 20px;
  left: 15px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 12px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
form .button-area {
  display: flex;
  float: right;
  flex-direction: row-reverse;
}
.button-area button {
  color: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  transition: 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.button-area button:hover {
  background: #421cecf5;
}
.button-area span {
  font-size: 17px;
  padding: 1rem;
  display: none;
}
.button-area button i {
  position: relative;
  top: 6px;
  left: 2px;
  font-size: 1.5rem;
  transition: 0.3s;
  color: #fff;
}
.button-area button:hover i {
  left: 8px;
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
  }
  .contact .container {
    margin: 3rem 0 2rem 0;
  }
  .contact .container .content {
    padding: 18px 12px;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin-right: 2rem;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}


.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 6px; /* control vertical gap */
}

.quick-links h3 {
  grid-column: span 2;
  margin-bottom: 10px;
}

.quick-links a {
  margin: 0;            /* remove default bottom margin */
  padding: 2px 0;       /* small spacing */
}


@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 16rem);
}
/* scroll top ends */


/* ===== Simple Preloader (Avatar) ===== */
#preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: opacity .35s ease, visibility .35s ease;
}

#preloader.hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.preloader-wrap{
  position: relative;
  width: 84px;
  height: 84px;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}

.preloader-img{
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  inset: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.55);
}

.preloader-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.20);
  border-top-color: #2506ad; /* your brand color */
  animation: preloaderSpin .9s linear infinite;
}

@keyframes preloaderSpin{
  to { transform: rotate(360deg); }
}

@keyframes preloaderPulse{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}



/* footer free consult */

.free-consult { margin-top: 14px; }
.free-consult p { margin-bottom: 8px; font-weight: 600; }

.free-consult form{
  display:flex;
  gap:10px;
  align-items:center;
}

.free-consult input{
  font-family: "Nunito", sans-serif;
  text-transform: lowercase;
  flex:1;
  padding:10px 12px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}

.free-consult input::placeholder{ color: rgba(255,255,255,.65); }

.free-consult button{
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background-color: #ffffff;      /* default color */
  color: #000000;
  transition: all 0.3s ease;   /* smooth animation */
}

/* Hover Effect */
.free-consult button:hover{
  color: #ffffff;
  background-color: #0fb04a;   /* you can change color */
  transform: translateY(-2px); /* slight lift */
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


#consult-msg{
  display:block;
  color: #ffffff; 
  margin-top:6px;
  font-size:12px;
}


/* Contact Form Overlay + Toast (Premium UX) */
.cf-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.35);
  z-index: 9999;
}
.cf-overlay.show{ display: flex; }

.cf-modal{
  width: min(360px, 92vw);
  padding: 18px;
  border-radius: 14px;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.cf-loading-text{
  margin-top: 12px;
  font-weight: 600;
}

/* 3-dot loading */
.cf-dots{ display: inline-flex; gap: 8px; }
.cf-dots span{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,0.9);
  animation: cf-bounce 0.9s infinite ease-in-out;
}
.cf-dots span:nth-child(2){ animation-delay: 0.12s; }
.cf-dots span:nth-child(3){ animation-delay: 0.24s; }
@keyframes cf-bounce{
  0%,80%,100%{ transform: translateY(0); opacity: 0.6; }
  40%{ transform: translateY(-8px); opacity: 1; }
}

/* Toast */
.cf-toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: min(360px, 92vw);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15,15,15,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 600;
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 10000;
}
.cf-toast.show{ transform: translateY(0); opacity: 1; }


.field-error{
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  color:#ff4d4d;
  min-height:16px; /* keeps layout stable */
}
.input-invalid{
  border:1px solid #ff4d4d !important;
}

#cf-email {
  text-transform: lowercase;
}

#sm-modal .sm-gif{
  display:block;
  width:220px;
  height:220px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);     /* zoom in */
  margin:20px auto;
}

