/* ═══════════════════════════════════════════════
   COMPONENT STYLES — Owner, Partners, SevenDimensions, DubaiInvest, Marquee, Team
   ═══════════════════════════════════════════════ */

/* ══════════════════════════════
   OWNER / FOUNDER SECTION
   ══════════════════════════════ */
.owner-section {
  background: #ffff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EngGothic', serif;
  position: relative;
  overflow: hidden;
}
.owner-container {
  width: 100%;
  max-width: 1605px;
  padding: 40px 53px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.founder-img {
  position: relative;
  width: 100%;
  max-width: 485px;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.founder-img-border {
  position: absolute;
  top: -7px; left: -7px;
  width: 100%; height: 100%;
  border: 1px solid rgba(201, 168, 76, 0.2);
  z-index: -1;
}
.founder-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  pointer-events: none;
}
.founder-text { position: relative; }
.founder-text-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.founder-text-divider {
  width: 32px; height: 1px;
  background: #c9a84c;
}
.founder-text-label {
  color: #523232;
  font-size: 17px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'EngGothic', sans-serif;
}
.founder-text-title {
  color: #523232;
  font-size: clamp(37px, 4vw, 53px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}
.founder-text-title span {
  display: block;
  background: linear-gradient(135deg, #c9a84c, #e8c97a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.founder-text-desc {
  color: #523232;
  font-size: 14px;
  line-height: 1.55;
  font-family: 'Playful', sans-serif;
  font-weight: 300;
  margin-bottom: 32px;
}
.founder-text-info {
  padding: 29px 33px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 2px solid #c9a84c;
  margin-bottom: 32px;
}
.founder-text-name {
  color: #523232;
  font-size: 30px;
  font-weight: 500;
  font-family: 'Playful', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.founder-text-role {
  color: #523232;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'EngGothic', sans-serif;
}
.founder-btn {
  background: transparent;
  border: 1px solid #523232;
  color: #523232;
  padding: 19px 45px;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'EngGothic', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s ease;
}
.founder-btn:hover {
  background: #523232;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .owner-container { grid-template-columns: 1fr 1fr; gap: 45px; padding: 65px 37px; }
  .founder-img { max-width: 100%; }
}
@media (max-width: 768px) {
  .owner-container { grid-template-columns: 1fr; gap: 53px; padding: 53px 29px; text-align: center; }
  .founder-img { max-width: 325px; margin: 0 auto; }
  .founder-text-header { justify-content: center; }
}

/* ══════════════════════════════
   PARTNERS MARQUEE
   ══════════════════════════════ */
.partners-section {
  width: 100%;
  background: #ffffff;
  padding: 64px 0 72px;
  overflow: hidden;
  font-family: Georgia, serif;
}
.partners-title {
  text-align: center;
  font-family: 'EngGothic', sans-serif;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: bold;
  color: #523232;
  margin-bottom: 40px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0px;
  will-change: transform;
  cursor: default;
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  min-width: 180px;
}
.marquee-item:hover { opacity: 1; }
.marquee-item img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════
   INFINITE TEXT MARQUEE (BUY SELL RENT)
   ══════════════════════════════ */
.text-marquee-container {
  background-color: #ffff;
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.text-marquee-track-right,
.text-marquee-track-left {
  display: flex;
  width: max-content;
}
.text-marquee-track-left {
  animation: text-scroll-left 25s linear infinite;
}
.text-marquee-track-right {
  animation: text-scroll-right 25s linear infinite;
}
.text-marquee-container:hover .text-marquee-track-left,
.text-marquee-container:hover .text-marquee-track-right {
  animation-play-state: paused;
}
.text-marquee-text {
  white-space: pre;
  font-family: 'Playful', sans-serif;
  font-size: 3.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2.5px #5a2a2a;
  text-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
  padding-right: 2rem;
}
@keyframes text-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes text-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@media (max-width: 768px) {
  .text-marquee-container { padding: 2rem 0; gap: 1rem; }
  .text-marquee-text {
    font-size: 2.5rem;
    -webkit-text-stroke: 1px #cca352;
    padding-right: 1rem;
  }
}

/* ══════════════════════════════
   SEVEN DIMENSIONS SECTION
   ══════════════════════════════ */
.seven-section {
  background: #ffff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playful', serif;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.seven-noise-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.seven-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  width: 100%;
  align-items: center;
  position: relative;
  z-index: 1;
}
.seven-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.seven-logo-wrap {
  width: 420px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.seven-logo-wrap.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.seven-logo-glow {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,208,120,0.12) 0%, transparent 70%);
}
.seven-logo-wrap img {
  width: 300px; height: 300px;
  object-fit: contain;
}
.seven-desc-box {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  font-family: 'Playful', serif;
  border: 1px solid rgba(201, 146, 42, 0.2);
  border-radius: 2px;
  padding: 24px 28px;
  max-width: 340px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 40px rgba(139, 94, 26, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  text-align: center;
}
.seven-desc-corner {
  position: absolute;
  width: 12px; height: 12px;
  border-color: rgba(201, 146, 42, 0.5);
  border-style: solid;
}
.seven-desc-corner.tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.seven-desc-corner.tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.seven-desc-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.seven-desc-corner.br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.seven-desc-title {
  font-size: 14px;
  letter-spacing: 3px;
  font-family: 'EngGothic', serif;
  text-transform: uppercase;
  color: #523232;
  font-weight: 700;
  margin-bottom: 10px;
}
.seven-desc-text {
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Playful', serif;
  color: #523232;
  font-weight: 400;
}
.seven-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.seven-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.seven-heading {
  margin-bottom: 40px;
}
.seven-heading h2 {
  font-family: 'EngGothic', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  color: #523232;
  line-height: 0.8;
  letter-spacing: -0.5px;
}
.seven-heading h2 em {
  font-style: italic;
  font-family: 'EngGothic', serif;
  font-weight: 600;
  color: #523232;
  display: block;
}
.seven-gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9922A 30%, #F5D078 50%, #C9922A 70%, transparent);
  opacity: 0.5;
}
.dim-row {
  padding: 18px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: all 0.4s ease;
}
.dim-row:hover .dim-num { color: #C9922A !important; }
.dim-row:hover .dim-title { color: #2C1A07 !important; }
.dim-num {
  font-family: 'EngGothic', serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(139, 94, 26, 0.35);
  font-weight: 400;
  transition: all 0.4s ease;
}
.dim-num.active { color: #523232; font-weight: 600; }
.dim-title {
  font-family: 'EngGothic', serif;
  font-size: 17px;
  font-weight: 400;
  color: #523232;
  letter-spacing: 0.3px;
  transition: all 0.4s ease;
}
.dim-title.active { font-size: 20px; font-weight: 800; }
.dim-bar {
  width: 10px; height: 1px;
  background: rgba(139, 94, 26, 0.2);
  transition: all 0.4s ease;
  border-radius: 1px;
}
.dim-bar.active {
  width: 28px;
  background: linear-gradient(90deg, #523232, #523232);
}
.dim-expanded {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}
.dim-expanded.active {
  max-height: 120px;
  opacity: 1;
}
.dim-expanded p {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: #523232;
  padding-top: 1px;
  padding-left: 72px;
  padding-bottom: 6px;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .seven-section { padding: 30px 20px; }
  .seven-inner { grid-template-columns: 1fr; gap: 40px; }
  .seven-right { display: none; }
  .seven-logo-wrap { width: 100%; height: 220px; }
  .seven-logo-wrap img { width: 300px; height: 300px; }
  .seven-desc-box { max-width: 280px; padding: 16px 20px; margin: 0 auto; }
  .seven-desc-title { font-size: 11px; }
  .seven-desc-text { font-size: 12px; }
}

/* ══════════════════════════════
   DUBAI INVEST SECTION
   ══════════════════════════════ */
.invest-page {
  font-family: 'EngGothic', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #e8dfd5 100%);
  color: #2A2218;
  width: 100%;
  overflow-x: hidden;
}
.why-section {
  padding: 30px 8% 30px;
  text-align: center;
}
.why-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 44px;
}
.why-line {
  flex: 1;
  max-width: 420px;
  height: 8px;
  background: linear-gradient(90deg, transparent, #C9A84C 10%, #C9A84C 90%, transparent);
}
.why-title {
  font-family: 'EngGothic', serif;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: #523232;
  white-space: nowrap;
}
.wave-divider {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
}
.wave-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  display: block;
}
.advisory-section {
  padding: 56px 8% 48px;
  background: #e8dfd5;
  margin-top: -209px;
  position: relative;
  clip-path: ellipse(80% 120% at 50% 0%);
}
.advisory-header {
  text-align: center;
  margin-bottom: 40px;
}
.advisory-title {
  font-family: 'EngGothic', serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #523232;
  margin-bottom: 2px;
}
.advisory-subtitle {
  font-size: 15px;
  font-weight: 200;
  color: #523232;
  letter-spacing: 0.06em;
  font-family: 'playful', serif;
}
.reviews-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.review-card {
  background: #F8F4EC;
  border: 1px solid #D9D0BC;
  border-radius: 3px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #8D7A55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 13px;
  font-family: 'playful';
  font-weight: 600;
  color: #523232;
  letter-spacing: 0.04em;
}
.review-stars {
  display: flex;
  gap: 2px;
}
.review-text {
  font-size: 14.5px;
  color: #6B5E42;
  font-family: 'playful';
  line-height: 1.15;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cta-sectionn {
  background: #e8dfd5;
  padding: 56px 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.cta-discover {
  font-size: 67px;
  font-weight: 1000;
  font-family: 'playful';
  color: #523232;
  line-height: 1.1;
  letter-spacing: 0.01em;
  transform: scaleX(1.05);
  display: inline-block;
}
.cta-discover span { color: #C9A84C; }
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.cta-btn-primary {
  background: #523232;
  border: 1.5px solid #C9A84C;
  border-radius: 38px;
  padding: 20px 46px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 220px;
  text-align: center;
}
.cta-btn-primary:hover { background: #C9A84C; color: #ffffff; }
.cta-btn-secondary {
  background: #523232;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  border-radius: 38px;
  padding: 20px 46px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 220px;
  text-align: center;
}
.cta-btn-secondary:hover { background: #C9A84C; color: #ffffff; }

@media (max-width: 900px) {
  .why-title { font-size: 22px; letter-spacing: 0.2em; }
  .reviews-row { grid-template-columns: repeat(2, 1fr); }
  .cta-discover { font-size: 40px; }
  .cta-btn-primary, .cta-btn-secondary { min-width: 180px; padding: 13px 24px; }
}
@media (max-width: 599px) {
  .wave-divider img { display: none; }
  .advisory-section { border-top-left-radius: 0; }
  .why-section { padding: 40px 5% 16px; }
  .why-title { font-size: 16px; letter-spacing: 0.14em; }
  .why-line { max-width: 40px; }
  .advisory-section { padding: 20px 5% 36px; }
  .advisory-title { font-size: 18px; letter-spacing: 0.18em; }
  .reviews-row { grid-template-columns: 1fr; }
  .review-text { -webkit-line-clamp: 4; }
  .cta-sectionn { flex-direction: column; align-items: center; padding: 40px 5%; gap: 28px; }
  .cta-discover { font-size: 36px; text-align: center; }
  .cta-buttons { width: 100%; }
  .cta-btn-primary, .cta-btn-secondary { width: 100%; min-width: unset; }
  .wave-divider { height: 180px; }
}

/* ══════════════════════════════
   BANKS MARQUEE (Mortgage page)
   ══════════════════════════════ */
.banks-section {
  width: 100%;
  background: #ffffff;
  padding: 64px 0 72px;
  overflow: hidden;
  font-family: Georgia, serif;
}
.banks-title {
  text-align: center;
  font-family: 'EngGothic', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: bold;
  color: #523232;
  margin-bottom: 40px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
