@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {

  /* BACKGROUNDS */

  --bg: #0b0b0c;
  --bg2: #141416;

  /* PANELS */

  --panel: rgba(24, 24, 27, 0.78);
  --border: rgba(255, 120, 90, 0.08);

  /* TEXT */

  --text: #f5f5f5;
  --muted: #a8a8ad;

  /* PRIMARY COLORS */

  --accent: #e5484d;
  --accent2: #b42318;

  /* EXTRA COLORS */

  --orange: #c96b4c;
  --red-dark: #6f2d24;

  /* SHADOWS */

  --shadow:
    0 10px 40px rgba(0,0,0,.45);

  --glow:
    0 0 22px rgba(217,107,74,.12);

  --radius: 0px;


  --content-width: 980px;
}

/* RESET */

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

/* BODY */

body {

  font-family: 'Inter', sans-serif;
  color: var(--text);

  background:
    radial-gradient(
      circle at top left,
      #241614 0%,
      #141416 40%,
      #0b0b0c 80%
    );

  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* BACKGROUND GLOW */

body::before {

  content: '';

  position: fixed;

  width: 700px;
  height: 700px;

  top: -300px;
  right: -250px;

  background:
    radial-gradient(
      circle,
      rgba(217,107,74,.08),
      transparent 70%
    );

  filter: blur(90px);

  pointer-events: none;
  z-index: -1;
}

body::after {

  content: '';

  position: fixed;

  width: 500px;
  height: 500px;

  bottom: -200px;
  left: -150px;

  background:
    radial-gradient(
      circle,
      rgba(180,79,56,.05),
      transparent 70%
    );

  filter: blur(90px);

  pointer-events: none;
  z-index: -1;
}

/* LINKS */

a {
  text-decoration: none;
  color: inherit;
}

/* CONTAINER */

.container {
  width: min(var(--content-width), 92%);
  margin: 0 auto;
}

/* GLASS */

.glass {

  background:
    linear-gradient(
      145deg,
      rgba(28,28,32,.88),
      rgba(18,18,20,.78)
    );

  backdrop-filter: blur(18px);

  border: 1px solid var(--border);

  box-shadow: var(--shadow);
}

/* NAVBAR */

.navbar {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 40px;

  z-index: 1000;
}

.navbar.glass {
  border-left: none;
  border-right: none;
  border-radius: 0;
}

/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {

  color: var(--muted);
  font-weight: 500;

  transition:
    color .25s ease,
    transform .25s ease;
}

.nav-links a:hover {

  color: white;
  transform: translateY(-2px);
}

/* HERO */

.hero {

  position: relative;

  height: 100vh;
  min-height: 700px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  z-index: 1;
}

/* HERO OVERLAY */

.hero::before {

  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse 55% 70% at 50% 50%,
      rgba(11,11,12,.78) 0%,
      rgba(11,11,12,.42) 55%,
      transparent 100%
    );

  z-index: 1;

  pointer-events: none;
}

/* CANVAS */

#heroCanvas {

  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;
}

/* HERO CONTENT */

.hero-content {

  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  gap: 20px;

  padding: 0 24px;
}

/* HERO TITLE */

.hero-text {

  font-family: 'Space Grotesk', sans-serif;

  font-weight: 800;

  font-size: clamp(4rem, 10vw, 8rem);

  letter-spacing: 0.18em;

  line-height: 1;

  opacity: 0;

  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;

  text-shadow:
    0 2px 40px rgba(0,0,0,0.95),
    0 0 80px rgba(229,72,77,0.25);
}

/* HERO SUBTITLE */

.hero-sub {

  font-family: 'Space Grotesk', sans-serif;

  font-size: 1rem;

  letter-spacing: 0.25em;

  color: var(--muted);

  max-width: 850px;

  line-height: 1.8;

  opacity: 0;

  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.7s;
}

/* BUTTON */

.btn-discover {

  display: inline-flex;

  align-items: center;
  gap: 10px;

  margin-top: 12px;

  padding: 14px 28px;

  border-radius: 0px;

  border: 1px solid rgba(255,255,255,.12);

  background: rgba(255,255,255,.03);

  color: white;

  font-weight: 600;

  transition:
    transform .25s ease,
    background .25s ease,
    border .25s ease;

  opacity: 0;

  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
}

.btn-discover:hover {

  transform: translateY(-3px);

  background: rgba(255,255,255,.06);

  border-color: rgba(255,255,255,.2);
}

/* SECTION */

.section {
  position: relative;
  z-index: 5;
  padding: 30px 0 90px 0;
}

/* TITLES */

.section-title {

  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  font-size: 2.8rem;

  margin-bottom: 20px;
}

.section-subtitle {

  color: var(--muted);

  max-width: 700px;

  margin-bottom: 70px;

  line-height: 1.9;
}



/* ABOUT */
.about {

  position: relative;

  z-index: 5;

  padding: 130px 0;
}

.about-inner {
  width: 100%;
  margin: 0 auto;
}

.about-body {
  color: var(--text-sec);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-sec);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}
