*{
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
    background: #f8f8f8;
    font-family: 'Segoe UI', sans-serif;
      padding-top: 65px;
}

/* HERO */
.hero {
    background:
        radial-gradient(circle at 75% 40%, rgba(255, 122, 0, 0.55), transparent 55%),
        radial-gradient(circle at 85% 60%, rgba(255, 153, 51, 0.35), transparent 60%),
        linear-gradient(120deg, #000000 0%, #0f0f0f 35%, #2a1605 65%, #ff7a00 100%);
    padding: 120px 20px 60px;
    color: #fff;
    clip-path: ellipse(90% 60% at 50% 40%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero .role {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff7a00;
}

.hero-img img {
    /* width: 380px;
    border-radius: 12px;
    object-fit: cover; */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: absolute;
    top: 0%;
    left: 69.2%;
    transform: translate(-50%, -44%);
    width: 400px;
}

/* 3D Gradient Blob Background */
/* .blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, #ff7a00, #b35700);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
} */

/* Hero Image */
.hero-photo {
    position: relative;
    z-index: 2;
    /* width: 330px;
    border-radius: 25px; */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

/* Floating Icons */
.tech-icon {
    position: absolute;
    padding: 10px 16px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    z-index: 3;
    background: rgb(255 122 0);
    backdrop-filter: blur(6px);
    animation: floatAnim 9s ease-in-out infinite;
}

/* Positioning icons */
/* === CORNER POSITIONING === */
.icon-html {
    top: 5%;
    left: 5%;
}

.icon-css {
    top: 5%;
    right: 5%;
}

.icon-js {
    bottom: 8%;
    left: 8%;
}

.icon-react {
    bottom: 8%;
    right: 5%;
}

/* Bootstrap Icon (slightly inside right center) */
.icon-bootstrap {
    top: 45%;
    right: 8%;
    /* move a bit outside for style */
}

/* Smooth float animation (same as before) */
@keyframes floatAnim {
    0% {
        transform: translateY(0px);
        opacity: .9;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: .9;
    }
}



/* STATS */
.stats-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.stats-box h3 {
    color: #ff7a00;
    font-weight: 700;
}

/* SERVICES */
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    background: #ff7a00;
    color: #fff;
    transform: translateY(-6px);
}

.service-card i {
    font-size: 40px;
    color: #ff7a00;
}

.service-card:hover i {
    color: #fff;
}

/* PORTFOLIO */
.portfolio-card {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.portfolio-card img {
    width: 330px;
    margin: 0 auto;
    display: block;
}

/* CONTACT */
.contact-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ff7a00;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 15px;
}

.contact-icon i {
    color: #fff;
    font-size: 32px;
}

/* WAVE + SOCIAL HOVER */
.social-icon:hover {
    color: #ff7a00 !important;
    transform: scale(1.2);
    transition: 0.3s;
}

/* SCROLL TO TOP */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ff7a00;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    width: 30px;
    height: 30px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* header */
/* Glassmorphism Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 70px;
    min-height: 70px;
    max-height: 70px;

    display: flex;
    align-items: center;

    backdrop-filter: blur(12px);
    background: rgba(10, 15, 30, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 99999;
}

/* Disable shrink effect (NO HEIGHT CHANGE ON SCROLL) */
.navbar > .container {
    height: 65px;
    display: flex;
    align-items: center;
}
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin-right: 18px;
    position: relative;
    padding-top: 0px;
    padding-bottom: 0px;
}

/* ACTIVE underline animation */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: #ff7a00;
}

/* Slide-Out Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #0d1b2a;
    padding: 30px;
    transition: 0.9s ease;
    z-index: 99999;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    color: white;
    display: block;
    font-size: 1.2rem;
    margin-bottom: 18px;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #ff7a00;
}

/* Logo Image */
.logo-img {
    width: 120px;
    border-radius: 12px;
    object-fit: contain;
    margin-right: 10px;
}

/* contact form */
.contact-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.contact-card i {
  font-size: 28px;
  color: #ff7a00;
  margin-bottom: 10px;
  display: inline-block;
}

.contact-card h6 {
  font-weight: 600;
  margin-top: 10px;
}

.contact-card p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 0;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
}

