/* ============================================
   ONRGY SERVICES PRIVATE LIMITED - Website CSS
   Color Palette: Navy Blue, Dark Red, Grey
   Enhanced Edition — Premium Typography & Impact
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #1a2744;
  --navy-light: #2a3d66;
  --navy-dark: #0f1a2e;
  --red: #c0392b;
  --red-light: #e74c3c;
  --red-dark: #962d22;
  --orange: #e8792b;
  --orange-light: #f4a83d;
  --grey: #4a5568;
  --grey-light: #a0aec0;
  --grey-bg: #f8f9fb;
  --grey-border: #e8ecf1;
  --white: #ffffff;
  --text-dark: #1a202c;
  --text-body: #4a5568;
  --text-light: #718096;

  /* Font families */
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Refined transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Elevation system */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-color: 0 10px 40px rgba(192, 57, 43, 0.12);

  /* Border radius */
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideInUnderline {
  from { width: 0; }
  to { width: 80px; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.25rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  font-size: 1rem;
  line-height: 1.75;
}

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

a:hover {
  color: var(--red-light);
}

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.section-padding {
  padding: 110px 0;
}

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

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--red-light));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(231,76,60,0.35);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,39,68,0.2);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,39,68,0.25);
}

/* ======================
   NAVIGATION
   ====================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-logo .logo-text span {
  color: var(--red-light);
}

.nav-logo .logo-tagline {
  font-size: 0.65rem;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: -2px;
}

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

.nav-links a {
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0;
}

.nav-links a:hover {
  color: var(--red);
  background: rgba(192, 57, 43, 0.06);
}

.nav-links a.active {
  color: var(--red);
  background: rgba(192, 57, 43, 0.08);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 65%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42,61,102,0.25) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: fadeInUp 0.9s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.3);
  color: #f5b7b1;
  padding: 8px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--red-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInUp 0.9s ease-out 0.3s both;
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Geometric decoration for hero */
.hero-decoration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.05;
  animation: float 8s ease-in-out infinite;
}

.hero-decoration svg {
  width: 500px;
  height: 500px;
}

/* ======================
   CARDS
   ====================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--grey-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--red), var(--orange-light));
  transition: height 0.3s ease;
  z-index: 0;
}

.card:hover::before {
  height: 4px;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
}

.card-icon.navy {
  background: rgba(26,39,68,0.08);
  color: var(--navy);
}

.card-icon.red {
  background: rgba(192,57,43,0.08);
  color: var(--red);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ======================
   CERTIFICATION BADGES
   ====================== */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.cert-badge {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(192,57,43,0.1);
  transform: translateY(-2px);
}

/* ======================
   SERVICE CARDS
   ====================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--grey-border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.service-card-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.service-card-header .service-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 10px;
  right: 20px;
}

.service-card-header h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

.service-card-header .service-abbr {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.2px;
}

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

.service-card-body h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  margin-bottom: 12px;
  margin-top: 22px;
  font-weight: 700;
}

.service-card-body h4:first-child {
  margin-top: 0;
}

.service-card-body ul {
  list-style: none;
  padding: 0;
}

.service-card-body li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.93rem;
  color: var(--text-body);
}

.service-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-sectors {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--grey-border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sector-tag {
  background: var(--grey-bg);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}

.sector-tag:hover {
  background: var(--navy);
  color: var(--white);
}

/* ======================
   VALUES
   ====================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--grey-bg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-border);
}

.value-letter {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 14px;
  transition: var(--transition);
}

.value-item:hover .value-letter {
  transform: scale(1.08);
  border-radius: 50%;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--navy);
}

/* ======================
   DIRECTOR PROFILE
   ====================== */
.director-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 44px;
  border: 1px solid var(--grey-border);
  transition: var(--transition);
}

.director-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.director-photo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 320px;
  overflow: hidden;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.director-card:hover .director-photo img {
  transform: scale(1.03);
}

.director-photo .initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.director-info {
  padding: 44px 44px 44px 40px;
}

