/* ============================================
   WESTMADE - Main Stylesheet
   Building & Facilities Renovations
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --orange: #E8611A;
  --orange-light: #F47B3B;
  --orange-dark: #C4500F;
  --dark: #1A1A1A;
  --dark-2: #222222;
  --dark-3: #2A2A2A;
  --grey-dark: #333333;
  --grey: #666666;
  --grey-light: #999999;
  --grey-lighter: #E5E5E5;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --shadow: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 60px;
  width: auto;
  margin-bottom: 30px;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--grey-dark);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: var(--orange);
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.preloader-count {
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--grey-light);
  letter-spacing: 3px;
}

/* ---------- Cursor ---------- */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(2.5);
  background: rgba(232, 97, 26, 0.1);
  border-color: var(--orange-light);
}

@media (max-width: 768px) {
  .cursor { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 97, 26, 0.4);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5.5px);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--orange);
}

@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-bg-image.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.6) 50%, rgba(26,26,26,0.4) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 97, 26, 0.15);
  border: 1px solid rgba(232, 97, 26, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.5s forwards;
}

.hero h1 .highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(232, 97, 26, 0.3);
  z-index: -1;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.7s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.9s forwards;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(232, 97, 26, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- Hero Scroll Indicator ---------- */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s 1.2s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 60px; }
  50% { opacity: 0.4; height: 40px; }
}

/* ---------- Section Styles ---------- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-grey {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-title .highlight {
  color: var(--orange);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* ---------- Feature Cards (Three Column) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.feature-card {
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.feature-card:nth-child(1) { background: var(--dark-2); }
.feature-card:nth-child(2) { background: var(--orange); }
.feature-card:nth-child(3) { background: var(--dark-3); }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--orange-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:nth-child(2)::before {
  background: var(--white);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(255,255,255,0.2);
}

.feature-card:nth-child(2) .feature-icon svg {
  stroke: var(--white);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.feature-card:nth-child(2) .feature-number {
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- About / Welcome Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--grey);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.about-list {
  margin-bottom: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--grey-dark);
  font-weight: 500;
}

.about-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--orange);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 60%);
}

.service-card-body {
  padding: 30px;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card-body p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--orange);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 14px;
}

.service-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.why-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--orange);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(232, 97, 26, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

.why-content h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}

.why-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background var(--transition);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(232, 97, 26, 0.9) 0%, rgba(26,26,26,0.2) 60%);
}

.project-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  width: fit-content;
}

.project-card-overlay h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}

.project-card-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonials-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  text-align: center;
  padding: 40px;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--grey-dark);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.testimonial-role {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 500;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grey-lighter);
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ---------- CTA / Enquiry Section ---------- */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 97, 26, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.cta-phone svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
}

/* ---------- Contact Form ---------- */
.contact-form {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-submit {
  width: 100%;
  justify-content: center;
}

/* ---------- Clients / Partners ---------- */
.clients-track {
  display: flex;
  animation: scrollLogos 30s linear infinite;
  gap: 60px;
  align-items: center;
}

.clients-track-wrapper {
  overflow: hidden;
  padding: 40px 0;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  height: 45px;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.7);
  transition: all var(--transition);
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .nav-logo-img {
  height: 34px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--orange);
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  background: var(--dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(232, 97, 26, 0.08));
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.page-header-breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.page-header-breadcrumb a:hover {
  color: var(--orange);
}

.page-header-breadcrumb .sep {
  color: var(--orange);
}

/* ---------- About Page Styles ---------- */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--grey-lighter);
  top: 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(232, 97, 26, 0.2);
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-content .year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--grey);
  font-size: 0.95rem;
}

/* ---------- Team Grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.team-card-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 24px;
  text-align: center;
}

.team-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-card-body .role {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Accreditations ---------- */
.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.accreditation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.accreditation-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.accreditation-card svg {
  width: 48px;
  height: 48px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 16px;
}

.accreditation-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.accreditation-card p {
  font-size: 0.85rem;
  color: var(--grey);
}

/* ---------- Services Page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--grey-lighter);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-detail-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--grey);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--grey-dark);
}

.service-detail-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
}

/* ---------- Projects Page ---------- */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--grey-lighter);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 97, 26, 0.05);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.project-item.tall {
  grid-row: span 2;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.8s ease;
}

.project-item.tall img {
  min-height: 590px;
}

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

.project-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-item:hover .project-item-overlay {
  opacity: 1;
}

.project-item-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.project-item-overlay span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--grey);
  font-size: 0.9rem;
}

.contact-info-card a {
  color: var(--orange);
  font-weight: 600;
}

.contact-form-page {
  background: var(--white);
  border: 1px solid var(--grey-lighter);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-form-page .form-group label {
  color: var(--dark);
}

.contact-form-page .form-group input,
.contact-form-page .form-group textarea,
.contact-form-page .form-group select {
  background: var(--off-white);
  border-color: var(--grey-lighter);
  color: var(--dark);
}

.contact-form-page .form-group input::placeholder,
.contact-form-page .form-group textarea::placeholder {
  color: var(--grey-light);
}

.contact-form-page .form-group input:focus,
.contact-form-page .form-group textarea:focus,
.contact-form-page .form-group select:focus {
  border-color: var(--orange);
  background: var(--white);
}

.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(232, 97, 26, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange-light);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 350px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .accreditations-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .projects-masonry { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 35px 25px; }
  .hero h1 { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .projects-masonry { grid-template-columns: 1fr; }
  .project-item.tall img { min-height: 280px; }
  .project-item.tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .accreditations-grid { grid-template-columns: 1fr; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0 0 0 40px;
    text-align: left;
    flex-direction: row;
  }
  .timeline::before { left: 0; }
  .timeline-dot { left: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
  .container { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; }
}
