/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  --rich-black-fogra-29-1: hsl(215, 31%, 14%);
  --rich-black-fogra-29-2: hsl(230, 14%, 8%);
  --rich-black-fogra-39: hsl(158, 29%, 5%);
  --granite-gray: hsl(0, 0%, 40%);
  --go-green_50: hsla(145, 63%, 42%, 0.5);
  --go-green_8: hsla(145, 63%, 42%, 0.08);
  --go-green_5: hsla(145, 63%, 42%, 0.05);
  --light-gray: hsl(0, 0%, 80%);
  --mint-cream: hsl(160, 100%, 98%);
  --cultured: hsl(0, 0%, 93%);
  --go-green: hsl(145, 63%, 42%);
  --white: hsl(0, 0%, 100%);
  --jet: hsl(0, 0%, 18%);

  /**
   * typography
   */

  --ff-poppins: "Poppins", sans-serif;
  --ff-cuprum: "Cuprum", sans-serif;

  --fs-1: 4.5rem;
  --fs-2: 3.6rem;
  --fs-3: 3.5rem;
  --fs-4: 3.2rem;
  --fs-5: 2.5rem;
  --fs-6: 2.4rem;
  --fs-7: 2.2rem;
  --fs-8: 2rem;
  --fs-9: 1.8rem;
  --fs-10: 1.5rem;
  --fs-11: 1.4rem;
  --fs-12: 1.3rem;

  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --shadow-1: 3px 4px 30px hsla(0, 0%, 53%, 0.1);
  --shadow-2: 5px 3px 40px hsla(191, 100%, 17%, 0.1);

  /**
   * radius
   */

  --radius-5: 5px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/* --- Unique UI & Typography for Moonclipse Labs --- */

/* 1. Modern, unique font pairing */
:root {
  --font-heading: "Montserrat", "Poppins", Arial, sans-serif;
  --font-body: "Inter", "Open Sans", Arial, sans-serif;
  --deep-blue: #003366;
  --gold: #d4af37;
  --light-gray: #f5f7fa;
  --go-green: #1abc9c;
  --moon-purple: #6c63ff;
  --moon-gradient: linear-gradient(90deg, #003366 0%, #6c63ff 100%);
}

/* 2. Apply new fonts */
body {
  font-family: var(--font-body);
  color: #22223b;
  background: var(--light-gray);
  letter-spacing: 0.01em;
}

.h1,
.h2,
.h3,
.h2-sm,
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: 2.8rem;
  background: var(--moon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 0.5em;
}

.h2,
.footer,
.footer-text,
.footer-link,
.footer-bottom,
.footer-bottom-link,
.copyright,
.footer-list-title,
.footer .logo,
.newsletter-form,
.email-field,
.footer .form-btn {
  font-size: 1.25rem !important;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .footer,
  .footer-text,
  .footer-link,
  .footer-bottom,
  .footer-bottom-link,
  .copyright,
  .footer-list-title,
  .footer .logo,
  .newsletter-form,
  .email-field,
  .footer .form-btn {
    font-size: 1.35rem !important;
  }
}

.footer-list-title,
.footer .logo {
  font-size: 1.5rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.h3 {
  font-size: 1.25rem;
  color: var(--moon-purple);
  margin-bottom: 0.3em;
}

.section-subtitle {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.section-text {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5em;
  line-height: 1.7;
}

/* 3. Unique buttons */
.btn-primary {
  background: var(--moon-gradient);
  color: #fff;
  border-radius: 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85em 2.2em;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #6c63ff 0%, #003366 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.14);
}

.btn-outline {
  border: 2px solid var(--moon-purple);
  color: var(--moon-purple);
  background: transparent;
  border-radius: 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.7em 2em;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover,
.btn-outline:focus {
  background: var(--moon-purple);
  color: #fff;
}

/* 4. Card and section backgrounds */
.section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.04);
  margin-bottom: 48px;
  padding: 48px 0;
}

.project-card,
.service-card,
.features-card {
  border-radius: 18px;
  background: #f8f9fb;
  box-shadow: 0 2px 16px rgba(108, 99, 255, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 1.5em 1.2em 1.2em 1.2em;
}
.project-card:hover,
.service-card:hover,
.features-card:hover {
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.13);
  transform: translateY(-4px) scale(1.03);
}

/* 5. Project preview images */
.project-preview {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(108, 99, 255, 0.07);
  margin-bottom: 1em;
  background: #e9eafc;
  transition: box-shadow 0.2s;
}
.project-card:hover .project-preview {
  box-shadow: 0 6px 24px rgba(108, 99, 255, 0.13);
}

/* 6. Navbar and logo */
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--moon-purple);
  text-transform: uppercase;
  background: var(--moon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* 7. Section dividers (optional SVG wave) */
.section + .section {
  position: relative;
  margin-top: 0;
}
.section + .section::before {
  content: "";
  display: block;
  width: 100%;
  height: 48px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 80" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,40 C480,120 960,0 1440,40 L1440,80 L0,80 Z" fill="%23f5f7fa"/></svg>')
    no-repeat center/cover;
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 1;
}

/* 8. Inputs and forms */
.input-field,
.email-field {
  font-family: var(--font-body);
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  padding: 0.9em 1.1em;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}
.input-field:focus,
.email-field:focus {
  border-color: var(--moon-purple);
  outline: none;
}

/* 9. Footer */
.footer {
  background: linear-gradient(
    120deg,
    var(--deep-blue) 60%,
    var(--moon-purple) 100%
  );
  color: #fff;
  font-family: var(--font-body);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.08);
  padding-top: 48px;
  position: relative;
  overflow: hidden;
}

.footer-top .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer .logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
  text-fill-color: var(--gold);
  margin-bottom: 18px;
}