.director-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.director-info .director-title {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.director-info p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.director-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.credential-tag {
  background: var(--grey-bg);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ======================
   FOUNDATION
   ====================== */
.foundation-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.principle-card {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.principle-card:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.principle-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.principle-card h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.9rem;
}

/* ======================
   IMPACT TABLE
   ====================== */
.impact-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.impact-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.impact-table tbody td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--grey-border);
  font-size: 0.93rem;
}

.impact-table tbody tr:nth-child(even) {
  background: var(--grey-bg);
}

.impact-table tbody tr {
  transition: var(--transition);
}

.impact-table tbody tr:hover {
  background: rgba(192,57,43,0.04);
}

.impact-table tbody tr:last-child td {
  border-bottom: none;
}

/* ======================
   CLIENTS / LOGO GRID
   ====================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  font-size: 0.9rem;
}

.client-logo-card img {
  filter: grayscale(40%);
  opacity: 0.75;
  transition: var(--transition);
}

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

.client-logo-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 28px rgba(192,57,43,0.1);
  transform: translateY(-4px);
}

/* ======================
   CONTACT
   ====================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--grey-bg);
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(192,57,43,0.08);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  margin-bottom: 3px;
}

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

/* ======================
   FOOTER
   ====================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.footer-about .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.footer-about .logo-text span {
  color: var(--red-light);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-about img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

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

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* Footer social icons hover */
.footer a[style*="border-radius:8px"]:hover,
.footer a[style*="border-radius: 8px"]:hover {
  background: rgba(255,255,255,0.15) !important;
  transform: translateY(-2px);
}

/* ======================
   STATS BANNER
   ====================== */
.stats-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(231,76,60,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  animation: countUp 0.8s ease-out both;
}

.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ======================
   CTA BANNER
   ====================== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 40%, var(--red-light) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================
   PAGE HEADER (inner pages)
   ====================== */
.page-header {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,121,43,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease-out;
  letter-spacing: -0.03em;
}

.page-header p {
  color: rgba(255,255,255,0.55);
  font-size: 1.1rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.page-header .breadcrumb {
  margin-top: 22px;
  font-size: 0.88rem;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.4);
}

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

.page-header .breadcrumb span {
  color: var(--red-light);
}

/* ======================
   HIGHLIGHT BOX
   ====================== */
.highlight-box {
  background: var(--grey-bg);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 30px;
  margin: 20px 0;
  transition: var(--transition);
}

.highlight-box:hover {
  border-left-width: 6px;
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.highlight-box h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 8px;
}

/* ======================
   TWO COLUMN LAYOUT
   ====================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

/* ======================
   SCROLL ANIMATIONS
   ====================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ======================
   SCROLL TO TOP
   ====================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(192,57,43,0.25);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(192,57,43,0.35);
}

/* ======================
   VALUE CARDS (HEAT & COOL)
   ====================== */
.value-card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card-hover:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.18) !important;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.value-card-hover:hover div:first-child {
  transform: scale(1.08);
}

/* ======================
   SELECTION & ACCESSIBILITY
   ====================== */
::selection {
  background: rgba(192, 57, 43, 0.12);
  color: var(--navy);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  transition: opacity 0.3s ease;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  .hero h1 { font-size: 3rem; }
  .section-header h2 { font-size: 2.25rem; }
  .director-card { grid-template-columns: 1fr; }
  .director-photo { min-height: 340px; }
  .director-info { padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .principles-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat h3 { font-size: 2rem; }
  .section-header h2 { font-size: 2rem; }
  .section-padding { padding: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item h3 { font-size: 2.4rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card-hover { min-width: 0; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 2.2rem; }
  .cta-banner h2 { font-size: 1.8rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 20px;
    gap: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-top: 1px solid var(--grey-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    width: 100%;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .stat-item h3 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section-padding { padding: 56px 0; }
  .page-header h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.65rem; }
  .director-info { padding: 28px 20px; }
  .contact-info-card { padding: 32px 24px; }
}
