/* ================= GLOBAL ================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(
    135deg,
    #040b18 0%,
    #081a2e 30%,
    #0b2440 60%,
    #081a2e 100%
  );
  background-attachment: fixed;
  color: white;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  z-index: -1;
}


/* Animated Background Gradient */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  animation: gradientMove 12s ease infinite;
  padding: 140px 0 20px 0;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Soft radial glow */
.hero-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  z-index: 0;
}


/* ================= NAVBAR ================= */

.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  padding: 28px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.custom-navbar.scrolled {
  background: rgba(5, 15, 30, 0.85);
  backdrop-filter: blur(14px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}


.nav-link {
  position: relative;
  color: #cbd5e1 !important;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #3b82f6 !important;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-brand {
    max-width: 40%;
}

.navbar-brand .img-fluid {
    max-width: 50%;
    height: auto;
}

/* ================= HERO CONTENT ================= */

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.subtitle {
  color: #9ca3af;
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-title span {
  color: #3b82f6;
}

.hero-content p span {
  color: #3b82f6;
}

/* ================= PREMIUM BUTTONS ================= */

.btn-success {
  background: #3b82f6;
  border: none;
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  transition: 0.3s;
}

.btn-success:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(59,130,246,0.8);
}

.btn-outline-success {
  border: 1px solid #3b82f6;
  color: #3b82f6;
  transition: 0.3s;
}

.btn-outline-success:hover {
  background: #3b82f6;
  color: white;
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
}


/* ================= HERO IMAGE ================= */

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-height: 750px;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ================= GLASS FLOAT CARD ================= */

.glass-card {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 280px;
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ================= Work Section ================= */
.work-section {
  position: relative;
  padding: 250px 0 150px 0;
  overflow: hidden;
}

/* Subtitle */
.work-subtitle {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.work-subtitle span {
  color: #3b82f6;
}

/* Title */
.work-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

/* Service Boxes */
.service-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
}

.service-box:hover {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-6px);
}

.service-box h6 {
  margin: 0;
  font-weight: 500;
}

/* Icon Circle */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  border: 1px solid rgba(59,130,246,0.3);
}

/* Right Card Glow */
.card-glow {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle,
      rgba(59,130,246,0.3) 0%,
      transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

/* Glass Card */
.portfolio-card {
  position: relative;
  z-index: 2;
  padding: 35px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
  color: white;
  transition: 0.4s ease;
}

.portfolio-card h5 {
  margin-bottom: 25px;
  font-weight: 600;
}

.portfolio-card h5 span {
  color: #3b82f6;
}

/* Card Items */
.portfolio-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.portfolio-item:last-child {
  border-bottom: none;
}

.profit {
  color: #3b82f6;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .work-title {
    font-size: 36px;
  }

  .card-glow {
    display: none;
  }

  .portfolio-card {
    margin-top: 40px;
  }
}
/* ================= SCROLL ANIMATION BASE ================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.reveal-top {
  transform: translate3d(0, -60px, 0);
}

.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ================= DEVELOPMENT SECTION ================= */

/* =========================================================
   DEVELOPMENT SECTION - COMPLETE STYLES
========================================================= */

.development-section {
  position: relative;
  padding: 140px 0 80px 0;
  text-align: center;
  overflow: hidden;
}

/* Section Titles */
.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Wrapper Circle Layout */
.circle-wrapper {
  position: relative;
  width: 1000px;
  height: 1000px;
  margin: 100px auto 0;
}

/* Center Glow Effect */
.circle-wrapper::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(59,130,246,0.3);
  box-shadow: 0 0 80px rgba(59,130,246,0.15);
}

/* Center Phone */
.phone-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px; /* match image width */
  height: 1000px; /* match approximate image height */
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}