.footer-text {
  margin-block: 18px 28px;
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.newsletter-form {
  position: relative;
  max-width: 350px;
  margin-top: 18px;
}

.email-field {
  color: #22223b;
  font-size: 1rem;
  border: none;
  padding: 15px 18px;
  border-radius: 24px;
  width: 100%;
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.footer .form-btn {
  background: var(--moon-gradient);
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 18px;
  border-radius: 20px;
  border: none;
  transition: background 0.2s;
}
.footer .form-btn:hover {
  background: linear-gradient(90deg, #6c63ff 0%, #003366 100%);
}

.footer-list-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-link {
  margin-block-start: 12px;
  color: #e0e0e0;
  font-size: 1rem;
  transition: color 0.2s;
  display: block;
}
.footer-link:hover,
.footer-link:focus {
  color: var(--gold);
}

.footer-item,
.social-list {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-item {
  margin-block-start: 12px;
}

.footer-item > ion-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 20px;
  margin-block-start: 3px;
}

.contact-link {
  transition: color 0.2s;
}
.contact-link:not(.address):hover,
.contact-link:not(.address):focus {
  color: var(--moon-purple);
}

.social-list {
  gap: 12px;
  margin-top: 18px;
}
.social-link {
  font-size: 18px;
  border: 1.5px solid var(--gold);
  padding: 10px;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  transition: background 0.2s, color 0.2s, border 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link:hover,
.social-link:focus {
  background: var(--gold);
  color: var(--deep-blue);
  border-color: var(--gold);
}

.footer-bottom {
  padding-block: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.04);
}

.copyright {
  font-size: 1rem;
  text-align: center;
  margin-block-end: 10px;
  color: #e0e0e0;
}

.copyright-link {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: 1rem;
  color: #e0e0e0;
  transition: color 0.2s;
}
.footer-bottom-link:hover,
.footer-bottom-link:focus {
  color: var(--gold);
}

/* Decorative moon SVG in footer */
.footer::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: url('data:image/svg+xml;utf8,<svg width="220" height="220" viewBox="0 0 220 220" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="110" cy="110" r="110" fill="%23d4af37" fill-opacity="0.08"/><circle cx="110" cy="110" r="80" fill="%23fff" fill-opacity="0.04"/></svg>')
    no-repeat center/contain;
  z-index: 0;
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer {
    border-radius: 0 0 18px 18px;
    padding-top: 32px;
  }
}
@media (max-width: 600px) {
  .footer-top .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer {
    border-radius: 0 0 8px 8px;
    padding-top: 18px;
  }
}
/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

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

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--granite-gray);
  font-size: 1.6rem;
  line-height: 1.7;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.section {
  padding-block: var(--section-padding);
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.h1,
.h2,
.h3,
.h2-sm {
  color: var(--rich-black-fogra-29-1);
  font-family: var(--ff-cuprum);
}

.h1 {
  font-size: var(--fs-1);
  line-height: 1.1;
}

.h2 {
  font-size: var(--fs-2);
}

.h2,
.h3,
.h2-sm {
  line-height: 1.3;
}

.h2-sm {
  font-size: var(--fs-3);
}

.h3 {
  font-size: var(--fs-7);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.btn {
  font-weight: var(--fw-600);
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-5);
  max-width: max-content;
  transition: var(--transition-1);
}

.btn-primary {
  background-color: var(--go-green);
  color: var(--white);
}

.btn-primary:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29-1);
}

