/* =====================
   GLOBAL STYLES
   ===================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

.scroll-container {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

body {
  height: 100vh;
  color: white;
  overflow-y: scroll;
  font-family: sans-serif;
  background-color: #ffffff;
}

/* =====================
   BACKGROUND VIDEO
   ===================== */

.video-container {
  position: absolute;
  width: 100%;
  height: 110vh;
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.logo {
  width: clamp(250px, 14.5vw, 350px);
  height: auto;
}

.topbar {
  position: absolute;
  width: 100%;
  height: 12vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   CENTER BOX
   ===================== */

.center {
  height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  position: relative;
  border: 1px solid white;
  top: 8vh;
  width: clamp(0px, 70vw, 1650px);
  height: clamp(420px, 50vh, 750px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px
}

.box-container {
  width: fit-content;
}

/* Big text */
.box-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4.4vw, 5rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.17vw;
  margin-bottom: 20px;
}

/* Small text */
.box-subtitle {
  font-family: "Albert Sans", sans-serif;
  font-size: clamp(0.7rem, 1.2vw, 1.6rem);
  margin-bottom: 30px;
}

/* Button */
.box-button {
  position: relative;
  font-family: "Albert Sans", sans-serif;
  font-size: clamp(0.7rem, 1.3vw, 1.4rem);
  letter-spacing: 0.18vw;
  width: 100%;
  height: clamp(calc(0.7rem * 3.5), calc(1.3vw * 3.5), calc(1.4rem * 3.5));
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  color: white;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

.box-button .default-button,
.box-button .hover-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  white-space: nowrap;
}

.box-button .default-button {
  opacity: 1;
}

.box-button .hover-button {
  opacity: 0;
  letter-spacing: 0;
}

.box-button:hover .default-button {
  opacity: 0;
}

.box-button:hover .hover-button {
  opacity: 1;
}

.box-button {
  transition: box-shadow 0.3s ease;
}

.box-button:hover {
  box-shadow: inset 0 0 0 1px white;
}

/* Progressive Blur Effect */

.progressive-blur-container {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: clamp(0px, 70vw, 1650px);
  height: clamp(420px, 50vh, 750px);
  pointer-events: none;
}

.progressive-blur-container>.blur-filter {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.progressive-blur-container>.blur-filter:nth-child(1) {
  backdrop-filter: blur(1px);
  mask: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 40%);
}

.progressive-blur-container>.blur-filter:nth-child(2) {
  backdrop-filter: blur(1px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 50%);
}

.progressive-blur-container>.blur-filter:nth-child(3) {
  backdrop-filter: blur(2px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 60%);
}

.progressive-blur-container>.blur-filter:nth-child(4) {
  backdrop-filter: blur(4px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 70%);
}

.progressive-blur-container>.blur-filter:nth-child(5) {
  backdrop-filter: blur(8px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 90%);
}

.progressive-blur-container>.blur-filter:nth-child(6) {
  backdrop-filter: blur(16px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 1) 80%);
}

.progressive-blur-container>.blur-filter:nth-child(7) {
  z-index: 10;
  backdrop-filter: blur(32px);
  mask: linear-gradient(rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%)
}

/* Featured Section */
.featured-section {
  background-color: #ffffff;
  padding: 10% 6%;
  text-align: center;
  position: relative;
  top: 80px;
  margin-bottom: 7%;
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-label {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.26rem;
  color: #999;
  margin-bottom: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.featured-label::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: #999;
  margin: 15px auto 0;
}

.featured-title {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: 400;
}

.featured-description {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 80px;
  font-weight: 300;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 400;
}

.stat-label {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  color: #595959;
  text-transform: uppercase;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .featured-section {
    padding: 60px 20px;
  }

  .featured-title {
    font-size: 32px;
  }

  .featured-description {
    font-size: 14px;
    margin-bottom: 50px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-value {
    font-size: 56px;
  }
}

/* Footer */
.footer {
  background-color: #f5f3f0;
  padding: 80px 70px 70px;
  font-family: 'Albert Sans', sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  text-align: center;
  margin-bottom: 60px;
}

.footer-logo img {
  max-width: 300px;
  width: 100%;
  margin-bottom: 20px;
}

.footer-agent-info {
  font-size: 14px;
  color: #999;
  letter-spacing: 1px;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #d4d0c8;
}

.footer-contact h3,
.footer-office h3 {
  font-size: 11px;
  letter-spacing: 2px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-contact p,
.footer-office p {
  font-size: 15px;
  color: #666;
  margin-bottom: 8px;
}

.footer-contact a {
  font-size: 15px;
  color: #666;
  text-decoration: underline;
}

.footer-locations {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-locations span {
  font-size: 14px;
  color: #666;
  position: relative;
  padding-right: 20px;
}

.footer-locations span:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: 8px;
  color: #999;
}

.footer-social {
  gap: 20px;
  align-items: start;
  display: flex;
  flex-direction: row;
  padding-left: 150px;
}

.social-icon {
  width: 45px;
  height: 45px;
  margin-right: 30px;
  border: 1px solid #d4d0c8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #e8e5df;
}

.social-icon img {
  width: 20px;
  height: 20px;
}

.footer-dre {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.badge-logo {
  height: 60px;
  width: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid #d4d0c8;
  color: #b2b2b2;
}

.lp-logo {
  height: 40px;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo img {
    max-width: 150px;
  }

  .box-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    margin-bottom: 20px;
  }

  .box-button {
    font-size: clamp(0.9rem, 2vw, 1.6rem);
    padding: 20px 0;
  }

  .box {
    position: relative;
    border: 1px solid white;
    top: 5vh;
    width: clamp(0px, 70vw, 1800px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 50px
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 15px;
  }

  .footer-locations {
    justify-content: flex-start;
  }
}
