/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "poppins", sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

/* =========================================================
   THEME VARIABLES
========================================================= */

:root {
  --primary: #6366f1;
  --primary-dark: #4c1d95;
  --bg-light: #f8fafc;
  --bg-soft: #f3f4f6;
  --bg-dark: #020617;
  --text-light: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --card-purple: #2b1454;
  --radius-lg: 2rem;
  --radius-md: 1.5rem;
}

/* =========================================================
   LIGHT / DARK
========================================================= */

body.light {
  background: var(--bg-light);
  color: var(--text-light);
}

body.dark {
  background: var(--bg-dark);
  color: white;
}

/* =========================================================
   COMMON
========================================================= */

a { text-decoration: none; color: inherit; }

.section-padding { padding: 6rem 2rem; }

.container {
  max-width: 1200px;
  margin: auto;
}

h1 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: 3rem; font-weight: 700; }
p { color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.08);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; gap: 1rem; }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.btn-primary:hover { transform: scale(1.05); }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.hero-text span { color: var(--primary); }

.hero-media {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
}

#hero-360-viewer {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* =========================================================
   VIEWER OVERLAY
========================================================= */

.viewer-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.viewer-overlay span { font-size: 3rem; margin-bottom: 0.5rem; }
.viewer-overlay.hidden { opacity: 0; pointer-events: none; }

/* =========================================================
   ABOUT SECTION
========================================================= */

.about-advanced {
  background: var(--bg-soft);
  padding: 6rem 2rem;
}

.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-label {
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.about-left h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.about-description {
  background: #e5e7eb;
  padding: 2rem;
  border-radius: var(--radius-md);
  max-width: 520px;
}

.about-description p {
  color: #334155;
  line-height: 1.8;
}

.about-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-visual-card {
  width: 380px;
  height: 480px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: rotate(-6deg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.ring {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 25px dashed rgba(255,255,255,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.floating-card {
  position: absolute;
  bottom: 20px;
  right: 10px;
  width: 260px;
  padding: 1.5rem;
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.experience-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: auto;
}

.experience-title {
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.experience-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
}

.experience-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.experience-cards {
  display: grid;
  gap: 1.5rem;
}

.exp-card {
  background: var(--card-purple);
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: white;
}

.exp-card p { color: #e5e7eb; }

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-advanced {
  background: var(--bg-dark);
  padding: 6rem 2rem;
}

.contact-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.usecases-card {
  background: var(--card-purple);
  padding: 3rem;
  border-radius: 2.5rem;
  color: white;
}

.usecases-card p { color: #cbd5e1; }

.contact-details-advanced h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-soft);
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* -------- CONTACT ICONS FIX -------- */

/* Material icons (mail, call, location) */
.contact-item span {
  font-size: 1.1rem;   /* ↓ smaller */
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Social circles */
.social-circle {
  width: 42px;         /* ↓ smaller circle */
  height: 42px;
  border-radius: 50%;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e293b;
  transition: all 0.3s ease;
}

/* Social SVG inside circle */
.social-circle img {
  width: 18px;         /* controlled size */
  height: 18px;
  object-fit: contain;
  opacity: 0.8;
}


.social-circle:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 3rem;
  text-align: center;
  color: #64748b;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .about-wrapper,
  .experience-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-right { margin-top: 4rem; }
}
/* ------------------ EXPLORE BUTTON ------------------ */

.explore-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
   margin-top: 0.5rem;
  display: inline-block;
}

.explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.45);
}

.explore-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}
.experience-header {
  margin-bottom: 3rem;
  max-width: 1200px;
}

.experience-title {
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}


.exp-card.active {
  outline: 2px solid var(--primary);
  transform: scale(1.02);
  transition: 0.3s ease;
}
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .navbar {
    padding: 1rem 1.2rem;
  }

  .hero {
    padding: 6rem 1.2rem 3rem;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .about-wrapper,
  .experience-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-left h2 {
    font-size: 2.2rem;
  }

  .about-visual-card {
    width: 260px;
    height: 340px;
    transform: rotate(-4deg);
  }

  .ring {
    width: 220px;
    height: 220px;
    border-width: 16px;
  }

  .experience-section {
    padding: 4rem 1.2rem;
  }

  .experience-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .experience-media {
    aspect-ratio: 4 / 3;
  }

  .exp-card {
    padding: 1.5rem;
    border-radius: 1.2rem;
  }

  .about-advanced,
  .contact-advanced {
    padding: 4rem 1.2rem;
  }

  .contact-details-advanced h2 {
    font-size: 2.2rem;
  }
}
