/* Anadea-inspired Dark Theme Styles */

/* ============================================
   Global Dark Theme Overrides
   ============================================ */

html {
  overflow-x: hidden;
  /* background-color: #ffffff; */
}

body {
  background-color: #111;
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Headings - White text */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

/* Paragraphs - Light gray text */
p {
  color: #b0b0b0 !important;
}

/* Links */
a {
  color: #ffffff;
}

a:hover {
  color: #dc296c;
} 

/* ============================================
   Header Styles - Dark Theme
   ============================================ */

.transparent-header {
  background-color: #1c1d21 !important;
  /* backdrop-filter: blur(10px); */
}

.header-navigation {
  min-height: 74px !important;
  display: flex !important;
  align-items: center !important;
}

.header-area-v1 .header-navigation {
  min-height: 74px !important;
}

.header-navigation .main-menu ul li > a {
  color: #ffffff !important;
  position: relative;
  transition: all 0.3s ease;
  padding: 25px 15px !important;
  line-height: 24px !important;
}

.header-navigation .main-menu ul li > a:hover,
.header-navigation .main-menu ul li > a.nav-link.active {
  color: #ffffff !important;
}

/* 添加下划线悬停效果 - 粉色细线 */
.header-navigation .main-menu ul li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #dc296c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header-navigation .main-menu ul li > a:hover::after,
.header-navigation .main-menu ul li > a.nav-link.active::after {
  width: 80%;
}

/* 子菜单优化 - 更现代的样式 */
.header-navigation .main-menu ul li .sub-menu {
  background-color: #1a1a1a !important;
  border: 1px solid #333333;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-navigation .main-menu ul li:hover .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.header-navigation .main-menu ul li .sub-menu li {
  margin: 0;
}

.header-navigation .main-menu ul li .sub-menu li a {
  color: #ffffff !important;
  border-bottom: none !important;
  padding: 12px 25px !important;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.header-navigation .main-menu ul li .sub-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  /* background: linear-gradient(90deg, #ff00ff, #ff66ff); */
  transition: width 0.3s ease;
}

.header-navigation .main-menu ul li .sub-menu li a:hover {
  background-color: rgba(255, 0, 255, 0.1) !important;
  color: #b41e56 !important;
  padding-left: 35px !important;
}

.header-navigation .main-menu ul li .sub-menu li a:hover::before {
  width: 5px;
}

/* 有子菜单的项添加箭头动画 */
.header-navigation .main-menu ul li.menu-item-has-children .menu-arrow {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.header-navigation .main-menu ul li.menu-item-has-children:hover .menu-arrow {
  transform: rotate(180deg);
  color: #dc296c;
}

.header-navigation .main-menu ul li.menu-item-has-children > a::before {
  display: none;
}

/* ============================================
   Rightbar Button - Text Style Pink
   ============================================ */

.nav-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 74px;
}

.nav-btn-text {
  display: inline-block;
  padding: 10px 20px;
  background-color: #dc296c;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.nav-btn-text:hover {
  background-color: #b41e56;
  color: #ffffff !important;
  transform: translateY(-2px);
  /* box-shadow: 0 4px 15px rgba(219, 41, 219, 0.4); */
}

.nav-btn-text:focus {
  outline: none;
  color: #ffffff !important;
}

/* 隐藏原来的图标按钮 */
.nav-tools .icon.off-menu {
  display: none !important;
}


/* 确保 header 不会遮挡 offcanvas */
.transparent-header {
  z-index: 999 !important;
}

.header-navigation {
  z-index: 999 !important;
}

.header-navigation.sticky {
  z-index: 999 !important;
}

/* 确保其他元素不会遮挡 offcanvas */
.preloader {
  z-index: 99998 !important;
}

.back-to-top {
  z-index: 99997 !important;
}

/* Offcanvas 面板必须比所有其他元素都高 */
.offcanvas-panel {
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  pointer-events: auto !important;
  transform: translateZ(0) !important; /* 强制创建新的层叠上下文 */
  will-change: transform !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 确保 offcanvas 打开时，其他元素不会拦截点击 */
body.panel-on * {
  pointer-events: none;
}

body.panel-on .offcanvas-panel,
body.panel-on .offcanvas-panel * {
  pointer-events: auto !important;
}

/* 如果 body 没有 panel-on 类，也确保 offcanvas 能显示 */
.offcanvas-panel.panel-on {
  pointer-events: auto !important;
}

.offcanvas-panel.panel-on * {
  pointer-events: auto !important;
}

/* 确保关闭按钮可以点击 */
.offcanvas-panel .panel-close {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1000001 !important;
  position: absolute !important;
  top: 20px !important;
  right: 40px !important;
}

/* 点击背景蒙层关闭抽屉 */
.offcanvas-panel.panel-on::before {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.offcanvas-panel .offcanvas-panel-inner {
  position: relative !important;
  max-width: 400px !important;
  height: 100% !important;
  background-color: #1c1d21 !important;
  padding: 40px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin-right: -400px !important;
  transition: all 0.3s ease-out 0s !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
}

/* 确保抽屉在最上层 */
body.panel-on {
  overflow: hidden;
}

.offcanvas-panel.panel-on {
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
}

.offcanvas-panel.panel-on .offcanvas-panel-inner {
  visibility: visible !important;
  opacity: 1 !important;
  margin-right: 0 !important;
  transform: translateX(0) !important;
}

/* 确保关闭按钮在最上层且可点击 */
.offcanvas-panel .panel-close {
  z-index: 1000001 !important;
  position: absolute !important;
  top: 20px !important;
  right: 40px !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  font-size: 25px !important;
  line-height: 1 !important;
  padding: 5px !important;
  color: #ffffff !important;
}

/* 确保 offcanvas-panel-inner 不会阻止点击事件传播 */
.offcanvas-panel .offcanvas-panel-inner {
  pointer-events: auto !important;
}

/* Offcanvas 抽屉内容样式 - 深色主题 */
.offcanvas-panel .offcanvas-panel-inner * {
  color: #ffffff !important;
}

.offcanvas-panel .offcanvas-panel-inner .panel-widget-title {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.offcanvas-panel .offcanvas-panel-inner p {
  color: #b0b0b0 !important;
}

.offcanvas-panel .offcanvas-panel-inner ul li {
  color: #b0b0b0 !important;
}

.offcanvas-panel .offcanvas-panel-inner a {
  color: #ffffff !important;
}

.offcanvas-panel .offcanvas-panel-inner a:hover {
  color: #b41e56 !important;
}

.offcanvas-panel .offcanvas-panel-inner .contact-us ul li i {
  background-color: #b41e56 !important;
  color: #ffffff !important;
}

/* ============================================
   Hero Section - Dark Theme
   ============================================ */

.hero-area-v1 {
  background-color: #000000;
}

.hero-area-v1 .hero-content span.span {
  color: #ffffff !important;
}

.hero-area-v1 .hero-content h1 {
  color: #ffffff !important;
}

.hero-area-v1 .hero-content p {
  color: #b0b0b0 !important;
}

/* CTA Area */
.cta-area {
  position: relative;
}

.cta-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%);
  z-index: 1;
}

/* .cta-area .container {
  position: relative;
  z-index: 2;
} */

.cta-content-box .section-title h1,
.cta-content-box .section-title h2,
.cta-content-box .section-title span.span {
  color: #ffffff !important;
}

/* ============================================
   Anadea-style Hero Section
   ============================================ */

.Section-content {
    margin: 0 auto;
    max-width: 1300px;
    padding-left: 70px;
    padding-right: 70px;
    position: relative;
    width: 100%;
}

.cta-area .container {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 70px !important;
  padding-right: 70px !important;
}

@media (max-width: 991px) {
  .cta-area .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
.Home-startSection {
    /* padding-bottom: 80px; */
    padding-top: 160px;
}

.Home-mainHeading {
  /* display: flex !important; */
  font-size: 120px;
  line-height: 120px;
}
.Home-mainHeading--part2 {
    position: relative;
    top: -36px;
}
/* @media (max-width: 991px) {
  .Home-mainHeading-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 40px;
  }
  
  .Home-mainHeading {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 100px 0 60px;
  }
}

@media (max-width: 767px) {
  .Home-mainHeading {
    padding: 80px 0 40px;
  }
} */

.u-position-relative {
  position: relative;
}

/* Typography Styles */
.Typography {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.Typography--white {
  color: #ffffff !important;
}

.Typography--cerise-red {
  color: #b41e56 !important;
}

.Home-mainHeading-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: nowrap;
}

.Home-mainHeading h1.Typography {
  font-size: 120px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: block;
  margin: 0;
  text-align: left;
  flex: 1 1 50%;
  max-width: 50%;
  width: auto;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
  .Home-mainHeading h1.Typography {
    font-size: 90px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .Home-mainHeading h1.Typography {
    font-size: 80px;
  }
}

@media (max-width: 991px) {
  .Home-mainHeading h1.Typography {
    font-size: 60px;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .Home-mainHeading h1.Typography {
    font-size: 40px;
  }
}

/* Right Side - Start Here */
/* .Home-mainHeading--part2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  margin-top: 0;
  flex: 1 1 50%;
  max-width: 50%;
  width: auto;
  justify-content: flex-start;
  box-sizing: border-box;
} */

/* @media (max-width: 991px) {
  .Home-mainHeading--part2 {
    align-items: flex-start;
  }
} */

.Typography--no-underline {
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

.Typography--no-underline:hover {
  opacity: 0.8;
}

.Home-mainHeading--part2 h2.Typography {
  font-size: 120px;
  font-weight: 400;
  line-height: 0.9;
  /* letter-spacing: -0.02em; */
  /* text-align: right; */
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
  .Home-mainHeading--part2 h2.Typography {
    font-size: 80px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .Home-mainHeading--part2 h2.Typography {
    font-size: 70px;
  }
}

@media (max-width: 991px) {
  .Home-mainHeading--part2 h2.Typography {
    font-size: 50px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .Home-mainHeading--part2 h2.Typography {
    font-size: 35px;
  }
}

.ContentGroup--fadeUp--active {
    opacity: 1;
    transform: none;
}

.Decor {
    position: relative
}

.Decor:after {
    content: "";
    position: absolute
}

.Decor-ellipse {
    padding-bottom: 46px
}

@media (max-width: 575.98px) {
    .Decor-ellipse {
        padding-bottom:30px
    }
}

/* .Decor-ellipse--show::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 60px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
} */
.Decor-ellipse--show:after {
    opacity: 1;
    transform: translateY(0);
    transition: all 5s;
}
.Decor-ellipse:after {
    background: url("data:image/svg+xml,%3csvg%20width='536'%20height='223'%20viewBox='0%200%20536%20223'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M526.813%2074.5972C527.928%2084.6475%20522.183%2095.0796%20510.594%20105.359C499.017%20115.628%20481.697%20125.662%20459.898%20134.902C416.306%20153.379%20354.915%20168.636%20286.061%20176.279C217.207%20183.922%20153.964%20182.5%20107.382%20174.032C84.0873%20169.798%2064.9881%20163.807%2051.4409%20156.327C37.8795%20148.839%2029.9866%20139.921%2028.871%20129.871C27.7554%20119.82%2033.5003%20109.388%2045.0895%2099.1084C56.6664%2088.8395%2073.9869%2078.8059%2095.7857%2069.566C139.377%2051.089%20200.768%2035.8318%20269.623%2028.1887C338.477%2020.5456%20401.719%2021.9681%20448.302%2030.4355C471.596%2034.6698%20490.696%2040.6607%20504.243%2048.1408C517.804%2055.6287%20525.697%2064.5469%20526.813%2074.5972Z'%20stroke='white'/%3e%3cpath%20d='M506.713%2092.9268C507.829%20102.977%20502.084%20113.409%20490.495%20123.689C478.918%20133.958%20461.597%20143.992%20439.798%20153.231C396.207%20171.708%20334.816%20186.966%20265.961%20194.609C197.107%20202.252%20133.865%20200.829%2087.2822%20192.362C63.9877%20188.128%2044.8885%20182.137%2031.3413%20174.657C17.7799%20167.169%209.88701%20158.25%208.7714%20148.2C7.65578%20138.15%2013.4007%20127.718%2024.9899%20117.438C36.5668%20107.169%2053.8872%2097.1354%2075.6861%2087.8956C119.278%2069.4186%20180.669%2054.1613%20249.523%2046.5183C318.377%2038.8752%20381.62%2040.2977%20428.202%2048.7651C451.497%2052.9994%20470.596%2058.9903%20484.143%2066.4704C497.705%2073.9583%20505.597%2082.8765%20506.713%2092.9268Z'%20stroke='white'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 100% 108%;
    height: 130%;
    left: -90px;
    opacity: 0;
    top: -40%;
    transform: translateY(20px);
    width: 190%
}
@media (max-width: 767.98px) {
    .Decor-ellipse:after {
        left:-50px
    }
}

.Decor-ellipse--show:after {
    opacity: 1;
    transform: translateY(0);
    transition: all 5s;
}

.Decor--ellipseForm:after {
    height: 135%;
    left: -35%;
    top: -48%;
    width: 190%
}

@media (max-width: 991.98px) {
    .Decor--ellipseForm:after {
        height:110%;
        left: -22%;
        top: -34%;
        width: 158%
    }
}

.Decor--ellipseTransparency:after {
    height: 180%;
    left: -18%;
    top: -70%;
    width: 130%
}

@media (max-width: 767.98px) {
    .Decor--ellipseTransparency:after {
        height:172%;
        left: -12%;
        width: 126%
    }
}

@media (max-width: 575.98px) {
    .Decor--ellipseTransparency:after {
        height:177%;
        width: 132%
    }
}

@media (max-width: 991px) {
  .Decor-ellipse--show::after {
    width: 100px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .Decor-ellipse--show::after {
    width: 80px;
    height: 40px;
  }
}

/* Dots */
.Home-dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #b41e56;
  /* border-radius: 50%; */
  margin-left: 8px;
  vertical-align: middle;
}

.Home-dot.u-opacity-7 {
  opacity: 0.7;
}

.Home-dot.u-opacity-3 {
  opacity: 0.3;
}

@media (max-width: 767px) {
  .Home-dot {
    width: 8px;
    height: 8px;
    margin-left: 6px;
  }
}

/* ============================================
   Features Section - Dark Theme
   ============================================ */

.features-area-v2 {
  background-color: #0a0a0a !important;
  position: relative;
}

.features-area-v2 .features-bg {
  opacity: 0.8 !important;
}

.features-area-v2 .features-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%); */
  z-index: 1;
}

.features-area-v2 .features-content-box {
  position: relative;
  z-index: 2;
}

.features-area-v2 .features-content-box h2,
.features-area-v2 .features-content-box h5 {
  color: #ffffff !important;
}

.features-area-v2 .features-content-box p {
  color: #b0b0b0 !important;
}

.features-area-v2 .icon-list li {
  color: #b0b0b0 !important;
}

.features-area-v2 .icon-list li:before {
  border-color: #dc296c !important;
  color: #dc296c !important;
}

.light-bg {
  background-color: #0a0a0a !important;
}

/* ============================================
   Portfolio Section - Dark Theme with Cards
   ============================================ */

.portfolio-area-v1 {
  background-color: #000000 !important;
}

.portfolio-area-v1 .section-title span.span,
.portfolio-area-v1 .section-title h2 {
  color: #ffffff !important;
}

.portfolio-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #333333;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 125, 165, 0.3);
  border-color: #007da5;
}

.portfolio-content {
  padding: 30px;
  background-color: #1a1a1a;
}

.portfolio-content .title {
  color: #ffffff !important;
  margin-bottom: 15px;
}

.portfolio-content .cat {
  color: #b0b0b0 !important;
}

/* ============================================
   Team/Development Cases Section - Dark Theme
   ============================================ */

.team-area-v1 {
  background-color: #1a1a1a !important;
}

.team-area-v1 .section-title span.span,
.team-area-v1 .section-title h2 {
  color: #ffffff !important;
}

.team-item {
  border-radius: 16px;
  margin: 0 8px 0 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(117, 38, 20, 0.3);
}

.team-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.team-content h4 {
  color: #ffffff !important;
}

.team-content .position {
  color: #b0b0b0 !important;
}

/* ============================================
   Blog/Technology Section - Dark Theme Cards
   ============================================ */

.blog-grid-v1 {
  background-color: #000000 !important;
}

.blog-grid-v1 .section-title span.span,
.blog-grid-v1 .section-title h2 {
  color: #ffffff !important;
}

.blog-post-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #333333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 125, 165, 0.3);
  border-color: #007da5;
}

.blog-post-item .post-thumbnail {
  overflow: hidden;
}

.blog-post-item .post-thumbnail img {
  transition: transform 0.3s ease;
  width: 100%;
}

.blog-post-item:hover .post-thumbnail img {
  transform: scale(1.05);
}

.blog-post-item .entry-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-item .entry-content .title {
  color: #ffffff !important;
  margin-bottom: 15px;
}

.blog-post-item .entry-content p {
  color: #b0b0b0 !important;
}

/* ============================================
   Sponsor Section - Dark Theme
   ============================================ */

.sponsor-area-v1 {
  background-color: #0a0a0a !important;
}

.sponsor-area-v1 .single-sponsor img {
  /* filter: brightness(0) invert(1); */
  /* opacity: 0.6; */
  transition: opacity 0.3s ease;
}

.sponsor-area-v1 .single-sponsor:hover img {
  opacity: 1;
}

/* ============================================
   Footer - Dark Theme
   ============================================ */

.footer-area-v1 {
  background-color: #000000 !important;
}

.footer-area-v1 * {
  color: #ffffff !important;
}

.footer-area-v1 a {
  color: #b0b0b0 !important;
}

.footer-area-v1 a:hover {
  color: #dc296c !important;
}

/* ============================================
   Buttons - Modern Style
   ============================================ */

.main-btn {
  background: linear-gradient(135deg, #dc296c 0%, #b41e56 100%);
  border: none;
  border-radius: 6px;
  /* box-shadow: 0 4px 15px rgba(219, 41, 219, 0.3); */
  transition: all 0.3s ease;
}

.main-btn:hover {
  background: linear-gradient(135deg, #dc296c 0%, #b41e56 100%);
  transform: translateY(-2px);
  /* box-shadow: 0 6px 20px rgba(219, 41, 219, 0.4); */
  color: #ffffff !important;
}

/* ============================================
   Section Titles - Modern Style
   ============================================ */

.section-title span.span {
  color: #ffffff !important;
}

.section-title span.span:before,
.section-title span.span:after {
  background-color: #dc296c !important;
}

.section-title h2 {
  color: #ffffff !important;
}

.section-title-white span.span,
.section-title-white h2 {
  color: #ffffff !important;
}

/* ============================================
   Preloader - Dark Theme
   ============================================ */

.preloader {
  background-color: #000000 !important;
}

/* .lds-ellipsis span {
  background: #007da5 !important;
} */

/* ============================================
   Back to Top Button
   ============================================ */

/* .back-to-top {
  background: linear-gradient(135deg, #007da5 0%, #005a7a 100%);
  box-shadow: 0 4px 15px rgba(0, 125, 165, 0.3);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0099cc 0%, #007da5 100%);
  box-shadow: 0 6px 20px rgba(0, 125, 165, 0.4);
} */

/* ============================================
   General Dark Backgrounds
   ============================================ */

.dark-bg {
  background-color: #000000 !important;
}

.hoiwa-bg {
  background-color: #0a0a0a !important;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 991px) {
  .portfolio-item,
  .blog-post-item,
  .team-item {
    margin-bottom: 30px;
  }
}

/* ============================================
   Additional Dark Theme Enhancements
   ============================================ */

/* Input fields */
.form_control {
  background-color: #1a1a1a !important;
  border-color: #333333 !important;
  color: #ffffff !important;
}

.form_control::placeholder {
  color: #666666 !important;
}

.form_control:focus {
  border-color: #007da5 !important;
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

/* Modal */
.modal-content {
  background-color: #1a1a1a !important;
  border-color: #333333 !important;
}

.modal-header {
  border-bottom-color: #333333 !important;
}

.modal-footer {
  border-top-color: #333333 !important;
}

/* Scrollbar styling for webkit browsers - 使用浏览器默认样式 */
/* ::-webkit-scrollbar {
  width: 10px;
} */

::-webkit-selection {
  background-color: #007da5;
  color: #ffffff;
}

::-moz-selection {
  background-color: #007da5;
  color: #ffffff;
}

::selection {
  background-color: #007da5;
  color: #ffffff;
}

/* ============================================
   Marquee Bar - Pink Gradient Animation
   ============================================ */

.marquee-bar {
  position: relative;
  width: 100%;
  height: 70px;
  background: linear-gradient(90.18deg, #f67aa1 23.83%, #e43494 50.16%, #7f1c99 102.83%);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
}

.marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
  flex-shrink: 0;
}

.marquee-item {
  color: #000000;
  font-size: 24px;
  /* font-weight: 600; */
  margin: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.marquee-item.active {
  font-weight: 700;
}

.marquee-item i {
  animation: rotate 2s linear infinite;
  font-size: 14px;
  color: #000000;
}

.marquee-dot {
  color: #000000;
  font-size: 34px;
  margin: 0 20px;
  font-weight: 900;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .marquee-bar {
    height: 50px;
  }
  
  .marquee-item {
    font-size: 14px;
    margin: 0 10px;
  }
}

/* ============================================
   Smooth Transitions
   ============================================ */

* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================
   StreetEasy Section
   ============================================ */

.streeteasy-section {
  position: relative;
  min-height: 800px;
  background-color: #000000;
  overflow: hidden;
}

.streeteasy-section .container-fluid {
  padding-left: 80px;
  padding-right: 0;
  padding-top: 60px;
  padding-bottom: 0;
}

.streeteasy-section .row {
  margin: 0;
  min-height: 800px;
}

.streeteasy-image-col {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 800px;
  height: 100%;
}

.streeteasy-bg {
  position: relative;
  width: 85%;
  max-width: 100%;
  height: 90%;
  max-height: 100%;
  min-height: 600px;
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.streeteasy-content-col {
  position: relative;
  background-color: #000000;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  height: 100%;
}

.streeteasy-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 800px;
  padding: 80px 60px 0 60px;
}

.streeteasy-content {
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
}

.streeteasy-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
}

.streeteasy-title-first-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
}

.streeteasy-title-second-line {
    margin-left: 80px;
}

.streeteasy-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.streeteasy-decor-line {
  width: 60px;
  height: 3px;
  background-color: #b41e56;
  flex-shrink: 0;
  margin: 0;
}

.streeteasy-title {
  color: #ffffff !important;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.02em;
}

.streeteasy-title:last-child {
  margin-bottom: 0;
}

.streeteasy-btn {
  display: inline-block;
  padding: 12px 40px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid #b41e56;
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin-left: 80px;
}

.streeteasy-btn:hover {
  background-color: #dc296c;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.streeteasy-marquee {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #000000;
  overflow: hidden;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  margin: 0;
  padding: 0;
  z-index: 10;
}

.streeteasy-marquee-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.streeteasy-marquee-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: streeteasy-marquee-scroll 30s linear infinite;
  will-change: transform;
  height: 100%;
  flex-shrink: 0;
}

.streeteasy-marquee-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  margin: 0 30px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  display: inline-block;
  white-space: nowrap;
}

@keyframes streeteasy-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media only screen and (min-width: 1400px) {
  .streeteasy-bg {
    width: 80%;
    height: 85%;
    min-height: 700px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .streeteasy-bg {
    width: 82%;
    height: 87%;
    min-height: 650px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .streeteasy-title {
    font-size: 40px;
  }
  
  .streeteasy-content-wrapper {
    padding: 60px 40px 0 40px;
  }
  
  .streeteasy-section .container-fluid {
    padding-left: 60px;
  }
  
  .streeteasy-image-col {
    padding-left: 30px;
  }
  
  .streeteasy-bg {
    width: 85%;
    height: 88%;
    min-height: 600px;
  }
}

@media (max-width: 991px) {
  .streeteasy-section {
    min-height: 700px;
  }
  
  .streeteasy-section .container-fluid {
    padding-left: 30px;
    padding-top: 40px;
  }
  
  .streeteasy-section .row {
    min-height: 700px;
  }
  
  .streeteasy-image-col {
    min-height: 350px;
    padding-left: 20px;
  }
  
  .streeteasy-bg {
    width: 90%;
    height: 85%;
    min-height: 500px;
    max-height: 600px;
  }
  
  .streeteasy-content-wrapper {
    min-height: 700px;
    padding: 60px 40px 0 40px;
  }
  
  .streeteasy-content {
    padding-left: 0;
  }
  
  .streeteasy-title {
    font-size: 32px;
  }
  
  .streeteasy-decor-line {
    width: 50px;
    height: 2px;
  }
  
  .streeteasy-title-first-line {
    gap: 15px;
  }
  
  .streeteasy-title-wrapper {
    gap: 0;
    margin-bottom: 30px;
  }
  
  .streeteasy-btn {
    margin-left: 65px;
  }
}

@media (max-width: 767px) {
  .streeteasy-section .container-fluid {
    padding-left: 20px;
    padding-top: 30px;
  }
  
  .streeteasy-section {
    min-height: auto;
  }
  
  .streeteasy-section .row {
    min-height: auto;
    flex-direction: column;
  }
  
  .streeteasy-image-col {
    padding-left: 10px;
    padding-right: 10px;
    min-height: 300px;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .streeteasy-bg {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 400px;
  }
  
  .streeteasy-content-col {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .streeteasy-title {
    font-size: 28px;
  }
  
  .streeteasy-decor-line {
    width: 40px;
    height: 2px;
  }
  
  .streeteasy-title-first-line {
    gap: 12px;
  }
  
  .streeteasy-title-wrapper {
    gap: 0;
    margin-bottom: 25px;
  }
  
  .streeteasy-btn {
    margin-left: 52px;
  }
  
  .streeteasy-content-wrapper {
    padding: 40px 20px 0 20px;
    min-height: auto;
  }
  
  .streeteasy-marquee {
    height: 40px;
    bottom: 15px;
  }
  
  .streeteasy-marquee-text {
    font-size: 14px;
    margin: 0 40px;
  }
}

/* ============================================
   Visdeal Section
   ============================================ */

.visdeal-section {
  position: relative;
  min-height: 800px;
  background-color: #144ebd;
  overflow: hidden;
}

.visdeal-section .container-fluid {
  padding: 80px 60px;
}

.visdeal-section .row {
  margin: 0;
  min-height: 500px;
}

.visdeal-content-col {
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
}

.visdeal-content-wrapper {
  width: 100%;
  padding: 40px 0;
}

.visdeal-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.visdeal-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.visdeal-title-first-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
}
.visdeal-title-second-line {
  margin-left: 80px;
}

.visdeal-decor-line {
  width: 60px;
  height: 3px;
  background-color: #b41e56;
  flex-shrink: 0;
  margin: 0;
}

.visdeal-title {
  color: #ffffff !important;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.02em;
}

.visdeal-btn {
  display: inline-block;
  padding: 12px 40px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid #b41e56;
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin-left: 80px;
}

.visdeal-btn:hover {
  background-color: #dc296c;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.visdeal-image-col {
  position: relative;
  padding: 0;
  min-height: 500px;
}

.visdeal-image-wrapper {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 0;
  padding-bottom: 0;
  z-index: 1;
}

.visdeal-img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

.visdeal-marquee {
  position: absolute;
  bottom: 200px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #dae7ff;
  overflow: hidden;
  transform: skewY(15deg);
  transform-origin: bottom left;
  z-index: 10;
  margin-top: -60px;
}

.visdeal-marquee-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-top: 25px;
  /* padding-bottom: 10px; */
}

.visdeal-marquee-content {
  display: inline-flex;
  align-items: flex-start;
  white-space: nowrap;
  animation: visdeal-marquee-scroll 30s linear infinite;
  will-change: transform;
  height: 100%;
  flex-shrink: 0;
}

.visdeal-marquee-text {
  color: #000000;
  font-size: 24px;
  font-weight: 600;
  margin: 0 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 2px;
  display: inline-block;
  white-space: nowrap;
  text-transform: lowercase;
  /* transform: rotate(17deg); */
}

@keyframes visdeal-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .visdeal-title {
    font-size: 52px;
  }
  
  .visdeal-section .container-fluid {
    padding: 60px 40px;
  }
  
  .visdeal-btn {
    margin-left: 65px;
  }
}

@media (max-width: 991px) {
  .visdeal-section {
    min-height: 500px;
  }
  
  .visdeal-section .container-fluid {
    padding: 40px 30px;
  }
  
  .visdeal-section .row {
    flex-direction: column;
    min-height: auto;
  }
  
  .visdeal-content-col {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .visdeal-image-col {
    width: 100%;
    min-height: 300px;
  }
  
  .visdeal-image-wrapper {
    bottom: 120px;
    padding-right: 0;
  }
  
  .visdeal-img {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
  }
  
  .visdeal-title {
    font-size: 40px;
  }
  
  .visdeal-btn {
    margin-left: 65px;
  }
  
  .visdeal-decor-line {
    width: 50px;
  }
  
  .visdeal-title-first-line {
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .visdeal-section .container-fluid {
    padding: 30px 20px;
  }
  
  .visdeal-title {
    font-size: 32px;
  }
  
  .visdeal-btn {
    margin-left: 52px;
  }
  
  .visdeal-decor-line {
    width: 40px;
  }
  
  .visdeal-title-first-line {
    gap: 12px;
  }
  
  .visdeal-marquee {
    height: 80px;
    margin-top: -40px;
    transform: skewY(-4deg);
  }
  
  /* .visdeal-marquee-wrapper {
    padding-top: 20px;
    padding-bottom: 5px;
  } */
  
  .visdeal-marquee-text {
    font-size: 18px;
    margin: 0 30px;
  }
  
  .visdeal-image-col {
    min-height: 250px;
  }
  
  .visdeal-image-wrapper {
    bottom: 100px;
    padding-right: 0;
  }
  
  .visdeal-img {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
  }
}

/* ============================================
   Quick Contact Button & Drawer
   ============================================ */

.quick-contact-button {
  position: fixed;
  left: 0;
  top: 50%;
  /* transform: translateY(-30%); */
  z-index: 999;
  background-color: #dc296c;
  padding: 12px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 0 10px rgba(220, 41, 108, 0.3);
  display: none;
}

.quick-contact-button:hover {
  background-color: #b41e56;
  /* transform: translateY(-50%) translateX(5px); */
  box-shadow: 2px 0 15px rgba(220, 41, 108, 0.5);
}

.quick-contact-text {
  color: #ffffff;
  font-size: 16px;
  /* font-weight: 600; */
  margin-top: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 2px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.quick-contact-drawer {
  position: fixed;
  left: -480px;
  bottom: 20px;
  width: 480px;
  height: 580px;
  z-index: 10000;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.quick-contact-drawer.active {
  left: 0;
}

.quick-contact-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 9999;
}

.quick-contact-drawer.active .quick-contact-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.quick-contact-drawer-content {
  position: relative;
  width: 480px;
  height: 580px;
  background-color: #ffffff;
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
}

.quick-contact-header {
  position: relative;
  padding: 25px 30px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(180deg, #dc296c 0%, #b41e56 100%);
  flex-shrink: 0;
}

.quick-contact-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.quick-contact-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.quick-contact-close:hover {
  transform: rotate(90deg);
}

.quick-contact-form {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.quick-contact-form-group {
  margin-bottom: 15px;
  position: relative;
}

.quick-contact-label {
  position: absolute;
  left: 18px;
  top: 12px;
  color: #666666;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  white-space: nowrap;
  user-select: none;
}

.quick-contact-input,
.quick-contact-textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

.quick-contact-textarea {
  padding-top: 12px;
  padding-bottom: 12px;
}

.quick-contact-input:focus,
.quick-contact-textarea:focus {
  outline: none;
  border-color: #dc296c;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 41, 108, 0.1);
}

.quick-contact-textarea {
  min-height: 100px;
  resize: vertical;
}

.quick-contact-submit {
  width: 100%;
  padding: 14px 20px;
  background-color: #dc296c;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin-top: 5px;
  flex-shrink: 0;
}

.quick-contact-submit:hover {
  background-color: #b41e56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 41, 108, 0.3);
}

.quick-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.quick-contact-message {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.quick-contact-message.show {
  opacity: 1;
  max-height: 200px;
  margin-top: 15px;
}

.quick-contact-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.quick-contact-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .quick-contact-button {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .quick-contact-drawer {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    bottom: 0;
    left: -100%;
    border-radius: 0;
  }
  
  .quick-contact-drawer.active {
    left: 0;
  }
  
  .quick-contact-drawer-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  
  .quick-contact-header {
    padding: 20px;
  }
  
  .quick-contact-title {
    font-size: 20px;
  }
  
  .quick-contact-close {
    top: 20px;
    right: 20px;
  }
  
  .quick-contact-form {
    padding: 20px;
  }
}