.pillar:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-3px);
  color: var(--text-primary);
}



/* CARDS */

.cards {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  justify-content: center;

  gap: 30px;

  margin-top: 50px;

  width: 100%;
}

/* CARD */

.card {

  width: 100%;
  padding: 0;

  border-radius: var(--radius);

  position: relative;

  overflow: hidden;

  transition:
    transform .35s ease,
    border .35s ease,
    box-shadow .35s ease;
}


.card::before {

  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(217,107,74,.04),
      transparent 60%
    );

  opacity: 0;

  transition: opacity .35s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {

  transform: translateY(-6px);

  border-color: rgba(217,107,74,.18);

  box-shadow:
    0 18px 45px rgba(217,107,74,.08);
}

.card-content {
  padding: 28px;
}

/* CARD PREVIEW */
.card-preview {

  width: 100%;

  height: 190px;

  margin-bottom: 22px;

  border-radius: 0px;

  overflow: hidden;

  position: relative;

  background: rgba(255,255,255,.03);
}

.card-preview img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform .5s ease,
    filter .5s ease;
}

.card:hover .card-preview img {

  transform: scale(1.05);

  filter: brightness(1.05);
}

.card-preview::after {

  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.28),
      transparent 50%
    );

  pointer-events: none;
}



/* CARD TITLE */

.card h3 {

  margin-bottom: 14px;

  font-size: 1.35rem;
}

/* CARD TEXT */

.card p {

  color: var(--muted);

  line-height: 1.85;
}

/* FOOTER */

.footer {

  padding: 70px 0;

  margin-top: 120px;

  border-top:
    1px solid rgba(255,255,255,.05);

  color: var(--muted);
}

/* ANIMATIONS */

.fade-up {

  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.fade-up.visible {

  opacity: 1;

  transform: translateY(0);
}

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media(max-width: 900px) {

  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero-text {
    font-size: 3.6rem;
  }

  .section-title {
    font-size: 2.3rem;
    text-align: center;
  }

  .hero {
    padding-top: 80px;
  }
}

@media (max-width: 1100px) {

  .cards {
    grid-template-columns: repeat(2, 380px);
  }
}

@media (max-width: 760px) {

  .cards {
    grid-template-columns: 380px;
  }
}


/* CONTACT */

.contact {

  padding: 80px 0 130px 0;

  position: relative;

  z-index: 5;
}

.contact-inner {
  width: 100%;
  margin: 0 auto;
  padding: 60px;
}

.contact-header {

  text-align: center;

  margin-bottom: 50px;
}

.contact-subtitle {

  color: var(--muted);

  max-width: 700px;

  margin: 0 auto;

  line-height: 1.8;
}

/* FORM */

.contact-form {

  display: flex;

  flex-direction: column;

  gap: 24px;
}

.contact-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

/* INPUTS */

.input-group {

  display: flex;

  flex-direction: column;

  gap: 10px;
}

.input-group label {

  font-size: .95rem;

  color: var(--muted);
}

.input-group input,
.input-group textarea {

  width: 100%;

  padding: 16px 18px;

  border: 1px solid rgba(255,255,255,.08);

  background: rgba(255,255,255,.03);

  color: white;

  font-family: inherit;

  font-size: .95rem;

  outline: none;

  transition:
    border-color .25s ease,
    background .25s ease;
}

.input-group input:focus,
.input-group textarea:focus {

  border-color: rgba(229,72,77,.45);

  background: rgba(255,255,255,.05);
}

/* BUTTON */

.contact-btn {

  align-self: flex-start;

  padding: 16px 28px;

  border: none;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color: white;

  font-weight: 600;

  cursor: pointer;

  transition:
    transform .25s ease,
    opacity .25s ease;
}

.contact-btn:hover {

  transform: translateY(-2px);

  opacity: .92;
}

/* MOBILE */

@media (max-width: 760px) {

  .contact-inner {

    padding: 35px 24px;
  }

  .contact-grid {

    grid-template-columns: 1fr;
  }

  .contact-btn {

    width: 100%;
  }
}


/* project */
.project {

  position: relative;

  z-index: 5;

  padding: 130px 0;
}

.project-inner {
  width: 100%;
  margin: 0 auto;
}

.project-body {
  color: var(--text-sec);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.project-inner img {

  width: 100%;
  display: block;

  object-fit: cover;

  border-radius: var(--radius);

  margin-bottom: 40px;
}

.project ul {
    list-style: none;
    padding: 0;
}

.project ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #C31A14;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #090909;
  color: #fff;
  font-size: 14px;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #C31A14;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer a {
  color: #C31A14;
  text-decoration: none;
}

#footer .social-links a:hover {
  background: #C31A14;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  color: #000;
  font-size: 13px;
}

#footer .credits a {
  background: #000;
  color: #000;
  
}


.project-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.project-inner {
  flex: 1;
}

.project-image {
  width: 320px;
  flex-shrink: 0;
}

.project-image img {
  width: 100%;
  display: block;
}


.contact .contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .error-message br+br {
  margin-top: 25px;
}

.contact .contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}