/* Technical Luxury Theme for Business Development Leaders */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root {
  --copper: #B87333;
  --royal-navy: #002366;
  --matte-charcoal: #36454F;
  --primary-indigo: var(--royal-navy);
  --dark-indigo: var(--royal-navy);
  --copper-light: #d1945a;
  --copper-dark: #8f5325;
  --warm-beige: #f5eee8;
  --glass-bg: rgba(54, 69, 79, 0.72);
  --glass-border: rgba(184, 115, 51, 0.32);
  --glass-shadow: 0 18px 48px rgba(0, 35, 102, 0.36);
  --text-light: #f7f3ee;
}

body {
  background: var(--matte-charcoal);
  color: var(--text-light);
}

body, h1, h2, h3, h4, h5, p, a {
  font-family: 'Tajawal', 'Roboto', sans-serif;
}

/* Typography Enhancements */
.title-block__title h2 {
  color: var(--copper) !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0,35,102,0.65);
  letter-spacing: 1px;
}

.title-block__title p {
  color: var(--warm-beige) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
}

.title-block__supporting p {
  color: var(--text-light) !important;
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
}

/* Glassmorphism Panels with 3D Hover */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  padding: 40px;
  color: white;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.glass-panel:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 18px 50px rgba(0, 35, 102, 0.45), -5px 5px 18px rgba(184, 115, 51, 0.28);
}

.glass-panel > * {
  transform: translateZ(20px);
}

/* Beautiful Abstract Backgrounds replacing videos */
.bg-luxury-1 {
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 115, 51, 0.28), transparent 34%),
    linear-gradient(135deg, var(--royal-navy) 0%, var(--matte-charcoal) 100%);
  position: absolute; width: 100%; height: 100%; inset: 0; z-index: 0;
}
.bg-luxury-2 {
  background:
    radial-gradient(circle at 18% 70%, rgba(184, 115, 51, 0.22), transparent 32%),
    linear-gradient(135deg, var(--matte-charcoal) 0%, var(--royal-navy) 52%, var(--dark-indigo) 100%);
  position: absolute; width: 100%; height: 100%; inset: 0; z-index: 0;
}
.bg-luxury-3 {
  background:
    radial-gradient(ellipse at bottom left, rgba(184, 115, 51, 0.24), transparent 38%),
    linear-gradient(145deg, var(--dark-indigo) 0%, var(--royal-navy) 45%, var(--matte-charcoal) 100%);
  position: absolute; width: 100%; height: 100%; inset: 0; z-index: 0;
}
.bg-luxury-4 {
  background:
    radial-gradient(circle at 65% 42%, rgba(184, 115, 51, 0.2), transparent 35%),
    linear-gradient(to right, var(--matte-charcoal), var(--royal-navy));
  position: absolute; width: 100%; height: 100%; inset: 0; z-index: 0;
}

.hero__image--photo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__image--slide-1 {
  background-color: var(--matte-charcoal);
}

.hero__image--photo picture,
.hero__image--photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image--photo picture {
  z-index: 0;
}

.hero__image--photo img {
  object-fit: cover;
  object-position: center;
}

.hero__image--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 35, 102, 0.58), rgba(54, 69, 79, 0.16));
}

.hero__image--slide-2 {
  background-color: var(--matte-charcoal);
}

.hero__image--slide-3 {
  background-image:
    linear-gradient(90deg, rgba(0, 35, 102, 0.58), rgba(54, 69, 79, 0.16)),
    url("../images/hero-slider-3.jpg");
}

/* Dynamic Copper Accents */
.bg-luxury-1::after, .bg-luxury-2::after, .bg-luxury-3::after, .bg-luxury-4::after {
  content: '';
  position: absolute;
  width: 60vh;
  height: 60vh;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.2) 0%, transparent 70%);
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-45%, -40%) scale(1.1); }
}

