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

:root {
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  --navy: #1a4e8f;
  --blue: #2d74bc;
  --blue-light: #6ea8db;
  --extra-light: #b3cfee;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --white: #ffffff;
  --light-bg: #f4f6fb;
  --text-dark: #121221;
  --text-mid: #3a3a5c;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(26,78,143,0.08);
  --shadow-lg: 0 20px 50px rgba(26,78,143,0.15);
}

/* Global Typography Refinement */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1rem;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(74, 137, 192, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px; /* Reduced from 72px */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo img {
  height: 60px; /* Reduced from 48px */
  width: auto;
  filter: brightness(1.1);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo span small {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.nav-links a {
  display: block;
  padding: 6px 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem; /* Slightly smaller */
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.mobile-contact-info {
  display: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(201,162,39,0.12);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Link styles */
.view-all-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.view-all-link:hover {
  color: var(--navy);
  transform: translateX(5px);
}

.view-all-link-light {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.view-all-link-light:hover {
  color: var(--gold-light);
  transform: translateX(5px);
}

/* ===== PAGES ===== */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 80vh; /* Reduced from 100vh */
  min-height: 550px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, #B3CFEE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,162,39,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26,58,143,0.4) 0%, transparent 50%);
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Diagonal accent bar */
.hero-accent {
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  width: 300px;
  background: rgba(201,162,39,0.08);
  transform: skewX(-8deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-logo-big {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(201,162,39,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: fadeDown 0.6s ease both;
}

.hero-logo-big img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.35s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.5s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

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

/* Glass effect button */
.glass-btn {
  background: rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.glass-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--white) !important;
  color: var(--white) !important;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* HERO SHAPES */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.shape-1 {
  top: 10%; right: 10%;
  width: 400px; height: 400px;
  background: rgba(26, 78, 143, 0.3);
  animation: floatShape 20s infinite alternate;
}

.shape-2 {
  bottom: 10%; left: -5%;
  width: 500px; height: 500px;
  background: rgba(74, 137, 192, 0.4);
  animation: floatShape 25s infinite alternate-reverse;
}

.shape-3 {
  top: 40%; left: 30%;
  width: 300px; height: 300px;
  background: rgba(201, 162, 39, 0.1);
  animation: floatShape 15s infinite alternate;
}

@keyframes floatShape {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(40px, 60px) rotate(10deg); }
}

/* TICKER */
.ticker-wrapper {
  background: var(--gold);
  padding: 12px 0; /* Slightly thinner */
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.ticker-content {
  display: inline-block;
  animation: tickerLoop 40s linear infinite;
}

.ticker-item {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 40px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

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

/* TAG STYLES */
.section-tag-gold, .section-tag-blue {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag-gold::before, .section-tag-blue::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
}

.section-tag-gold { color: var(--gold); }
.section-tag-gold::before { background: var(--gold); }

.section-tag-blue { color: var(--blue); }
.section-tag-blue::before { background: var(--blue); }

/* ABOUT ALT */
.about-grid-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.image-main {
  height: 500px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
  text-align: center;
}

.experience-badge .years {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  display: block;
}

/* MODERN SERVICES */
.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-modern-card {
  height: 100%;
}

.service-modern-card .card-inner {
  background: var(--white);
  padding: 48px 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-modern-card:hover .card-inner {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.service-modern-card:hover .service-icon-wrapper {
  background: var(--navy);
  color: var(--white);
}

.service-icon-wrapper img {
  width: 40px; height: 40px; object-fit: contain;
}

.service-modern-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.service-modern-card p {
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8em; /* 3 lines * 1.6 line-height */
}

.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* FEATURED PROJECTS ALT */
.dark-section {
  background: #dbeafe; /* Light but saturated blue-gray */
  color: var(--text-dark);
}

.section-header.invert .section-title {
  color: var(--text-dark);
}

.projects-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 24px;
  margin-top: 60px;
}

.project-featured-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-featured-card.large-card {
  grid-row: span 2;
}

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

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

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 137, 192, 0.7) 0%, rgba(74, 137, 192, 0.2) 50%, transparent 100%);
}

.project-location {
  position: absolute;
  top: 30px; left: 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.project-info-minimal {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
}

.project-info-minimal h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.large-card .project-info-minimal h3 {
  font-size: 2.2rem;
}

.project-link-simple {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* PARTNERS SLIDER */
.partners-slider {
  margin-top: 40px;
  overflow: hidden;
  padding: 20px 0;
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: partnersLoop 30s linear infinite;
  width: max-content;
}

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

.partner-logo-item img {
  height: 50px;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.3s;
}

.partner-logo-item:hover img {
  filter: grayscale(0) opacity(1);
}

/* FINAL CTA OVERHAUL */
.final-cta {
  background: #f8fafc;
  padding: 100px 0;
  position: relative;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cta-bg-elements {
  position: absolute;
  inset: 0;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 137, 192, 0.1);
}

.cta-circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
}

.cta-circle-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
}

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

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--navy);
}

.cta-text p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-contact-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255,255,255,0.1);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-form-card {
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.cta-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--light-bg);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
  border-color: var(--blue);
}

.input-group textarea {
  height: 120px;
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(74, 137, 192, 0.3);
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .about-grid-alt, .cta-content-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .cta-text { text-align: center; }
  .cta-contact-pills { justify-content: center; }
  .cta-text h2 { font-size: 2.8rem; }
  .projects-featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-featured-card { height: 350px; }
  .project-featured-card.large-card { grid-row: span 1; height: 450px; }
}

@media (max-width: 600px) {
  .cta-text h2 { font-size: 2.22rem; }
  .input-row { grid-template-columns: 1fr; }
  .cta-form-card { padding: 30px; }
  .experience-badge { right: 0; bottom: -20px; padding: 20px; }
}

/* Stats bar */
.stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,162,39,0.3);
  z-index: 2;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 32px;
}

.stat-item {
  padding: 18px 15px; /* Reduced padding */
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--light-bg);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title, .section-title-large {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.section-title-large {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.section-title span, .section-title-large span {
  color: var(--gold);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 600px;
}

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

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: rgba(201, 162, 39, 0.15);
  z-index: -1;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,58,143,0.2);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

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

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

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

.project-img {
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,75,0.6), transparent);
}

.project-img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.project-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 56px;
}

