@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&display=swap");


:root {
  --primary-color: #2887ff;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --white: #ffffff;
}


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


body {
  font-family: "DM Sans", sans-serif;
}


img {
  max-width: 100%;
  display: block;
}


a {
  text-decoration: none;
}

ul {
  list-style: none;
}


.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}


nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9;
  background-color: var(--primary-color);
}

.nav__header {
  display: block;
  padding: 1rem;
  overflow: hidden;
}

.nav__logo {
  float: left;
}

.nav__logo .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  float: right;
}

.nav__links {
  width: 100%;
  padding: 2rem;
  background-color: var(--primary-color);
  display: none;
  clear: both;
}

.nav__links.open {
  display: block;
}

.nav__links li {
  padding: 10px 0;
  text-align: center;
}

.nav__links a {
  color: var(--white);
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btns {
  display: none;
}


header {
  margin-top: 5rem;
  padding: 1rem;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: calc(100% - 2rem);
  background-image: url(../../images/background6.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 30px;
  z-index: -1;
}

.header__container {
  overflow: hidden;
}

.header__content {
  padding: 4rem 1rem;
  text-align: center;
}

.header__content p {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 5.5rem;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.9);
}

.header__btns {
  text-align: center;
}

.header__btns .btn {
  padding: 1rem 2rem;
  margin: 5px;
  display: inline-block;
}

.header__btns a {
  padding: 12px 16px;
  font-size: 1.8rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-radius: 50%;
  display: inline-block;
  margin: 5px;
}

.header__btns a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.header__image {
  display: none;
}


@media (min-width: 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    overflow: hidden;
  }

  .nav__header {
    float: left;
    padding: 0;
    width: auto;
  }

  .nav__logo .logo {
    color: var(--text-dark);
    line-height: 40px;
    display: inline-block;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    display: inline-block;
    float: none;
    width: auto;
    padding: 0;
    margin-left: 100px;
    background-color: transparent;
    vertical-align: middle;
  }

  .nav__links li {
    display: inline-block;
    padding: 0;
    margin: 0 12px;
    vertical-align: middle;
  }

  .nav__links a {
    color: var(--text-dark);
    line-height: 40px;
    display: inline-block;
    padding: 0 5px;
    vertical-align: middle;
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__links li:last-child {
    display: none;
  }

  .nav__btns {
    display: inline-block;
    float: right;
    vertical-align: middle;
  }

  .nav__btns .btn {
    vertical-align: middle;
  }

  header {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .header__container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .header__content {
    float: left;
    width: 45%;
    padding: 8rem 1rem 8rem 2rem;
    text-align: left;
  }

  .header__content p,
  .header__content h1 {
    text-align: left;
  }

  .header__btns {
    text-align: left;
  }

  .header__image {
    display: block;
    float: right;
    width: 50%;
    height: 600px;
    position: relative;
  }

  .header__image img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .popular-section {
    padding: 60px 100px;
}

.popular-section h2 {
    font-size: 38px;
    margin: 0;
}

.sub-text {
    color: gray;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    gap: 25px;
}

.card {
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
    transition: .3s;
    padding-bottom: 20px;
}

.card img {
    width: 100%;
    height: 220px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.card h3 {
    font-size: 18px;
    padding: 15px;
    margin: 0;
}

.rating {
    background: #3b82f6;
    color: white;
    width: fit-content;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 20px;
    margin-left: 15px;
}

.location {
    color: gray;
    padding-left: 15px;
    font-size: 14px;
    margin-top: 6px;
}

.col-3 {
    float: left;
    width: 30%;
    margin: 0 1.5%;
}

.feature-box {
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    min-height: 200px;
    transition: all 0.3s ease;
}

.feature-box p {
    display: none;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: white;
    color: #2e86de;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-box:hover {
    background-color: #2e86de;
    color: white;
    box-shadow: 0 10px 20px #ccc;
    padding-bottom: 40px;
}

.feature-box:hover p {
    display: block;
}

.feature-box:hover .icon-circle {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.clear {
    clear: both;
}
}
/* ================= IGNITE SECTION ================= */

.ignite-section {
  width: 100%;
  padding: 80px 0;
}

.ignite-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 85%;
  margin: auto;
}

.ignite-img img {
  width: 350px;
  border-radius: 8px;
}

.ignite-text {
  max-width: 550px;
}

.ignite-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ignite-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.ignite-btn {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}


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

.stats-section {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 70px 0;
  background: #fafafa;
}

.stat-box {
  background: white;
  padding: 35px 55px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.07);
}

.stat-box h3 {
  font-size: 40px;
  color: #1a73e8;
  margin-bottom: 5px;
}


/* ================= TEMPLE SECTION ================= */

.temple-section {
  text-align: center;
  padding: 90px 0;
}

.temple-section h2 {
  font-size: 28px;
  font-weight: 700;
}

.temple-sub {
  color: #555;
  margin-top: 10px;
}

.temple-boxes {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 50px;
}

.temple-card {
  width: 280px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.temple-card i {
  font-size: 34px;
  color: #1a73e8;
  margin-bottom: 15px;
}

.temple-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.temple-card p {
  color: #555;
  line-height: 1.6;
}


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

.footer {
  background: #f5f7fa;
  padding: 70px 0 30px;
  color: #444;
}

.footer-content {
  width: 85%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-about {
  width: 28%;
}

.footer-about p {
  margin: 15px 0;
  line-height: 1.6;
}

.social-icons i {
  font-size: 20px;
  margin-right: 12px;
  cursor: pointer;
}

.footer-links,
.footer-contact,
.footer-subscribe {
  width: 20%;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #444;
}

.footer-subscribe input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #aaa;
  border-radius: 6px;
}

.footer-subscribe button {
  width: 100%;
  padding: 10px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  color: #666;
  font-size: 14px;
}
/* ================= GENERAL RESPONSIVE FIXES ================= */
@media (max-width: 992px) {

  /* ========== HEADER ========== */
  .header__content h1 {
    font-size: 3rem;
    line-height: 3.8rem;
  }

  .header__content {
    padding: 3rem 1rem;
  }

  .header__image {
    display: none;
  }

  /* ========== POPULAR CARDS ========== */
  .cards-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  /* ========== FEATURES ========== */
  .col-3 {
    width: 100%;
    float: none;
    margin: 10px 0;
  }

  .feature-box {
    min-height: auto;
  }

  /* ========== IGNITE SECTION ========== */
  .ignite-content {
    flex-direction: column;
    text-align: center;
  }

  .ignite-text {
    max-width: 100%;
  }

  .ignite-img img {
    width: 100%;
  }

  /* ========== STATS SECTION ========== */
  .stats-section {
    flex-direction: column;
    gap: 20px;
  }

  .stat-box {
    width: 90%;
    margin: auto;
  }

  /* ========== TEMPLE SECTION ========== */
  .temple-boxes {
    flex-direction: column;
    gap: 25px;
  }

  .temple-card {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 35px;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-subscribe {
    width: 100%;
  }

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


@media (max-width: 600px) {

  .header__content h1 {
    font-size: 2.3rem;
    line-height: 3rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .popular-section {
    padding: 40px 20px;
  }

  .cards-container {
    gap: 15px;
  }

  .ignite-text h2 {
    font-size: 22px;
  }

  .temple-card {
    padding: 25px 20px;
  }

  .footer {
    padding: 50px 0 25px;
  }
}