.flex-btn {
  display: flex;
  align-items: center;
  gap: 20px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

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

.w-100 {
  width: 100%;
}

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

.section-subtitle {
  color: var(--go-green);
  font-weight: var(--fw-500);
}

.grid-list {
  display: grid;
  gap: 20px;
}

.btn-link {
  color: var(--rich-black-fogra-29-1);
  font-size: var(--fs-12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: var(--transition-1);
}

.projects .grid-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.project-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-5);
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  transition: box-shadow 0.2s;
  height: 100%;
}
.project-card:hover {
  box-shadow: var(--shadow-2);
  text-decoration: none;
}
.project-title {
  color: var(--rich-black-fogra-29-1);
  margin-bottom: 8px;
}
.project-desc {
  color: var(--granite-gray);
  font-size: var(--fs-11);
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn-outline {
  display: none;
}

.header {
  padding-block: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}

.header.active {
  background-color: var(--white);
  box-shadow: var(--shadow-2);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--rich-black-fogra-29-1);
  font-family: var(--ff-cuprum);
  font-size: 33px;
  font-weight: var(--fw-500);
  line-height: 1;
}

.nav-open-btn {
  color: var(--rich-black-fogra-29-1);
  font-size: 35px;
}

.navbar {
  position: fixed;
  top: 0;
  left: -280px;
  max-width: 280px;
  width: 100%;
  height: 100%;
  background-color: var(--rich-black-fogra-39);
  color: var(--white);
  padding: 30px 20px;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
  z-index: 4;
}

.navbar.active {
  visibility: visible;
  transform: translateX(280px);
  transition-duration: 0.5s;
}

.navbar .logo,
.nav-close-btn {
  color: var(--white);
}

.navbar .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 25px;
}

.nav-close-btn {
  font-size: 30px;
}

.navbar-link {
  padding-block: 10px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--go-green);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: hsla(0, 0%, 100%, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
  z-index: 3;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-color: var(--mint-cream);
  padding-block-start: calc(var(--section-padding) + 50px);
  text-align: center;
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 50px;
}

.hero-subtitle {
  color: var(--go-green);
  font-size: var(--fs-12);
  font-weight: var(--fw-500);
  max-width: max-content;
  margin-inline: auto;
  z-index: 0;
}

.hero-subtitle::before {
  top: 8px;
  left: -20px;
  width: 15px;
  height: 2px;
  background-color: var(--go-green);
}

.hero-title {
  margin-block: 10px 15px;
}

.hero-text {
  color: var(--rich-black-fogra-29-1);
}

.hero .btn-group {
  margin-block-start: 40px;
}

.hero .btn-icon {
  background-color: var(--go-green);
  color: var(--white);
  font-size: 20px;
  padding: 20px;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--go-green);
  }
  100% {
    box-shadow: 0 0 0 20px transparent;
  }
}

.hero .flex-btn .span {
  color: var(--go-green);
  font-size: var(--fs-9);
  font-weight: var(--fw-600);
}

.hero-banner,
.hero-banner > img {
  border-radius: 50%;
}

.hero-banner::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background-image: url("../images/hero-pattern.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .container {
  display: grid;
  gap: 30px;
}

.about-banner {
  filter: drop-shadow(2px 2px 5px hsla(0, 0%, 0%, 0.08));
}

.about .section-text {
  margin-block: 20px 13px;
}

.about-list {
  margin-block-end: 50px;
}

.about-list .has-before {
  font-family: var(--ff-cuprum);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  padding-inline-start: 20px;
  line-height: 1.5;
}

.about-list .has-before:not(:last-child) {
  margin-block-end: 15px;
}

.about-list .has-before::before {
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--go-green);
}

.about .btn-group {
  justify-content: flex-start;
}