.gallery-item {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(13,27,75,0.9), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 78, 143, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.gallery-overlay span {
  font-size: 2rem;
  color: white;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 33, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .lightbox {
    padding: 20px;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

.gallery-item.large {
  grid-column: span 2;
  min-height: 300px;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 350px;
}

.gallery-item:not(.large):not(.tall) {
  min-height: 200px;
}

/* ===== CERTS ===== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.cert-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(201,162,39,0.08);
}

.cert-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,162,39,0.15);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.cert-badge {
  display: inline-block;
  margin-top: 16px;
  background: var(--light-bg);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 50px;
}

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

.about-visual {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-main-img::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,27,75,0.7), transparent);
}

.about-float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 180px;
}

.about-float-card .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.about-float-card .lbl {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-top: 4px;
}

.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.about-list-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--light-bg);
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 137, 192, 0.3);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb span {
  color: var(--gold-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 64px 0 32px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand img { height: 60px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

@keyframes float {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(-14px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ===== RESPONSIVE ===== */
/* Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 75, 0.5);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-inner {
    padding: 0 24px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    border-left: 2px solid var(--gold);
  }

  .nav-links.mobile-open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
  }

  .mobile-contact-info h4 {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
  }

  .mobile-contact-info a {
    padding: 0;
    font-size: 0.95rem;
    color: white;
    text-transform: none;
    border: none;
  }

  .mobile-contact-info p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .about-grid, .contact-grid, .cta-content-wrapper { 
    grid-template-columns: 1fr; 
    gap: 48px;
  }

  .about-visual { display: none; }
  
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  
  .projects-featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .nav-logo img {
    height: 48px;
  }
  
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  
  .hero { height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  
  .section-tag-gold, .section-tag-blue { font-size: 0.7rem; }
  .section-title { font-size: 1.8rem !important; }

  .cert-card { padding: 24px 20px; }
  .service-modern-card .card-inner { padding: 32px 24px; }
}

/* Success notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #1a8f4b;
  color: white;
  padding: 16px 24px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
