/* ==========================================================
                    HERO SECTION
========================================================== */

.hero {

  position: relative;

  min-height: 100vh;
  width: 100%;

  display: flex;

  align-items: center;

  overflow: hidden;

  background:
    url("../images/projects/index-bg.jpg") center center/cover no-repeat;
}

/* ==========================================================
                    DARK OVERLAY
========================================================== */

.hero-overlay {

  position: absolute;

  inset: 0;

  background:
    linear-gradient(rgba(8, 8, 8, .72),
      rgba(8, 8, 8, .84));

  z-index: 1;
}

/* ==========================================================
                    GOLD GRADIENT
========================================================== */

.hero-gradient {

  position: absolute;

  inset: 0;

  background:
    radial-gradient(circle at right,
      rgba(194, 155, 56, .10),
      transparent 55%);

  z-index: 2;
}

/* ==========================================================
                    CONTAINER
========================================================== */

.hero-container {

  position: relative;

  z-index: 5;

  width: min(92%, var(--container));

  margin: auto;
}

/* ==========================================================
                    GRID
========================================================== */

.hero-grid {

  display: grid;

  grid-template-columns: 1.1fr .9fr;

  gap: 5rem;

  align-items: center;
}

/* ==========================================================
                    LEFT CONTENT
========================================================== */

.hero-content {

  max-width: 700px;
}

.hero-tag {

  display: inline-flex;

  align-items: center;

  gap: 14px;

  color: var(--gold);

  letter-spacing: 4px;

  font-size: .85rem;

  text-transform: uppercase;
}

/* Decorative Lines */

.hero-tag::before,
.hero-tag::after {
  content: "";
  width: 55px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--gold),
      transparent);
}

.hero-tag::after {
  content: "";
  width: 55px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--gold),
      transparent);
}

.hero-content h1 {

  margin: 1.5rem 0;

  font-family: var(--heading);

  font-size: clamp(3.8rem, 7vw, 5.8rem);

  line-height: 1.05;

  color: var(--white);
}

.hero-content h1 span {

  display: block;

  color: var(--gold);
}

.hero-content p {

  max-width: 680px;

  margin-bottom: 2.8rem;

  color: var(--muted);

  font-size: 1.05rem;

  line-height: 1.9;
}

/* ==========================================================
                    BUTTONS
========================================================== */

.hero-buttons {

  display: flex;

  gap: 1.2rem;

  flex-wrap: wrap;

  align-items: center;
}

/* ==========================================================
                    GLASS CARD
========================================================== */

.hero-card {

  padding: 3rem;

  border-radius: 30px;

  background:
    rgb(255 255 255 /.05);

  border:
    1px solid rgb(255 255 255 /.08);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

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

/* ==========================================================
                    CARD TITLE
========================================================== */

.card-title {

  display: block;

  margin-bottom: 2rem;

  color: var(--gold);

  letter-spacing: 4px;

  font-size: .82rem;

  text-transform: uppercase;
}

/* ==========================================================
                    SERVICE ITEMS
========================================================== */

.service-item {

  padding: 1.7rem 0;

  border-bottom:
    1px solid rgb(255 255 255 /.08);
}

.service-item:last-child {

  border: none;
}

.service-item h3 {

  margin-bottom: .8rem;

  font-family: var(--heading);

  color: var(--white);

  font-size: 1.65rem;
}

.service-item p {

  color: var(--muted);

  line-height: 1.8;
}

/* ==========================================================
                    HERO STATS
========================================================== */

.hero-stats {

  margin-top: 2rem;

  display: grid;

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

  gap: 1rem;
}

.stat {

  padding: 1.5rem;

  text-align: center;

  border-radius: 18px;

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

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

  transition: var(--transition);
}

.stat:hover {

  transform: translateY(-6px);

  border-color:
    rgba(194, 155, 56, .30);

  box-shadow:
    0 18px 35px rgba(194, 155, 56, .18);
}

.stat h2 {

  margin-bottom: .45rem;

  font-family: var(--heading);

  font-size: 2.6rem;

  color: var(--gold);
}

.stat span {

  color: var(--muted);

  font-size: .78rem;

  text-transform: uppercase;

  letter-spacing: 2px;
}

/* ==========================================================
                    SCROLL INDICATOR
========================================================== */

.scroll-indicator {

  position: absolute;

  left: 50%;

  bottom: 10px;

  transform: translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 16px;

  z-index: 10;
}

.scroll-indicator span {

  color: rgba(255, 255, 255, .65);

  font-size: .72rem;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.scroll-mouse {

  width: 32px;

  height: 56px;

  border-radius: 40px;

  border: 2px solid rgba(255, 255, 255, .35);

  position: relative;
}

.scroll-dot {

  position: absolute;

  left: 50%;

  top: 10px;

  transform: translateX(-50%);

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: var(--gold);

  animation: scrollDown 2s infinite;
}

/* ==========================================================
                    ANIMATIONS
========================================================== */

@keyframes scrollDown {

  0% {

    opacity: 0;

    top: 10px;
  }

  30% {

    opacity: 1;
  }

  100% {

    opacity: 0;

    top: 32px;
  }
}


/*==========================================================
                INDUSTRIES WE SERVE
==========================================================*/

.industries {
  position: relative;
  padding: clamp(6rem, 8vw, 8rem) 0;
  background: linear-gradient(180deg,
      #101010 0%,
      #151515 50%,
      #101010 100%);
  overflow: hidden;
}

.industries::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right,
      rgba(194, 155, 56, .08),
      transparent 45%);

  pointer-events: none;
}

.industries::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .05);
}

