@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary-gold: #c5a880;
  --primary-gold-dark: #a98d65;
  --primary-gold-light: #e6dac6;
  --bg-dark: #0f0f0f;
  --bg-dark-gray: #1a1a1a;
  --bg-light: #ffffff;
  --bg-light-gray: #f7f7f7;
  --text-dark: #111111;
  --text-muted: #666666;
  --text-light: #ffffff;
  --text-light-muted: #bbbbbb;
  --gloomy-white: #F6F1F4;
  --border-color: #e0e0e0;
  --border-dark: #2c2c2c;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --container-width: 1200px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* --- REUSABLE UTILITIES & LAYOUT --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

/* Luxury Titles */
.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}

.section-title.light {
  color: var(--text-light);
}

.section-title span {
  font-style: italic;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-gold-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary-gold);
  color: var(--text-dark);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-gold);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Button outline white */
.btn-outline-white {
  border: 1px solid var(--text-light);
  color: var(--text-light);
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* Hero Slider title color for visibility */
.slide-title {
  color: var(--text-light);
}

body.dark-mode .slide-title {
  color: var(--text-dark);
}

/* Custom animated underline links */

.link-gold {
  position: relative;
  color: var(--primary-gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-gold::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-gold);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.link-gold:hover::after {
  transform: scaleX(1);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

header.scrolled .logo-white {
  display: none;
}

header.scrolled .logo-color {
  display: block;
}

/* Nav container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  padding: 1rem 3rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo handling */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 20px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-color {
  display: none;
}

.real-logo img {
  height: 70px;
  width: auto;
  transition: var(--transition-smooth);
}

.ppe-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

/* Menu Trigger (Hamburger) */
.menu-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  z-index: 1002;
  transition: var(--transition-fast);
}

.menu-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

header.scrolled .menu-text {
  color: var(--text-dark);
}

.hamburger-icon {
  width: 25px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

header.scrolled .hamburger-icon span {
  background-color: var(--text-dark);
}

/* Hover effects for trigger */
.menu-trigger:hover .menu-text {
  color: var(--primary-gold);
}

.menu-trigger:hover .hamburger-icon span {
  background-color: var(--primary-gold) !important;
}

.menu-trigger:hover .hamburger-icon span:nth-child(1) {
  transform: translateY(-2px);
}

.menu-trigger:hover .hamburger-icon span:nth-child(3) {
  transform: translateY(2px);
}

/* --- NAVIGATION DRAWER --- */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100vh;
  background-color: var(--bg-dark);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.65);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  border-left: 1px solid rgba(197, 168, 128, 0.15);
}

.nav-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-header .logo img {
  height: 45px;
}

.drawer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light-muted);
  transition: var(--transition-fast);
}

.close-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}

.close-icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-icon span {
  position: absolute;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-light-muted);
  transition: var(--transition-fast);
}

.close-icon span:nth-child(1) {
  transform: rotate(45deg);
}

.close-icon span:nth-child(2) {
  transform: rotate(-45deg);
}

.drawer-close:hover {
  color: var(--primary-gold);
}

.drawer-close:hover .close-icon {
  transform: rotate(180deg);
}

.drawer-close:hover .close-icon span {
  background-color: var(--primary-gold);
}

/* Drawer Body & Menu */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 3.5rem 2.5rem;
}

/* Scrollbar styling for drawer body */
.drawer-body::-webkit-scrollbar {
  width: 3px;
}

.drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-body::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Staggered Motion Entrance for Items */
.drawer-item {
  position: relative;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer.active .drawer-item {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer.active .drawer-item:nth-child(1) {
  transition-delay: 0.25s;
}

.nav-drawer.active .drawer-item:nth-child(2) {
  transition-delay: 0.32s;
}

.nav-drawer.active .drawer-item:nth-child(3) {
  transition-delay: 0.39s;
}

.nav-drawer.active .drawer-item:nth-child(4) {
  transition-delay: 0.46s;
}

.nav-drawer.active .drawer-item:nth-child(5) {
  transition-delay: 0.53s;
}

.nav-drawer.active .drawer-item:nth-child(6) {
  transition-delay: 0.60s;
}

.nav-drawer.active .drawer-item:nth-child(7) {
  transition-delay: 0.67s;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  transition: color 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-link:hover::after,
.drawer-link.active::after {
  transform: scaleX(1);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--primary-gold);
  transform: translateX(10px);
}

.submenu-caret {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.drawer-link.open .submenu-caret {
  transform: rotate(180deg);
}

/* Submenu inside Drawer */
.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-left: 1px solid rgba(197, 168, 128, 0.2);
  padding-left: 1.2rem;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.drawer-submenu.open {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.8rem;
}

.drawer-submenu li a {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: var(--transition-fast);
}

.drawer-submenu li a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

/* Drawer Footer */
.drawer-footer {
  padding: 2.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(0, 0, 0, 0.2);
}

.drawer-contact-info {
  margin-bottom: 1.5rem;
}

.drawer-contact-info p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.drawer-contact-info i {
  color: var(--primary-gold);
}

.drawer-socials {
  display: flex;
  gap: 1rem;
}

.drawer-social-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.drawer-social-btn:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--text-light);
}

/* Color Switcher */
.color-switcher {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  color: var(--text-light);
  transition: var(--transition-fast);
  z-index: 1002;
}

header.scrolled .color-switcher {
  color: var(--text-dark);
}

.color-switcher:hover {
  color: var(--primary-gold);
}

/* Dark Mode Variable Mapping */
body.dark-mode {
  --bg-light: #0f0f0f;
  --bg-light-gray: #1a1a1a;
  --text-dark: #ffffff;
  --text-muted: #bbbbbb;
  --border-color: #2c2c2c;
  --border-dark: #3c3c3c;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Sticky Header in Dark Mode */
body.dark-mode header.scrolled {
  background-color: rgba(15, 15, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

body.dark-mode header.scrolled .logo-white {
  display: block;
}

body.dark-mode header.scrolled .logo-color {
  display: none;
}

body.dark-mode header.scrolled .menu-text {
  color: var(--text-light) !important;
}

body.dark-mode header.scrolled .hamburger-icon span {
  background-color: var(--text-light) !important;
}

body.dark-mode header.scrolled .color-switcher {
  color: var(--text-light) !important;
}

/* Split sections layout */
.split-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  /* No gap to ensure panels touch edges */
}

.split-panel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  /* Ensure split panels take full viewport height */
}

.split-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* White text for middle and right panels */
.split-panel:nth-child(2) .split-content,
.split-panel:nth-child(3) .split-content {
  color: var(--text-light) !important;
}

/* Ensure all inner text elements inherit white */
.split-panel:nth-child(2) .split-content h2,
.split-panel:nth-child(2) .split-content p,
.split-panel:nth-child(2) .split-content a,
.split-panel:nth-child(3) .split-content h2,
.split-panel:nth-child(3) .split-content p,
.split-panel:nth-child(3) .split-content a {
  color: var(--text-light) !important;
}

/* Footer full width */
footer {
  width: 100%;
  background-color: var(--bg-dark-gray);
}

footer .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Dark mode specific button enhancements */
body.dark-mode .btn-primary {
  background-color: var(--primary-gold);
  color: #111111;
  /* Keep text readable */
}

body.dark-mode .btn-primary:hover {
  background-color: var(--primary-gold-dark);
  color: #111111;
}

body.dark-mode .btn-outline {
  border-color: var(--primary-gold);
  color: var(--text-light);
}

body.dark-mode .btn-outline:hover {
  background-color: var(--primary-gold);
  color: #111111;
}

body.dark-mode .drawer-social-btn {
  border-color: var(--text-light-muted);
  color: var(--text-light-muted);
}

body.dark-mode .drawer-social-btn:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #111111;
}

/* Specific readability fixes for sections with permanent dark backgrounds */
#vision-mission .about-text,
#vision-mission p,
#vision-mission li {
  color: var(--text-light-muted) !important;
}

/* Drawer Overlay Backdrop */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* --- HERO SLIDER --- */
.hero-slider-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.slider-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 4rem;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: block;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.slide-title span {
  font-style: italic;
  font-weight: 300;
}

.slide-desc {
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: var(--text-light-muted);
  font-weight: 300;
}

/* Slider navigation */
.slider-controls {
  position: absolute;
  bottom: 3.5rem;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.slider-control-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-control-btn:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--text-light);
}

.slider-counter {
  font-family: var(--font-serif);
  color: var(--text-light);
  font-size: 1.1rem;
  letter-spacing: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-counter .current {
  color: var(--primary-gold);
  font-weight: 600;
}

.slider-counter .separator {
  color: rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  left: 4rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-light-muted);
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background-color: var(--primary-gold);
  animation: scrollLineAnim 2s infinite ease-in-out;
}

