/* ====================================================
   INFINITY ELEVATOR LTD — Brand Stylesheet
   ==================================================== */

:root {
  --graphite: #1E293B;
  --dark-slate: #0F172A;
  --blue: #1A5276;
  --blue-light: #2980B9;
  --orange: #E67E22;
  --orange-hover: #D35400;
  --cool-white: #F5F7FA;
  --light-gray: #E2E8F0;
  --text: #334155;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --container: 1200px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cool-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Font loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

h1, h2, h3, h4, .heading-font {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  color: var(--dark-slate);
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all var(--transition);
  border: none; text-decoration: none; font-family: inherit;
}
.btn-primary {
  background: var(--orange); color: var(--white);
}
.btn-primary:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark-slate); }

.btn-dark {
  background: var(--graphite); color: var(--white);
}
.btn-dark:hover { background: var(--dark-slate); color: var(--white); transform: translateY(-1px); }

.btn-lg { padding: 18px 40px; font-size: 16px; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 800; font-size: 20px;
}
.nav-logo:hover { color: var(--orange); }
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--orange); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: var(--white);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 6px; transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 24px; font-size: 13px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--dark-slate);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,82,118,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,126,34,0.15); border: 1px solid rgba(230,126,34,0.3);
  color: var(--orange); padding: 8px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); font-weight: 800;
  color: var(--white); line-height: 1.05; margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p {
  font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,0.65);
  max-width: 560px; margin-bottom: 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-partners {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-partners p {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.35); margin-bottom: 16px; font-weight: 600;
}
.partner-logos {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.partner-logo {
  color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 700;
  letter-spacing: 1px; padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 6px;
  transition: all var(--transition);
}
.partner-logo:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

/* Stats Strip */
.stats-strip {
  background: var(--dark-slate); padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  text-align: center; padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 8px; font-weight: 500; }

/* Section common */
section { padding: 100px 0; }
.section-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange); font-weight: 700; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 44px); font-weight: 800;
  margin-bottom: 16px; color: var(--dark-slate);
}
.section-subtitle {
  font-size: 18px; color: var(--text-light); max-width: 640px;
  line-height: 1.7;
}
.section-header { margin-bottom: 56px; }
section.dark {
  background: var(--dark-slate);
}
section.dark .section-title { color: var(--white); }
section.dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* Flagship Card */
.flagship {
  background: linear-gradient(135deg, var(--graphite) 0%, #111827 100%);
  border-radius: 16px; padding: 48px; color: var(--white);
  position: relative; overflow: hidden;
}
.flagship::before {
  content: '278m'; position: absolute; top: -20px; right: 20px;
  font-size: 160px; font-weight: 900; color: rgba(255,255,255,0.03);
  font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1;
  pointer-events: none;
}
.flagship-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.flagship h3 { font-size: 28px; color: var(--white); margin-bottom: 8px; }
.flagship .stats-line {
  display: flex; gap: 24px; flex-wrap: wrap; margin: 16px 0 24px;
}
.flagship .stats-line span {
  font-size: 14px; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 6px;
}
.flagship .stats-line span::before {
  content: '▸'; color: var(--orange);
}

/* Services Cards */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 1px solid var(--light-gray);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(26,82,118,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  margin-top: 16px; transition: all var(--transition);
}
.service-card-link:hover { color: var(--orange); gap: 10px; }

/* Image utilities */
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.portfolio-card-image { overflow: hidden; position: relative; cursor: pointer; }
.portfolio-card-image::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none;
}
.portfolio-card:hover .portfolio-card-image::after { left: 150%; }
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.08); }
.portfolio-card:hover .portfolio-card-image { background: var(--dark-slate); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999; background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  justify-content: center; align-items: center;
  animation: lb-fade 0.3s ease;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lb-zoom 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  color: rgba(255,255,255,0.6); font-size: 36px;
  cursor: pointer; transition: color 0.3s; line-height: 1;
  background: none; border: none; font-family: inherit;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.4); font-size: 40px; cursor: pointer;
  padding: 20px; transition: color 0.3s; background: none; border: none; line-height: 1;
}
.lightbox-nav:hover { color: var(--white); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

  height: 100%; object-fit: cover; display: block;



/* Portfolio Grid */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portfolio-card {
  border-radius: 12px; overflow: hidden; position: relative;
  background: var(--white); box-shadow: var(--shadow);
  transition: all var(--transition); cursor: pointer;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card-image {
  height: 220px; background: linear-gradient(135deg, var(--graphite), var(--dark-slate));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.15); font-size: 48px;
}
.portfolio-card-body { padding: 24px; }
.portfolio-card-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(230,126,34,0.1); color: var(--orange);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.portfolio-card h3 { font-size: 17px; margin-bottom: 6px; }
.portfolio-card p { font-size: 13px; color: var(--text-light); }

/* Differentiators */
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.diff-item { text-align: center; }
.diff-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(230,126,34,0.1); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.diff-item h3 { font-size: 18px; margin-bottom: 10px; }
.diff-item p { font-size: 14px; color: var(--text-light); max-width: 300px; margin: 0 auto; line-height: 1.7; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark-slate), var(--graphite));
  text-align: center; padding: 80px 0;
}
.cta-section h2 {
  font-size: clamp(28px, 3vw, 40px); color: var(--white);
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.6); font-size: 17px;
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-section .btn-primary { font-size: 16px; padding: 16px 40px; }

