* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', 'Vazirmatn', sans-serif;
  color: #111;
  background: url('/files/main.jpg') center center / cover no-repeat fixed;
}

/* Topbar (glass) */
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.logo-small { height: 36px; }
.brand-name { font-weight: 700; font-size: 18px; color: #fff; }
.contact-link {
  margin-left: auto;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* Blur only behind text */
.glass-wrapper {
  width: 100%;
  padding: 40px 16px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Layout */
.container { max-width: 1080px; margin: 0 auto; }
.data-container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Red typing text */
.cunstruction-text {
  text-align: center;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 40px);
  color: #d61f1f;
  margin: 40px 0 20px;
}

/* Section titles */
.company-description_title,
.expertises-title,
.cv-title,
.contactus-text {
  font-size: 22px;
  font-weight: bold;
  margin-top: 40px;
  border-bottom: 2px solid #aaa;
  padding-bottom: 4px;
}

/* Cards */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card h3 {
  margin: 10px 12px 6px;
  font-size: 17px;
}
.card p {
  margin: 0 12px 12px;
  font-size: 14px;
  color: #444;
}

/* Resume button */
.cv-link {
  display: inline-block;
  margin-top: 16px;
  background: #2563eb;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.cv-link:hover { background: #1d4ed8; }

/* Footer */
.site-footer {
  margin-top: 60px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #eee;
}

/* Splash */
#splash {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  place-items: center;
  z-index: 9999;
}
#splash.show { display: grid; }
#splash video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}
#skipSplash {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: #111;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
body.splash-lock {
  overflow: hidden;
}