/* Minimalist 3D Animations */
.scene-3d {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  perspective: 1200px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.shape-3d {
  position: absolute;
  transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(184, 115, 51, 0.1), transparent);
  border: 1px solid rgba(184, 115, 51, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 10px 30px rgba(0,35,102,0.28);
}

.shape-3d--ring {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  background: transparent;
  top: 15%;
  right: 10%;
  animation: rotate3dRing 25s infinite linear;
}

.shape-3d--ring::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotateX(60deg);
}

.shape-3d--cube {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 15%;
  border-radius: 8px;
  animation: float3dCube 12s infinite alternate ease-in-out;
}

.shape-3d--sphere {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: 40%;
  right: 25%;
  background: radial-gradient(circle at 30% 30%, rgba(184, 115, 51, 0.4), transparent);
  border: none;
  animation: float3dCube 18s infinite alternate-reverse ease-in-out;
}

@keyframes rotate3dRing {
  0% { transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg); }
  100% { transform: rotateX(20deg) rotateY(360deg) rotateZ(180deg); }
}

@keyframes float3dCube {
  0% { transform: translateY(0) rotateX(20deg) rotateY(30deg); }
  100% { transform: translateY(-60px) rotateX(70deg) rotateY(150deg); }
}

/* Button Upgrades */
.btn a, .btn {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark)) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 35, 102, 0.24), 0 4px 15px rgba(184, 115, 51, 0.28) !important;
  transition: all 0.3s ease !important;
  text-transform: none !important;
  font-weight: 500;
}

.btn a:hover, .btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 35, 102, 0.34), 0 8px 25px rgba(184, 115, 51, 0.45) !important;
  background: linear-gradient(45deg, var(--copper-light), var(--copper)) !important;
}

/* Blocks styling */
.full-block__content {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
}

.full-block__text h2 {
  color: var(--copper) !important;
}

.block__content {
  background: rgba(54, 69, 79, 0.9) !important;
  border-top: 2px solid var(--copper);
}

.block__content h2, .block__content h4 {
  color: var(--warm-beige) !important;
}

/* Fix for modules */
.module-bg--dark, .module-bg {
  background-color: var(--royal-navy) !important;
}

.has-lightgrey-background-color {
  background-color: var(--matte-charcoal) !important;
}

/* Grid Images Placeholders styling */
.block__image {
  position: relative;
}
.block__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(54,69,79,1), transparent);
}

/* Header and Navigation Luxury Overrides */
.header {
  background: rgba(0, 35, 102, 0.88) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.45) !important;
  box-shadow: 0 4px 30px rgba(54, 69, 79, 0.36);
}

.header__container {
  background-color: var(--royal-navy) !important;
}

.header__navigation nav > ul > li > a {
  color: var(--text-light) !important;
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 500 !important;
  transition: color 0.3s ease;
}

.header__navigation nav > ul > li > a:hover {
  color: var(--copper) !important;
}

.dropdown {
  background: var(--matte-charcoal) !important;
  border-top: 3px solid var(--copper) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}

.dropdown__intro {
  background: transparent !important;
  border-right: 1px solid rgba(184,115,51,0.18);
}

.dropdown__child ul li a {
  color: #ccc !important;
  font-family: 'Tajawal', sans-serif !important;
  transition: all 0.3s ease !important;
}

.dropdown__child ul li a:hover {
  color: var(--copper) !important;
  transform: translateX(5px);
}

/* Hero slider content override */
.hero .hero__content .container--wide {
  display: flex;
  justify-content: flex-end;
}

.hero .title-block.glass-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--text-light);
  margin-left: auto !important;
  margin-right: 0 !important;
}

.hero .title-block.glass-panel:hover {
  box-shadow: none !important;
  transform: none !important;
}

.hero .title-block::before,
.hero .title-block::after,
.hero .title-block__content::before,
.hero .title-block__content::after {
  content: none !important;
}

.hero .title-block__content {
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.hero .title-block__title {
  position: static !important;
  text-align: right;
  transform: none !important;
}

.hero .title-block__supporting {
  text-align: right !important;
}

@media only screen and (max-width: 42.49rem) {
  .hero .hero__content .container--wide {
    justify-content: flex-end;
  }
}