/*==========================================================
                    HEADING
==========================================================*/

.industries .section-heading {
  max-width: 760px;
  margin: 0 auto 5rem;
  text-align: center;
}

.industries .section-label {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--gold);

  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .82rem;
  font-weight: 600;
}

.industries .section-heading h2 {

  font-family: var(--heading);

  font-size: clamp(2.8rem, 5vw, 4.6rem);

  color: var(--white);

  line-height: 1.1;

  margin-bottom: 22px;

}

.industries .section-heading p {

  max-width: 700px;

  margin: auto;

  color: var(--muted);

  line-height: 1.9;

  font-size: 1rem;

}

/*==========================================================
                    GRID
==========================================================*/

.industries-grid {

  display: grid;

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

  gap: 2rem;

}

/*==========================================================
                    CARD
==========================================================*/

.industry-card {

  position: relative;

  overflow: hidden;

  padding: 2.8rem;

  border-radius: 28px;

  background: linear-gradient(180deg,
      rgba(255, 255, 255, .06),
      rgba(255, 255, 255, .03));

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

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, .22),
    inset 0 1px rgba(255, 255, 255, .04);

  transition: var(--transition);

}

/* Gold line */

.industry-card::before {

  content: "";

  position: absolute;

  left: 50%;
  top: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg,
      transparent,
      var(--gold),
      transparent);

  transform: translateX(-50%) scaleX(0);

  transition: .45s ease;

}

/* Watermark */

.industry-card::after {

  content: "⚙";

  position: absolute;

  right: -10px;
  bottom: -35px;

  font-size: 9rem;

  color: #fff;

  opacity: .03;

  pointer-events: none;

}

.industry-card:hover {

  transform: translateY(-12px);

  border-color: rgba(194, 155, 56, .35);

  box-shadow:
    0 30px 70px rgba(0, 0, 0, .35),
    0 0 40px rgba(194, 155, 56, .08);

}

.industry-card:hover::before {

  transform: translateX(-50%) scaleX(1);

}

/*==========================================================
                    ICON
==========================================================*/

.industry-icon {

  width: 78px;
  height: 78px;

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

  margin-bottom: 2rem;

  border-radius: 50%;

  background: linear-gradient(145deg,
      rgba(194, 155, 56, .18),
      rgba(194, 155, 56, .08));

  border: 1px solid rgba(194, 155, 56, .25);

  color: var(--gold);

  font-size: 2rem;

  transition: var(--transition);

}

.industry-card:hover .industry-icon {

  background: var(--gold);

  color: var(--black);

  transform: rotate(-8deg) scale(1.08);

}

/*==========================================================
                    TEXT
==========================================================*/

.industry-card h3 {

  font-family: var(--heading);

  font-size: 1.8rem;

  color: var(--white);

  margin-bottom: 1rem;

}

.industry-card p {

  color: var(--muted);

  line-height: 1.9;

  font-size: .97rem;

}
/* ========================================================================== */
/*                        FEATURED PORTFOLIO PREVIEW                           */
/* ========================================================================== */

.sk-home-portfolio {
  position: relative;
  overflow: hidden;

  padding: 90px 0;

  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);

  background: var(--black);
}

/* ========================================================================== */
/*                              SECTION HEADER                                */
/* ========================================================================== */

.sk-home-heading {
  max-width: 800px;
  margin: 0 auto 90px;

  text-align: center;
}

.sk-home-heading h2 {
  margin: 15px 0 20px;

  font-family: var(--heading);
  font-size: 3.5rem;
  line-height: 1.15;

  color: var(--white);
}

