:root {
  --bg-black: #050505;
  --purple-primary: #7c5dfa;
  --lime-accent: #d4f05b;
  --text-gray: #a1a1a1;
}

body {
  background-color: var(--bg-black);
  color: white;
  font-family: 'Inter', sans-serif;
}

/* --- Navbar Styling --- */
.custom-navbar {
  background-color: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--purple-primary);
}

.white-dot {
  height: 6px;
  width: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  margin-left: 4px;
  margin-bottom: 8px;
}

/* --- Menu Links --- */
.nav-menu .nav-link {
  color: white !important;
  font-size: 17px;
  font-weight: 700;
  margin: 0 15px;
  position: relative;
  transition: 0.3s;
}

.nav-menu .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background-color: var(--purple-primary);
  transition: width 0.3s ease;
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  width: 100%;
}

/* --- Purchase Button --- */
.nav-btn-desktop {
  background-color: var(--purple-primary);
  color: #ffffff;
  border: 2px solid var(--purple-primary);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.nav-btn-desktop:hover {
  background-color: white;
  border-color: white;
  color: black;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* --- Modern Animated Hamburger --- */
.hamburger-icon {
  width: 30px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

/* Button click korle "X" shape hobe */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Responsive Tweaks */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #111;
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
  }

  .nav-btn-container {
    margin-top: 20px;
    text-align: center;
  }
}


/*====================================================================================================*/
/* --- Hero Section Upgrade --- */
.hero-section {
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  /* Dark overlay with image */
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0.95) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
}

/* Background Glowing Effect (Optional) */
.hero-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--purple-primary);
  filter: blur(150px);
  opacity: 0.15;
  top: 10%;
  left: 10%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Badge Styling */
.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.purple-dot {
  height: 8px;
  width: 8px;
  background: var(--purple-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-primary);
}

.badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #efefef;
}

.horizontal-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Typography */
.hero-title {
  font-size: clamp(38px, 8vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, var(--purple-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: #a1a1a1;
  font-size: clamp(16px, 2vw, 19px);
  max-width: 700px;
  line-height: 1.7;
}

/* --- Premium Buttons --- */
.btn-main {
  padding: 16px 35px;
  border-radius: 12px;
  /* Square edges for modern look */
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  display: inline-flex;
  align-items: center;
}

.btn-purple {
  background: var(--purple-primary);
  color: white !important;
}

.btn-main:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.747);
  background: #ffffff;
  color: rgb(0, 0, 0) !important;
}

.btn-purple:hover {
  filter: brightness(1.2);
}

/* Responsive Fix for Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 42px;
  }

  .btn-main {
    width: 100%;
    justify-content: center;
  }
}

/*====================================================================================================*/

/* --- About Section Styling --- */
.about-section {
  background-color: var(--bg-black);
  overflow: hidden;
}

/* Image Box Upgrade */
.about-image-wrapper {
  z-index: 1;
}

.about-image-box {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.profile-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-box:hover .profile-img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(124, 93, 250, 0.2));
  z-index: 2;
  pointer-events: none;
}

/* Glow Orb behind image */
.glow-orb {
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--purple-primary);
  filter: blur(120px);
  opacity: 0.2;
  bottom: -20px;
  right: -20px;
  z-index: -1;
}

/* Typography & Content */
.lead-text {
  color: #efefef;
  font-size: 1.2rem;
  line-height: 1.7;
}

.sub-text {
  color: var(--text-gray);
  font-size: 1rem;
}

/* Highlights Styling */
.h-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.h-item:hover {
  background: rgba(124, 93, 250, 0.1);
  border-color: var(--purple-primary);
  transform: translateY(-5px);
}

.h-icon {
  color: var(--lime-accent);
  font-size: 1.1rem;
}

.h-item span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 991px) {
  .about-text-content {
    text-align: center;
    margin-top: 20px;
  }

  .hero-badge,
  .about-highlights {
    justify-content: center;
  }

  .profile-img {
    height: 350px;
  }

  .about-image-box {
    border-radius: 30px;
  }
}

/*====================================================================================================*/

/* --- Project Section Styling --- */
.project-section {
  background-color: var(--bg-black);
}

.section-title {
  color: white;
  letter-spacing: -1px;
}

/* Card Container */
.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
  border-color: var(--purple-primary);
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
}

/* Image Wrapper & Overlay */
.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.6s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(124, 93, 250, 0.6);
  /* Purple Tint */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s ease;
}

.overlay-link {
  color: white;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.project-card:hover .project-img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* Info Styling */
.project-info h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

.project-info p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Upgrade Project Button */
.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--purple-primary);
  color: white !important;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  transition: 0.4s ease;
}

.btn-project:hover {
  background-color: white;
  color: black !important;
  transform: translateX(5px);
}

/*=====================================================================================*/

/* --- Contact Section Styles --- */
.contact-premium {
  background-color: var(--bg-black);
  z-index: 1;
}

/* Background Animated Glows */
.contact-bg-glow-1,
.contact-bg-glow-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--purple-primary);
  filter: blur(150px);
  opacity: 0.1;
  z-index: -1;
}

.contact-bg-glow-1 {
  top: 10%;
  right: 5%;
}

.contact-bg-glow-2 {
  bottom: 10%;
  left: 5%;
}

/* Icon Boxes */
.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(124, 93, 250, 0.1);
  border: 1px solid rgba(124, 93, 250, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-primary);
  font-size: 20px;
}

/* Social Icons */
.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-icon:hover {
  background: var(--purple-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(124, 93, 250, 0.3);
}

/* Glassmorphism Form */
.glass-form-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.custom-input {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 12px;
  padding: 12px 18px;
  transition: 0.3s ease;
}

.custom-input:focus {
  border-color: var(--purple-primary) !important;
  box-shadow: 0 0 0 4px rgba(124, 93, 250, 0.15) !important;
}

/* Button Glow Effect */
.glow-btn {
  background: var(--purple-primary);
  border: none;
  color: white;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glow-btn:hover {
  background: white;
  color: black;
  box-shadow: 0 0 30px rgba(124, 93, 250, 0.4);
  transform: translateY(-2px);
}

/* Mobile Tweaks */
@media (max-width: 991px) {
  .contact-info-content {
    text-align: center;
  }

  .hero-badge,
  .social-row {
    justify-content: center;
  }

  .f-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 15px;
  }
}

/*====================================================================================================*/

/* --- Modern Footer Styling --- */
.modern-footer {
  background-color: var(--bg-black);
  position: relative;
}

/* Big Text Gradient */
.footer-top-text h2 {
  letter-spacing: -2px;
}

/* Link Hover Effect */
.footer-link {
  transition: 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--purple-primary) !important;
  padding-left: 5px;
}

/* Social Icon Buttons */
.social-icon-btn {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn:hover {
  background: var(--purple-primary);
  color: white;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgba(124, 93, 250, 0.3);
}

/* Copyright Line Decor */
.copyright-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Heart Animation */
.pulse-heart {
  color: var(--purple-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .footer-top-text h2 {
    font-size: 32px;
  }

  .f-box {
    text-align: center;
  }

  .social-icons-real {
    justify-content: center;
  }
}