:root {
  --bg-dark: #020617;
  --bg-card: rgba(15, 23, 42, 0.7);
  --cyan-primary: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cyan-primary);
}

.cta-btn {
  background: var(--cyan-primary);
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  text-decoration: none;
  box-shadow: 0 0 15px var(--cyan-glow);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--cyan-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--cyan-primary);
  transition: all 0.3s ease;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at center,
    #0f172a 0%,
    var(--bg-dark) 100%
  );
  padding-top: 80px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.secondary-btn {
  display: inline-block;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  color: var(--cyan-primary);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, var(--cyan-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--cyan-primary);
  margin-bottom: 15px;
  font-weight: 500;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.primary-btn {
  display: inline-block;
  background: transparent;
  color: var(--cyan-primary);
  border: 2px solid var(--cyan-primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background: var(--cyan-primary);
  color: #000;
  box-shadow: 0 0 30px var(--cyan-glow);
}

/* PHILOSOPHY */
.philosophy {
  padding: 100px 0;
  background: var(--bg-dark);
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.philosophy-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan-primary);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(34, 211, 238, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
}

.philosophy-card h3 {
  margin-bottom: 15px;
  color: var(--cyan-primary);
}

/* PROJECTS */
.projects {
  padding: 100px 0;
  background: #010413;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

/* First project card should hide only show in mobile */
.project-card:first-child {
  display: none;
}

/* logo removal via crop for Nabtt Admin */
.crop-nabtt img {
  object-position: 50% 100%; /* Shifting it so the top logo is cut off */
  transform: scale(1.4) translateY(10%); /* Zoom in and shift down to hide top-left */
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.project-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.project-link {
  color: var(--cyan-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.project-link::after {
  content: " →";
}

.tag {
  font-size: 0.8rem;
  color: var(--cyan-primary);
  background: rgba(34, 211, 238, 0.1);
  padding: 4px 12px;
  border-radius: 10px;
}

.coming-soon {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(34, 211, 238, 0.1);
  padding: 4px 12px;
  border-radius: 10px;
  color: var(--cyan-primary);
}

/* CONTACT */
.contact {
  padding: 100px 0;
  background: var(--bg-dark);
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-glow);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--cyan-primary);
  color: #000;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--cyan-glow);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* FOOTER */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
}

.social-links a {
  color: var(--cyan-primary);
  text-decoration: none;
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .project-card:first-child {
    display: block;
  }

  .project-image {
    height: auto;
    max-height: 250px;
  }

  .project-image img {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Hamburger toggle animations */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
    padding: 0 40px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 0 0.5rem;
  }
}

@media (max-width: 350px) {
}

#formStatus {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}