.form-control {
  border-radius: 10px;
  padding: 12px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #ff7a00;
}

.btn-orange {
  background: #ff7a00;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  position: relative;
  z-index: 11;
}

.btn-orange:hover {
  background: #e96a00;
  color: #fff;
}
/* .contact-section {
  background:#1f2937;
} */
.border-animate {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

/* common line style */
.border-animate .line {
  position: absolute;
  background: #ff7a00;
}

/* TOP */
.border-animate .line.top {
  height: 10px;
  width: 0;
  top: 0;
  left: 0;
  animation: topLine 9s linear infinite;
}

/* RIGHT */
.border-animate .line.right {
  width: 10px;
  height: 0;
  top: 0;
  right: 0;
  animation: rightLine 9s linear infinite;
}

/* BOTTOM */
.border-animate .line.bottom {
  height: 10px;
  width: 0;
  bottom: 0;
  right: 0;
  animation: bottomLine 9s linear infinite;
}

/* LEFT */
.border-animate .line.left {
  width: 10px;
  height: 0;
  bottom: 0;
  left: 0;
  animation: leftLine 9s linear infinite;
}

/* KEYFRAMES */
@keyframes topLine {
  0%   { width: 0; }
  25%  { width: 100%; }
  100% { width: 100%; }
}

@keyframes rightLine {
  0%,25% { height: 0; }
  50%    { height: 100%; }
  100%   { height: 100%; }
}

@keyframes bottomLine {
  0%,50% { width: 0; }
  75%    { width: 100%; }
  100%   { width: 100%; }
}

@keyframes leftLine {
  0%,75% { height: 0; }
  100%   { height: 100%; }
}

/* CARD */
.contact-wrap {
  background: radial-gradient(circle at top left, #2e3b52, #1c2636);
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* CONTACT US BADGE */
.contact-badge {
  position: absolute;
  top: -18px;
  right: 40px;
  background: #ff7a00;
  color: #fff;
  padding:10px;
  font-weight: 700;
  border-radius: 14px;
  letter-spacing: 1px;
  transform: rotate(-6deg);
  box-shadow:0 0 30px rgb(255 138 31 / 52%);
}

/* PROFILE IMAGE */
.profile-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #0f1a28;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* INFO LIST */
.info-list {
  padding-left: 22px;
}

/* ROW */
.info-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* ICON */
.info-icon {
  width: 35px;
  height: 35px;
  background: rgb(255 122 0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible; /* IMPORTANT */
}

/* Pulse ring */
.info-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.6);
  animation: pulse 1.8s ease-out infinite;
  z-index: 0; /* NOT -1 */
}

/* Icon stays on top */
.info-icon i {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 20px;
}

/* Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


/* TEXT */
.info-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.6px;
}

/* EMAIL SMALLER */
.info-text.email {
  font-size: 18px;
  opacity: 0.9;
}
/* =========================
   SUCCESS POPUP (PREMIUM)
========================= */

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.success-box {
  background: #ffffff;
  padding: 45px 35px;
  border-radius: 22px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: popupScale 0.4s ease;
}

/* ICON */
.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #ff7a00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.success-icon svg {
  width: 44px;
  height: 44px;
  stroke: #ff7a00;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drawTick 0.6s ease forwards;
}

