/* ========================================
   GLOBAL STYLES - গ্লোবাল স্টাইল
========================================= */

/* সব এলিমেন্টের জন্য বেসিক রিসেট */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* রুট ভেরিয়েবল - কালার প্যালেট */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --text-dark: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* বডি স্টাইল */
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* স্মুথ স্ক্রলিং */
html {
  scroll-behavior: smooth;
}

/* সেকশন প্যাডিং */
.section-padding {
  padding: 100px 0;
}

/* ব্যাকগ্রাউন্ড লাইট */
.bg-light {
  background-color: var(--light-color) !important;
}

/* গ্রেডিয়েন্ট ব্যাকগ্রাউন্ড */
.bg-gradient {
  background: var(--gradient);
  color: var(--white);
}

/* হাইলাইট টেক্সট */
.highlight {
  color: var(--primary-color);
}

.bg-gradient .highlight {
  color: var(--white);
  font-weight: 600;
}

/* ========================================
   HEADER SECTION - হেডার স্টাইল
========================================= */

/* হেডার স্টিকি করার জন্য */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

/* নেভবার স্টাইল */
.navbar {
  padding: 1rem 0;
}

/* লোগো স্টাইল */
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

/* নেভ লিংক স্টাইল */
.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: var(--transition);
  position: relative;
}

/* নেভ লিংক হোভার ইফেক্ট */
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* নেভ লিংক আন্ডারলাইন ইফেক্ট */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* ========================================
   HERO SECTION - হিরো সেকশন স্টাইল
========================================= */

/* হিরো সেকশন */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

/* হিরো টাইটেল */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* হিরো সাবটাইটেল */
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* হিরো ডেসক্রিপশন */
.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* হিরো বাটন */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* প্রাইমারি বাটন */
.btn-primary-custom {
  background: var(--gradient);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--white);
}

