/* ============================================================
   GLS Tech — Index (Homepage) Page Styles
   ============================================================ */

:root {
  --bg-dark: #ffffff;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* ── LOGO TEXT ── */
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 2px;
}
.logo-text .tech {
  font-weight: 300;
}

.header-logo {
  max-width: 60px;
  width: 70px;
  height: 70px;
  display: block;
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: var(--bg-light);
  text-align: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%;
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  display: block;
}

.button-group {
  margin-bottom: 40px;
}

/* ── KEYBOARD ── */
.keyboard-bg {
  opacity: 0.6;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.keyboard-container {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vw, 8px);
  transform: scale(var(--keyboard-scale, 0.8));
  transform-origin: center;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  gap: clamp(3px, 0.8vw, 6px);
}

.key {
  background: #000000;
  border: 2px solid #000000;
  border-bottom: 4px solid #000000;
  border-radius: clamp(4px, 1vw, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 1.2vw, 14px);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
  font-family: 'Exo 2', sans-serif;
  height: clamp(28px, 4vw, 45px);
  min-width: clamp(28px, 4vw, 45px);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.key:hover {
  transform: translateY(-1px);
  border-bottom: 3px solid #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.95);
}

.key.tab {
  min-width: clamp(40px, 6vw, 75px);
}

.key.caps {
  min-width: clamp(45px, 7vw, 85px);
}

.key.shift-left,
.key.shift-right {
  min-width: clamp(55px, 9vw, 110px);
}

.key.ctrl,
.key.alt {
  min-width: clamp(35px, 5.5vw, 65px);
}

.key.space {
  min-width: clamp(150px, 25vw, 300px);
}

.key.enter {
  min-width: clamp(50px, 8vw, 100px);
}

.key.backspace {
  min-width: clamp(47px, 7.5vw, 90px);
}

/* Hide keyboard on mobile/tablet */
@media screen and (max-width: 768px) {
  .keyboard-container,
  #keyboard,
  .virtual-keyboard {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  .keyboard-container,
  #keyboard,
  .virtual-keyboard {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
  .keyboard-container,
  #keyboard,
  .virtual-keyboard {
    display: none !important;
  }
}

/* ── HERO TEXT ── */
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

/* ── SECTIONS ── */
section {
  padding: 80px 20px;
}

h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-dark);
  font-family: 'Orbitron', sans-serif;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 4px;
}

/* ── SERVICES GRID ── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 30px 20px;
  background: var(--bg-light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service:hover::before {
  transform: scaleX(1);
}

.service:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.service h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
}

.service p {
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ── ABOUT / CONTACT / CERTIFICATES ── */
.about,
.contact,
.certificates {
  max-width: 1000px;
  margin: auto;
}

/* ── REVIEWS SECTION ── */
.reviews {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.reviews-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-gray);
  padding: 40px;
}

.review-card {
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.review-card:hover::before {
  transform: scaleX(1);
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.review-author {
  flex: 1;
}

.review-author h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.review-stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
  flex: 1;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-gray);
  opacity: 0.7;
}

.google-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.reviews-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-gray);
  padding: 40px;
}

/* ── FAQ SECTION ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border-light); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition-normal); }
.faq-item.open { border-color: var(--primary-color); }
.faq-question { width: 100%; background: var(--bg-light); border: none; padding: 20px 24px; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-secondary); transition: background var(--transition-normal); }
.faq-question:hover { background: #fafafa; }
.faq-icon { font-size: 1.4rem; color: var(--primary-color); transition: transform var(--transition-normal); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; color: var(--text-gray); line-height: 1.8; font-size: 1rem; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* ── CONTACT SECTION ── */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-section {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.contact-section:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.form-section {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-section:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-family: 'Orbitron', sans-serif;
}

.form-subtitle {
  color: var(--text-gray);
  margin-bottom: 30px;
  margin: 30px;
  font-size: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-secondary);
  transition: all var(--transition-normal);
  background: var(--bg-light);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
  min-height: 322px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-secondary);
  margin-top: auto;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
  font-family: 'Orbitron', sans-serif;
  text-align: left;
}

.contact-title::after {
  display: none;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-light);
}

.contact-details h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-details p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.5;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-details a:hover {
  color: var(--primary-dark);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hidden {
  display: none !important;
}

/* ── ABOUT ── */
.about p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

/* ── CERTIFICATES ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cert-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cert-badge:hover::before {
  transform: scaleX(1);
}

.cert-badge:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.cert-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border-light);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.cert-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cert-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-family: 'Orbitron', sans-serif;
}

.cert-status {
  font-size: 1rem;
  color: var(--accent-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-description {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-top: 10px;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-light);
  border-top: 3px solid var(--primary-color);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  padding: 24px;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  font-family: var(--font-secondary);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: var(--font-primary);
}

.cookie-description {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-family: var(--font-secondary);
}

.cookie-btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.cookie-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-light);
}

.cookie-btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.cookie-btn-link {
  background: none;
  color: var(--accent-blue);
  text-decoration: underline;
  padding: 8px 12px;
  border: none;
}

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

/* ── COOKIE MODAL ── */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1) translateY(0);
}

.cookie-modal-header {
  padding: 24px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

.cookie-modal-header h2::after {
  display: none;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-gray);
  padding: 8px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.cookie-close-btn:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.cookie-category h4 {
  margin: 0 0 12px 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
}

.cookie-category p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.6;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  background: var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition-normal);
}

.toggle-switch.active {
  background: var(--primary-color);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-light);
  border-radius: 50%;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.toggle-switch.active::after {
  transform: translateX(26px);
}

.toggle-switch.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 0 24px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-light);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
  background: var(--bg-light);
}

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

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  :root {
    --keyboard-scale: 0.7;
  }

  .header-left {
    gap: 12px;
  }
}

@media(max-width: 900px) {
  .reviews-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 768px) {
  .hero {
    padding-top: 100px;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 20px auto 0;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .form-section,
  .contact-section {
    padding: 30px 20px;
  }

  :root {
    --keyboard-scale: 0.6;
  }

  .keyboard-bg {
    opacity: 0.4;
  }

  .hero-logo {
    max-width: 250px;
  }

  /* Cookie banner responsive */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: center;
  }

  .cookie-modal-footer {
    flex-direction: column-reverse;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media(max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service {
    padding: 20px 15px;
  }

  .cert-badge {
    padding: 25px 15px;
  }

  .contact {
    padding: 40px 20px;
    margin: 40px auto;
  }

  .form-section,
  .contact-section {
    padding: 25px 15px;
  }

  :root {
    --keyboard-scale: 0.5;
  }

  .keyboard-bg {
    opacity: 0.3;
  }

  .btn {
    display: block;
    margin: 10px 0 !important;
    text-align: center;
  }
}

@media(max-width: 600px) {
  .reviews-container {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 480px) {
  :root {
    --keyboard-scale: 0.4;
  }

  .keyboard-bg {
    opacity: 0.25;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-logo {
    max-width: 220px;
  }

  .cert-badge {
    padding: 20px 12px;
  }

  .cert-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .cert-name {
    font-size: 1.2rem;
  }

  .contact {
    padding: 30px 15px;
    margin: 30px auto;
  }

  .form-section,
  .contact-section {
    padding: 20px 10px;
  }
}

@media(max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 20px 40px;
  }

  :root {
    --keyboard-scale: 0.35;
  }

  .keyboard-bg {
    opacity: 0.2;
  }
}

@media(max-height: 500px) {
  .keyboard-bg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 40px;
  }
}
