/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Todhri&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --background-color: #000;
  --text-color: #fff;
  --secondary-text-color: #c29b2c;
  --text-font-family: "Segoe UI", "Roboto";
  --title-font-family: "Open Sans";
  --font-size-base: 16px;
  --line-height: 1.5;
  --spacing-unit: 16px;
}

#wrapwrap > * { 
max-width: 95%; margin: 0 auto; 
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--background-color);
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  direction: ltr;
}
.arabic {
  direction: rtl;
  text-align: right;
}

/* Language Selector */
#language-select {
  color: var(--secondary-text-color);
  background: transparent;
  border: none;
  outline: none;
  padding: 5px;
  font-size: 18px;
  cursor: pointer;
  text-align-last: center;
  font-family: system-ui;
}
label[for="language-select"] {
  color: #fff;
  font-size: 18px;
}
.language-container {
  display: flex;
  align-items: center;
}

/* Top Bar */
.top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

/* Spinner */
.spinner {
  display: none;
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--secondary-text-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 30px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header */
header {
  margin: 0 auto 5px;
}
nav {
  display: flex;
  padding: 8px 0;
  align-items: center;
}
.nav-logo img {
  /*height: 70px;*/
   height: auto;
    width: 90%;
  margin-left: -5%;
}
.nav-links {
  display: flex;
}
.nav-links li {
  font-family: var(--text-font-family);
  color: #ffffff8c;
  padding: 8px;
}

/* Main */
main {
  padding: 0 10px;
}
.qoute {
  padding: 24px 0 35px;
  text-align: center;
}
.qoute h4 {
  color: #e9ecef;
  font-size: 24px;
  font-family: var(--title-font-family);
  font-weight: 400;
  margin-bottom: 8px;
}
.guide {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.steps-text, .steps-img {
  padding: 5px;
}
.introduction,
.step-one,
.step-two,
.step-three,
.content-one,
.content-two {
  color: var(--text-color);
  font-family: var(--text-font-family);
  margin-bottom: 16px;
  line-height: 1.6;
}
.step-num {
  font-size: 20px;
  font-weight: bold;
}
.steps-text h2 {
  font-size: 24px;
  font-family: var(--title-font-family);
  color: var(--secondary-text-color);
  font-weight: 600;
  margin-bottom: 8px;
}
.steps-text a {
  color: var(--secondary-text-color);
}

/* Divider */
.devider {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.devider hr {
  border-color: var(--secondary-text-color);
  width: 40%;
}

/* Serial Input */
.serial-num-check {
  margin: 40px 0;
  display: flex;
 /* justify-content: center;
  align-items: center;*/
 justify-content: flex-start;
  align-items: flex-start;
}
.input-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}
.input-container label {
  color: var(--secondary-text-color);
  font-family: var(--text-font-family);
  font-size: 22px;
  margin-bottom: 18px;
  align-self: self-start;
}
#serial-input {
  width: 80%;
  padding: 10px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  text-align: center;
  transition: border 0.2s ease-in-out;
}
#serial-input:focus {
  border-color: var(--secondary-text-color);
  box-shadow: 0 0 15px var(--secondary-text-color);
}
#serial-input::placeholder {
  color: var(--secondary-text-color);
  font-size: 14px;
  letter-spacing: 10px;
  text-align: center;
}

/* Certificate */
.certificate-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.certificate-container h3 {
  color: var(--text-color);
  font-family: var(--title-font-family);
  font-weight: 400;
  font-size: 20px;
  margin: 21px 0;
}
.certificate-placeholder {
  max-width: 500px;
  margin-bottom: 21px;
}
.certificate-details {
  color: white;
  font-size: 20px;
  text-align: center;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.useful-links-container h3,
.connect-with-us-container h3 {
  color: var(--secondary-text-color);
  font-family: var(--title-font-family);
  font-weight: 400;
  margin-bottom: 16px;
}
.useful-links li,
.connect-with-us li {
  color: var(--text-color);
  font-family: var(--text-font-family);
  padding-bottom: 6px;
}
.useful-links a,
.connect-with-us a {
  position: relative;
  display: inline-block;
  transition: all 0.5s ease-in-out;
}
.useful-links a::after,
.connect-with-us a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--secondary-text-color);
  transition: width 0.5s ease-in-out;
}
.useful-links a:hover::after,
.connect-with-us a:hover::after {
  width: 100%;
}
.icon {
  color: var(--secondary-text-color);
  width: 20px;
  height: 20px;
  margin-right: 3px;
  vertical-align: middle;
}
.copy-rights {
  display: flex;
  justify-content: center;
}
.copy-rights span {
  color: var(--secondary-text-color);
  font-family: var(--text-font-family);
}

/* Media Queries */


@media (min-width: 768px) {
  /*#wrapwrap > * { max-width: 95%; margin: 0 auto; }*/
 
}
@media (min-width: 992px) {
  /*#wrapwrap > * { max-width: 90%; }*/
  .guide { flex-direction: row; }
  .steps-img { flex: 0 0 auto; width: 58.3333%; }
}
@media (min-width: 1200px) {
  /*#wrapwrap > * { max-width: 95%; }*/
}
@media (min-width: 1400px) {
 /* #wrapwrap > * { max-width: 95%; }*/
}
@media (max-width: 575.98px) {
	
	/* Serial Input */
.serial-num-check {
  justify-content: center;
  align-items: center;
 /* justify-content: flex-start;
  align-items: flex-start;*/
}
  
	.nav-logo img {
	width: 100%;
	}
	label[for="language-select"] {

	font-size: 16px;
	margin-left: 8%;
	}
	#language-select {

	font-size: 18px;

	}
.steps-text h2 {
    font-size: 20px;
}	
.input-container label {

    font-size: 22px;
	align-self: center;
	margin-top: -5%;
   
}
	
  nav { margin-top: 8px; }
  .nav-links { display: none; }
  .serial-num-check .input-container label { /*width: 250px;*/ }
  #serial-input {
   /* max-width: 100%;
    min-width: auto;*/
   width: 75%;
   align-self: center;
  }
  .certificate-container h3 { font-size: 18px; }
  .certificate-placeholder {
    max-width: 380px;
    max-height: 600px;
  }
  .footer-logo img { width: 60%; }
  .main-footer {
    flex-direction: column;
    gap: 10px;
  }
  .useful-links a,
  .connect-with-us a {
    font-size: 14px;
  }
  .connect-with-us .icon {
    width: 15px;
    height: 15px;
    margin-right: 2px;
  }
}

