/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #05060a;
  color: #f5f5f7;
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-image {
  height: 45px;      /* adjust if you want it bigger/smaller */
  width: auto;
  display: block;
}

.logo-mark {
  background: linear-gradient(135deg, #E53935, #B71C1C);
  color: #fff;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1rem;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-size: 0.9rem;
  color: #f5f5f7;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.5), rgba(183, 28, 28, 0.15));
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(183, 28, 28, 0.35), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 0.98rem;
  max-width: 36rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.7rem;
  background: rgba(0, 0, 0, 0.35);
}

/* Hero card */

.hero-card {
  background: rgba(6, 7, 12, 0.93);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.hero-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.7rem;
}

.hero-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.hero-contact a {
  font-size: 0.9rem;
  color: #f5f5f7;
  text-decoration: none;
  background: rgba(17, 24, 40, 0.9);
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border 0.2s ease, transform 0.15s ease;
}

.hero-contact a:hover {
  border-color: rgba(229, 57, 53, 0.7);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #E53935, #B71C1C);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #f5f5f7;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.btn.full-width {
  width: 100%;
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(229, 57, 53, 0.12), transparent 60%),
              radial-gradient(circle at bottom right, rgba(183, 28, 28, 0.12), #05060a 70%);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: rgba(10, 12, 19, 0.95);
  border-radius: 1rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.7rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 0.8rem;
}

.service-card li {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.service-card li::before {
  content: "• ";
  color: #E53935;
}

.service-tag {
  display: inline-flex;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.14);
  border: 1px solid rgba(229, 57, 53, 0.65);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
}

.about-grid p {
  font-size: 0.93rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.about-highlight {
  background: rgba(10, 12, 19, 0.95);
  border-radius: 1rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-highlight h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.about-highlight ul {
  list-style: none;
}

.about-highlight li {
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.about-highlight li::before {
  content: "✓ ";
  color: #E53935;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.portfolio-card {
  background: rgba(10, 12, 19, 0.95);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.portfolio-card p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.pill {
  display: inline-flex;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(183, 28, 28, 0.15);
  border: 1px solid rgba(183, 28, 28, 0.65);
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.testimonial-card {
  background: rgba(10, 12, 19, 0.95);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.testimonial-card p {
  font-size: 0.88rem;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.testimonial-name {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-info p {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.contact-info a {
  color: #f5f5f7;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.contact-form {
  background: rgba(10, 12, 19, 0.95);
  border-radius: 1rem;
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.52);
}

.contact-form label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.7rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  font-size: 0.86rem;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #E53935;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.6);
}

.contact-form button {
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 0.4rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0 1.8rem;
  background: #05060a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-links a {
  color: #f5f5f7;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
    margin-bottom: 1.4rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    gap: 0.7rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
