:root {
  --bg: #050509;
  --bg-alt: #0b0e18;
  --card: #101320;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body{
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  font-family: var(--font-main);
}

.module-card {
  background: var(--card);
  border-radius: var(--radius-lg); 
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--card), var(--card)) padding-box, 
    linear-gradient(135deg, var(--accent), var(--border)) border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: stretch;
}

.module-card:not(.attention-box) {
  display: grid;
  grid-template-rows: 80px auto 1fr;
  gap: 20px;
  text-align: center;
}

.module-card:not(.attention-box) .module-icons {
  margin: 0 auto;
  display: block;
}

.module-card:not(.attention-box) .module-title {
  margin: 0;
  margin-bottom: 25px;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: x-large;
}

.module-card:not(.attention-box) .module-subtitle {
  margin: 0;
  text-align: left;
  align-self: start;
  color: var(--muted);
}

.attention-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.attention-box .module-title {
  margin-bottom: 20px;
  font-size: x-large;
}

.attention-box {
  border-radius: var(--radius-lg); 
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--card), var(--card)) padding-box, 
    linear-gradient(135deg, var(--accent), var(--border)) border-box;
  animation: pulse-glow 4s infinite ease-in-out;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 24px;
  align-self: center;
  margin-bottom: 5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
  margin-bottom: 5rem;
}

.contact-sec{
  align-self: center;
  justify-content: center;
  align-items: center;
  justify-items: center;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}

.section-head,
.section-head-cont {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head-cont {
  text-align: center;
}

.section-head-mod{
  text-align: center;
  display: flex;
  justify-content: center;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 32px;
}

.eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 32px 24px 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px; 
  margin: 2rem auto 1.5rem auto; 
  padding: 0 24px; 
}

.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.lang-current {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.lang-dropdown:hover .lang-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.lang-item.active {
  color: var(--accent);
  font-weight: 700;
}

.lang-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: auto;
}

.logo span {
  color: var(--accent);
}

.logo-image {
  position: relative;
  width: 800%;
  height: auto;
  max-width: 550px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  user-select: none;
  z-index: 1;
}

.ABlogo-image {
  justify-self: right;
}

.ab-footer-logo{
  text-align: center;
}

.nav__img{
  width: 110%;
}

.home__img {
  display: block;
  width: 95%;
  filter: invert(100%);
  user-select: none;
  mask-image: radial-gradient(ellipse, white 30%, transparent 100%);
  overflow: hidden;
}

.ab-footer_img{
  width: 10rem;
  text-align: center;
}

.footer-icons {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto;
}

.left-icons,
.center-icons,
.right-icons {
  flex: 0 1 220px;
}

.center-icons div {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.center-icons a{
  text-decoration: none;
  color: inherit; 
}

.right-icons a {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-align: center;
  color: inherit; 
}

.text-desc{
  text-align: justify;
}

.center-icons a {
  margin-left: 5px; 
}

.left-icons {
  align-items: center;
  text-align: center;
}

.section-head h2 span {
  color: var(--accent);
  font-size: larger;
}

.cont-info{
  border-radius: 18px; 
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--card), var(--card)) padding-box, 
    linear-gradient(135deg, var(--accent), var(--border)) border-box;
  padding: 24px;
  text-align: center;
  color: var(--text);
  animation: pulse-glow 3s infinite ease-in-out;
  transition: transform 0.3s ease;
  margin-bottom: 6rem
}

.ba-logo{
  width: 150px;             
  height: auto;
  max-width: 100%;         
  object-fit: contain;
}

.tuv-logo{
  width: 100px;             
  height: auto;
  max-width: 100%;         
  object-fit: contain;
}

.job-logo{
  width: 150px;             
  height: auto;
  max-width: 100%;         
  object-fit: contain;
  transform: translateY(-1.15rem);
}

.sponsor-logo{
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 80px;               
  padding: 20px;
  width: 100%;
  box-sizing: border-box
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr; 
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 5rem auto;
  padding: 0 24px;
}

.subtitle-hero {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 100%;
  margin-left: 0;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.12;
  margin: 16px 0 12px;
}

.hero-text h2 {
  line-height: 1.12;
  margin: 20px 0 12px;
}

.hero-text h1 span,
.hero-text h2 span,
.cont-info h2 span {
  color: var(--accent);
}

.subtitle {
  color: var(--muted);
  max-width: 460px;
}

.subtitle-2{
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  background: rgba(15, 23, 42, 0.9);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  color: #020617;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.7);
}

