* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #0b0d12;
  color: white;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: white;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background: rgba(15, 17, 25, 0.95);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-size: 15px;
  opacity: 0.85;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: #4da3ff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary {
  background: #3a8dff;
  color: white;
}

.btn-primary:hover {
  background: #2a78e5;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
}

.btn-secondary:hover {
  border-color: #3a8dff;
  color: #3a8dff;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
}

.btn-outline:hover {
  border-color: #3a8dff;
  color: #3a8dff;
}

/* HERO */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at top left, #1c1f2e, #0b0d12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #3a8dff;
}

.hero-text p {
  opacity: 0.8;
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 12px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.feature p {
  font-size: 13px;
  opacity: 0.7;
}

/* HERO CARD */
.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 16px;
}

.hero-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-card p {
  opacity: 0.7;
  margin-bottom: 20px;
}

.success-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.success-box h4 {
  font-size: 15px;
}

.success-box p {
  font-size: 13px;
  opacity: 0.75;
}

.full-btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 34px;
  margin-bottom: 8px;
}

.section-subtitle {
  opacity: 0.7;
  margin-bottom: 35px;
  max-width: 600px;
}

.dark-section {
  background: #07080c;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(58, 141, 255, 0.5);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  opacity: 0.75;
  font-size: 14px;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-card {
  padding: 25px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-card h3 {
  margin-bottom: 10px;
}

.portfolio-card p {
  opacity: 0.7;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-list {
  margin-top: 20px;
  list-style: none;
}

.about-list li {
  margin-bottom: 10px;
  opacity: 0.8;
}

.about-box {
  padding: 25px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-box h3 {
  margin-bottom: 10px;
}

.about-box p {
  opacity: 0.7;
  margin-bottom: 20px;
}

/* CONTACT */
.contact-box {
  text-align: center;
}

.contact-box h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-box p {
  opacity: 0.7;
  margin-bottom: 25px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  outline: none;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* FOOTER */
.footer {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #05060a;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  opacity: 0.7;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
  color: #3a8dff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 25px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-row {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE - TECHY MOBILE UI UPGRADE */
@media (max-width: 768px) {

  body {
    background: radial-gradient(circle at top, #141a2d, #06070c);
  }

  /* Navbar */
  .nav-links {
    position: absolute;
    top: 75px;
    right: 5%;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 18px;
    border-radius: 16px;
    width: 250px;
    display: none;
    border: 1px solid rgba(58, 141, 255, 0.25);
    box-shadow: 0px 0px 25px rgba(58, 141, 255, 0.15);
    animation: fadeSlide 0.35s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 30px;
    color: #3a8dff;
  }

  .btn-outline {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 70px 0;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 34px;
    line-height: 1.25;
    text-shadow: 0px 0px 25px rgba(58, 141, 255, 0.25);
  }

  .hero-text p {
    font-size: 15px;
    margin: auto;
    margin-bottom: 25px;
    opacity: 0.8;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 330px;
    text-align: center;
    border-radius: 14px;
    font-size: 15px;
  }

  /* Feature Row (Tech Style Cards) */
  .features-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .feature {
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(
      135deg,
      rgba(58, 141, 255, 0.14),
      rgba(255, 255, 255, 0.03)
    );
    border: 1px solid rgba(58, 141, 255, 0.25);
    box-shadow: 0px 0px 20px rgba(58, 141, 255, 0.08);
    text-align: left;
  }

  .feature h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .feature p {
    font-size: 13px;
    opacity: 0.8;
  }

  /* Hero Card */
  .hero-card {
    margin-top: 25px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(58, 141, 255, 0.25);
    box-shadow: 0px 0px 30px rgba(58, 141, 255, 0.08);
    text-align: left;
  }

  .hero-card h2 {
    font-size: 20px;
  }

  .success-box {
    border-radius: 14px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05),
      rgba(58, 141, 255, 0.12)
    );
    border: 1px solid rgba(58, 141, 255, 0.18);
  }

  /* Services */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03),
      rgba(58, 141, 255, 0.08)
    );
    border: 1px solid rgba(58, 141, 255, 0.2);
    box-shadow: 0px 0px 18px rgba(58, 141, 255, 0.08);
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-card {
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03),
      rgba(58, 141, 255, 0.09)
    );
    border: 1px solid rgba(58, 141, 255, 0.18);
    box-shadow: 0px 0px 18px rgba(58, 141, 255, 0.08);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-box {
    border-radius: 18px;
    border: 1px solid rgba(58, 141, 255, 0.2);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03),
      rgba(58, 141, 255, 0.08)
    );
    box-shadow: 0px 0px 18px rgba(58, 141, 255, 0.08);
  }

  /* Contact */
  .contact-box h2 {
    font-size: 28px;
    text-shadow: 0px 0px 20px rgba(58, 141, 255, 0.25);
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 14px;
    padding: 15px;
    font-size: 14px;
    border: 1px solid rgba(58, 141, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
  }

  .contact-form button {
    border-radius: 14px;
    font-size: 15px;
    padding: 14px;
    box-shadow: 0px 0px 20px rgba(58, 141, 255, 0.25);
  }

  /* Footer */
  .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 30px;
  }

  .section-title {
    font-size: 26px;
  }

  .hero-buttons a {
    font-size: 14px;
    padding: 13px 18px;
  }

  .feature {
    padding: 18px;
  }

  .card, .portfolio-card {
    padding: 20px;
  }
}

/* Animation */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
.portfolio-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.portfolio-link {
  display: inline-block;
  margin: 6px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #3a8dff;
  opacity: 0.9;
  transition: 0.3s;
}

.portfolio-link:hover {
  opacity: 1;
  text-decoration: underline;
}
