:root {
  --purple-900: #3f006c;
  --purple-700: #5c178f;
  --purple-500: #6f1fa6;
  --green-700: #0f7a13;
  --green-500: #32b530;
  --white: #f0e9e9;
  --text-dark: #39055c;
  --shadow: 0 12px 30px rgba(57, 4, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: #f5f3f9;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(63, 0, 108, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.topbar-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.93rem;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px rgba(50, 181, 48, 0.8);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 60%, #f1edf8 100%);
  padding: 36px 0 44px;
}

.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.shape-purple-left {
  top: -110px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: linear-gradient(155deg, var(--purple-900), var(--purple-500));
  clip-path: polygon(0 0, 100% 0, 42% 100%, 0% 66%);
}

.shape-green-left {
  top: 130px;
  left: -95px;
  width: 260px;
  height: 240px;
  background: linear-gradient(140deg, var(--green-700), var(--green-500));
  clip-path: polygon(0 0, 100% 55%, 0 100%);
}

.shape-purple-right {
  right: -100px;
  top: -120px;
  width: 320px;
  height: 340px;
  background: linear-gradient(140deg, var(--purple-900), var(--purple-700));
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 64%);
}

.shape-green-right {
  right: -115px;
  bottom: -55px;
  width: 280px;
  height: 230px;
  background: linear-gradient(145deg, #2a9f24, var(--green-500));
  clip-path: polygon(40% 0, 100% 50%, 55% 100%, 0 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.logo-wrap {
  display: grid;
  place-items: center;
}

.ut-logo-new {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: block;
}

h1 {
  margin: 14px 0 6px;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--purple-900);
}

.tagline {
  margin: 0;
  color: var(--purple-700);
  font-weight: 600;
}

.subline {
  margin: 8px auto 0;
  max-width: 760px;
  color: #4d2a66;
  font-size: 0.96rem;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-call {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(63, 0, 108, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #168b28, #2cbf44);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(22, 139, 40, 0.28);
}

.btn-outline {
  border: 1px solid var(--purple-700);
  color: var(--purple-700);
  background: #fff;
  margin-top: 8px;
}

.section {
  padding: 36px 0;
}

.services h2,
.contact h2 {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--purple-900);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-link {
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(63, 0, 108, 0.2);
}

.service-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.service-card h3 {
  margin: 10px 6px 12px;
  color: var(--purple-700);
  font-size: 0.95rem;
}

.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 7, 32, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal.open {
  display: flex;
}

.service-modal-content {
  width: min(1050px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.service-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.service-modal-title {
  margin: 0;
  color: var(--purple-900);
}

.modal-close {
  background: var(--purple-700);
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  cursor: pointer;
}

.service-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-modal-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #ebdef8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.contact-card,
.callback-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.contact-card p,
.callback-card p {
  margin: 0 0 11px;
  line-height: 1.5;
  font-size: 0.94rem;
}

.contact-card a {
  color: var(--purple-700);
  font-weight: 600;
}

#callbackForm {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 600;
  color: var(--purple-900);
}

input[type="tel"] {
  width: 100%;
  border: 1px solid #d6cae4;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="tel"]:focus {
  border-color: var(--purple-700);
  box-shadow: 0 0 0 3px rgba(92, 23, 143, 0.16);
}

.error-msg {
  color: #d11f4d;
  min-height: 16px;
  font-size: 0.83rem;
}

.brand-card {
  margin-top: 12px;
  border: 1px solid #e5dcf1;
  border-radius: 12px;
  padding: 10px;
  background: #faf7ff;
}

.brand-head {
  color: var(--purple-700);
  font-weight: 600;
  margin: 0 0 8px;
}

.brand-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 8px;
}

.footer {
  background: #2c014a;
  color: #f2e5ff;
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  font-size: 0.91rem;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a9630, #33c64d);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(21, 142, 44, 0.35);
  display: grid;
  place-items: center;
  z-index: 1002;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hiring-highlight {
  background: linear-gradient(135deg, #fdfbff 0%, #f3ebfc 100%);
  border: 2px dashed var(--purple-500);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(92, 23, 143, 0.15);
  animation: border-pulse 2.5s infinite;
}

@keyframes border-pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 31, 166, 0.2); }
  70% { box-shadow: 0 0 0 15px rgba(111, 31, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 31, 166, 0); }
}

.hiring-btn-pulse {
  animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-modal-grid {
    grid-template-columns: 1fr;
  }

  .ut-logo-new {
    max-width: 130px;
  }

  .topbar-inner {
    min-height: 58px;
  }

  .brand-mini {
    font-size: 0.8rem;
  }

  .btn {
    min-height: 40px;
    padding: 0 15px;
    font-size: 0.9rem;
  }

  .shape-purple-left {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -120px;
  }

  .shape-green-left {
    width: 160px;
    height: 150px;
    top: 200px;
    left: -110px;
  }

  .shape-purple-right {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -120px;
  }

  .shape-green-right {
    width: 180px;
    height: 150px;
    bottom: -50px;
    right: -110px;
  }
}

/* Hiring Modal Styles */
.hiring-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 7, 32, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hiring-modal.open {
  display: flex;
}

.hiring-modal-content {
  width: min(600px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hiring-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #ebdef8;
  padding-bottom: 10px;
}

.hiring-modal-title {
  margin: 0;
  color: var(--purple-900);
  font-size: 1.5rem;
}

.hiring-job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hiring-job-item {
  border: 1px solid #ebdef8;
  border-radius: 12px;
  padding: 16px;
  background: #fdfbff;
  transition: box-shadow 0.2s ease;
}

.hiring-job-item:hover {
  box-shadow: var(--shadow);
}

.hiring-job-item h3 {
  margin: 0 0 8px;
  color: var(--purple-700);
  font-size: 1.2rem;
}

.hiring-job-item p {
  margin: 0 0 16px;
  color: #555;
  font-size: 0.95rem;
}
