/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}



/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: center;
  background-color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar a {
  display: inline-flex;         
  align-items: center;          
  gap: 5px;                      
  color: #ffffff;
  padding: 5px 9px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s, box-shadow 0.3s;
  border-right: 3px solid #555;
}

.navbar a i {
  font-size: 1rem;               /* ✅ আইকনের সাইজ ঠিক রাখে */
}
.navbar a:hover i {
  color: #ffffff;
}
.navbar a:last-child {
  border-right: none;
}
.navbar a:hover {
  background-color: #001D49;
}
.navbar a.active {
  background-color: #001D49;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}




/* HERO SECTION */
/* HERO SECTION with Video Background */
.hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px;
  text-align: center;
  color: #fff;
  z-index: 1;

}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero h1 span {
  color: #a0ff84;
}

.hero p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Responsive Hero Height */
@media (max-width: 768px) {
  .hero {
    height: 200px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
}

/* CV, Chat, Call Button  */
/* Button Section Styling */
.button-group {
  text-align: center;
  margin-top: 50px;
  font-weight: bold;
}

/* Generic Button Style */
.btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 10px 15px;
  margin: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Icon Style Inside Button */
.btn i {
  margin-right: 10px;
  font-size: 20px;
}

/* Individual Button Colors */
.view-cv {
  background-color: #007bff; /* Blue */
  
}
.chat {
  background-color: #25D366; /* WhatsApp green */
}
.call {
  background-color: #28a745; /* Green */
}

/* Hover Animation */
.btn:hover {
  transform: translateY(-4px) scale(1.03);
  opacity: 0.9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Optional: Extra Styling for Nav (if needed) */
.navbar {
  background-color: #333;
  overflow: hidden;
  text-align: center;
}
.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.navbar a:hover {
  background-color: #575757;
  border-radius: 5px;
}

/* ABOUT SECTION */
.about {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: #fff;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #4caf50;
}

.about-text .subtitle {
  font-style: italic;
  color: #777;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}




/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.social-btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.social-btn:hover {
  background-color: #555;
}

/* Image Slider */
.about-image-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 10px;
  scrollbar-width: none; /* Firefox */
}

.about-image-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.about-image-slider img {
  width: 180px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.3s ease;
  box-shadow: none; /* ছায়া (shadow) বাদ দিতে চাইলে */
}

.about-image-slider img.active {
  transform: scale(1.2);
  opacity: 1;
}

/* SKILLS SECTION */
.skills {
  background-color: #111;
  color: #ccc;
  padding: 60px 20px;
  text-align: center;
}

.skills h2 {
  color: #a0ff84;
  margin-bottom: 40px;
  font-size: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  background-color: #222;
  padding: 30px 20px;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s;
}

.skill-item:hover {
  background-color: #333;
}

.skill-item i {
  font-size: 2rem;
  color: #a0ff84;
  margin-bottom: 15px;
}

.skill-item h3 {
  margin-bottom: 10px;
  color: #a0ff84;
}

.skill-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}




/* Responsive */
@media (max-width: 768px) {
  .social-btn {
    flex: 1 1 45%;
  }
}
