/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: #111;
  color: #fff;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 64px 0 64px;
  background: transparent;
  z-index: 10;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo span {
  color: #00fff7;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

nav ul li a.active,
nav ul li a:hover {
  background: #00fff7;
  color: #111;
  box-shadow: 0 0 16px #00fff7;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 64px;
  min-height: 80vh;
  background: linear-gradient(120deg, #111 60%, #1a1a1a 100%);
  background-image: url("images/Laptop.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17,17,17,0.7);
  z-index: 0;
}

.hero-content,
.hero-image-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
}

.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 12px 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #00fff7;
  margin: 0 0 12px 0;
  line-height: 1.1;
  word-break: break-word;
}

.hero-content h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #00fff7;
  margin: 0 0 32px 0;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.social-links a {
  color: #00fff7;
  border: 2px solid #00fff7;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}

.social-links a:hover {
  background: #00fff7;
  color: #111;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #00fff7;
  color: #111;
  border: none;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 16px #00fff7;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #00cfc7;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #fff;
  color: #111;
  border: 2px solid #00fff7;
}

.hero-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  min-height: 340px;
  position: relative;
  flex: 0 0 340px;
}

.hero-image-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 3px solid #00ff7f;
  box-shadow: 0 0 32px #00ff7f55;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0,0,0,0.7);
}

.hero-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Rotating Titles */
.rotating-titles {
  display: inline-block;
  position: relative;
  height: 1.6em;
  min-width: 260px; /* Adjust as needed for your longest title */
  overflow: none;
  vertical-align: middle;
}

.rotating-titles .rotating-highlight {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s, transform 0.5s;
  color: #fff; /* Matches "Hello, It's" */
  text-align: left;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-sizing: border-box;
  padding-right: 10px;
}

.rotating-titles .rotating-highlight.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s, transform 0.5s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding: 32px;
  }
  .hero-image-container {
    align-self: center;
    margin-top: 32px;
  }
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 18px;
    padding: 18px 8px 0 8px;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 18px;
  }
  .hero-content {
    max-width: 100%;
    min-width: 0;
  }
  .hero-image-container {
    min-width: 220px;
    min-height: 220px;
    flex: 0 0 220px;
  }
  .hero-image-circle {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content h2 {
    font-size: 1.3rem;
  }
  .hero-content h3 {
    font-size: 1rem;
  }
  .hero-image-circle {
    width: 140px;
    height: 140px;
  }
  .hero-image-container {
    min-width: 140px;
    min-height: 140px;
    flex: 0 0 140px;
  }
  .hero {
    padding: 8px;
  }
  nav ul {
    gap: 12px;
  }
}