/* Footer */
footer {
  background: var(--dark-slate); color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  margin-bottom: 48px;
}
footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
footer p, footer a { font-size: 14px; line-height: 1.8; }
footer a { color: rgba(255,255,255,0.6); display: block; }
footer a:hover { color: var(--orange); }
.footer-about .nav-logo-icon {
  margin-bottom: 16px;
}
.footer-about p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 320px; }
.footer-contact p { display: flex; gap: 8px; margin-bottom: 8px; }
.footer-contact .label { color: var(--orange); font-weight: 600; min-width: 70px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ==============================================
   SUBPAGE STYLES
   ============================================== */

.page-hero {
  background: linear-gradient(135deg, var(--dark-slate), var(--graphite));
  padding: 140px 0 60px; text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* Team Cards */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.team-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  box-shadow: var(--shadow); text-align: center;
  border: 1px solid var(--light-gray);
}
.team-card-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 32px; font-weight: 700; color: var(--white);
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.team-card .exp { font-size: 12px; color: var(--text-light); margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: var(--light-gray);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--cool-white);
}
.timeline-item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-item .year {
  font-size: 13px; color: var(--orange); font-weight: 700; margin-bottom: 4px;
}
.timeline-item p { font-size: 14px; color: var(--text-light); }

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn { padding: 3px 6px; font-size: 10px; border-radius: 4px; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 10px 18px; font-size: 12px; }

  .services-grid, .portfolio-grid, .diff-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .flagship { padding: 32px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 36px; }

  .partner-logos { gap: 16px; }
  .partner-logo { font-size: 12px; padding: 6px 12px; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}


/* IE Logo Container - 3D Glossy with Speed Light */
.ie-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ie-logo-wrap img {
  border-radius: 12px;
  box-shadow:
    0 6px 28px rgba(0,0,0,0.35),
    0 10px 50px rgba(230,126,34,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.ie-logo-wrap:hover img {
  transform: scale(1.04);
  box-shadow:
    0 8px 36px rgba(0,0,0,0.4),
    0 14px 60px rgba(230,126,34,0.18),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Glossy overlay on top of image */
.ie-logo-gloss {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 35%,
    transparent 50%,
    rgba(0,0,0,0.12) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Speed light - left side going up */
@keyframes light-up {
  0%, 100% { top: 10%; opacity: 0; }
  25% { opacity: 0.7; }
  50% { top: 80%; opacity: 0.2; }
  75% { opacity: 0.7; }
}
.ie-speed-up {
  position: absolute;
  left: -6px;
  width: 4px;
  height: 50px;
  border-radius: 3px;
  background: #E67E22;
  z-index: 3;
  animation: light-up 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(230,126,34,0.6));
}

/* Speed light - right side going down */
@keyframes light-down {
  0%, 100% { top: 80%; opacity: 0; }
  25% { opacity: 0.7; }
  50% { top: 10%; opacity: 0.2; }
  75% { opacity: 0.7; }
}
.ie-speed-down {
  position: absolute;
  right: -6px;
  width: 4px;
  height: 50px;
  border-radius: 3px;
  background: #E67E22;
  z-index: 3;
  animation: light-down 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(230,126,34,0.6));
}


/* Nav email link - blends with nav on desktop, stands out in mobile menu */
.nav-email-link {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-email-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .nav-email-link {
    color: var(--orange) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}