/* ================= BROCHURES HERO ================= */

.brochures-hero {
  height: 60vh;
  min-height: 400px;
  background: 
    linear-gradient(to right, rgba(5,10,7,0.85), rgba(5,10,7,0.25)),
    url('/images/large.jpg')
    center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.brochures-hero .hero-content {
  color: #ffffff;
}

.brochures-hero h1 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.brochures-hero p {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

/* ================= MAIN BROCHURES SECTION ================= */

.brochures-main-section {
  background: linear-gradient(135deg, #000000, #0e2041);
  padding: 100px 0;
  min-height: 100vh;
}

/* ================= CATEGORY SECTIONS ================= */

.brochure-category {
  margin-bottom: 100px;
}

.category-title {
  font-size: 36px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 3px solid #2078ff;
  letter-spacing: 1px;
}

/* ================= BROCHURE CARDS ================= */

.brochure-card {
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.06)
  );
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: all 0.4s ease;
}

.brochure-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(32, 120, 255, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    135deg,
    rgba(45, 90, 190, 0.3),
    rgba(65, 120, 235, 0.2)
  );
}

/* ================= PREVIEW IMAGE ================= */

.brochure-preview {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: rgba(10, 20, 40, 0.5);
}

.brochure-preview img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.4s ease;
}

.brochure-card:hover .brochure-preview img {
  transform: scale(1.05);
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 120, 255, 0.7),
    rgba(14, 32, 65, 0.7)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.35s ease;
}

.brochure-card:hover .preview-overlay {
  opacity: 1;
}

.preview-overlay i {
  font-size: 50px;
  color: #ffffff;
  animation: pulseIcon 1.5s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ================= CARD INFO ================= */

.brochure-info {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brochure-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.8px;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ================= ACTIONS ================= */

.brochure-actions {
  display: flex;
  gap: 12px;
}

.btn-view,
.btn-download {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-view {
  background: linear-gradient(135deg, #2078ff, #1a5fd6);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(32, 120, 255, 0.3);
}

.btn-view:hover {
  background: linear-gradient(135deg, #1a5fd6, #1450b8);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(32, 120, 255, 0.5);
}

.btn-download {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.15)
  );
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-download:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.25)
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ================= FILE SIZE ================= */

.file-size {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.file-size i {
  color: #2078ff;
}

/* ================= PDF VIEWER MODAL ================= */

.pdf-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.pdf-viewer-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content-wrapper {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
  backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.pdf-viewer-modal.active .modal-content-wrapper {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 50, 50, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: rgba(255, 30, 30, 1);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 50, 50, 0.6);
}

#pdfFrame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .brochures-hero h1 {
    font-size: 36px;
  }

  .category-title {
    font-size: 30px;
  }

  .brochure-preview {
    height: 220px;
  }

  .modal-content-wrapper {
    width: 95%;
    height: 85vh;
  }
}

@media (max-width: 575px) {
  .brochures-hero {
    height: 50vh;
    min-height: 350px;
  }

  .brochures-hero h1 {
    font-size: 28px;
  }

  .brochures-hero p {
    font-size: 16px;
  }

  .category-title {
    font-size: 24px;
  }

  .brochure-preview {
    height: 200px;
  }

  .brochure-info h4 {
    font-size: 14px;
    min-height: auto;
  }

  .brochure-actions {
    flex-direction: column;
  }

  .btn-view,
  .btn-download {
    width: 100%;
  }

  .modal-content-wrapper {
    width: 98%;
    height: 80vh;
    border-radius: 15px;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
}


/* ================= GUIDED DEMO FORM SECTION ================= */

.guided-demo-form-section {
  background: linear-gradient(135deg, #f5f7fa, #e8ecf1);
  padding: 100px 0;
  position: relative;
}

.guided-demo-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #2078ff, #0e2041, #2078ff);
}

/* ================= LEFT INTRO CONTENT ================= */

.demo-form-intro {
  padding-right: 30px;
}

.demo-form-intro h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0e2041;
  margin-bottom: 40px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.intro-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-points p {
  font-size: 16px;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.6;
  position: relative;
  padding-left: 0;
}

.intro-points p.highlight {
  font-weight: 600;
  color: #0e2041;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 2px solid rgba(32, 120, 255, 0.3);
}

/* ================= RIGHT FORM ================= */

.guided-contact-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 45px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(32, 120, 255, 0.1);
}

/* Form Labels */
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.required {
  color: #e74c3c;
  font-weight: 700;
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Sora', sans-serif;
  color: #2c3e50;
  background: #f8f9fa;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  background: #ffffff;
  border-color: #2078ff;
  box-shadow: 0 0 0 4px rgba(32, 120, 255, 0.1);
}

.form-input::placeholder {
  color: #95a5a6;
  font-weight: 300;
}

/* Field Helper Text */
.field-helper {
  display: block;
  font-size: 12px;
  color: #7f8c8d;
  margin-top: 5px;
  font-weight: 300;
}

/* Textarea */
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: 'Sora', sans-serif;
}

/* ================= CUSTOM CHECKBOX ================= */

.form-check-wrapper {
  margin: 25px 0;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 22px;
  width: 22px;
  background: #f8f9fa;
  border: 2px solid #cbd5e0;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.custom-checkbox:hover .checkmark {
  border-color: #2078ff;
  background: rgba(32, 120, 255, 0.05);
}

.custom-checkbox input:checked ~ .checkmark {
  background: #2078ff;
  border-color: #2078ff;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-label {
  font-size: 14px;
  color: #2c3e50;
  line-height: 1.6;
  font-weight: 400;
}

/* ================= LEGAL NOTICE ================= */

.legal-notice {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #2078ff;
}

.legal-notice p {
  font-size: 12px;
  line-height: 1.7;
  color: #5a6c7d;
  margin-bottom: 12px;
}

.legal-notice a {
  color: #2078ff;
  text-decoration: none;
  font-weight: 500;
}

.legal-notice a:hover {
  text-decoration: underline;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-links a {
  font-size: 13px;
  color: #2078ff;
  text-decoration: underline;
  font-weight: 500;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn-demo {
  width: 100%;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #ffffff;
  background: linear-gradient(135deg, #2078ff, #0e2041);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(32, 120, 255, 0.3);
}

.submit-btn-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(32, 120, 255, 0.5);
  background: linear-gradient(135deg, #1a5fd6, #0a1a2e);
}

.submit-btn-demo:active {
  transform: translateY(-1px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .demo-form-intro {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .demo-form-intro h2 {
    font-size: 32px;
  }

  .guided-contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 575px) {
  .guided-demo-form-section {
    padding: 60px 0;
  }

  .demo-form-intro h2 {
    font-size: 26px;
  }

  .intro-points p {
    font-size: 15px;
  }

  .guided-contact-form {
    padding: 30px 20px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .submit-btn-demo {
    padding: 14px 30px;
    font-size: 15px;
  }
}
