/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 10px;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px hsla(355, 100%, 98%, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand img {
    width: 200px; 
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e50914;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e50914;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #f5f5f5;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
}

.highlight {
  color: #e50914;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #b3b3b3;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: #b3b3b3;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #1a1a1a;
  color: #f5f5f5;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #2c2c2c;
}

.social-icon:hover {
  color: #e50914;
  border-color: #e50914;
  transform: translateY(-3px);
}

.hero-image {
  text-align: center;
}

.profile-img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* Responsive Fix */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .profile-img {
    width: 300px;
    height: 380px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
    text-align: left;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    text-align: left;
  }

  .hero-description {
    font-size: 0.95rem;
    text-align: left;
  }

  .profile-img {
    width: 250px;
    height: 320px;
  }
}

/* Section Styles */
section {
    padding: 100px 5px;
}

.section-header {
    text-align: left;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e50914;
}

/* About Section */

.about-section {
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #000000, #000000);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
}

.about-img {
  flex: 1 1 300px;
  text-align: center;
}

.about-img img {
  width: 270px;
  border-radius: 20px;
  border: 3px solid #ff014f;
  box-shadow: 0 0 30px #00ff9d33;
  transition: transform 0.5s ease;
}

.about-img img:hover {
  transform: scale(1.05);
}

.about-content {
  flex: 1 1 500px;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

.about-content h2 {
  font-size: 2.3rem;
  color: #ff014f;
  margin-bottom: 10px;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about-content h3 span {
  color: #03af00;
  font-weight: bolder;
}

.about-content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ddd;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background: #e50914;
  color: #ffffff;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #00cc7a;
  transform: translateY(-3px);
}

/* animation effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive design */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 220px;
  }
}

.social-btn {
  display: flex;
  justify-content: start;
  align-items: start;
}

.whatsapp-btn {
  background: linear-gradient(145deg, #00e676, #00c853);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-btn i {
  font-size: 22px;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 190, 79, 0.6);
}

/* Responsive */
@media (max-width: 600px) {
  .whatsapp-btn {
    font-size: 16px;
    padding: 10px 25px;
  }

  .whatsapp-btn i {
    font-size: 20px;
  }
}


/* Skills Section */
.skills {
    background-color: #1a1a1a;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-content: start;
}

.skills-text h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skills-text p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: #ffffff;
}

.skill-percentage {
    font-weight: 600;
    color: #e50914;
}

.skill-bar {
    height: 8px;
    background-color: #2c2c2c;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #e50914;
    width: 0;
    transition: width 2s ease;
    border-radius: 4px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #1a1a1a;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2c2c2c;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    background-color: #1a1a1a;
}

.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e50914;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 3px solid #e50914;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}


.timeline-content h5 {
  font-size: 16px;
  color: #03af00;
}

.timeline-date {
    color: #e50914;
    font-weight: 500;
    font-size: 0.9rem;
}

.timeline-content p {
    color: #b3b3b3;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-container {
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-slide.active {
    display: grid;
}

.testimonial-card {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #2c2c2c;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.testimonial-card:hover .client-img {
    filter: grayscale(0%);
}

.testimonial-text {
    color: #b3b3b3;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.client-name {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.client-position {
    color: #e50914;
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background-color: #e50914;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #ffffff;
    color: #e50914;
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    background-color: #1a1a1a;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: #b3b3b3;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background-color: #e50914;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #ffffff;
    color: #e50914;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #2c2c2c;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: #e50914;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 1rem 0;
    font-weight: 600;
}

.blog-content p {
    color: #b3b3b3;
    line-height: 1.6;
}

/* Live Preview button (renamed classes) */
.preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #f50c00; /* লাল রঙ */
  color: #ffffff;      /* সাদা টেক্সট */
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
  box-shadow: 0 8px 24px rgba(255, 59, 48, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  user-select: none;
}

/* Pulsing white dot */
.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  position: relative;
}

.preview-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: previewPing 1.6s infinite;
  opacity: 0.6;
}

@keyframes previewPing {
  0% { transform: scale(0.9); opacity: 0.6; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Hover / focus effects */
.preview-btn:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.03);
  box-shadow: 0 14px 36px rgba(255, 59, 48, 0.26);
}
.preview-btn:active { transform: translateY(1px) scale(0.995); }
.preview-btn:focus {
  outline: 3px solid rgba(255, 59, 48, 0.18);
  outline-offset: 3px;
}

/* Text styling */
.preview-text { letter-spacing: 0.2px; }

/* Responsive small size tweak */
@media (max-width: 420px) {
  .preview-btn { padding: 10px 14px; font-size: 14px; border-radius: 10px; gap: 8px; }
  .preview-dot { width: 9px; height: 9px; }
}

/* Footer */
.footer {
    background-color: #080808;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    color: #b3b3b3;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #0d0d0d;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .profile-img {
        width: 300px;
        height: 400px;
    }

    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-slide {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .profile-img {
        width: 250px;
        height: 320px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .testimonial-card,
    .blog-content {
        padding: 1.5rem;
    }
}
