/* ==================== Import Fonts ==================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

/* ==================== Common Reset ==================== */

* {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth !important;
}

body {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  position: relative;
  top: 0 !important;
  background-color: #fff;
  color: var(--off-black);
}

.overflow-hidden {
  overflow: hidden;
  height: 100vh;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  display: inline-block;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}

*:focus {
  outline: none;
}

button[type="button"]:focus {
  outline: none;
}

input:focus,
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: inherit;
  resize: none;
}
/* ==================== Common style ==================== */
.wrapper {
  display: block;
  overflow: hidden;
  min-height: 100vh;
  position: relative;
}
.container-lg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0;
}

.body-fixed {
  overflow: hidden;
}

.icon {
  display: inline-block;
  height: 1em;
  width: 1em;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: all 0.4s ease;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

p:last-child {
  margin-bottom: 0;
}
a {
  display: inline-block;
}
img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.shadow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: none;
  transition: all 0.3s ease-in-out;
}

.nav-open .shadow-overlay {
  display: block;
}
/* ====================CMS_CON=============================== */
.cms-con h4 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}
.cms-con p {
  color: #2c2c2c;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}
.cms-con p:last-child {
  margin-bottom: 0;
}
.cms-con {
  margin-bottom: 30px;
}
.cms-con:last-child {
  margin-bottom: 0;
}
/* ==================== Common Classes ==================== */

:root {
  --primary-color: #37ec81;
  --secondary-color: #066b67;
  --light-bg: #f6f6f6;
  --black: #000;
  --off-black: #1a1a1a;
  --white: #fff;
  --radius-8: 8px;
  --transition: all 0.3s ease-in-out;
}
.common-sec {
  position: relative;
  padding-block: 120px 120px;
}
.sm-title {
  font-weight: 600;

  font-size: 24px;

  line-height: 1.25;
}
.sec-head {
  margin-bottom: 44px;
}
.sec-head .sec-title {
  color: var(--black);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
.sec-head .sec-title:has(.span) {
  display: flex;
  align-items: center;
}
.sec-head .sec-title span {
  font-style: italic;
  position: relative;
  color: var(--secondary-color);
}
.sec-head .sec-title span::before {
  content: "";
  position: absolute;
  width: 110%;
  height: 22px;
  bottom: -16px;
  left: -15px;
  background-image: url(../img/svg/scratch-art.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* ===================slick style===================== */

/* ==================== btn style ==================== */

/* verify */
/* Certificate Verification Styles */

.verification-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.verification-card {
  background: var(--white);
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.verification-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.page-title {
  text-align: center;
  color: var(--secondary-color);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 50px;
  font-weight: 400;
}

.search-form {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-end;
}

.input-group {
  flex: 1;
}

.input-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius-8);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #fafafa;
}

.input-field:hover {
  border-color: #d0d0d0;
  background: var(--white);
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(55, 236, 129, 0.08);
}

.input-field::placeholder {
  text-transform: none;
  color: #999;
  letter-spacing: 0;
  font-weight: 400;
}

.verify-btn {
  padding: 16px 50px;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-8);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(6, 107, 103, 0.2);
}

.verify-btn:hover {
  background: var(--primary-color);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(55, 236, 129, 0.35);
}

.verify-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(55, 236, 129, 0.25);
}

.loading {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.spinner {
  border: 4px solid #f0f0f0;
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading p {
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.error-message {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border-left: 5px solid #ff4444;
  padding: 24px 28px;
  border-radius: var(--radius-8);
  color: #cc0000;
  display: none;
  animation: slideIn 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.1);
}

.error-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.error-message p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.result-container {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.success-badge {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 28px 32px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 35px;
  box-shadow: 0 8px 24px rgba(55, 236, 129, 0.25);
  position: relative;
  overflow: hidden;
}

.success-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.success-badge h3 {
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

.success-badge p {
  font-size: 15px;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.certificate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.certificate-table tr {
  transition: background-color 0.2s ease;
}

.certificate-table tr:hover {
  background-color: #f9f9f9;
}

.certificate-table tr:last-child th,
.certificate-table tr:last-child td {
  border-bottom: none;
}

.certificate-table th,
.certificate-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid #efefef;
}

.certificate-table th {
  font-weight: 700;
  color: var(--secondary-color);
  background: linear-gradient(to bottom, #fafafa, #f5f5f5);
  width: 35%;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.certificate-table td {
  color: var(--off-black);
  font-size: 16px;
  font-weight: 500;
  background: var(--white);
}

.certificate-table td strong {
  font-weight: 700;
  font-size: 17px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .verification-card {
    padding: 40px 30px;
    border-radius: 12px;
  }

  .page-title {
    font-size: 28px;
  }

  .page-subtitle {
    font-size: 15px;
    margin-bottom: 35px;
  }

  .search-form {
    flex-direction: column;
    gap: 0;
  }

  .input-group {
    margin-bottom: 20px;
  }

  .verify-btn {
    width: 100%;
    padding: 16px 30px;
  }

  .certificate-table th,
  .certificate-table td {
    padding: 16px 18px;
    font-size: 14px;
  }

  .certificate-table th {
    width: 42%;
  }

  .success-badge {
    padding: 24px 20px;
  }

  .success-badge h3 {
    font-size: 22px;
  }

  .error-message {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .verification-card {
    padding: 30px 20px;
  }

  .page-title {
    font-size: 24px;
  }

  .certificate-table th,
  .certificate-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .certificate-table th {
    width: 45%;
  }

  .input-field {
    padding: 14px 18px;
    font-size: 15px;
  }

  .verify-btn {
    padding: 14px 30px;
    font-size: 15px;
  }
}
