/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
}

body {
  font-family: "Poppins", sans-serif;
  background: #0d0d0d;
  color: #e0e0e0;
  overflow-x: hidden; 
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%; 
  background: rgba(15, 15, 15, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 255, 247, 0.2);
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #58a6ff;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}



/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 5px 8px;
}

/* Active Link */
.nav-links li a.active {
  color: #00fff7;
}

.nav-links li a.active::after {
  width: 100%;
}

/* Stylish hover underline */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff004f, #00fff7);
  transition: width 0.4s ease;
}

.nav-links li a:hover {
  color: #00fff7;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger menu (mobile) */
.hamburger {
  display: none;
  font-size: 1.5rem;
  color: #00fff7;
  cursor: pointer;
}


/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 8% 50px;
  background: #0d0d0d;
  min-height: 100vh;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #e0e0e0;
}
.hero-content h2{
  font-size: 1.3rem;
  color: #58a6ff;
  margin-bottom: 15px;
}


.hero-content h1 span {
  color: #00fff7;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #ccc;
}

.hero-buttons {
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  background: transparent;
  color: #00fff7;
  border: 2px solid #00fff7;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn i {
  margin-right: 8px;
}

.btn:hover {
  background: #00fff7;
  color: #0d0d0d;
  box-shadow: 0 5px 15px rgba(0, 255, 247, 0.3);
}

.btn.secondary {
  background: transparent;
  border: 2px solid #00fff7;
  border-radius: 5px;
  color: #00fff7;
}

.btn.secondary:hover {
  background: #00fff7;
  color: #0d0d0d;
  box-shadow: 0 5px 15px rgba(0, 255, 247, 0.3);
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #00fff7;
  text-decoration: none;
  margin: 30px 15 px 30 px 0;
  
}

.social-icons a:hover {
  background: black;
  color: #00fff7;
  transform: scale(1.2);
  
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 50%;
  border: 4px solid #00fff7;
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05) rotate(3deg);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 247, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content {
    margin-top: 20px;
  }
}



/* About Section */
.about {
  background: #111;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  gap: 50px;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 20px;
  border: 4px solid #00fff7;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00fff7;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #ccc;
}

.about-content p span {
  color: #58a6ff;
  font-weight: bold;
}

.about-buttons {
  margin-bottom: 20px;
}

.about-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #00fff7;
  text-decoration: none;
  margin: 30px 15 px 30 px 0;
}

.about-social a:hover {
  background: black;
  color: #00fff7;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}



/* Services Section */
.services {
  padding: 80px 8%;
  background: #111;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #00fff7;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: #0d0d0d;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 25px;
  text-align: left;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 247, 0.1);
  position: relative;
  background-clip: padding-box;
}

/* Gradient Border */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(135deg, #00fff7, #ff004f);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #00fff7;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #ccc;
  line-height: 1.5;
}

/* Custom bullet points */
.service-card ul {
  list-style: none;
}

.service-card ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #e0e0e0;
  padding-left: 25px;
  position: relative;
}

.service-card ul li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #00fff7;
  font-size: 0.8rem;
}

/* Hover effect */
.service-card:hover {
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* Purple → Blue */
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 6px 25px rgba(106, 17, 203, 0.5);
}


.service-card:hover h3,
.service-card:hover p,
.service-card:hover ul li {
  color: #fff;
}

.service-card:hover ul li::before {
  color: #fff;
}




/* Portfolio Section */
#portfolio {
  padding: 100px 5%;
  background: #111;
}

#portfolio h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #00fff7;
}

#portfolio p {
  text-align: left;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 50px;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}



.portfolio-card {
  background: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent; /* Initial transparent border */
  text-align: center;
  padding: 12px 6px;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* border thickness */
  background: linear-gradient(135deg, #00fff7, #ff004f); /* Gradient border */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: 12px;
  pointer-events: none;
}

.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05) rotate(2deg);
}

.portfolio-content {
  padding: 20px;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #00fff7;
}

.portfolio-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.portfolio-content .btn {
  display: inline-block;
  padding: 8px 15px;
  background:#6a11cb;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-content .btn i {
  margin-right: 6px;
}

.portfolio-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.5);
}

/* Hover effect on whole card */
.portfolio-card:hover {
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* Purple → Blue */
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 6px 25px rgba(106, 17, 203, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .portfolio-card img {
    height: 200px;
  }
}



/* Client Section */

.clients {
  padding: 100px 8%;
  background: #0d0d0d;
  text-align: center;
}

.clients h2 {
  font-size: 2.5rem;
  color: #00fff7;
  margin-bottom: 50px;
}

.client-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.client-card {
  background: #111;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
  border-image-slice: 1;
  border-image-source: linear-gradient(135deg, #00fff7, #ff004f);
}

.client-card:hover {
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* purple hover gradient */
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 6px 25px rgba(106, 17, 203, 0.5);
}

.client-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #ccc;
}

.client-stars {
  color: #ffb400; /* gold stars */
  margin-bottom: 10px;
}

.client-stars i {
  margin-right: 3px;
}

.client-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #00fff7;
}

.client-card span {
  font-size: 0.8rem;
  color: #aaa;
}


.contact {
  padding: 80px 8%;
  background: #111;
  color: #e0e0e0;
}

.contact-title {
  font-size: 2.5rem;
  color: #00fff7;
  text-align: center;
  margin-bottom: 50px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
}

/* ---------- LEFT SIDE ---------- */
.contact-left {
  flex: 1;
  min-width: 280px;
}

.work-title {
  font-size: 1.8rem;
  background: #007bff;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 15px;
}

.work-text {
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: #ccc;
  line-height: 1.5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  background: #007bff;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px;
  border-radius: 50%;
}

.info-text h4 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.info-text p {
  margin: 3px 0 0;
  font-size: 0.95rem;
  color: #bbb;
  font-weight: 700;
}

.contact-social a {
   display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #0ef;
  border-radius: 50%;
  font-size: 20px;
  color: #00fff7;
  text-decoration: none;
  margin: 30px 15 px 30 px 0;
}

.contact-social a:hover {
  background: black;
  color: #00fff7;
  transform: scale(1.2);
}

/* ---------- RIGHT SIDE ---------- */
.contact-right {
  flex: 1;
  min-width: 320px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #333;
  background: #0d0d0d;
  color: #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
  outline: none;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button i {
  margin-right: 8px;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 123, 255, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}




/* Footer */
.site-footer {
  background: #0b0b0b; /* dark background */
  border-top: 1px solid rgba(255,255,255,0.03);
  padding: 20px 8%;
  color: #bfbfbf;
  text-align: center;
  margin-top: 40px; /* উপরের content থেকে gap */
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer p {
  font-size: 0.95rem;
  margin: 0;
  color: #bfbfbf;
}

.site-footer .footer-links a {
  color: #9be7ff;
  text-decoration: none;
  margin-left: 12px;
  font-size: 0.9rem;
}

.site-footer .footer-links a:hover {
  color: #00fff7;
  text-decoration: underline;
}

/* small screens */
@media (max-width: 600px) {
  .site-footer .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}