.about .btn-group .flex-btn {
  gap: 10px;
}

.about .btn-icon ion-icon {
  color: var(--go-green);
  font-size: 40px;
}

.about .btn-group .span {
  color: var(--go-green);
  font-family: var(--ff-cuprum);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service .section-text {
  margin-block: 15px 50px;
}

.service .grid-list {
  margin-block-end: 50px;
}

.service-card {
  height: 100%;
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-1);
}

.service-card::after {
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--go-green);
  transition: var(--transition-2);
}

.service-card:is(:hover, :focus-within)::after {
  width: 100%;
}

.service-card .card-icon {
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 10px;
}

.service-card .img {
  transition: var(--transition-1);
}

.service-card:is(:hover, :focus-within) .img {
  transform: scale(1.1);
}

.service-card .card-text {
  margin-block: 5px 13px;
}

.service .btn {
  margin-inline: auto;
}

/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.features .section-text {
  margin-block: 15px 50px;
}

.features-card {
  position: relative;
  background-color: var(--white);
  padding: 25px;
  padding-block-start: 40px;
  margin-block-start: 24px;
  box-shadow: var(--shadow-1);
  transition: var(--transition-2);
}

.features-card:hover {
  background-color: var(--go-green);
}

.features-card .card-number {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  background-color: var(--cultured);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  padding-block: 5px;
  min-width: 50px;
  text-align: center;
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.features-card:hover .card-number {
  color: var(--go-green);
}

.features-card .card-title {
  font-size: var(--fs-6);
  margin-block-end: 5px;
}

.features-card :is(.card-title, .card-text) {
  transition: var(--transition-1);
}

.features-card:hover :is(.card-title, .card-text) {
  color: var(--white);
}

/*-----------------------------------*\
  #FAQ
\*-----------------------------------*/

.faq .container {
  display: grid;
  gap: 20px;
}

.faq .title-wrapper {
  background-color: var(--white);
  padding: 30px 25px;
  box-shadow: var(--shadow-1);
}

.faq .section-title {
  font-size: var(--fs-4);
  margin-block-end: 30px;
}

.faq-card {
  background-color: var(--go-green_5);
  border-radius: var(--radius-5);
  overflow: hidden;
}

.faq-card .card-action {
  --action-bg: var(--go-green_8);
  --color: var(--granite-gray);

  background-color: var(--action-bg);
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  gap: 20px;
  transition: var(--transition-1);
}

.faq-card .card-action:is(:hover, :focus, .active) {
  --action-bg: var(--go-green);
  --color: var(--white);
}

.faq-card .card-title {
  color: var(--color);
  font-size: var(--fs-8);
  transition: var(--transition-1);
}

.faq-card ion-icon {
  color: var(--color);
  font-size: 15px;
  transition: var(--transition-1);
  --ionicon-stroke-width: 60px;
}

.faq-card .card-action.active .open,
.faq-card .card-action .close {
  display: none;
}

.faq-card .card-action .open,
.faq-card .card-action.active .close {
  display: block;
}

.faq-card .card-content {
  font-size: var(--fs-10);
  padding-inline: 25px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-2);
}

.faq-card .card-content p {
  margin-block: 15px;
}

.faq-card .card-action.active + .card-content {
  max-height: 500px;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: linear-gradient(
    120deg,
    var(--deep-blue) 60%,
    var(--moon-purple) 100%
  );
  color: #fff;
  font-family: var(--font-body);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.08);
  padding-top: 48px;
  position: relative;
  overflow: hidden;
}

.footer-top .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer .logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
  text-fill-color: var(--gold);
  margin-bottom: 18px;
}