.sk-home-heading p {
  color: rgb(255 255 255 / 70%);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ========================================================================== */
/*                               PROJECT GRID                                 */
/* ========================================================================== */

.sk-home-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* ========================================================================== */
/*                               PROJECT CARD                                 */
/* ========================================================================== */

.sk-proj-card {
  position: relative;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;

  padding: 40px;

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

  background: rgb(255 255 255 / 2%);

  transition: border-color var(--transition);
}

.sk-proj-card:hover {
  border-color: var(--gold);
}

.sk-proj-card.reverse {
  grid-template-columns: 1fr 1.2fr;
}

/* ========================================================================== */
/*                               PROJECT IMAGE                                */
/* ========================================================================== */

.sk-proj-image {
  position: relative;
  overflow: hidden;

  height: 440px;

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

  background: var(--charcoal);
}

.sk-proj-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(15%);

  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.4s ease;
}

.sk-proj-card:hover .sk-proj-image img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.sk-proj-card.reverse .sk-proj-image {
  order: 2;
}

.sk-proj-card.reverse .sk-proj-content {
  order: 1;
}

/* ========================================================================== */
/*                               PROJECT BADGE                                */
/* ========================================================================== */

.sk-proj-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;

  padding: 8px 18px;

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

  background: var(--black);

  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================================================== */
/*                              PROJECT CONTENT                               */
/* ========================================================================== */

.sk-proj-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sk-proj-number {
  margin-bottom: 10px;

  font-family: "Times New Roman", Times, serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;

  color: var(--gold);
}

.sk-proj-content h3 {
  margin-bottom: 20px;

  font-family: var(--heading);
  font-size: 2.3rem;
  line-height: 1.2;

  color: var(--white);
}

.sk-proj-content p {
  margin-bottom: 25px;

  color: rgb(255 255 255 / 75%);
  font-size: 1rem;
  line-height: 1.8;
}

/* ========================================================================== */
/*                               FEATURE LIST                                 */
/* ========================================================================== */

.sk-proj-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;

  margin: 0 0 35px;
  padding: 0;

  list-style: none;
}

