/*===========================
GLOBAL STYLES
============================= */
:root {
  --primary-color: #d6a2e8;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-color: #efeeee;
  --accent-color: #33d6ff;
  --transition-speed: 0.4s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(rgba(42, 35, 35, 0.7), rgba(43, 38, 38, 0.8)),
    url("/images/background.png") center/cover no-repeat fixed;
  color: var(--text-color);
  overflow-x: hidden;
  font-family: "Times New Roman", Times, serif;
}

.glass {
  background: var(--glass-bg);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  padding: 40px;
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/*Custom scrollbar*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Accent color for subheadings and feature titles */
.section h1,
.section h2,
#team h1,
.feature-card h3 {
  color: var(--accent-color);
}

/* Slight text glow for better contrast on dark backgrounds */
.section h1,
.section h2,
.feature-card h3 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.section {
  padding: 100px 10%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* animation classes */

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* =============================
   Navigation bar
============================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: fixed;
  width: 90%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: linear-gradient(rgba(83, 82, 82, 0.6), rgba(100, 99, 99, 0.6)),
    url("/images/background2.jpg") center/cover no-repeat;
}

.nav-logo img {
  height: 40px;
  vertical-align: middle;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px;
  transition: 0.4s;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active div:nth-child(2) {
  opacity: 1;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* =============================
   HERO SECTION
============================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero-logo {
  width: 180px;
  margin-bottom: 20px;
  animation: floatY 6s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.hero-title {
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff, #d6a2e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(214, 162, 232, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 1;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-btn {
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(214, 162, 232, 0.2);
}

.hero-btn:hover {
  background: var(--primary-color);
  color: #1a1a1a;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(214, 162, 232, 0.6);
}

/*features section*/
.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.feature-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card {
  flex: 0 1 23%;
  max-width: 23%;
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(214, 162, 232, 0.15);
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.feature-card {
  animation-name: floatY;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
}

.card-container .feature-card:nth-child(odd) {
  animation-delay: 0s;
}
.card-container .feature-card:nth-child(even) {
  animation-delay: 0.5s;
  animation-duration: 7s;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* see more button */

.feature-card p.feature-desc {
  display: none;
  margin-top: 15px;
  animation: fadeIn 0.5s ease;
}

.feature-card.expanded p.feature-desc {
  display: block;
}

.see-more-btn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.see-more-btn:hover {
  background: var(--primary-color);
  color: #1a1a1a;
  box-shadow: 0 0 10px rgba(214, 162, 232, 0.4);
}

/* ANIMATIONS */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

.demo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding: 0 20px;
}

.device-frame {
  background: #1c1c1c;
  padding: 12px;
  border-radius: 34px;
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
  max-height: 900px;
  box-shadow: 0 0 0 2px #3a3a3a, 0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(214, 162, 232, 0.1);
  transition: transform 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-frame:hover {
  transform: scale(1.01);
}

/* The Screen Area */
.device-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  background-color: #000;
  outline: none;
  pointer-events: none;
}

/* Aesthetic: Small camera dot on the bezel */
.camera-dot {
  width: 8px;
  height: 8px;
  background-color: #0f0f0f;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .device-frame {
    padding: 20px;
    border-radius: 20px;
  }
  .device-frame video {
    border-radius: 14px;
  }
  .camera-dot {
    display: none;
  }
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 20px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  padding: 28px 24px;
  min-height: 320px;
  flex: 0 0 260px;
  width: 260px;
}

.team-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.img-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
}

.team-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.team-card:hover .team-photo {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(214, 162, 232, 0.4);
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.team-card p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem; /* Icon size */
  transition: all 0.3s ease;
  display: inline-block;
}

.social-link:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(214, 162, 232, 0.6);
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
}

.contact-intro {
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.9);
  margin: 2px 0 8px;
  line-height: 1.5;
}

.contact-list {
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form {
  width: 50%;
  max-width: 700px;
}

.contact-form .form-row {
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-form label {
  flex: 0 0 100px;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-form .input-field {
  flex: 1;
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contact-form .input-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form .input-field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(214, 162, 232, 0.4);
}

.contact-form textarea.input-field {
  min-height: 45px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contact-form .submit-btn {
  padding: 12px 30px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .submit-btn:hover {
  background: var(--primary-color);
  color: #1a1a1a;
  box-shadow: 0 0 15px rgba(214, 162, 232, 0.5);
}

#contactStatus {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }
}
footer {
    padding: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #110d2f;
    text-align: center;
    border-top-left-radius: 20px;
}