.btn-outline {
  border-color: var(--accent-soft);
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.btn-link {
  padding-inline: 4px;
  color: var(--muted);
}

.btn-link:hover {
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

.stats {
  display: flex;
  gap: 24px;
}

.stat span {
  font-size: 20px;
  font-weight: 600;
}

.stat p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cards-grid,
.projects-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.card,
.project-card,
.price-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px 18px 22px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.card {
  border-radius: var(--radius-lg); 
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--card), var(--card)) padding-box, 
    linear-gradient(135deg, var(--accent), var(--border)) border-box;
  animation: pulse-glow 4s infinite ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.project-label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--muted);
  font-size: 14px;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.7);
  position: relative;
}

.price-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #020617;
  font-size: 11px;
  text-transform: uppercase;
}

.price {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 16px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.price-card li + li {
  margin-top: 6px;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.review-image {
  max-width: 260px;
  width: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.2), rgba(5, 5, 9, 1));
  padding: 16px;
  object-fit: contain;
  border: 1px solid var(--accent-soft);
}

.menu{
  display: none;
}

.contact-form {
  width: 50rem;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px 26px;
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(5, 5, 9, 1) 0%, rgba(70, 70, 150, 1) 100%, rgba(25, 25, 60, 1) 51%);
}

.pic-ctn {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: visible; 
  margin-top: 2rem;
}

.pic-ctn > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 550px;
  object-fit: cover;
  border-radius: 2rem;
  border: 1rem solid #1e293b; 
  opacity: 0;
  animation: display 10s infinite;
  box-sizing: border-box;
}

.left-icons {
  flex: 0 1 220px;
}

.left-icons > div {
  flex-direction: column; 
  align-items: center; 
  text-align: center;
}

.social-links{
  display: block;
  margin-top: 0.75rem;
}

.social-links-mobile{
  display: none;
}

.soc-link{
  margin-left: 0.5rem;
  display:inline-block;
  margin-right: 0.5rem;
}

.time{
  display: flex;
  margin-top: 1rem;
}

.close-menu {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 35px;
  cursor: pointer;
  color: white;
  z-index: 1001;
}

.close-menu:hover {
  opacity: 0.7;
}

@keyframes display {
  0% { transform: translate(-50%, -42%) translateX(55px); opacity: 0; }
  10% { transform: translate(-50%, -42%) translateX(0); opacity: 1; }
  20% { transform: translate(-50%, -42%) translateX(0); opacity: 1; }
  30% { transform: translate(-50%, -42%) translateX(-55px); opacity: 0; }
  100% { transform: translate(-50%, -42%) translateX(-55px); opacity: 0; }
}

img:nth-child(2) { animation-delay: 2s; }
img:nth-child(3) { animation-delay: 4s; }
img:nth-child(4) { animation-delay: 6s; }
img:nth-child(5) { animation-delay: 8s; }

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px var(--accent-soft), var(--shadow-soft);
  }
  50% {
    box-shadow: 0 0 25px var(--accent), 0 0 10px var(--accent-soft);
  }
  100% {
    box-shadow: 0 0 10px var(--accent-soft), var(--shadow-soft);
  }
}

@media (min-width: 1200px) {
  .pic-ctn {
    height: 620px;
    bottom: 7rem;
  }
  .pic-ctn > img {
    width: 500px;
    height: 650px;
  }

  .subtitle-hero {
    color: var(--muted);
    max-width: 460px;
  }
}

@media (max-width: 1199px) and (min-width: 800px) {
  .pic-ctn {
    height: 530px;
  }
  .pic-ctn > img {
    width: 440px;
    height: 570px;
  }

  .subtitle{
    text-align: center; 
    margin-left: 8rem;
  }

  .social-links{
    display: block !important;
  }
  
  .social-links-mobile{
    display: none !important;
  }
}