/* TEXT */
.success-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.success-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ANIMATION */
@keyframes popupScale {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawTick {
  from {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  to {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
  }
}

@media (min-width: 1600px) {
  .contact-wrap {
    padding: 40px;
  }

  .info-text {
    font-size: 22px;
  }

  .profile-circle {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 1300px) {
  .profile-circle {
    width: 160px;
    height: 160px;
  }

  .info-text {
    font-size: 19px;
  }
}
@media (max-width: 767px) {
  .contact-badge {
    right: 20px;
    font-size: 14px;
    padding: 8px 16px;
  }

  .profile-circle {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
  }

  .info-text {
    font-size: 17px;
  }
}
@media (max-width: 575px) {
  .contact-wrap {
    text-align: center;
  }

  .info-row {
    justify-content: center;
  }

  .info-icon {
    width: 42px;
    height: 42px;
  }

  .info-text {
    font-size: 16px;
  }
}
@media (max-width: 320px) {
  .profile-circle {
    width: 120px;
    height: 120px;
  }

  .info-text {
    font-size: 14px;
    letter-spacing: 0.2px;
  }

  .contact-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

.footer-links li {
  margin-bottom: 8px;
  color: #bbb;
  transition: all 0.3s ease-in-out;
}
.footer-links li:hover{
  color: #ff7a00;
  margin-left: 3px;
  
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff7a00;
  margin-left: 3px;
}

.social-icon {
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-4px);
  color: #ff7a00;
}
/* modal css */
/* Glass Modal */
.modal{
  z-index: 1111;
}
.glass-modal {
  background: radial-gradient(circle at top left, #2e3b52, #1c2636);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
}

/* Glas s Inputs */

.glass-input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 10px;
}

.glass-input::placeholder {
  color: #ccc;
}

.glass-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: #ff7a00;
  box-shadow: none;
  color: #fff;
}

/* Orange Button */
.btn-orange {
  background: #ff7a00;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-orange:hover {
  background: #e96a00;
  transform: translateY(-2px);
}

/* end of modal css */
/* 404 */
.error-page {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top, #1c2636, #0d1321);
  color: #fff;

  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */

  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ===============================
   CONTENT BOX
================================ */

.error-page .error-box {
  max-width: 700px;
  padding: 40px;
  margin: 0 auto;
  z-index: 2;
}

/* ===============================
   TEXT STYLES
================================ */

.error-page .error-code {
  font-size: 100px;
  color: #ff7a00;
  letter-spacing: 2px;
  font-weight: bold;
}

.error-page .error-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
}

.error-page .error-text {
  font-size: 18px;
  color: #cfd8e3;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* ===============================
   BUTTON
================================ */

.error-page .btn-orange {
  background: #ff7a00;
  color: #fff;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.error-page .btn-orange:hover {
  background: #e96a00;
  transform: translateY(-2px);
}

/* ===============================
   GLOW EFFECT
================================ */

.error-page .glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,122,0,0.35), transparent 70%);
  filter: blur(60px);
  z-index: 1;
}
/* about section */
/* STACK TECHNOLOGIES */
.stack-grid .stack-card {
  background: #eee;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.stack-grid .stack-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.stack-grid .stack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
/* end of about section */
/* pricing section */
/* GLASS PRICING */
.pricing-card.glass {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,122,0,0.15),
    transparent
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
   height: 100%;
}

/* Hover Animation */
.pricing-card.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.4s;
}

.pricing-card.glass:hover::before {
  opacity: 1;
}

.pricing-card.glass:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 80px rgba(255,122,0,0.25);
}
.p-title{
  font-size: 18px;
  font-weight: 700;
}

.pricing-icon {
  font-size: 34px;
  color: #ff7a00;
}

