/* =========================================
   CUSTOM FONT FACES (ROBOTO)
   ========================================= */

/* Regular (Normal Text) - 400 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (Semi-Bold) - 500 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold (Headings) - 700 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Regular (Normal Text) - 400 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (Semi-Bold) - 500 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/NotoSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold (Headings) - 700 */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* =========================================
   1. GENERAL RESET & BODY
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  /* ইমেজের ফোল্ডার পাথ চেক করে নিন */
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVBAR
   ========================================= */
header {
  padding: 20px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo-img {
  height: 40px;
  object-fit: contain;
}

.support-text {
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* =========================================
   3. HERO SECTION & SEARCH BAR
   ========================================= */
.hero {
  text-align: center;
  padding: 40px 0;
}

.hero h1 {
  font-size: 72px;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 64;
  line-height: 1;
}

.hero h1 span {
  color: #000b8c;
  display: block;
}

.hero p {
  color: #555;
  font-size: 20px;
  margin-bottom: 40px;
}

/* Search Bar Specific Styling */
.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 50px auto;
  background: white;
  border-radius: 50px; /* সার্চ বার গোল থাকবে */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 5px 20px;
}

.search-input {
  width: 100%;
  padding: 10px;
  border: none !important;
  background: transparent !important;
  outline: none;
  font-size: 15px;
  border-radius: 0 !important;
}

.search-icon {
  color: #1e3a8a;
  font-size: 18px;
  margin-left: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================================
   4. TICKET FORM CARD (Updated Inputs)
   ========================================= */
.ticket-card {
  background: white;
  max-width: 700px;
  margin: 0 auto 100px auto;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.ticket-card h2 {
  text-align: center;
  margin-bottom: 35px;
  color: #1a1a1a;
  font-weight: 60;
  font-size: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

label span {
  color: #dc2626;
}

/* Input Fields (Rounded Rectangle - 6px) */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px; /* ৬ পিক্সেল (রাউন্ডেড রেকট্যাঙ্গেল) */
  background-color: #f9fafb; /* হালকা ধূসর ব্যাকগ্রাউন্ড */
  font-size: 14px;
  width: 100%;
  outline: none;
  color: #333;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background-color: #fff;
  border-color: #d1d5db;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

textarea {
  resize: vertical;
  height: 120px;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-option input {
  margin-right: 8px;
  accent-color: #000836;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.radio-label {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* File Upload Box */
.file-upload-box {
  border: 1px dashed #ccc;
  background-color: #fafafa;
  border-radius: 6px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  transition: background 0.2s;
  width: 100%;
}

.file-upload-box:hover {
  background-color: #f0f0f0;
}

/* Google Recaptcha Styling */
.g-recaptcha {
  margin-bottom: 20px;
  transform: scale(1);
  transform-origin: 0 0;
}

@media (max-width: 500px) {
  .g-recaptcha {
    transform: scale(0.85); /* মোবাইলে একটু ছোট দেখাবে */
  }
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: #c3c9e9;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

/* বাটন একটিভ অবস্থা (গাঢ় নীল - ১ম ছবির মতো) */
.submit-btn.active {
  background-color: #000b8c;
  cursor: pointer;
}

.submit-btn.active:hover {
  background-color: #000b8c;
}

/* =========================================
   5. SUCCESS PAGE STYLING
   ========================================= */
.success-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.success-card {
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.success-icon-box {
  width: 90px;
  height: 90px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 50px auto;
}

.success-icon-box i {
  color: white;
  font-size: 55px;
}

.success-card h1 {
  font-size: 40px;
  font-weight: 60;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.3;
}

.success-card p {
  font-size: 22px;
  color: #666;
  margin-bottom: 40px;
}

/* Outline Button */
.btn-outline {
  border: 1px solid #060c55;
  color: #060c55;
  background: transparent;
}
.btn-outline:hover {
  background-color: #f0f4ff;
}

/* Solid Button */
.btn-solid {
  background-color: #000b8c;
  color: white;
  border: 1px solid #000b8c;
}
.btn-solid:hover {
  background-color: #03109f;
  border-color: #03109f;
}

/* =========================================
   6. TICKET DETAILS PAGE STYLING
   ========================================= */
.ticket-status-card {
  max-width: 800px;
  text-align: left;
  padding: 50px;
}

/* Progress Tracker */
.status-tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 0 20px;
}

.status-tracker::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: white;
  padding: 0 10px;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: white;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.step-text {
  font-size: 11px;
  color: #888;
  font-weight: 500;
}

/* Completed Step */
.step.completed .step-icon {
  background-color: #4caf50;
  border-color: #4caf50;
  color: white;
}
.step.completed .step-text {
  color: #333;
}

/* Active Step */
.step.active .step-icon {
  border-color: #333;
  border-width: 2px;
}
.step.active .step-text {
  color: #000;
  font-weight: 700;
}

/* Ticket Info */
.ticket-title {
  font-size: 40px;
  color: #222;
  margin-bottom: 30px;
  font-weight: 60;
}

.ticket-info-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.info-label {
  width: 150px;
  color: #555;
  font-weight: 500;
  flex-shrink: 0;
}

.info-value {
  color: #222;
  font-weight: 500;
  flex-grow: 1;
}

/* Attachments */
.attachment-links {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff2ff;
  color: #333;
  padding: 6px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #dce2f5;
  transition: 0.2s;
}

.attach-btn:hover {
  background-color: #dce2f5;
}

.attach-btn i {
  color: #1e3a8a;
}

/* =========================================
   7. FOOTER STYLING
   ========================================= */
footer {
  background-color: #060c54;
  color: white;
  padding: 60px 0 20px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr max-content max-content;
  gap: 80px;
  margin-bottom: 40px;
}

.footer-logo-img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 25px;
  max-width: 350px;
}

.badges {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.duns-number {
  font-size: 13px;
  font-weight: 700;
  margin-left: 10px;
  line-height: 1.4;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.footer-links ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #1e2952;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #9ca3af;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: #9ca3af;
  text-decoration: none;
}

/* =========================================
   8. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-direction: column;
    gap: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    justify-items: center;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .success-card h1 {
    font-size: 24px;
  }
  .success-buttons {
    flex-direction: column;
    align-items: center;
  }
  .ticket-card {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .info-row {
    flex-direction: column;
  }
  .info-label {
    width: 100%;
    margin-bottom: 5px;
    color: #888;
  }
  .status-tracker::before {
    display: none;
  }
}
/* ===========================
   NEWSLETTER / SUBSCRIBE BOX
   =========================== */
.newsletter-box {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
}

.newsletter-box input {
  padding: 12px 20px;
  border-radius: 50px; /* ক্যাপসুলের মতো গোল */
  border: none;
  width: 250px;
  font-size: 14px;
  outline: none;
  color: #333;
  background: white;
}

.newsletter-box input::placeholder {
  color: #999;
}

.subscribe-btn {
  background-color: #ff6b35; /* ইমেজের মতো কমলা রং */
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px; /* বাটনও গোল */
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.subscribe-btn:hover {
  background-color: #e55a2b; /* হোভার করলে একটু গাঢ় হবে */
}

/* রেসপন্সিভ ফিক্স (মোবাইলের জন্য) */
@media (max-width: 480px) {
  .newsletter-box {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-box input {
    width: 100%;
  }
  .subscribe-btn {
    width: 100%;
  }
}

/* Reply List in Ticket Details */
.reply-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reply-item {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.reply-number {
  font-weight: 600;
  margin-right: 5px;
}

.reply-attach-link {
  font-size: 12px;
  color: #1e3a8a;
  text-decoration: none;
  margin-left: 15px;
}
.reply-attach-link:hover {
  text-decoration: underline;
}

/* ===========================
   FEEDBACK PAGE STYLING
   =========================== */

/* Star Rating */
.star-rating-box {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.star-icon {
  font-size: 40px;
  color: #e0e0e0; /* ডিফল্ট গ্রে কালার */
  cursor: pointer;
  transition: color 0.2s;
}

.star-icon:hover,
.active-star {
  color: #ffcc00; /* হলুদ কালার */
}

/* Tags / Pills Container (For Negative Feedback) */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Tag Options (Gray Buttons) */
.tag-option {
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s;
}

.tag-option:hover {
  background-color: #e5e5e5;
}

/* Selected Tag (Blue Color - Image fe5.jpg Style) */
.selected-tag {
  background-color: #0044cc; /* গাঢ় নীল */
  color: white;
  border-color: #0044cc;
}
/* আপলোড করা ফাইলের নামের স্টাইল */
.file-tag {
  background-color: #eef2ff;
  border: 1px solid #dce2f5;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}
.file-tag i {
  color: #1e3a8a;
}
/* আপলোড করা ফাইলের লিস্ট স্টাইল */
.file-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.file-item:hover {
  background-color: #f0f4ff;
  border-color: #dce2f5;
}

.file-link {
  color: #1e3a8a;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.file-link:hover {
  text-decoration: underline;
}

.remove-btn {
  background: none;
  border: none;
  color: #ef4444; /* লাল রং */
  cursor: pointer;
  font-size: 16px;
  padding: 0 5px;
  transition: color 0.2s;
}

.remove-btn:hover {
  color: #b91c1c;
}
/* ফাইল কন্টেইনার: পাশাপাশি দেখানোর জন্য জোর করা হচ্ছে */
.file-list-container {
  display: flex !important; /* ফ্লেক্স লেআউট */
  flex-direction: row !important; /* লম্বালম্বি না হয়ে আড়াআড়ি হবে */
  flex-wrap: wrap !important; /* জায়গা না হলে নিচে নামবে */
  gap: 10px; /* মাঝখানে ফাঁকা */
  margin-top: 12px;
  width: 100%; /* পুরো জায়গা নেবে */
}

/* প্রতিটি ফাইলের ট্যাগ ডিজাইন */
.file-tag-pill {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 8px 12px;
  border-radius: 50px; /* পুরোপুরি গোল বা পিল শেপ */
  font-size: 13px;
  font-weight: 500;

  /* নিচের তিনটি লাইন সবচেয়ে জরুরি (পাশাপাশি আনার জন্য) */
  display: inline-flex !important; /* ইনলাইন ফ্লেক্স */
  width: auto !important; /* উইডথ ১০০% হবে না, যতটুকু লেখা ততটুকু জায়গা নেবে */
  align-items: center; /* আইকন ও টেক্সট সমান লাইনে থাকবে */

  gap: 8px;
  transition: all 0.2s;
}

.file-tag-pill:hover {
  background-color: #dbeafe;
}

/* ফাইলের নামের লিংক */
.file-link-text {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  max-width: 150px; /* নাম বেশি বড় হলে ভেঙে যাবে না */
  white-space: nowrap; /* এক লাইনে থাকবে */
  overflow: hidden; /* বাড়তি অংশ লুকাবে */
  text-overflow: ellipsis; /* শেষে ... দেখাবে */
}

/* ক্রস বাটন */
.remove-file-btn {
  background: transparent;
  border: none;
  color: #ef4444; /* লাল রং */
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 5px;
}
/* Ticket Details পেজে অ্যাটাচমেন্ট বক্স ডিজাইন */
.attachment-viewer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.view-file-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  background-color: #eff6ff; /* হালকা নীল ব্যাকগ্রাউন্ড */
  border: 1px solid #bfdbfe; /* নীল বর্ডার */
  border-radius: 8px; /* কোনা রাউন্ড */
  padding: 8px 15px;

  color: #1e3a8a; /* গাঢ় নীল লেখা */
  text-decoration: none; /* লিংকের আন্ডারলাইন রিমুভ */
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.view-file-box:hover {
  background-color: #dbeafe;
  border-color: #60a5fa;
}

.view-file-box i {
  font-size: 16px; /* চোখের আইকনের সাইজ */
}
/* =========================================
   BUTTON STYLING (UPDATED FOR FULL WIDTH)
   ========================================= */

/* ১. বাটন কন্টেইনার */
.success-buttons {
  display: flex;
  justify-content: space-between; /* দুই প্রান্তে ছড়াবে */
  align-items: center;
  gap: 15px; /* বাটনের মাঝখানে ফাঁকা */
  width: 100%; /* পুরো জায়গা নেবে */
  margin-top: 40px;
}

/* ২. সাধারণ বাটন (Solid & Outline) */
/* এগুলো এখন ফ্লেক্সিবল হবে এবং জায়গা পূরণ করবে */
.btn-outline,
.btn-solid {
  flex: 1; /* বাকি সব খালি জায়গা দখল করবে */
  width: 100%; /* ১০০% জায়গা নেবে */
  padding: 15px 20px; /* মোটা প্যাডিং */
  border-radius: 50px; /* গোল শেপ */
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  white-space: nowrap; /* লেখা এক লাইনে থাকবে */
}

/* Outline Button Design */
.btn-outline {
  border: 1px solid #000836;
  color: #000836;
  background: transparent;
}
.btn-outline:hover {
  background-color: #f0f4ff;
}

/* Solid Button Design */
.btn-solid {
  background-color: #000b8b;
  color: white;
  border: 1px solid #000b8b;
}
.btn-solid:hover {
  background-color: #061263;
}

/* ৩. ছোট গোল ব্যাক বাটন (তীর চিহ্ন) */
/* এটি ফিক্সড থাকবে, বড় হবে না */
.back-circle-btn {
  flex: 0 0 50px; /* ফিক্সড ৫০ পিক্সেল, গ্রো করবে না */
  width: 50px;
  height: 50px;
  border-radius: 50%; /* পুরোপুরি গোল */
  border: 1px solid #000b8b;
  color: #000b8b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
  background: transparent;
}

.back-circle-btn:hover {
  background-color: #000b8b;
  color: white;
}

/* রেসপন্সিভ: মোবাইল স্ক্রিনে বাটনগুলো নিচে নিচে আসবে */
@media (max-width: 480px) {
  .success-buttons {
    flex-direction: column; /* নিচে নিচে */
  }

  /* ব্যাক বাটনও তখন চ্যাপ্টা হয়ে যাবে না, গোলই থাকবে */
  .back-circle-btn {
    align-self: flex-start; /* বামে থাকবে */
    margin-bottom: 10px;
  }
}
