/* =========================================
   About Page Stylesheet (about.css)
   ========================================= */

/* --- Variables & Global Reset (Consistent with style.css) --- */
:root {
  --primary-color: #000000;
  --secondary-color: #ff6600;
  --text-color: #333;
  --white-color: #fff;
  --bg-color: #f8f9fa;
  --shadow-light: 0 4px 12px rgba(0,0,0,.1);
  --shadow-heavy: 0 8px 24px rgba(0,0,0,.2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background: var(--white-color);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.3; }
section { padding: 5rem 5%; } /* General padding for sections */

/* --- Preloader --- */
.preloader {
  position: fixed; inset: 0; background: #fff;
  display: grid; place-items: center; z-index: 9999;
  opacity: 1; visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content img { width: 150px; height: auto; }

/* --- Header --- */
.header {
  position: sticky; top: 0; z-index: 999;
  background: #fff; box-shadow: var(--shadow-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { height: 40px; }
.logo span { font-weight: 700; color: var(--primary-color); font-size: 1.25rem; }
.nav-menu ul { display: flex; gap: 2rem; list-style: none; }
.nav-menu a {
  text-decoration: none; color: var(--primary-color); font-weight: 600;
  font-size: 1rem; transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary-color); }
.hamburger-menu, .close-menu { display: none; background: none; border: none; cursor: pointer; }

/* --- Footer --- */
footer {
  background: var(--primary-color); color: rgba(255,255,255,0.8);
  text-align: center; padding: 3rem 5% 2rem;
}
.footer-contact h3 { color: var(--white-color); margin-bottom: 1.5rem; font-size: 1.5rem; }
.footer-contact p { margin: .75rem 0; }
.footer-contact i { color: var(--secondary-color); margin-right: 0.5rem; }
.copyright { border-top: 1px solid #444; padding-top: 2rem; margin-top: 2rem; }

/* --- Buttons --- */
.call-now-btn {
  background: var(--secondary-color); color: #fff; border: none;
  padding: 12px 24px; border-radius: 50px; font-weight: 700;
  cursor: pointer; transition: background .3s, transform .3s;
  text-transform: uppercase; margin-top: 2rem;
}
.call-now-btn:hover { background: #e65500; transform: scale(1.05); }

/* --- Animations (Common) --- */
.fade-in, .reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.visible { opacity: 1; transform: translate(0, 0) !important; }

/* --- ABOUT PAGE SPECIFIC SECTIONS --- */

/* Intro */
.page-intro { text-align: center; padding: 5rem 5% 3rem; background: var(--bg-color); }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; color: var(--primary-color); }
.page-intro p { max-width: 800px; margin: 1.5rem auto 0; color: var(--text-color); font-size: 1.1rem; }

/* Vision */
.vision-section { background: #f0f3f8; }
.vision-container { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; max-width: 1200px; margin: auto; }
.vision-image, .vision-content { flex: 1; min-width: 300px; }
.vision-content h2 { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 1.5rem; }
.about-content-ul { list-style: none; margin-top: 1.5rem; }
.about-content-ul li { margin-bottom: .8rem; font-size: 1rem; opacity: 0; transform: translateX(-20px); transition: .5s; }
.about-content-ul li i { color: var(--secondary-color); margin-right: .7rem; }

/* Parallax */
.parallax-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../image/technician-tools.jpg') center/cover no-repeat fixed;
  min-height: 40vh; display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 2rem;
}


/* --- Parallax Section with Animation --- */

/* 1. মূল সেকশনের স্টাইল */
.parallax-section {
  /* ======================================================= */
  /* === নিজের পছন্দের ব্যাকগ্রাউন্ড ইমেজ এখানে যুক্ত করুন === */
  background-image: url('https://images.unsplash.com/photo-1484950652131-4a386095039e?q=80&w=2070&auto=format&fit=crop'); 
  /* ======================================================= */
  
  /* সেকশনের উচ্চতা */
  min-height: 80vh;

  /* প্যারালাক্স ইফেক্ট তৈরির মূল কোড */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* ভেতরের লেখাগুলোকে মাঝখানে আনার জন্য */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: #fff; /* লেখার রঙ সাদা করা হলো */
}

/* 2. লেখার কন্টেইনারের স্টাইল */
.parallax-section .text-content {
  background-color: rgba(0, 0, 0, 0.5); /* লেখার পেছনে একটি হালকা কালো শেড */
  padding: 2.5rem 3rem;
  border-radius: 12px;
  max-width: 950px; /* সর্বোচ্চ প্রস্থ */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* 3. হেডিং (h2) এর স্টাইল এবং অ্যানিমেশন */
.parallax-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); /* রেসপনসিভ ফন্ট সাইজ */
  text-shadow: 2px 2px 5px #000;
  margin: 0 0 15px 0; /* নিচে কিছুটা ফাঁকা জায়গা */
  
  /* অ্যানিমেশনের জন্য প্রাথমিক অবস্থা */
  opacity: 0;
  transform: translateY(25px);
  
  /* অ্যানিমেশন প্রয়োগ */
  animation: fadeInUp 1s ease-out forwards;
}

/* 4. প্যারাগ্রাফ (p) এর স্টাইল এবং অ্যানিমেশন */
.parallax-section .locations-list {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  text-shadow: 1px 1px 3px #000;
  margin: 0;

  /* অ্যানিমেশনের জন্য প্রাথমিক অবস্থা */
  opacity: 0;
  transform: translateY(25px);
  
  /* অ্যানিমেশন প্রয়োগ (হেডিং এর ০.৪ সেকেন্ড পর শুরু হবে) */
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

/* 5. অ্যানিমেশন তৈরির কোড (Keyframes) */
@keyframes fadeInUp {
  /* অ্যানিমেশন শেষ হলে যা হবে */
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Differentiators */
.key-differentiators { text-align: center; }
.key-differentiators h2, .skills-section h2, .team-section h2 { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.differentiator-card {
  background: #fff; padding: 2rem; border-radius: 12px; box-shadow: var(--shadow-light);
  text-align: center; border-bottom: 4px solid var(--primary-color); transition: .4s;
}
.differentiator-card:hover { transform: translateY(-8px); border-color: var(--secondary-color); box-shadow: var(--shadow-heavy); }
.differentiator-card i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1.5rem; transition: color 0.3s; }
.differentiator-card:hover i { color: var(--primary-color); }
.differentiator-card h3 { font-size: 1.25rem; }

/* Skills */
.skills-section { background: var(--primary-color); color: #fff; text-align: center; }
.skill-bar-container { max-width: 700px; margin: 1.5rem auto; text-align: left; }
.skill-bar-container p { color: var(--secondary-color); font-weight: 600; margin-bottom: .5rem; }
.skill-bar { background: #555; border-radius: 5px; height: 15px; overflow: hidden; }
.skill-level { background: var(--secondary-color); width: 0; height: 100%; transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1); }

/* Team */
.team-section { text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.team-member-card {
  background: var(--bg-color); padding: 2rem 1rem; border-radius: 12px; box-shadow: var(--shadow-light);
  display: flex; flex-direction: column; align-items: center; transition: .3s;
}
.team-member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }
.team-member-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--secondary-color); margin-bottom: 1rem; }
.team-member-card h3 { color: var(--primary-color); margin-bottom: .4rem; }
.team-member-card p { color: var(--secondary-color); font-weight: 600; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
  padding: 5rem 5%; background: #f0f3f8; text-align: center;
}
.stat-item h3 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; color: var(--secondary-color); }
.stat-item p { margin-top: .5rem; color: var(--primary-color); font-weight: 600; }

/* --- RESPONSIVE STYLES (FROM LEFT MENU) --- */
@media(max-width: 768px) {
  section { padding: 4rem 5%; }
  .header { padding: 1rem 5%; }
  .hamburger-menu { display: block; font-size: 1.8rem; color: var(--primary-color); z-index: 1002; }
  .nav-menu {
    position: fixed; top: 0; left: -100%;
    width: 260px; height: 100%; background: var(--primary-color);
    padding: 2rem; box-shadow: 2px 0 15px rgba(0,0,0,.3);
    transition: left .4s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 1001;
    flex-direction: column; justify-content: center; align-items: center;
  }
  .nav-menu.active { left: 0; }
  .nav-menu ul { flex-direction: column; text-align: center; gap: 2.5rem; }
  .nav-menu a { color: #fff; font-size: 1.2rem; }
  .close-menu {
    display: block; color: #fff; position: absolute;
    top: 1rem; right: 1rem; font-size: 2rem;
  }
  .vision-container { flex-direction: column; text-align: center; }
  .vision-content { text-align: left; }
  .vision-content h2 { text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 480px) {
  .logo span { font-size: 1rem; }
  .logo img { height: 35px; }
  .stats { grid-template-columns: 1fr; gap: 3rem; }
  .call-now-btn { width: 100%; padding: 1rem; }
}