@media (max-width: 960px) {

  .text-desc {
    text-align: justify;
    margin-top: 5rem;
  }

  .social-links{
    display: none !important;
  }

  .social-links-mobile{
    display: inline-flex !important;
    margin-left: 5rem;
  }

  .soc-link{
    margin-left: 0.25rem !important;
    display:inline-block;
    margin-right: 0.25rem !important;
  }

  .soc-link svg{
    width: 15px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subtitle-hero {
    margin: 0 auto 24px auto;
  }
  
  .logo-image {
    order: -1;
  }
  
  .pic-ctn {
    height: 480px;
    width: 90%;
    margin: -2vh auto 0;
  }
  
  .pic-ctn > img {
    width: 400px;
    height: 520px;
  }

  .pic{
    border-width: 0px;
  }
  
  .cards-grid,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  
  .review-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .review-image {
    margin-top: 16px;
    justify-self: center;
    max-width: 220px;
  }
  
  .contact-form {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .menu {
    display: block;
    font-size: 100px;
    padding: 10px;
    order: -1;
    margin-right: 19px;
    cursor: pointer;
  }

  .nav__img {
    width: 100px;
    margin-top: 1rem;
  }

  .navbar .nav-links {
    display: none;
  }

  .section,
  .hero {
    padding: 40px 16px;
  }
  
  .hero {
    padding: 24px 16px 60px;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-text h2 {
    font-size: 20px;
  }
  
  .section-head h2 {
    font-size: 28px;
  }
  
  .module-card {
    padding: 20px 16px;
    gap: 16px;
  }
  
  .module-icons {
    width: 60px;
    height: 60px;
  }
  
  .module-title {
    font-size: large;
    min-height: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 16px;
  }
  
  .sponsor-logo {
    gap: 10px;
  }
  
  .pic-ctn {
    height: 460px;
    margin-top: 5vh;
  }
  
  .pic-ctn > img {
    width: 380px;
    height: 490px;
  }
}

@media (max-width: 640px) {
  .menu{
    display: contents;
    order: 3;
  }

  .logo-image {
    position: absolute;
    width: 56rem;
    left: -4rem;
    overflow: hidden;
    user-select: none;
    top: 10rem;
  }

  .section,
  .hero {
    padding: 32px 12px;
  }

  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-text h2 {
    font-size: 18px;
  }
  
  .section-head h2 {
    font-size: 24px;
  }
  
  .cards-grid,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .pic-ctn {
    height: 440px;
  }
  
  .pic-ctn > img {
    width: 360px;
    height: 460px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  input,
  textarea {
    padding: 14px 12px;
    font-size: 16px; 
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }
  
  .pic-ctn {
    height: 400px;
    margin-top: -5vh;
  }
  
  .pic-ctn > img {
    width: 340px;
    height: 420px;
    border-width: 1.2rem;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports (padding: max(0px)) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
  }
}

@media (max-width: 1200px) {
  .left-icons{
    display: block !important;
  }

  .navbar{
  margin-bottom: 0rem;
  margin-right: 2rem;
  margin-left: 0.5rem;
  margin-top: 1rem;
  }

  .cards-grid,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    gap: 30px;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .hero-actions{
    display:block;
  }
  
  
  .hero-text h1 {
    font-size: 38px;
  }
  
  .module-card {
    padding: 24px 20px;
  }

  .subtitle-hero{
    margin-left: 0rem !important;
  }
  
  .navbar{
    margin-bottom: 5rem;
  }
}

@media (max-width: 768px) {
  .subtitle-hero{
    margin-left: 0 !important;
  }

  .footer-icons {
    display: grid !important;
    grid-template-areas: 
      "left center"
      "right right";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    max-width: 100%;
  }
  
  .left-icons { grid-area: left; justify-self: start; padding: 5px 0; }
  .center-icons { grid-area: center; justify-self: end; padding: 5px 0; }
  .right-icons { 
    grid-area: right; 
    justify-self: start; 
    align-self: end; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px 0;
  }
  
  .right-icons a {
    margin: 0 !important;
    padding: 6px 10px;
    font-size: 13px;
    text-align: left;
  }
}

@media (max-width: 480px) {

  .text-desc {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    text-align: justify;
  }

  .footer-icons {
    gap: 12px;
  }
  
  .left-icons { justify-self: center; }
  .center-icons { justify-self: center; }
  .right-icons { justify-self: start; }
  
  .right-icons a { font-size: 12px; padding: 5px 8px; }
}

@media (max-width: 376px) {
  .footer-grid { padding: 20px 12px; }
  .right-icons a { font-size: 11px; padding: 4px 6px; }
}

@media (max-width: 768px) {
  .footer-icons {
    justify-content: center;
  }
  
  .left-icons {
    margin-right: auto;
    display: block;
  }
  
  .text-desc {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding-left: 25px;
    padding-right: 25px;
    text-align: justify;
    margin-top: 4rem;
  }
  
  .ba-logo{
    width: 100px;
  }

  .job-logo {
    width: 100px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transform: translateY(-0.5rem);
  }

  .center-icons {
    margin-left: auto;
  }
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: -10px 0 30px rgba(0,0,0,0.7);
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

.mobile-nav.open {
  right: 0;
}

.mobile-lang {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mobile-lang-label {
  color: var(--muted);
  font-size: 14px;
}

.mobile-lang a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
}

.mobile-lang a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 640px) {
  .navbar .nav-links,
  .lang-dropdown {
    display: none;
  }

  .menu {
    display: block;
    cursor: pointer;
    font-size: 24px;
    margin-left: 12px;
  }

  .mobile-nav {
    display: block;
  }
}

@media (min-width: 641px) {
  .mobile-nav {
    display: none;
  }
}

#success-message {
    animation: fadeIn 0.5s ease-in-out;
}

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

#phone-input::placeholder {
    color: var(--muted);
    opacity: 0.5;
}

#success-message {
  display: none;
  background-color: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  margin: 50px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

#success-message h3,
#success-message h2 {
  color: var(--accent);
  margin-bottom: 15px;
}