/* ============================================================
   GROW TECH - SERVICES SECTION (THE DIGITAL TRINITY)
   Color Palette: Dark Navy (#0d102a), Golden (#c9a86a), Cyan (#00ffff)
   ============================================================ */

/* মেইন সেকশন কন্টেইনার */
.gt-services-trinity {
  background-color: #0d102a; /* ডার্ক থিম */
  padding: 50px 0;
  color: #ffffff;
  overflow: hidden; /* ওভারফ্লো সমস্যা প্রতিরোধের জন্য */
  width: 100%;
  position: relative;
}

.gt-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* হেডার স্টাইলিং */
.gt-header {
  text-align: center;
  margin-bottom: 70px;
}

.gt-subtitle {
  color: #c9a86a; /* গোল্ডেন সাবটাইটেল */
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  display: block;
  margin-bottom: 12px;
}

.gt-title {
  font-family: "Bungee", cursive;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin: 0;
}

.gt-title span {
  color: #00ffff; /* সায়ান হাইলাইট */
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.gt-gold-divider {
  height: 4px;
  width: 70px;
  background: #c9a86a;
  margin: 25px auto 0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(201, 168, 106, 0.4);
}

/* গ্রিড লেআউট - ওভারফ্লো ফিক্স করা হয়েছে */
.gt-services-grid {
  display: grid;
  /* minmax(280px) নিশ্চিত করে যে ছোট স্ক্রিনেও কার্ড ফেটে যাবে না */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  width: 100%;
}

/* প্রিমিয়াম কার্ড ডিজাইন */
.gt-service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 106, 0.15);
  border-radius: 28px;
  padding: 35px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* কার্ড হোভার ইফেক্ট */
.gt-service-card:hover {
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.04);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* গ্লাসমরফিজম শাইন ইফেক্ট */
.gt-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.8s;
}

.gt-service-card:hover::after {
  left: 150%;
}

/* ইমেজ বক্স স্টাইলিং */
.gt-card-img-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 25px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gt-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.gt-service-card:hover .gt-card-img-wrapper img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ইমেজ গ্লো */
.gt-img-overlay {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 25px rgba(0, 255, 255, 0.1);
  pointer-events: none;
}

/* কার্ড টেক্সট কন্টেন্ট */
.gt-card-body h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;

  font-weight: 800;
  letter-spacing: -1px;
  display: inline;
  background-image: linear-gradient(to top, #363a3f, #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.gt-lead {
  color: #c9a86a; /* গোল্ডেন রোল */
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 20px;
}

.gt-card-body p {
  color: #9ca3af;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 30px;
}

.gt-card-body p strong {
  color: #00ffff; /* প্যারাগ্রাফ হাইলাইট */
}

/* কল টু অ্যাকশন বাটন */
.gt-action-btn {
  text-decoration: none;
  color: #00ffff;
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: auto; /* বাটন সবসময় নিচে থাকবে */
  align-self: flex-start;
}

.gt-action-btn:hover {
  background: #00ffff;
  color: #0d102a;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transform: scale(1.05);
}

/* কার্ডের নিচে অ্যানিমেটেড গোল্ডেন-সায়ান লাইন */
.gt-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #00ffff, #c9a86a);
  transition: width 0.5s ease;
}

.gt-service-card:hover .gt-hover-line {
  width: 100%;
}

/* ============================================================
   RESPONSIVE QUERIES
   ============================================================ */

/* ট্যাবলেট ভিউ */
@media (max-width: 992px) {
  .gt-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* মোবাইল ভিউ - ওভারফ্লো ফিক্স করার জন্য স্পেশাল হ্যান্ডলিং */
@media (max-width: 768px) {
  .gt-services-trinity {
    padding: 70px 0;
  }
  .gt-services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .gt-title {
    font-size: 2rem;
  }
}

/* ছোট মোবাইল (যেমন iPhone SE বা ছোট ফোন) */
@media (max-width: 480px) {
  .gt-service-card {
    padding: 25px;
  }
  .gt-card-img-wrapper {
    height: 170px;
  }
  .gt-card-body h3 {
    font-size: 1.4rem;
  }
}