.footer-text {
  margin-block: 18px 28px;
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.newsletter-form {
  position: relative;
  max-width: 350px;
  margin-top: 18px;
}

.email-field {
  color: #22223b;
  font-size: 1rem;
  border: none;
  padding: 15px 18px;
  border-radius: 24px;
  width: 100%;
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.footer .form-btn {
  background: var(--moon-gradient);
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 18px;
  border-radius: 20px;
  border: none;
  transition: background 0.2s;
}
.footer .form-btn:hover {
  background: linear-gradient(90deg, #6c63ff 0%, #003366 100%);
}

.footer-list-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-link {
  margin-block-start: 12px;
  color: #e0e0e0;
  font-size: 1rem;
  transition: color 0.2s;
  display: block;
}
.footer-link:hover,
.footer-link:focus {
  color: var(--gold);
}

.footer-item,
.social-list {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-item {
  margin-block-start: 12px;
}

.footer-item > ion-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 20px;
  margin-block-start: 3px;
}

.contact-link {
  transition: color 0.2s;
}
.contact-link:not(.address):hover,
.contact-link:not(.address):focus {
  color: var(--moon-purple);
}

.social-list {
  gap: 12px;
  margin-top: 18px;
}
.social-link {
  font-size: 18px;
  border: 1.5px solid var(--gold);
  padding: 10px;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  transition: background 0.2s, color 0.2s, border 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link:hover,
.social-link:focus {
  background: var(--gold);
  color: var(--deep-blue);
  border-color: var(--gold);
}

.footer-bottom {
  padding-block: 18px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.04);
}

.copyright {
  font-size: 1rem;
  text-align: center;
  margin-block-end: 10px;
  color: #e0e0e0;
}

.copyright-link {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: 1rem;
  color: #e0e0e0;
  transition: color 0.2s;
}
.footer-bottom-link:hover,
.footer-bottom-link:focus {
  color: var(--gold);
}

/* Decorative moon SVG in footer */
.footer::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: url('data:image/svg+xml;utf8,<svg width="220" height="220" viewBox="0 0 220 220" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="110" cy="110" r="110" fill="%23d4af37" fill-opacity="0.08"/><circle cx="110" cy="110" r="80" fill="%23fff" fill-opacity="0.04"/></svg>')
    no-repeat center/contain;
  z-index: 0;
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer {
    border-radius: 0 0 18px 18px;
    padding-top: 32px;
  }
}
@media (max-width: 600px) {
  .footer-top .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer {
    border-radius: 0 0 8px 8px;
    padding-top: 18px;
  }
}

/*-----------------------------------*\
  #MEDIA QUERIES 
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5.4rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /**
   * HEADER
   */

  .header .container {
    max-width: unset;
  }

  /**
   * SERVICE
   */

  .service .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    text-align: left;
  }

  .service-card .card-icon {
    margin-inline: 0;
  }

  .service-card .btn-link {
    justify-content: flex-start;
  }
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 7rem;
    --fs-2: 4rem;
    --fs-4: 3.5rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .btn {
    padding: 16px 32px;
  }

  .section-text.text-center {
    max-width: 50ch;
    margin-inline: auto;
  }

  .btn-link {
    --fs-12: 1.4rem;
  }

  /**
   * HERO
   */

  .hero-subtitle {
    --fs-12: 1.4rem;
  }

  /**
   * FEATURES
   */

  .features .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }
}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

  /**
   * HEADER
   */

  .nav-open-btn,
  .navbar .wrapper,
  .overlay {
    display: none;
  }

  .header {
    padding: 20px;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    display: flex;
    gap: 40px;
  }

  .navbar-link {
    color: var(--rich-black-fogra-29-1);
    font-weight: var(--fw-500);
    padding-block: 0;
  }

  .header .btn-outline {
    display: block;
    color: var(--go-green);
    font-weight: var(--fw-600);
    text-transform: uppercase;
    border: 1px solid var(--go-green);
    padding: 7px 18px;
    transition: var(--transition-1);
  }

  .header .btn-outline:is(:hover, :focus) {
    background-color: var(--go-green);
    color: var(--white);
  }

  /**
   * HERO
   */

  .hero {
    text-align: left;
  }

  .hero .container {
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
  }

  .hero-subtitle {
    margin-inline: 25px 0;
  }

  .hero .btn-group {
    justify-content: flex-start;
  }

  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  /**
   * SERVICE
   */

  .service-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  /**
   * FEATURES
   */

  .features .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /**
   * FAQ
   */

  .faq .container {
    grid-template-columns: 0.48fr 1fr;
    align-items: flex-start;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }
}

/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 7.5rem;
    --fs-4: 3.8rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1140px;
  }

  .btn-link {
    --fs-12: 1.5rem;
  }

  /**
   * HERO
   */

  .hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
  }

  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 1fr 0.7fr;
  }

  /**
   * FAQ
   */

  .faq-card .card-action.active + .card-content {
    max-height: 200px;
  }
}
