@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f0f10;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Wallpaper-style background */
.background {
  background-image: url('../assets/bg-pattern.svg'); /* we'll create or pick a light subtle SVG pattern */
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.05;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* LEFT SECTION */
.left {
  flex: 1;
  max-width: 500px;
}

.brand {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}

.brand span {
  color: #00ffff;
}

.tagline {
  margin: 1rem 0;
  font-size: 1.2rem;
  opacity: 0.8;
}

.intro p {
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.contacts h3 {
  color: #00ffff;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.contacts ul {
  list-style: none;
}

.contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
}

.contacts img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.contacts a, .contacts span {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.contacts a:hover {
  color: #00ffff;
}

/* RIGHT SECTION */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone {
  margin-top: 100px;
  width: 280px;
  height: 550px;
  border-radius: 40px;
  border: 8px solid #1a1a1a;
  background: #111;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.controls {
  display: flex;
  gap: 20px;
}

button {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

button:hover {
  background: #00ffff;
  color: #000;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    height: auto;
    padding: 3rem 0;
  }
  .left {
    max-width: 90%;
  }
}

.talking-head-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem auto;
  width: 90%;
  gap: 2rem;
}

/* Text writeup */
.talking-head-text {
  flex: 1;
}

.talking-head-text h2 {
  font-size: 2rem;
  color: #00ffff;
  margin-bottom: 1rem;
}

.talking-head-text p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Laptop mockup */
.laptop-mockup {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.laptop-screen {
  width: 400px;
  height: 250px;
  background: #111;
  border: 6px solid #1a1a1a;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,255,255,0.05);
}

.laptop-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Base/keyboard part */
.laptop-base {
  width: 420px;
  height: 20px;
  background: #1a1a1a;
  border-radius: 0 0 6px 6px;
  margin-top: -2px;
}

/* Responsive */
@media (max-width: 900px) {
  .talking-head-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }

  .laptop-screen {
    width: 90%;
    height: 200px;
  }

  .laptop-base {
    width: 95%;
  }
}

.talking-head-section {
  position: relative;
  z-index: 5; /* ✅ Ensures it's above background */
}

.talking-head-section iframe {
  position: relative;
  z-index: 10;
  pointer-events: auto; /* ✅ Makes sure it's clickable */
}