* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}
a {
  text-decoration: none;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 20px;
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  font-size: 1.5em;
  font-weight: bold;
  color: #1e3c72;
}

.logo img {
  width: 80px;
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #1e3c72;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: #2a5298;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e3c72;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #1e3c72;
}

.nav-links a.active::after {
  width: 100%;
  background: #1e3c72;
}

.menu-btn {
  display: none;
  font-size: 1.5em;
  color: #1e3c72;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  transition: all 0.3s ease;
}

.menu-btn i {
  transition: transform 0.3s ease;
}

.menu-btn.active i {
  transform: rotate(90deg);
}

/* Hero Section Styles */
.hero {
  width: 100%;
  background: #ffffff;
  color: #1e3c72;
  padding: 93px 20px 14px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .hero-container {
    padding: 0;
  }
}

.hero-images {
  position: relative;
  height: 600px;
}

.image-grid {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.main-row {
  height: 60%;
}

.secondary-row {
  height: 40%;
}

.image-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  height: 100%;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image {
  width: 100%;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
}
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
}
.hero h1 {
  font-size: 4.5em;
  margin-bottom: 20px;
  color: #1e3c72;
  font-weight: 800;
  animation: fadeInUp 0.8s ease forwards;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.8em;
  color: #2a5298;
  margin-bottom: 40px;
  line-height: 1.4;
  animation: fadeInUp 0.8s ease forwards 0.3s;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.cta-button,
.secondary-button {
  padding: 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button {
  background: #1e3c72;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
  background: #2a5298;
}

.secondary-button {
  background: transparent;
  color: #1e3c72;
  border: 2px solid #1e3c72;
}

.secondary-button:hover {
  background: #1e3c72;
  color: white;
  transform: translateY(-2px);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: rotate(180deg);
  opacity: 0.1;
}

.hero-waves svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animation Classes */

/* Rest of your existing styles... */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-bottom: 40px;
}
.container-about {
  overflow-x: hidden !important;
  width: 100% !important;
}
/* Update footer styles */
footer {
  width: 100%;
  background: #1e3c72;
  color: white;
  padding: 10px 0 0;
}
.footer-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2em;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links Styles */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 2px 0;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  transform: translateX(-5px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 90px 10px 0;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 3em;
  }

  .subtitle {
    font-size: 1.4em;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
    max-width: 150px;
    text-align: center;
  }

  .container {
    padding: 0 15px;
  }
}

/* Keep your existing styles for features, converter-box, etc. */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
  z-index: 1;
  padding: 5px;
  border-radius: 20px;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes patternMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}