.price {
  color: #ff7a00;
  font-weight: 800;
  font-size: 28px;
  filter: blur(4px);
  opacity: 0.3;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Reveal on hover */
.pricing-card:hover .price {
  filter: blur(4px);
  opacity: 0.5;
}


.pricing-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-list li {
  font-size: 15px;
  margin-bottom: 8px;
}

/* POPULAR BADGE */
.popular-badge {
  position: absolute;
  top: 18px;
  right: -38px;
  background: #ff7a00;
  color: #fff;
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
}

/* end of pricing section */


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 576px) {
  .error-page .error-title {
    font-size: 36px;
  }

  .error-page .error-text {
    font-size: 16px;
  }

  .error-page .error-box {
    padding: 25px;
  }
}
@media (min-width: 1920px) {
  .hero {
    padding: 160px 80px 120px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-img img {
    width: 460px;
  }

  .container {
    max-width: 1600px;
  }
}

/* ===============================
   ≥ 1600px
================================ */
@media (min-width: 1600px) and (max-width: 1919px) {
  .hero {
    padding: 150px 60px 110px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-img img {
    width: 430px;
  }
}

/* ===============================
   ≤ 1300px
================================ */
@media (max-width: 1300px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero .role {
    font-size: 1.6rem;
  }

  .hero-img img {
    width: 380px;
    left: 60%;
  }

  .info-text {
    font-size: 18px;
  }
}

/* ===============================
   ≤ 1099px
================================ */
@media (max-width: 1099px) {
  .hero {
    clip-path: none;
    padding: 120px 30px 90px;
  }

  .hero-img img {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    margin-top: 30px;
  }

  .service-card {
    padding: 20px;
  }

  .pricing-card {
    margin-bottom: 20px;
  }
}

/* ===============================
   ≤ 992px (Tablet Landscape)
================================ */
@media (max-width: 992px) {
 
  .hero h1 {
    font-size: 2.6rem;
  }

  .hero .role {
    font-size: 1.4rem;
  }

  .hero-img img {
    width: 320px;
  }

  .info-row {
    justify-content: start;
  }

  .portfolio-card img {
    width: 100%;
  }
  .contact-wrap {
    padding: 20px;
  }
  .info-list{
    padding-left: 0px;
  }
  .info-row {
    gap: 12px;
  }

  .info-text {
    font-size: 18px;
  }
  .contact-badge{
        top: -30px;
    right: 10px;
  }
}
/* ===============================
   Mobile Slide-in Menu (Right)
================================ */

/* ===============================
   Mobile Right Slide Menu
================================ */
#home, #about, #sevices, #portfolio, #pricing, #contact {
    position: relative;
    z-index: 1; /* Navbar ka 99999 hai, toh ye hamesha niche rahega */
}
@media (max-width: 991.5px) {

  .glass-nav {
   position: fixed !important; /* Mobile pe bhi fixed rahega */
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 99999 !important; /* Isse navbar content ke upar rahega */
  }

  .navbar-collapse {
  position: fixed;
    top: 70px; /* Navbar ki height jitna niche */
    right: 0;
    width: 260px;
    height: calc(100vh - 70px);
    background: rgba(10, 15, 30, 0.98) !important; 
    z-index: 99999 !important;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    overflow-y: auto;
    padding-left: 15px;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  /* Items spacing in mobile */
  .navbar-nav .nav-link {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
   .navbar-collapse .btn {
    width: 100%;
  }
}

/* ===============================
   ≤ 768px (Tablet / Mobile)
================================ */
@media (max-width: 768px) {
  .hero {
    padding: 110px 20px 70px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero .role {
    font-size: 1.3rem;
  }

  .hero-img img {
    width: 280px;
  }

  .contact-wrap {
    padding: 20px;
    text-align: center;
  }

  .profile-circle {
    margin-bottom: 15px;
  }

  .pricing-card {
    margin-bottom: 25px;
  }
}

/* ===============================
   ≤ 575px (Mobile Phones)
================================ */
@media (max-width: 575px) {
  .hero {
    padding: 100px 15px 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero .role {
    font-size: 1.2rem;
  }

  .hero-img img {
    width: 240px;
    margin-top: 20px;
  }

  .service-card,
  .pricing-card,
  .portfolio-card {
    padding: 18px;
  }

  .info-list {
    padding-left: 0;
  }

  .info-row {
    justify-content: center;
  }

  .info-icon {
    width: 42px;
    height: 42px;
  }

  .info-text {
    font-size: 16px;
  }

  footer {
    text-align: center;
  }
}