@keyframes scrollLineAnim {
  0% {
    transform: translateY(-100%);
  }

  80% {
    transform: translateY(240%);
  }

  100% {
    transform: translateY(240%);
  }
}

/* --- ABOUT SECTION --- */
.about-section {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.about-title {
  margin-bottom: 2rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-signature img {
  width: 150px;
  opacity: 0.85;
}

.about-signature span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.about-signature small {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

/* --- FEATURED PROJECTS --- */
.projects-section {
  background-color: var(--bg-light-gray);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.projects-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
  position: relative;
}

.tab-btn.active {
  color: var(--primary-gold);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-gold);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background-color: var(--bg-light);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  display: none;
}

.project-card.show {
  display: block;
  animation: fadeInCard 0.6s ease forwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.project-img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-box img {
  transform: scale(1.08);
}

.project-status-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(5px);
  color: var(--primary-gold);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  z-index: 2;
}

.project-details {
  padding: 2rem;
}

.project-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--bg-light-gray);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.spec-item strong {
  color: var(--text-dark);
  display: block;
  font-size: 0.9rem;
}

/* --- SPLIT LAYOUT SECTIONS (CITY & COUNTRY) --- */
.split-sections {
  display: flex;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

.split-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: flex 1s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.split-panel:hover {
  flex: 1.3;
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-panel:hover .split-bg {
  transform: scale(1.05);
}

.split-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.5s ease;
  z-index: 1;
}

.split-panel:hover::after {
  background: rgba(0, 0, 0, 0.3);
}

.split-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.split-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  /* gloomy white */
}

/* Dark mode override for split-title */
body.dark-mode .split-title {
  color: var(--text-dark) !important;
}

/* Middle panel override for readability */
.split-panel:nth-child(2) .split-title {
  color: var(--text-light) !important;
}

.split-panel:nth-child(2) .split-content {
  color: var(--text-light) !important;
}

.split-desc {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* --- FACILITIES / LIFE STYLE --- */
.facilities-section {
  background-color: var(--bg-light);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.facility-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facility-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-bg {
  transform: scale(1.08);
}

.facility-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.facility-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  color: var(--text-light);
}

.facility-icon {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.facility-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

.facility-card:hover .facility-desc {
  opacity: 1;
  max-height: 80px;
}

/* --- PARTNER PORTALS --- */
.portals-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 60vh;
}

.portal-pane {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6rem;
  color: var(--text-light);
  overflow: hidden;
}

.portal-pane::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.7) 100%);
  z-index: 1;
}

.portal-pane.buyers-portal::after {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.95) 0%, rgba(197, 168, 128, 0.7) 100%);
}

.portal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.portal-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.portal-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.portal-desc {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
}