.sk-proj-features li {
  color: rgb(255 255 255 / 85%);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================================================== */
/*                                CTA AREA                                    */
/* ========================================================================== */

.sk-home-cta-wrapper {
  margin-top: 90px;

  text-align: center;
}

/* Scroll Animation Hooks (Interpreted via shared.js IntersectionObserver) */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transition 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================
                    RESPONSIVE STYLES
========================================================== */

/* =================-----------------------------------------
                   MAX-WIDTH: 1200px
---------------------------------------------------------- */
@media (width <= 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-card {
    max-width: 720px;
    margin: 0 auto;
  }

  .sk-home-grid {
    gap: 80px;
  }

  .sk-proj-card,
  .sk-proj-card.reverse {
    gap: 40px;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

/* =================-----------------------------------------
                   MAX-WIDTH: 1000px
---------------------------------------------------------- */
@media (width <= 1000px) {
  .hero-content h1 {
    font-size: clamp(3.4rem, 6vw, 4.8rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-card {
    padding: 2.5rem;
  }

  .sk-home-heading {
    margin-bottom: 70px;
  }

  .sk-home-heading h2 {
    font-size: 2.8rem;
  }

  .sk-proj-card,
  .sk-proj-card.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sk-proj-image,
  .sk-proj-card.reverse .sk-proj-image,
  .sk-proj-card.reverse .sk-proj-content {
    order: initial;
  }

  .sk-proj-image {
    height: 360px;
  }
}

/* ========================================================================== */
/* RESPONSIVE - 768px                               */
/* ========================================================================== */

@media (width <= 768px) {

  /* ======================================================================== */
  /* HERO                                     */
  /* ======================================================================== */

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;

    text-align: center;
  }

  .hero-container {
    width: min(92%, 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-tag {
    justify-content: center;

    font-size: 0.72rem;
    letter-spacing: 3px;
  }

  .hero-tag::before,
  .hero-tag::after {
    width: 32px;
  }

  .hero-content h1 {
    margin: 1.4rem 0;

    font-size: 2.8rem;
    line-height: 1.12;
  }

  .hero-content p {
    max-width: 100%;
    margin: 0 auto 2rem;

    font-size: 0.96rem;
    line-height: 1.85;
  }

  /* ======================================================================== */
  /* HERO BUTTONS                                */
  /* ======================================================================== */

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;

    width: 100%;
    margin-top: 2rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-primarys,
  .hero-buttons .btn-secondary {
    justify-content: center;

    width: 100%;
    max-width: 100%;

    padding: 15px 24px;

    font-size: 0.82rem;
    letter-spacing: 1.5px;
  }

  /* ======================================================================== */
  /* HERO CARD                                  */
  /* ======================================================================== */

  .hero-card {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;

    border-radius: 24px;
  }

  .card-title {
    margin-bottom: 1.5rem;

    font-size: 0.72rem;
    letter-spacing: 3px;
  }

  .service-item {
    padding: 1.3rem 0;
  }

  .service-item h3 {
    font-size: 1.4rem;
  }

  .service-item p {
    font-size: 0.92rem;
  }

  /* ======================================================================== */
  /* HERO STATS                                 */
  /* ======================================================================== */

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat {
    width: 100%;
    padding: 1.3rem;
  }

  .stat h2 {
    font-size: 2rem;
  }

  .stat span {
    font-size: 0.72rem;
  }

  .scroll-indicator,
  .hero-line,
  .hero-circle,
  .hero-glow {
    display: none;
  }

  /* ======================================================================== */
  /* INDUSTRIES WE EMPOWER                            */
  /* ======================================================================== */

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .industry-card {
    padding: 2rem;
  }

  .industries .section-heading {
    margin: 0 auto 3.5rem;
    padding: 0 1rem;
  }

  .industries .section-heading h2 {
    font-size: clamp(2.2rem, 7vw, 2.8rem);
  }

  /* ======================================================================== */
  /* FEATURED PORTFOLIO                               */
  /* ======================================================================== */

  .sk-home-portfolio {
    padding: 60px 0;
  }

  .sk-home-heading {
    margin: 0 auto 40px;
    padding: 0 1rem;
    max-width: 100%;
  }

  .sk-home-heading h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.2;
    margin: 10px 0 15px;
  }

  .sk-home-heading p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .sk-home-grid {
    gap: 40px;
  }

  .sk-proj-card,
  .sk-proj-card.reverse {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px;
    width: 100%;
    min-width: 0;
  }

  .sk-proj-card.reverse .sk-proj-image,
  .sk-proj-card.reverse .sk-proj-content,
  .sk-proj-image {
    order: initial;
  }

  .sk-proj-image {
    height: 240px;
    width: 100%;
  }

  .sk-proj-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sk-proj-badge {
    top: 15px;
    left: 15px;

    padding: 6px 14px;

    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .sk-proj-content {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sk-proj-number {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .sk-proj-content h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .sk-proj-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .sk-proj-features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 20px;
  }

  .sk-proj-features li {
    font-size: 0.85rem;
  }

  .sk-proj-card .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .sk-home-cta-wrapper {
    margin-top: 40px;
    padding: 0 1rem;
  }

  .sk-home-cta-wrapper .btn-secondary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 16px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
  }

  /* ======================================================================== */
  /* FOOTER                                    */
  /* ======================================================================== */

  .footer {
    padding: 90px 0 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-logo {
    justify-content: center;

    text-align: center;
  }

  .footer-desc,
  .footer-col {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* =================-----------------------------------------
                   MAX-WIDTH: 480px
---------------------------------------------------------- */
@media (width <= 480px) {
  /* --- Hero --- */
  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.15;
  }

  .hero-tag {
    font-size: 0.68rem;
    letter-spacing: 2px;
  }

  .hero-tag::before,
  .hero-tag::after {
    width: 24px;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .service-item h3 {
    font-size: 1.2rem;
  }

  .service-item p {
    font-size: 0.88rem;
  }

  .stat {
    padding: 1.2rem;
  }

  .stat h2 {
    font-size: 1.8rem;
  }

  .stat span {
    font-size: 0.68rem;
  }

  /* --- Portfolio --- */
  .sk-home-portfolio {
    padding: 70px 0;
  }

  .sk-home-heading {
    margin-bottom: 50px;
  }

  .sk-home-heading h2 {
    font-size: 1.75rem;
  }

  .sk-home-heading p {
    font-size: 0.9rem;
  }

  .sk-proj-card {
    padding: 20px;
  }

  .sk-proj-image {
    height: 220px;
  }

  .sk-proj-number {
    font-size: 1.5rem;
  }

  .sk-proj-content h3 {
    font-size: 1.35rem;
  }

  .sk-proj-content p {
    font-size: 0.9rem;
  }

  .sk-proj-features {
    gap: 8px;
  }

  .sk-proj-features li {
    font-size: 0.85rem;
  }

  .sk-home-cta-wrapper {
    margin-top: 40px;
  }

  /* --- Footer --- */
  .footer {
    padding: 70px 0 30px;
  }

  .footer-container {
    gap: 40px;
  }

  .footer-logo {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    width: 50px;
    height: 50px;
  }

  .footer-logo h3 {
    font-size: 1.3rem;
  }

  .footer-col h4 {
    font-size: 0.9rem;
  }

  .footer-desc,
  .footer-links a,
  .footer-col p {
    font-size: 0.9rem;
  }

  .footer-socials {
    gap: 12px;
  }

  .footer-socials a {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}