.hero-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.another-logo {
  width: 120px;
  height: 120px;
  /* border-radius: 50%; */
  overflow: hidden;
  margin: 0 auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.feature-image {
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: center;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content {
  padding: 5px 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .feature-content {
    padding: 5px 10px;
  }
}

.feature-content h3 {
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-content p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.converter-box {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.input-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-label,
.output-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-label label,
.output-label label {
  color: #1e3c72;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-label label::before,
.output-label label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #1e3c72;
  border-radius: 50%;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  resize: none;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: "Cairo", sans-serif;
}

textarea:focus {
  outline: none;
  border-color: #1e3c72;
}

.button-container {
  display: flex;
  justify-content: flex-end;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  box-shadow: 0 0 0 2px rgb(0, 0, 0);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: rgb(8, 8, 8);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: rgb(6, 6, 6);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #000000;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #020202;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px rgb(0, 0, 0);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

.output-section {
  background-color: #d5d5d5;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
  min-height: 450px;
}

.sign-display {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.sign-character {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
li {
  list-style: none;
}
.sign-character:hover {
  transform: scale(1.1);
}

/* Navbar Scroll Effects */
.navbar.scroll-down {
  transform: translateY(-100%);
}

.navbar.scroll-up {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#small-nav-links.active {
  transform: translateY(0);
}
.small-nav-links {
  background-color: rgb(18, 18, 18);
  padding: 10px;
  flex-direction: column;
  align-items: center;
  display: none;
  justify-content: center;
  gap: 10px;
  position: fixed;
  top: 96px;
  z-index: 101;
  width: 100%;
  color: white;
  transform: translateY(-150%);
  transition: 0.5s;
}
.small-nav-links li a {
  width: 100%;
  color: white;
  transition: all 0.3s ease;
}
.small-nav-links li a:hover {
  text-decoration: underline;
}

/* Mobile Menu Styles */
@media (max-width: 1110px) {
  .menu-btn {
    display: block;
  }
  .small-nav-links {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 0;
    right: 100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    background-color: red;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 20px 20px;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    font-size: 1.1em;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-container {
    padding: 10px 20px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .nav-links {
    width: 100%;
    max-width: none;
  }

  .logo {
    font-size: 1.2em;
  }

  .logo img {
    width: 70px;
    height: 70px;
  }
}

/* Animation for menu button */
.menu-btn i {
  transition: transform 0.3s ease;
}

.menu-btn.active i {
  transform: rotate(90deg);
}

/* Add smooth scroll behavior to the whole page */
html {
  scroll-behavior: smooth;
}

/* Login Page Styles */
.login-page {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 450px;
}

.login-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e3c72;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.back-home:hover {
  transform: translateX(-5px);
}

.login-header h1 {
  color: #1e3c72;
  font-size: 2em;
  margin-bottom: 10px;
}

.login-header p {
  color: #666;
  font-size: 0.9em;
}

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

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e3c72;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: #1e3c72;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.password-input {
  position: relative;
  display: flex;
  gap: 10px;
}

.show-password {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0;
}

.login-button {
  margin-top: 15px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.toggle-password {
  background-color: #1e3c72;
  padding: 10px 20px;
  outline: 0;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.toggle-password i {
  color: #ffffff;
}

.login-button.loading {
  pointer-events: none;
}

.login-button.loading span,
.login-button.loading i {
  opacity: 0;
}

.login-button.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-loading-spinner 1s linear infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

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

/* Responsive Design for Login Page */
@media (max-width: 480px) {
  .login-box {
    padding: 30px 20px;
  }
}

/* Login Link Styles */
.login-link {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 20px;
  transition: all 0.3s ease !important;
}

.login-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.login-link.active {
  background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
  box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Update login page styles for navbar */
.login-page .navbar {
  background: rgba(255, 255, 255, 0.98);
}

.login-page .login-container {
  margin-top: 80px;
}

/* Mobile menu styles update */
@media (max-width: 768px) {
  .nav-container {
    padding-top: 5px;
  }
  .login-link {
    margin: 10px 0;
    text-align: center;
    display: block;
  }

  .nav-links.active .login-link {
    margin: 15px auto;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5em;
  }

  .subtitle {
    font-size: 26px;
    margin-top: 3px;
    font-weight: 600;
  }

  .input-label label,
  .output-label label {
    font-size: 0.95rem;
  }
}

/* About Page Styles */
.about-hero {
  width: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow-x: hidden !important;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.923);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.section-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: rgba(15, 13, 13, 0.881);
}

.section-tag:hover::before {
  transform: translateX(100%);
}

/* Update section tag styles for light backgrounds */
.about-section .section-tag {
  background: rgba(26, 35, 126, 0.1);
  color: #1a237e;
  border: 1px solid rgba(26, 35, 126, 0.2);
}

.about-section .section-tag:hover {
  background: rgba(26, 35, 126, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .section-tag {
    padding: 6px 14px;
    font-size: 0.8rem;
    margin-bottom: 15px;
  }
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  overflow-x: hidden !important;
  width: 100% !important;
  height: 100%;
}
.about-container section {
  overflow-x: hidden !important;
  width: 100% !important;
}
.about-section {
  margin-bottom: 100px;
  overflow: hidden;
}

.about-section:last-child {
  margin-bottom: 0;
}

.section-content {
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #1a237e;
  margin: 20px 0 40px;
  font-weight: 700;
}

/* Mission Section */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.mission-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  text-align: right;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  background: #e8eaf6;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 24px;
  color: #1a237e;
}

.card-content {
  flex: 1;
}

.mission-card h3 {
  color: #1a237e;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.mission-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  background: #e8eaf6;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 28px;
  color: #1a237e;
}

.value-card h3 {
  color: #1a237e;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
  height: 100%;
}

.team-member {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-image {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-image img {
  width: 100px;
}

.member-info {
  padding: 25px 0;
  text-align: center;
}

.member-info h3 {
  color: #1a237e;
  font-size: 1.3rem;
  margin-bottom: 5px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  .about-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 100px 0 60px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .mission-card {
    padding: 25px;
  }
}

/* Contact Page Styles */
.contact-hero {
  width: 100%;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: none;
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  opacity: 0.5;
}

.contact-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin: 25px 0;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #e3f2fd;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-item i {
  font-size: 1.2rem;
  color: #64b5f6;
}

.stat-item span {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Responsive Design for Contact Hero */
@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0 80px;
  }

  .contact-hero h1 {
    font-size: 2.8rem;
  }

  .contact-hero p {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-item {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

.contact-container {
  margin: 0 auto;
  padding: 80px 0px;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 80px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
  background: #e8eaf6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  font-size: 24px;
  color: #1a237e;
}

.info-card h3 {
  color: #1a237e;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Modern Contact Form Styles */
.contact-form-container {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(30, 60, 114, 0.08);
  padding: 40px;
  margin: 0 auto;
  width: 90%;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  margin-bottom: 0;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon i {
  position: absolute;
  right: 16px;
  color: #1a237e;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.textarea-icon i {
  top: 16px;
  right: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 48px 16px 16px;
  font-size: 1rem;
  color: #1a237e;
  transition: all 0.3s ease;
  font-family: "Cairo", sans-serif;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a237e;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
  outline: none;
}

.contact-form input:focus + i,
.contact-form textarea:focus + i {
  opacity: 1;
  color: #1a237e;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
  font-size: 0.95rem;
}

.submit-button {
  background: linear-gradient(135deg, #1a237e 0%, #1976d2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1976d2 0%, #1a237e 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submit-button:hover::before {
  opacity: 1;
}

.submit-button span,
.submit-button i {
  position: relative;
  z-index: 1;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 35, 126, 0.2);
}

.submit-button:active {
  transform: translateY(0);
}

/* Loading state for submit button */
.submit-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-button.loading span,
.submit-button.loading i {
  opacity: 0;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-loading-spinner 1s linear infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 30px 20px;
    margin: 0;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 40px 14px 14px;
    font-size: 0.95rem;
  }

  .submit-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 25px 15px;
    margin: 0;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 36px 12px 12px;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

.map-container {
  margin-top: 80px;
}

.map-frame {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-form-container {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 100px 0 60px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-container {
    padding: 40px 10px;
  }

  .submit-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Audio Converter Section Styles */
.audio-converter-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 80px 0;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1356' height='1000' preserveAspectRatio='none' viewBox='0 0 1356 1000'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1192%26quot%3b)' fill='none'%3e%3crect width='1356' height='1000' x='0' y='0' fill='rgba(255%2c 255%2c 255%2c 1)'%3e%3c/rect%3e%3cpath d='M-199.21 65.87 a265.08 265.08 0 1 0 530.16 0 a265.08 265.08 0 1 0 -530.16 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M-71.72 -61.61 a10.11 10.11 0 1 0 20.22 0 a10.11 10.11 0 1 0 -20.22 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M-168.42 35.08 a203.5 203.5 0 1 0 407 0 a203.5 203.5 0 1 0 -407 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M1008.85 13.81 a160.96 160.96 0 1 0 321.92 0 a160.96 160.96 0 1 0 -321.92 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M1026.19 -3.53 a126.28 126.28 0 1 0 252.56 0 a126.28 126.28 0 1 0 -252.56 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M945.3 77.36 a288.06 288.06 0 1 0 576.12 0 a288.06 288.06 0 1 0 -576.12 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M-116.89 783.55 a100.44 100.44 0 1 0 200.88 0 a100.44 100.44 0 1 0 -200.88 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M-188.96 855.64 a244.6 244.6 0 1 0 489.2 0 a244.6 244.6 0 1 0 -489.2 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M-104.33 771 a75.33 75.33 0 1 0 150.66 0 a75.33 75.33 0 1 0 -150.66 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M931.55 891.11 a315.56 315.56 0 1 0 631.12 0 a315.56 315.56 0 1 0 -631.12 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M974.84 847.82 a228.98 228.98 0 1 0 457.96 0 a228.98 228.98 0 1 0 -457.96 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M1054.86 767.8 a68.94 68.94 0 1 0 137.88 0 a68.94 68.94 0 1 0 -137.88 0z' fill='rgba(209%2c 206%2c 206%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1192'%3e%3crect width='1356' height='1000' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cstyle%3e %40keyframes float1 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-10px%2c 0)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float1 %7b animation: float1 5s infinite%3b %7d %40keyframes float2 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-5px%2c -5px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float2 %7b animation: float2 4s infinite%3b %7d %40keyframes float3 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(0%2c -10px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float3 %7b animation: float3 6s infinite%3b %7d %3c/style%3e%3c/defs%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: cover;
}

.audio-converter-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.audio-upload-area {
  border: 2px dashed #007bff;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 30px;
}

.audio-upload-area:hover {
  border-color: #0056b3;
  background-color: rgba(0, 123, 255, 0.05);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.upload-content i {
  font-size: 48px;
  color: #007bff;
  margin-bottom: 10px;
}

.upload-content h3 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

.upload-content p {
  color: #666;
  margin: 5px 0;
}

.upload-button {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  border: none;
  font-family: "Cairo", sans-serif;
}

.upload-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.file-info {
  font-size: 14px;
  color: #666;
}

.audio-player-section {
  margin: 30px 0;
}

.player-header {
  margin-bottom: 20px;
}

.player-header h3 {
  font-size: 20px;
  color: #333;
  margin: 0;
}

.audio-player {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.audio-player audio {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.player-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px;
  color: #666;
}

.player-placeholder i {
  font-size: 36px;
  color: #007bff;
}

.transcription-section {
  margin-top: 30px;
}

.text-box {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
}

.text-box textarea {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  font-size: 16px;
  font-family: "Cairo", sans-serif;
  resize: vertical;
  margin-bottom: 20px;
}

.text-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Cairo", sans-serif;
}

.convert-btn {
  background: #007bff;
  color: white;
}

.convert-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .audio-converter-box {
    padding: 20px;
  }

  .audio-upload-area {
    padding: 20px;
  }

  .upload-content i {
    font-size: 36px;
  }

  .upload-content h3 {
    font-size: 20px;
  }

  .text-actions {
    flex-direction: column;
  }

  .action-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .audio-converter-section {
    padding: 40px 0;
  }

  .audio-converter-box {
    padding: 15px;
  }

  .upload-content i {
    font-size: 32px;
  }

  .upload-content h3 {
    font-size: 18px;
  }

  .upload-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Update responsive styles */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-images {
    height: 500px;
  }

  .main-image {
    width: 100%;
    transform: translateY(20px) rotateY(-3deg);
  }

  .secondary-image {
    width: 50%;
    transform: translateY(15px) rotateY(3deg);
  }

  .accent-image {
    width: 50%;
    transform: translateY(15px) rotateY(-3deg);
  }
}

@media (max-width: 768px) {
  .hero-images {
    height: 400px;
  }

  .main-image {
    width: 100%;
    transform: translateY(15px) rotateY(-2deg);
  }

  .secondary-image {
    width: 50%;
    transform: translateY(10px) rotateY(2deg);
  }

  .accent-image {
    width: 50%;
    transform: translateY(10px) rotateY(-2deg);
  }

  .hero h1 {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  .hero-images {
    height: 350px;
  }

  .main-image {
    width: 100%;
    transform: translateY(10px) rotateY(-1deg);
  }

  .secondary-image {
    width: 50%;
    transform: translateY(5px) rotateY(1deg);
  }

  .accent-image {
    width: 50%;
    transform: translateY(5px) rotateY(-1deg);
  }

  .hero h1 {
    font-size: 2.5em;
  }
}

/* From Uiverse.io by david-mohseni */
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 80px;
  width: 100%;
  padding-top: 10px;
}

.wrapper .icon {
  position: relative;
  background: #100f0f;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1da1f2;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

/* Image Scan Section Styles */
.image-scan-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.image-scan-box {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.scan-area {
  border: 2px dashed #1e3c72;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  background: #f8fafc;
  cursor: pointer;
}

.scan-area:hover {
  border-color: #2a5298;
  background: #f1f5f9;
}

.scan-area.dragover {
  border-color: #2a5298;
  background: #e2e8f0;
  transform: scale(1.02);
}

.scan-content i {
  font-size: 48px;
  color: #1e3c72;
  margin-bottom: 20px;
}

.scan-content h3 {
  color: #1e3c72;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.scan-content p {
  color: #64748b;
  margin: 10px 0;
}

.scan-button {
  display: inline-block;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.scan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

.preview-section {
  margin-top: 30px;
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.preview-header {
  margin-bottom: 20px;
}

.preview-header h3 {
  color: #1e3c72;
  font-size: 1.3rem;
  font-weight: 600;
}

.preview-box {
  position: relative;
  min-height: 200px;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-box img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.preview-placeholder {
  text-align: center;
  color: #94a3b8;
}

.preview-placeholder i {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.preview-placeholder p {
  font-size: 1.1rem;
}

.scan-status {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .image-scan-box {
    padding: 30px 20px;
  }

  .scan-area {
    padding: 30px 20px;
  }

  .scan-content i {
    font-size: 36px;
  }

  .scan-content h3 {
    font-size: 1.3rem;
  }

  .preview-box {
    min-height: 150px;
  }

  .preview-box img {
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  .image-scan-section {
    padding: 60px 0;
  }

  .scan-area {
    padding: 20px 15px;
  }

  .scan-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .preview-box {
    min-height: 120px;
  }

  .preview-box img {
    max-height: 150px;
  }
}

/* Animated card */

.animated-card {
  background-color: transparent;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.animated-card::before {
  content: "";
  position: absolute;
  width: 400px;
  background-image: linear-gradient(
    180deg,
    rgb(0, 183, 255),
    rgb(255, 48, 255)
  );
  height: 230%;
  animation: rotBGimg 3s linear infinite;
  transition: all 0.2s linear;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
}

@keyframes rotBGimg {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.animated-card::after {
  content: "";
  position: absolute;
  background: #ffffff;
  inset: 5px;
  border-radius: 15px;
  z-index: -1;
}

/* Copy button */
/* From Uiverse.io by DrashtySoni */
.btn {
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #ff9b17d7 45%,
      #f9ff41 67%,
      #feb200d7 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Poppins" sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 4px rgb(0, 0, 0);
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(0, 0, 1860 0.936);
}

.circle:nth-of-type(2) {
  background: rgba(0, 0, 1860 0.936);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Button Water */

/* From Uiverse.io by abuayaan01 */
.button-water {
  background-color: #0d47a1;
  border: 0px;
  outline: 0px;
  color: #fff;
  width: 150px;
  max-width: 100%;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.liquid {
  background-color: #2893eb;
  width: 200px;
  height: 70px;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: inset 5px -5px 25px #104e81, inset -5px 0px 25px #104e81;
}

.liquid::after {
  content: "";
  width: 450px;
  height: 400px;
  background: #0d47a1;
  z-index: 1;
  position: absolute;
  left: -110px;
  top: -380px;
  border-radius: 45%;
  animation: animate 5s linear 2s infinite;
}

.liquid::before {
  content: "";
  width: 450px;
  height: 400px;
  background-color: rgb(68, 160, 235);
  z-index: 1;
  position: absolute;
  left: -110px;
  top: -380px;
  border-radius: 40%;
  animation: animate 5s linear 1.8s infinite;
}

.btn-txt {
  position: relative;
  z-index: 1;
  font-size: 22px;
  letter-spacing: 2px;
}

@keyframes animate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Sent Button */
/* From Uiverse.io by marcelodolza */
.button-sent {
  --primary: #ff5569;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  direction: ltr;
  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  width: 300px;
  margin-right: auto;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .button-sent {
    width: 100%;
  }
}
.button-sent:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.button-sent:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.button-sent:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45))
      border-box;
  z-index: 0;
  transition: all 0.4s ease;
}
.button-sent:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.button-sent::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    white 80%,
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button-sent:hover .outline {
  opacity: 1;
}
.button-sent:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button-sent:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button-sent:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.button-sent:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.button-sent:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.button-sent:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button-sent:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}
.state--default span:nth-child(4) {
  margin-right: 5px;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.button-sent:focus .state--default {
  position: absolute;
}
.button-sent:focus .state--sent {
  display: flex;
}
.button-sent:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.button-sent:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.converter-container {
  margin-top: 110px;
}

/* Return Home Button Styles */
.return-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(45deg, #2196f3, #00bcd4);
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.return-home-btn i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.return-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
  background: linear-gradient(45deg, #1976d2, #0097a7);
}

.return-home-btn:hover i {
  transform: translateX(-3px);
}

.return-home-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

/* Responsive styles for the return home button */
@media (max-width: 768px) {
  .return-home-btn {
    padding: 8px 16px;
    font-size: 0.9em;
  }
}

/* Recording Section Styles */
.recording-section {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.recording-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.record-btn,
.stop-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.record-btn {
  background-color: #4caf50;
  color: white;
}

.stop-btn {
  background-color: #f44336;
  color: white;
}

.record-btn:hover,
.stop-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.record-btn:disabled,
.stop-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.record-btn.recording {
  background-color: #ff9800;
}

.stop-btn.recording {
  background-color: #2196f3;
}

.recording-preview {
  margin-top: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recording-preview audio {
  width: 100%;
  margin-bottom: 15px;
}

.use-btn {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.use-btn:hover {
  background-color: #1976d2;
  transform: scale(1.05);
}

#avatar_video,
#signLanguageVideo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}
@media (max-width: 768px) {
  #avatar_video,
  #signLanguageVideo {
    height: 400px;
  }
}

.recording-status {
  text-align: center;
  margin: 10px 0;
  padding: 8px;
  border-radius: 5px;
  background-color: #f8f9fa;
  color: #2196f3;
  font-weight: 500;
  transition: all 0.3s ease;
}

.recording-status:empty {
  display: none;
}