.portal-pane.buyers-portal .portal-desc {
  color: #fff;
  opacity: 0.9;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background-color: var(--bg-light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.info-details p,
.info-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 4rem;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-bottom-color: var(--primary-gold);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 55px;
  /* margin-bottom: 2rem; */
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--text-light);
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: var(--primary-gold);
  margin-bottom: 1.8rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

.footer-contact i {
  color: var(--primary-gold);
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Form Controls styling enhancements */
.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

select.form-control option {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* --- FAQ ACCORDION STYLES --- */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 2rem;
}

/* Scroll Animation Styles */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Vision & Mission ---- */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.vision-mission-subtitle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.vision-mission-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mission-list li {
  display: flex;
  gap: 0.8rem;
}

.mission-list i {
  color: var(--primary-gold);
  margin-top: 4px;
}

/* ---- Core Values ---- */
.core-values-box {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-light);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.core-values-header {
  margin-bottom: 3rem;
}

.core-values-title {
  font-family: var(--font-serif);
  font-size: 2rem;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.core-value-card {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.core-value-card i {
  color: var(--primary-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.core-value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.core-value-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- MD / Leadership ---- */
.md-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.md-portrait-col {
  text-align: center;
}

.md-portrait-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.md-portrait-img {
  width: 100%;
  object-fit: cover;
}

.md-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.md-role {
  color: var(--primary-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 600;
}

.md-heading {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

/* ---- Sister Concerns / Companies ---- */
.companies-header {
  margin-bottom: 5rem;
}

.company-card-grid {
  margin-bottom: 8rem;
  gap: 4rem;
}

.company-card-rtl {
  direction: rtl;
}

.company-card-ltr {
  direction: ltr;
}

.company-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.company-img-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* ---- Stats Banner (BY THE NUMBERS) ---- */
.stats-section-title {
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--primary-gold);
  font-weight: 500;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

/* ---- Investments ---- */
.investments-header {
  margin-bottom: 5rem;
}

.investments-intro {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
}

.investment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.investment-card {
  background-color: var(--bg-light);
  padding: 4rem;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border-top: 3px solid var(--primary-gold);
  display: flex;
  flex-direction: column;
}

.investment-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 2rem;
}

.investment-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.investment-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 4.5rem;
}

.investment-sub-heading {
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.budget-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.budget-badge {
  flex: 1;
  text-align: center;
  padding: 0.8rem 0.5rem;
  background-color: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.project-info-box {
  padding: 1rem;
  background-color: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.project-info-name {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.project-info-loc {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.project-status-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  background: rgba(197, 168, 128, 0.2);
  color: var(--primary-gold-dark);
  font-weight: 600;
  white-space: nowrap;
}

.investment-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.investment-benefits-list i {
  color: var(--primary-gold);
  margin-right: 0.5rem;
}

.investment-btn {
  width: 100%;
  margin-top: auto;
}

/* ---- Corporate Timeline ---- */
.timeline-header {
  margin-bottom: 5rem;
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 2px solid var(--primary-gold);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  border: 4px solid var(--bg-light);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- FAQ Section ---- */
.faq-header {
  margin-bottom: 5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text-dark);
}

.faq-caret {
  color: var(--primary-gold);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* --- Tablet: 1024px and below --- */
@media (max-width: 1024px) {

  /* Section padding */
  .section-padding {
    padding: 5rem 0;
  }

  /* Navigation */
  .nav-container {
    padding: 1.2rem 2rem;
  }

  /* Hero */
  .slide-title {
    font-size: 3.25rem;
  }

  .slide-content {
    padding: 0 3rem;
    max-width: 700px;
  }

  /* Section title size */
  .section-title {
    font-size: 2.2rem;
  }

  .split-title {
    font-size: 2.2rem;
  }

  /* About / contact grid */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    padding-right: 0;
  }

  /* Vision/Mission */
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  /* Core values */
  .core-values-box {
    padding: 3rem 1.5rem;
  }

  .core-values-grid,
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* MD Message */
  .md-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Sister Concerns */
  .companies-header {
    margin-bottom: 3.5rem;
  }

  .company-card-grid {
    margin-bottom: 5rem;
    gap: 3rem;
  }

  .company-title {
    font-size: 2rem;
  }

  /* Stats banner */
  .stats-section-title {
    margin-bottom: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  /* Investment section */
  .investments-header {
    margin-bottom: 3.5rem;
  }

  .investment-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .investment-card {
    padding: 3rem 2.5rem;
  }

  /* Timeline & FAQ */
  .timeline-header,
  .faq-header {
    margin-bottom: 3.5rem;
  }

  /* Split panels: stack vertically */
  .split-sections {
    flex-direction: column;
    height: auto;
  }

  .split-panel {
    min-height: 350px;
    flex: none;
  }

  /* Portals */
  .portals-section {
    grid-template-columns: 1fr;
    height: auto;
  }

  .portal-pane {
    height: 40vh;
    padding: 4rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Projects grid */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobile: 768px and below --- */
@media (max-width: 768px) {

  /* Base font */
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  /* Navigation */
  .nav-container {
    padding: 1rem 1.25rem;
  }

  header.scrolled .nav-container {
    padding: 0.8rem 1.25rem;
  }

  .nav-actions {
    gap: 0.8rem;
  }

  .menu-text {
    display: none;
  }

  .logo img {
    height: 40px;
  }

  /* Drawer - full width on mobile */
  .nav-drawer {
    width: 100%;
  }

  .drawer-header {
    padding: 1.5rem 1.5rem;
  }

  .drawer-body {
    padding: 2rem 1.5rem;
  }

  .drawer-footer {
    padding: 1.5rem;
  }

  /* Hero Slider */
  .hero-slider-container {
    height: 100svh;
  }

  .slide-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
    margin-bottom: 1rem;
  }

  .slide-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .slide-content {
    padding: 0 1.5rem;
    max-width: 100%;
  }

  .slide-desc {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
  }

  .slider-controls {
    right: 1.25rem;
    bottom: 1.5rem;
    gap: 1rem;
  }

  .slider-control-btn {
    width: 42px;
    height: 42px;
  }

  .scroll-indicator {
    display: none;
  }

  /* Split panels: stack vertically */
  .split-sections {
    flex-direction: column;
    height: auto;
  }

  .split-panel {
    min-height: 280px;
    flex: none;
  }

  .split-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .split-desc {
    font-size: 0.85rem;
  }

  /* About / contact grids */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-content {
    padding-right: 0;
  }

  /* Vision/Mission */
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  /* Core values */
  .core-values-box {
    padding: 2.5rem 1.25rem;
  }

  .core-values-header {
    margin-bottom: 2rem;
  }

  .core-values-grid,
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* MD Section */
  .md-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .md-heading {
    font-size: 1.8rem;
  }

  /* Sister Concerns */
  .companies-header {
    margin-bottom: 3rem;
  }

  .company-card-grid {
    margin-bottom: 3.5rem;
    gap: 2rem;
  }

  .company-card-rtl {
    direction: ltr;
  }

  .company-title {
    font-size: 1.7rem;
  }

  /* Stats: 2 col on mobile */
  .stats-section-title {
    margin-bottom: 2.5rem;
  }

  .stats-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Investment section */
  .investments-header {
    margin-bottom: 3rem;
  }

  .investment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .investment-card {
    padding: 2rem 1.5rem;
  }

  .investment-card-desc {
    min-height: auto;
    margin-bottom: 1.5rem;
  }

  .budget-badges {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .budget-badge {
    flex: 1 1 calc(33.33% - 0.5rem);
    min-width: 85px;
    font-size: 0.8rem;
    padding: 0.6rem 0.25rem;
  }

  .investment-benefits-list {
    margin-bottom: 2.5rem;
  }

  /* Timeline */
  .timeline-header {
    margin-bottom: 3rem;
  }

  .timeline-wrapper {
    padding-left: 1.5rem;
  }

  .timeline-dot {
    left: -2.05rem;
  }

  /* FAQ */
  .faq-header {
    margin-bottom: 3rem;
  }

  .faq-button {
    padding: 1.2rem 1.5rem;
  }

  /* Contact form */
  .contact-form {
    padding: 2rem;
  }

  /* Portals */
  .portals-section {
    grid-template-columns: 1fr;
    height: auto;
  }

  .portal-pane {
    height: auto;
    min-height: 300px;
    padding: 3rem 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* --- Small mobile: 480px and below --- */
@media (max-width: 480px) {

  .section-title {
    font-size: 1.6rem;
  }

  .slide-title {
    font-size: 1.65rem;
  }

  .slide-desc {
    display: none;
  }

  .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.1rem;
  }

  .nav-container {
    padding: 0.8rem 0.9rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .logo img {
    height: 36px;
  }

  /* Core values & facilities: single col */
  .core-values-box {
    padding: 2rem 1rem;
  }

  .core-values-title {
    font-size: 1.6rem;
  }

  .core-values-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .core-value-card {
    padding: 1.25rem 1rem;
  }

  /* Sister Concerns */
  .company-title {
    font-size: 1.4rem;
  }

  /* Stats: 2 col on extra small */
  .stats-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.05rem;
  }

  /* Investment section */
  .investment-card {
    padding: 1.5rem 1.25rem;
  }

  .investment-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
  }

  .investment-card-title {
    font-size: 1.5rem;
  }

  .investment-card-desc {
    font-size: 0.9rem;
  }

  .budget-badges {
    flex-direction: column;
    gap: 0.5rem;
  }

  .budget-badge {
    width: 100%;
  }

  .project-info-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .investment-benefits-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  /* Timeline */
  .timeline-wrapper {
    padding-left: 1.2rem;
  }

  .timeline-dot {
    left: -1.75rem;
    width: 14px;
    height: 14px;
  }

  .timeline-year {
    font-size: 1.4rem;
  }

  /* FAQ */
  .faq-button {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 1.1rem 1.2rem;
  }

  .split-panel {
    min-height: 240px;
  }

  /* Real Estate Slider */
  .real-estate-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .real-estate-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
  }

  .real-estate-slider .slide.active {
    opacity: 1;
  }

  .real-estate-slider .slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }

  .real-estate-slider .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
  }

  .real-estate-slider .dot.active {
    opacity: 1;
  }

  .real-estate-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .real-estate-slider .dot {
    width: 14px;
    height: 14px;
    background: #fff;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
  }

  .real-estate-slider .dot:hover {
    opacity: 1;
    transform: scale(1.2);
  }

  .real-estate-slider .dot.active {
    background: #ffcc00;
    opacity: 1;
    transform: scale(1.4);
  }

  .split-title {
    font-size: 1.35rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-brand p {
    max-width: 100%;
  }
}