@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");


:root {
  --primary: #CB3249;
  --secoundary: #253c29;
  --background: #ffffff;
  --text: #000000;
  --card-bg: #fbfbfb;
  --border-color: lightgray;
  --input-bg: #fff;
}

body.dark-mode {
  --primary: #ff5e78;
  --secoundary: #ffffff;
  --background: #121212;
  --text: #e0e0e0;
  --card-bg: #1e1e1e;
  --border-color: #333;
  --input-bg: #2a2a2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', Arial, Helvetica, sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--text);
}

[class*="grid"] {
  display: grid;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  -webkit-text-size-adjust: 100%;
  background: var(--background);
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
}

img,
video {
  max-width: 100%;
}

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

button {
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--primary);
  color: white;
  text-transform: uppercase;
  border-radius: 5rem;
  font-weight: 600;
  letter-spacing: 1.8px;
}

section {
  padding: 8rem 0;
}

/* header section */
header {
  height: 8rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: var(--background);
  box-shadow: var(--border-color) 0px 8px 24px;
}

.logo img {
  height: 4rem;
}

header .container {
  height: 100%;
  max-width: 100%;
  padding: 0 5rem;
}

header .container,
.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.menu {
  font-size: 3rem;
  display: none;
}

/* header section end */

main {
  background: linear-gradient(#ffffff5b, #ffffff),
    url(../images/bride-groom-their-wedding-ceremony.jpg);
  height: 100%;
  margin-top: 8rem;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin-bottom: 1rem;
}

body.dark-mode main {
  background: linear-gradient(rgba(18,18,18,0.85), rgba(18,18,18,0.7)),
    url(../images/bride-groom-their-wedding-ceremony.jpg);
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
}



main .content h1 {
  font-size: 5rem;
  text-transform: capitalize;
  font-weight: 600;
  line-height: 1.2;
}

main .content h2 {
  font-size: 1.8rem;
  font-weight: 500;
}

main .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.item {
  padding: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  background-color: var(--card-bg);
  color: var(--text);
  padding: 15px 20px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.ico {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  text-align: center;
}

.ico svg {
  fill: white;
}

.text-content h3 {
  margin: 0 0 5px 0;
}

.text-content p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  main .container {
    grid-template-columns: 1fr;
  }
}

main .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 80rem;
  width: 100%;
  margin: auto;
  gap: 1.5rem;
}

.title {
  text-align: center;
  margin-bottom: 5rem;
}

.title h2 {
  font-size: 4.5rem;
}

.wraper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.card {
  width: 100%;
  margin: 1px;
  background: var(--card-bg);
  box-shadow: var(--border-color) 0px 8px 24px;
  position: relative;
  border-radius: 2rem;
  transition: 0.3s;
  border: 1px solid transparent;
}

.card.tab {
  border-color: transparent;
}

.card.tab:hover,
.card:hover,
.card.tab.active {
  box-shadow: unset;
  z-index: 1;
  transform: translateY(-1rem);
  border-color: var(--border-color);
}

.card h3 {
  font-size: 2rem;
  font-weight: 600;
}

.ico svg {
  height: 3rem;
  width: unset;
}

.ico {
  width: 3rem;
  padding: 2px;
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
}

.card .ico svg,
.card .ico svg path {
  fill: white;
}

.card {
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tab {
  border: 1px solid var(--primary);
  background: none;
  color: var(--text);
}

.tab.active {
  background: var(--primary);
  color: white;
}

.list p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

.tab-contents {
  margin-top: 3rem;
}

.frame {
  overflow: hidden;
  border-radius: 2rem;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin-bottom: -0.5rem;
}

.content h3 {
  font-size: 2.3rem;
  font-weight: 600;
}

.list p svg {
  height: 2rem;
}

.list {
  display: grid;
  gap: 1.5rem;
}

.content {
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-top: 3rem;
}

.list a {
  color: var(--primary);
  font-size: 1.8rem;
  text-align: center;
  font-weight: 600;
}

.tab-content {
  display: none;
}

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

footer p {
  text-align: center;
  font-size: 1.6rem;
  padding: 3rem 0;
}

/* Stats Section */
.stat {
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
}

.stat-content {
  display: grid;
  gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  padding-left: 15px;
  padding-right: 15px;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.stat-header i {
  font-size: 5rem;
}

.stat-header input {
  padding: 0.5rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1.6rem;
  width: 30%;
}

.stat-header input:focus {
  border-color: var(--primary);
}

.stat-header button {
  padding: 0.5rem 1rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.6rem;
  background: var(--primary);
}

.stat-content-heading {
  font-size: xx-large;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.stat-content-description {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: gray;
}

.stat-content-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.stat-content-table-heading {
  font-size: large;
  margin-bottom: 5px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
}

.stat-content-table th {
  background-color: var(--primary);
  border: 1px solid var(--border-color);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: large;
}

.stat-content-table td {
  border: 1px solid var(--border-color);
  padding: 10px;
  text-align: center;
  font-size: medium;
}

.stat-not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  font-size: medium;
}

/* Utilities */
.flex {
  display: flex;
}

.space-x-2 {
  gap: 0.5rem;
}

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

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

.wrap {
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  html {
    font-size: 45%;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 50%;
  }

  main .content h1,
  .title h2 {
    font-size: 2.5rem;
  }

  .stat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  html {
    font-size: 60%;
  }

  header .container {
    padding: 0 1.5rem;
    align-items: center;
    height: 100%;
  }

  .menu {
    display: block;
  }

  main {
    height: 100%;
    padding: 10rem 0;
  }

  header .links {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: calc(100vh - 8rem);
    position: fixed;
    top: 8rem;
    background: var(--background);
    backdrop-filter: blur(15px);
    width: 100%;
    padding: 5rem 0;
    left: 0px;
    transition: all 0.3s ease 0s;
    transform: translateX(100%);
  }

  .active {
    transform: translateX(0%) !important;
  }

  header .links a {
    color: var(--text);
  }

  section {
    padding: 5rem 0;
    overflow: hidden;
  }

  [class*="grid"] {
    grid-template-columns: 1fr !important;
  }

  .fix {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  main .content h1,
  .title h2 {
    font-size: 3rem;
  }

  button.tab {
    padding: 0.5rem 1.5rem;
  }

  .content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }

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

  .stat {
    grid-template-columns: 1fr;
  }
}
