/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #111827;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
}

.card p {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 25px;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

input[type="email"]::placeholder {
  color: #6b7280;
}

input[type="email"]:focus {
  border-color: #2563eb;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #1d4ed8;
}

.error {
  background: #450a0a;
  color: #fca5a5;
  border: 1px solid #7f1d1d;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
}



/* Mobile Responsive */
@media screen and (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .navbar {
    height: auto;
    padding: 1rem;
  }

  .nav-item {
    width: auto;
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.6rem;
  }

  .header,
  .imgr {
    height: auto;
    min-height: 50vh;
  }

  h1,
  h2 {
    font-size: 3rem;
    text-align: center;
  }

  p {
    font-size: 1.6rem;
  }

  /* Resume */
  .container {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
    border-right: none;
  }

  .profile {
    padding: 3rem 1rem;
  }

  .profile img {
    width: 160px;
    height: 160px;
  }

  .profile h1 {
    font-size: 3rem;
  }

  .profile h3 {
    font-size: 1.8rem;
  }

  .about {
    padding: 2rem;
  }

  .about h2 {
    font-size: 3rem;
  }

  .about p {
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .section {
    padding: 2rem;
  }

  .social {
    padding: 2rem;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* YouTube */
  .youtube-banner {
    flex-direction: column;
    text-align: center;
  }

  .youtube-banner img {
    width: 100%;
    height: auto;
  }

  /* Medium */
  .medium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(3, 300px));
    gap: 25px;
    margin-top: 20px;
    justify-content: center;
    margin-top: 30px;
  }
  .medium-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  .medium-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .contact-us,
  .form {
    width: 95%;
    height: auto;
  }

  .contact-us-item a,
  .contact-us-item-Email {
    width: 100%;
  }

  .contact-us-itemss {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-us-itemss a {
    width: 100%;
    margin: 0 auto;
  }

  .home {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .op {
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 0 1rem;
  }
}

.resume-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

.resume-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 1rem 4rem;
  font-size: 2.2rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.resume-btn:hover {
  background: var(--Aqua);
  transform: translateY(-3px);
}

/* Pi network */
.pi-banner {
  width: 100%;
  background: #ff00f7;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 247, 1) 0%,
    rgba(172, 0, 224, 1) 100%,
    rgba(172, 0, 224, 1) 39%
  );
  padding: 40px 20px;
  border-radius: 20px;
  margin: 20px 0;
}

.pi-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.pi-text {
  flex: 1;
  padding-left: 30px;
  text-align: left;
}

.pi-image {
  flex-shrink: 0;
}

.pi-image img {
  width: 330px;
  height: auto;
  display: block;
}

.pi-text h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pi-title-logo {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.pi-icon {
  color: #f4af00;
  margin-right: 10px;
  font-size: 36px;
}

.pi-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.95;
}

.pi-btn {
  display: inline-block;
  background: #fff;
  color: #b30478;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.pi-btn:hover {
  transform: translateY(-3px);
}

.pi-image img {
  -webkit-user-drag: none;
  user-select: none;
}

/* BOOK */
.book-banner {
  width: 100%;
  background: #f2ff00;
  background: linear-gradient(
    90deg,
    rgba(242, 255, 0, 1) 0%,
    rgba(253, 171, 4, 1) 50%,
    rgba(255, 159, 5, 1) 100%,
    rgba(255, 159, 5, 1) 100%
  );
  padding: 40px 20px;
  border-radius: 20px;
  margin: 20px 0;
}

.book-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.book-text {
  flex: 1;
  padding-left: 30px;
  text-align: left;
}

.book-image {
  flex-shrink: 0;
}

.book-image img {
  width: 330px;
  height: auto;
  display: block;
}

.book-text h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.book-title-logo {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.book-icon {
  color: #ffffff;
  margin-right: 10px;
  font-size: 36px;
}

.book-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.95;
}

.book-btn {
  display: inline-block;
  background: #ffffff;
  color: #927802;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}

.book-btn:hover {
  transform: translateY(-3px);
}

.book-image img {
  -webkit-user-drag: none;
  user-select: none;
  border-radius: 5%;
}

/* ===========================================
RESPONSIVE
Large Desktop
=========================================== */

@media (max-width: 1200px) {
  .container {
    width: 92%;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-image img {
    width: 360px;
  }
}

/* ===========================================
Laptop
=========================================== */

@media (max-width: 992px) {
  nav {
    flex-direction: column;

    height: auto;

    padding: 20px 0;
  }

  nav ul {
    margin-top: 20px;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;
  }

  .hero {
    padding-top: 220px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    width: 320px;
  }

  .buttons {
    justify-content: center;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);

    text-align: left;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .contents-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .cta-box {
    padding: 50px 35px;
  }
}