.phone-center img {
  width: 100%;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.7));
  animation: floatPhone 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatPhone {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Feature Items */
.feature-item {
  position: absolute;
  width: 160px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-item h6 {
  margin-top: 12px;
  font-weight: 600;
}

.feature-item p {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
  line-height: 1.6;
}

/* Radial Positioning (6 Points Around Circle) */
.f1 { top: 0%; left: 50%; transform: translate(-50%, 0); }
.f2 { top: 25%; right: 0%; transform: translate(0, -50%); }
.f3 { bottom: 25%; right: 0%; transform: translate(0, 50%); }
.f4 { bottom: 0%; left: 50%; transform: translate(-50%, 0); }
.f5 { bottom: 25%; left: 0%; transform: translate(0, 50%); }
.f6 { top: 25%; left: 0%; transform: translate(0, -50%); }

/* Icon Circle */
.icon-circle {
  width: 75px;
  height: 75px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
  border: 1px solid rgba(59,130,246,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.icon-circle i {
  font-size: 22px;
  color: #60a5fa;
  transition: 0.4s ease;
}

.feature-item:hover .icon-circle {
  transform: scale(1.12);
  box-shadow: 0 0 30px rgba(59,130,246,0.5);
  border-color: rgba(59,130,246,0.8);
}

.feature-item:hover .icon-circle i {
  color: #ffffff;
}

/* Responsive Layout */
@media (max-width: 991px) {

  .circle-wrapper {
    width: 100%;
    height: auto;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* Remove radial ring on mobile */
  .circle-wrapper::before {
    display: none;
  }

  /* Phone becomes normal block */
  .phone-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 260px;
    height: auto;
    margin-bottom: 60px;
  }

  .phone-center img {
    width: 100%;
    animation: none;
  }

  /* Features become stacked */
  .feature-item {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    margin-bottom: 40px;
    text-align: center;
  }

  .icon-circle {
    margin: 0 auto 15px auto;
  }

}

/* ===== Portfolio Section ===== */
.portfolio-section {
  padding: 140px 0 80px 0;
  overflow: hidden;
}

.portfolio-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* ===== Image Animation ===== */
.portfolio-image {
  flex: 1;
  min-width: 300px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 1s ease;
}

.portfolio-image img {
  width: 100%;
  max-width: 500px;
  display: block;
}

/* ===== Text Animation ===== */
.portfolio-content {
  flex: 1;
  min-width: 300px;
  transform: translateY(-100px);
  opacity: 0;
  transition: all 1s ease;
}

.portfolio-content h2 {
  font-size: 38px;
  color: #fff;
  margin-bottom: 20px;
}

.portfolio-content p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.portfolio-content span {
  color: #3b82f6;
}

.portfolio-features li {
  margin-bottom: 10px;
  color: #9ca3af;
}

/* ===== When Active ===== */
.portfolio-section.active .portfolio-image {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-section.active .portfolio-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s; /* Text comes after image settles */
}

/* ===== Mobile Optimization ===== */
@media (max-width: 992px) {
  .portfolio-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-content {
    transform: translateY(50px);
  }

  .portfolio-content h2 {
    font-size: 28px;
  }
}

/* ===== Feature List Styling ===== */
.portfolio-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.portfolio-features li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Stagger animation */
.portfolio-section.active .portfolio-features li:nth-child(1) {
  transition-delay: 0.7s;
}
.portfolio-section.active .portfolio-features li:nth-child(2) {
  transition-delay: 0.9s;
}
.portfolio-section.active .portfolio-features li:nth-child(3) {
  transition-delay: 1.1s;
}

.portfolio-section.active .portfolio-features li {
  opacity: 1;
  transform: translateY(0);
}

/* Icon Circle */
.feature-icon {
  min-width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b82f6;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

/* Text */
.feature-text h5 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-text p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Upgrade Block ===== */
.portfolio-upgrade {
  margin-top: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left Text */
.upgrade-content {
  flex: 1;
  min-width: 300px;
  transform: translateX(-80px);
  opacity: 0;
  transition: all 1s ease;
}

.upgrade-content h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.upgrade-content p {
  color: #94a3b8;
  margin-bottom: 30px;
}

.upgrade-content p span {
  color: #3b82f6;
}

/* Features */
.upgrade-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
  list-style: none;
  padding: 0;
}

.upgrade-features li {
  color: #cbd5e1;
  position: relative;
  padding-left: 25px;
}

.upgrade-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ff9d;
  font-weight: bold;
}

/* Right Image */
.upgrade-image {
  flex: 1;
  min-width: 300px;
  text-align: right;
  transform: translateX(80px);
  opacity: 0;
  transition: all 1s ease;
}

.upgrade-image img {
  width: 100%;
  max-width: 500px;
}

/* Activate Animation */
.portfolio-section.active .upgrade-content {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.4s;
}

.portfolio-section.active .upgrade-image {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.6s;
}

/* ===== Mobile ===== */
@media (max-width: 992px) {

  .portfolio-upgrade {
    flex-direction: column-reverse;
    text-align: center;
  }

  .upgrade-image {
    text-align: center;
  }

  .upgrade-features {
    grid-template-columns: 1fr;
  }
}

/* ===== Support Section ===== */
.support-section {
  padding: 140px 0 80px 0;
  position: relative;
}

/* Header */
.support-header {
  text-align: center;
  margin-bottom: 60px;
}

.support-header h2 {
  color: #ffffff;
  font-size: 38px;
  margin-top: 10px;
}

/* Glass Container */
.support-box {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 50px;
  border-radius: 20px;
  border: 1px solid #3b82f6;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
}

/* Cards */
.support-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* Icon */
.support-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b82f6;
  transition: all 0.4s ease;
}

/* Hover Effect */
.support-card:hover {
  transform: translateY(-8px);
}

.support-card:hover .support-icon {
  color: #3b82f6;
  background: rgba(11, 11, 173, 0.12);
  box-shadow: 0 0 15px #3b82f6;
  transform: translateY(-4px);
}

/* Text */
.support-card h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 20px;
}

.support-card p {
  color: #94a3b8;
  font-size: 14px;
}

/* ===== Mobile ===== */
@media (max-width: 992px) {

  .support-box {
    padding: 30px;
  }

  .support-header h2 {
    font-size: 28px;
  }
}

.support-section {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}

.support-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 0 40px;
}

/* Wrapper */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  margin-bottom: 60px;
}

.contact-wrapper > div {
  flex: 1;
  min-width: 220px;
}

/* Logo */
.logo-text {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
}

.logo-text span {
  color: #3b82f6;
}

.contact-brand p {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Links */
.contact-links h4,
.contact-info h4,
.contact-subscribe h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.contact-links ul,
.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-links li,
.contact-info li {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 14px;
}

.contact-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}

.contact-links a:hover {
  color: #3b82f6;
}

/* Bottom */
.contact-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  color: #64748b;
  font-size: 14px;
}

.contact-bottom a {
  text-decoration: none;
}

/* Mobile */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}

/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 1px solid #3b82f6;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  text-decoration: none;
}

/* Hover Effect */
.social-icons a:hover {
  color: #3b82f6;
  background: rgba(11, 11, 173, 0.12);
  box-shadow: 0 0 15px #3b82f6;
  transform: translateY(-4px);
}

/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #00b3ff);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

/* Show state */
.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover effect */
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(59,130,246,0.5);
}

/* Mobile optimization */
@media (max-width: 768px) {
  .scroll-top {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 15px;
  }
}














