/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Body */
body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  animation: slideDown 1s ease forwards;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: #00c6ff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.logo:hover {
  color: #66fcf1;
  text-shadow: 0 0 10px #00c6ff;
}

/* Navbar */
.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #00c6ff;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #00c6ff;
}

.navbar a:hover::after {
  width: 100%;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  min-height: 100vh;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease forwards;
}

/* Home Content */
.home-content {
  flex: 1 1 50%;
  animation: fadeUp 1.3s ease forwards;
}

.home-content h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0.9;
}

.home-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #00c6ff;
  margin-bottom: 15px;
  animation: glow 2s ease-in-out infinite alternate;
}

.home-content p {
  font-size: 1rem;
  max-width: 550px;
  color: #ddd;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Typed.js text */
.text {
  color: #00c6ff;
  text-shadow: 0 0 10px #00c6ff;
  font-weight: 600;
}

/* Social Icons */
.home-sci {
  display: flex;
  gap: 15px;
}

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 22px;
  color: #00c6ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.4s ease;
}

.home-sci a:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px #00c6ff;
  background: #00c6ff;
  color: #fff;
}

/* Home Image */
.home-img {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.home-img img {
   width: 350px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.home-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px #00c6ff, 0 0 80px #0072ff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  from { text-shadow: 0 0 10px #00c6ff, 0 0 20px #00c6ff; }
  to { text-shadow: 0 0 25px #00c6ff, 0 0 50px #0072ff; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
  .home {
    flex-direction: column;
    text-align: center;
  }

  .home-content {
    order: 2;
  }

  .home-img {
    order: 1;
    margin-bottom: 30px;
  }

  .home-img img {
    width: 250px;
  }

  .home-content h1 {
    font-size: 2.8rem;
  }
}