/* আউটলাইন বাটন */
.btn-outline-custom {
  background: transparent;
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* হিরো ইমেজ র‍্যাপার */
.image-wrapper {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

/* ফ্লোটিং অ্যানিমেশন */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}


/* রাউন্ডেড ইমেজ */
.rounded-image {
  border-radius: 10px;
  box-shadow: var(--shadow);
}


/* ========================================
   MARQUEE SECTION - মার্কি স্টাইল
========================================= */

/* মার্কি সেকশন */
.marquee-section {
  background: var(--light-color);
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* মার্কি র‍্যাপার */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* মার্কি কন্টেন্ট - এনিমেশন */
.marquee-content {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* মার্কি স্ক্রল এনিমেশন */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* স্কিল ব্যাজ স্টাইল - ক্যাপসুল ডিজাইন */
.skill-badge {
  background: var(--white);
  color: var(--text-dark);
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  cursor: default;
}

.skill-badge i {
  font-size: 1.4rem;
  transition: var(--transition);
}

.skill-badge:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-badge:hover i {
  transform: scale(1.2);
}

/* ========================================
   SECTION HEADER - সেকশন হেডার
========================================= */

/* সেকশন হেডার */
.section-header {
  margin-bottom: 60px;
}

/* সেকশন সাবটাইটেল */
.section-subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* সেকশন টাইটেল */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
}

/* সেকশন ডেসক্রিপশন */
.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION - এবাউট স্টাইল
========================================= */

/* এবাউট ইমেজ */
.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* এবাউট টেক্সট */
.about-text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* এবাউট লিস্ট */
.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-list li {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-list li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* ========================================
   SKILLS SECTION - স্কিল স্টাইল
========================================= */

/* স্কিল ক্যাটাগরি */
.skill-category {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* স্কিল ক্যাটাগরি টাইটেল */
.skill-category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 25px;
}

.skill-category-title i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* স্কিল আইটেম */
.skill-item {
  margin-bottom: 20px;
}

/* স্কিল ইনফো */
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.skill-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* প্রগ্রেস বার */
.progress {
  height: 10px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  background: var(--gradient);
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease;
}

/* ========================================
   SERVICES SECTION - সার্ভিস স্টাইল
========================================= */

/* সার্ভিস কার্ড */
.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

/* সার্ভিস আইকন */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(360deg);
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

/* সার্ভিস টাইটেল */
.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 15px;
}

/* সার্ভিস ডেসক্রিপশন */
.service-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   PORTFOLIO SECTION - পোর্টফোলিও স্টাইল
========================================= */

/* পোর্টফোলিও কার্ড */
.portfolio-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

/* পোর্টফোলিও ইমেজ */
.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

/* পোর্টফোলিও ওভারলে */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(99, 102, 241, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* পোর্টফোলিও লিংক */
.portfolio-link {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.portfolio-link:hover {
  transform: scale(1.2);
}

/* পোর্টফোলিও কন্টেন্ট */
.portfolio-content {
  padding: 25px;
}

/* পোর্টফোলিও টাইটেল */
.portfolio-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

/* পোর্টফোলিও ডেসক্রিপশন */
.portfolio-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* পোর্টফোলিও ট্যাগ */
.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: #e0e7ff;
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========================================
   TESTIMONIALS SECTION - টেস্টিমোনিয়াল
========================================= */

.testimonials-section{
  background-color: #e6ecfe;
}

/* টেস্টিমোনিয়াল কার্ড */
.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

/* রেটিং স্টার */
.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-right: 3px;
}

/* টেস্টিমোনিয়াল টেক্সট */
.testimonial-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

/* লেখক নাম */
.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 5px;
}

/* লেখক রোল */
.author-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.owl-dots{

  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;

}

.owl-dots .owl-dot span{

  width: 10px;
  height: 10px;
  display: block;
  background-color: var(--dark-color);
  border-radius: 50px;
  margin: 3px;

}

.owl-dots .owl-dot.active span{

  background-color: var(--primary-color);

}

/* ========================================
   CONTACT SECTION - কন্টাক্ট স্টাইল
========================================= */


/* ========================================
   FOOTER SECTION - ফুটার স্টাইল
========================================= */

/* ফুটার সেকশন */
.footer-section {
  background: var(--dark-color);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

/* সোশ্যাল লিংক */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

/* কপিরাইট */
.copyright {
  font-size: 0.95rem;
  opacity: 0.8;
}

.copyright p {
  margin-bottom: 5px;
}

.copyright i {
  color: #ef4444;
}

/* ========================================
   SCROLL TO TOP BUTTON - স্ক্রল টু টপ
========================================= */

/* স্ক্রল টু টপ বাটন */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE STYLES - রেসপন্সিভ ডিজাইন
========================================= */

/* ট্যাবলেট ডিভাইস */
@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    text-align: center;
  }
}

/* মোবাইল ডিভাইস */
@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .skill-badge {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* ছোট মোবাইল ডিভাইস */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn-primary-custom,
  .cta-buttons .btn-outline-light {
    width: 100%;
  }
}



/* ===== CTA Contact Section ===== */
.cta-contact {
  background: var(--light-color);
  padding: 80px 0px;
  display: flex;
  justify-content: center;
}

/* Card */
.cta-card {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* Heading */
.cta-card h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Form */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

/* Focus */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* CTA Button */
.cta-btn {
  margin-top: 10px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(99,102,241,0.35);
}

/* Accordion button থেকে focus outline remove করা */
.accordion-button:focus,
.form-control:focus {
    outline: none;       /* default light blue outline gone */
    box-shadow: none;    /* extra shadow gone */
}


/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .cta-card {
    padding: 32px;
  }

  .shadow {
    margin-bottom: 30px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .cta-card h2 {
    font-size: 1.6rem;
  }

  .cta-card {
    padding: 28px 22px;
  }

  .shadow {
    margin-bottom: 30px;
  }
}
