﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg: #080808;
  --bg-soft: #121212;
  --card: #1f1f1f;
  --line: #2e2e2e;
  --text: #ffffff;
  --muted: #b9b9b9;
  --accent: #ff004f;
  --accent-2: #ff2d67;
  --success: #6df58f;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: radial-gradient(circle at 80% 10%, #19040d 0%, transparent 35%), var(--bg);
  line-height: 1.6;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ff6a92);
  z-index: 9999;
}

.container {
  padding: 10px 10%;
}

#header {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.95), rgba(8, 8, 8, 0.68)),
    url("images/pexels-ikowh-11392.jpg");
  background-size: cover;
  background-position: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 16px;
  position: sticky;
  top: 0;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(8px);
  z-index: 900;
}

nav.scrolled {
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 42px;
  font-weight: 700;
}

.logo span {
  color: var(--accent);
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.35s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.header-text {
  margin-top: 15%;
  max-width: 780px;
}

.top-line {
  font-size: 23px;
  color: #dddddd;
}

.header-text h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin-top: 12px;
  line-height: 1.1;
}

.header-text h1 span {
  color: var(--accent);
}

.intro-text {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.btn2 {
  color: var(--text);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  box-shadow: 0 8px 22px rgba(255, 0, 79, 0.3);
}

.btn.btn2:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid #ff356f;
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 0, 79, 0.13);
}

.whatsapp-btn {
  margin-left: 0;
  background: #25d366;
  color: #fff;
}

.whatsapp-btn i {
  margin-right: 8px;
}

#about,
#services,
#service-details,
#portfolio,
#contact {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.04);
}

#about .container,
#services .container,
#service-details .container,
#portfolio .container,
#contact .container {
  position: relative;
  z-index: 1;
}


.sub-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  color: var(--text);
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
  border: 1px solid var(--line);
}

.about-col-2 {
  flex-basis: 60%;
  color: #c4c4c4;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.stat-card {
  background: linear-gradient(180deg, #1f1f1f, #181818);
  border: 1px solid #2d2d2d;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.stat-card h3 {
  color: #fff;
  font-size: 25px;
}

.stat-card p {
  color: #afafaf;
  font-size: 14px;
}

.tab-titles {
  display: flex;
  margin: 20px 0 28px;
}

.tab-links {
  margin-right: 40px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  color: var(--text);
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.35s;
}

.tab-links.active-link::after {
  width: 55%;
}

.tab-content {
  display: none;
}

.tab-content.active-tab {
  display: block;
}

.tab-content ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-content ul li span {
  color: #ff487f;
  font-size: 14px;
}


.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.services-list article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #262626, #1b1b1b);
  padding: 28px 22px;
  border-radius: 14px;
  border: 1px solid #323232;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.services-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.08) 48%, transparent 70%);
  transform: translateX(-115%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.services-list article:hover {
  transform: translateY(-10px);
  border-color: #ff3f78;
  box-shadow: 0 16px 34px rgba(255, 0, 79, 0.2);
}

.services-list article:hover::before {
  transform: translateX(115%);
}

.services-list article i {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: rgba(255, 0, 79, 0.15);
  border: 1px solid rgba(255, 0, 79, 0.45);
  margin-bottom: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.services-list article:hover i {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 0, 79, 0.28);
}

.services-list article h3 {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.services-list article p {
  color: #c8c8c8;
}

.services-list article a {
  text-decoration: none;
  color: #fff;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.services-list article a::after {
  content: "->";
  transition: transform 0.2s ease;
}

.services-list article:hover a::after {
  transform: translateX(4px);
}


.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.detail-card {
  background: linear-gradient(180deg, #262626, #1d1d1d);
  border: 1px solid #313131;
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-6px);
  border-color: #ff3f78;
}

.detail-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h3 i {
  color: #ff3f78;
}

.detail-card p {
  color: #cbcbcb;
  margin-bottom: 10px;
}

.detail-card ul {
  margin-left: 18px;
}

.detail-card li {
  color: #b9b9b9;
  margin: 6px 0;
}

.portfolio-filters {
  margin: 24px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.filter-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #3d3d3d;
  background: #161616;
  color: #e9e9e9;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #ff3c73;
  color: #fff;
}

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

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  min-height: 300px;
}

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

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(255, 0, 79, 0.92), rgba(255, 0, 79, 0.18), transparent);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

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

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.contact-row {
  align-items: flex-start;
}


.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 14px;
}

.contact-left p i {
  color: var(--accent);
  margin-right: 10px;
}

.contact-left .btn {
  display: inline-flex;
  width: fit-content;
}

.contact-left .btn + .btn {
  margin-left: 0;
  margin-top: 14px;
}

.social-icons {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a {
  text-decoration: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1e1e1e;
  border: 1px solid #333;
  font-size: 22px;
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icons a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.home-social {
  margin-top: 20px;
}

form input,
form textarea {
  width: 100%;
  border: 1px solid #2f2f2f;
  outline: none;
  background: #1d1d1d;
  padding: 15px;
  margin: 10px 0;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
}

#form-status {
  margin-top: 8px;
  color: var(--success);
  min-height: 24px;
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid #333;
  background: #141414;
  color: #fff;
  border-radius: 10px;
  display: none;
  cursor: pointer;
  z-index: 990;
}

#back-to-top.show {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid #2b2b2b;
  background: linear-gradient(180deg, #0d0d0d, #0a0a0a);
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-content p {
  color: #b5b5b5;
  font-size: 0.95rem;
}


@media (max-width: 920px) {
  .about-col-1,
  .about-col-2,
  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .header-text {
    margin-top: 28%;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-btn {
    margin-left: 0;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .logo {
    font-size: 35px;
  }

  nav ul li {
    margin: 8px 10px;
  }

  nav ul li a {
    font-size: 15px;
  }

  .top-line {
    font-size: 18px;
  }

  .intro-text {
    font-size: 16px;
  }

  .footer-content p {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-video-bg {
    animation: none;
  }
}
