/* Summit Group of Consultants - Modern Corporate CSS */
/* Swiss & High-Contrast Design System */

:root {
  --summit-red: #C41E3A;
  --summit-red-hover: #A81A32;
  --summit-dark: #0A0A0A;
  --summit-gray: #4B4B4B;
  --summit-light-gray: #BFBFBF;
  --summit-bg-alt: #F4F4F5;
  --summit-white: #FFFFFF;
  --summit-border: #E5E7EB;
  --font-heading: 'Cabinet Grotesk', -apple-system, sans-serif;
  --font-body: 'Satoshi', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--summit-dark);
  background: var(--summit-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; }
::selection { background: var(--summit-red); color: white; }

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--summit-light-gray);
  transition: all 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--summit-gray); transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--summit-red); }

.nav-dropdown { position: relative; }
.dropdown-content {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--summit-light-gray);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 280px; padding: 8px 0; z-index: 100;
}
.nav-dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
  display: block; padding: 10px 20px; font-size: 14px;
  color: var(--summit-gray); transition: all 0.2s;
}
.dropdown-content a:hover { color: var(--summit-red); background: var(--summit-bg-alt); }

.nav-cta {
  margin-left: 16px; padding: 10px 24px;
  background: var(--summit-red); color: white !important;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; transition: background 0.2s;
}
.nav-cta:hover { background: var(--summit-red-hover); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--summit-dark); margin: 5px 0; transition: 0.3s;
}

/* ---- HERO ---- */
.hero-section {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; overflow: hidden;
  margin-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1612516803878-bdfd794765b7?crop=entropy&cs=srgb&fm=jpg&w=1920&q=85') center/cover;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.7); }
.hero-content {
  position: relative; z-index: 2; max-width: 1280px;
  margin: 0 auto; padding: 80px 24px;
}
.hero-content .overline {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--summit-red); margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900;
  letter-spacing: -0.04em; color: white; margin-bottom: 24px;
  max-width: 700px;
}
.hero-content p { font-size: 18px; color: var(--summit-light-gray); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-line { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--summit-red); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--summit-dark); color: white;
  padding: 120px 24px 60px; margin-top: 80px;
  position: relative;
}
.page-hero .overline { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: var(--summit-red); margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--summit-light-gray); max-width: 600px; }
.page-hero .red-line { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--summit-red); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: none; cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}
.btn-primary { background: var(--summit-red); color: white; }
.btn-primary:hover { background: var(--summit-red-hover); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: var(--summit-dark); }
.btn-dark { background: var(--summit-dark); color: white; }
.btn-dark:hover { background: var(--summit-red); }
.btn-outline-dark { background: transparent; color: var(--summit-dark); border: 2px solid var(--summit-dark); }
.btn-outline-dark:hover { background: var(--summit-dark); color: white; }

/* ---- SECTIONS ---- */
.section { padding: 80px 24px; }
.section-alt { background: var(--summit-bg-alt); }
.section-dark { background: var(--summit-dark); color: white; }
.section-red { background: var(--summit-red); color: white; }
.container { max-width: 1280px; margin: 0 auto; }

.overline {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--summit-red); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 24px;
}
.section-subtitle { font-size: 16px; color: var(--summit-gray); max-width: 600px; line-height: 1.7; }

/* ---- GRID ---- */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- STATS ---- */
.stats-bar { background: var(--summit-dark); padding: 64px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; color: var(--summit-red); margin-bottom: 8px; }
.stat-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--summit-light-gray); }

/* ---- CARDS ---- */
.card {
  background: white; border: 1px solid var(--summit-light-gray);
  padding: 32px; transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--summit-gray); }
.card-icon {
  width: 48px; height: 48px; background: var(--summit-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: white; font-size: 20px;
}
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--summit-gray); line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--summit-red); margin-top: 20px;
}
.card-link:hover { gap: 8px; }

/* Industry card with image */
.industry-card { overflow: hidden; padding: 0; }
.industry-card-img { position: relative; height: 200px; overflow: hidden; }
.industry-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.industry-card:hover .industry-card-img img { transform: scale(1.05); }
.industry-card-img .overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.4); }
.industry-card-img .icon-box {
  position: absolute; bottom: 16px; left: 24px;
  width: 48px; height: 48px; background: var(--summit-red);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
}
.industry-card-body { padding: 32px; }
.industry-card-body h3 { font-size: 20px; margin-bottom: 12px; }
.industry-card-body p { font-size: 14px; color: var(--summit-gray); line-height: 1.7; margin-bottom: 16px; }

/* Small industry cards for homepage */
.industry-mini {
  border: 1px solid var(--summit-light-gray); padding: 24px;
  text-align: center; transition: all 0.3s; cursor: pointer;
}
.industry-mini:hover { border-color: var(--summit-red); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.industry-mini-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: var(--summit-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--summit-gray); transition: all 0.3s;
}
.industry-mini:hover .industry-mini-icon { background: var(--summit-red); color: white; }
.industry-mini h3 { font-size: 14px; font-weight: 600; }

/* ---- WHY CHOOSE ---- */
.why-item { display: flex; gap: 16px; }
.why-num {
  width: 32px; height: 32px; background: var(--summit-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 4px;
  font-size: 12px; font-weight: 700; color: white;
}
.why-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--summit-light-gray); line-height: 1.7; }

/* ---- SERVICE DETAIL SECTION ---- */
.service-section { padding: 80px 24px; }
.service-section:nth-child(even) { background: var(--summit-bg-alt); }
.service-icon-lg {
  width: 64px; height: 64px; background: var(--summit-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: white; font-size: 28px;
}
.service-items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item {
  background: white; border: 1px solid var(--summit-light-gray);
  padding: 20px; transition: border-color 0.2s;
}
.service-item:hover { border-color: var(--summit-red); }
.service-item-inner { display: flex; align-items: flex-start; gap: 12px; }
.service-item-num { font-size: 12px; font-weight: 700; color: var(--summit-red); margin-top: 2px; }
.service-item-text { font-size: 14px; font-weight: 500; color: var(--summit-dark); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--summit-gray); margin-bottom: 8px;
}
.form-control {
  width: 100%; border: 1px solid var(--summit-light-gray);
  padding: 12px 16px; font-size: 14px; font-family: var(--font-body);
  transition: border-color 0.2s; background: white;
}
.form-control:focus { outline: none; border-color: var(--summit-red); }
textarea.form-control { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Contact info sidebar */
.contact-sidebar {
  background: var(--summit-dark); color: white; padding: 40px;
  position: sticky; top: 100px;
}
.contact-sidebar h3 { font-size: 20px; margin-bottom: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.contact-info-icon {
  width: 40px; height: 40px; background: var(--summit-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: white;
}
.contact-info-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--summit-light-gray); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; }
.contact-info-value a { color: white; }
.contact-info-value a:hover { color: var(--summit-red); }

/* Success/Error messages */
.alert { padding: 16px 20px; margin-bottom: 24px; font-size: 14px; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ---- VALUES / TALENT CARDS ---- */
.value-card {
  background: white; border: 1px solid var(--summit-light-gray);
  padding: 32px; transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.value-num { font-size: 12px; font-weight: 700; color: white; background: var(--summit-red); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--summit-gray); line-height: 1.7; }

.talent-card { border: 1px solid rgba(255,255,255,0.1); padding: 24px; transition: border-color 0.3s; }
.talent-card:hover { border-color: var(--summit-red); }
.talent-card i { color: var(--summit-red); margin-bottom: 12px; font-size: 18px; }
.talent-card p { font-size: 14px; font-weight: 600; }

/* ---- JOB CARDS ---- */
.job-card { border: 1px solid var(--summit-light-gray); padding: 32px; transition: border-color 0.3s; }
.job-card:hover { border-color: var(--summit-red); }
.job-card h3 { font-size: 20px; margin-bottom: 12px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--summit-gray); margin-bottom: 12px; }
.job-meta i { margin-right: 4px; }
.job-card p { font-size: 14px; color: var(--summit-gray); line-height: 1.7; }
.job-tags { display: flex; gap: 8px; margin-top: 12px; }
.job-tag { font-size: 12px; background: var(--summit-bg-alt); border: 1px solid var(--summit-light-gray); padding: 4px 12px; font-weight: 500; }
.job-card-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }

/* Why join cards */
.why-join-card { background: white; border: 1px solid var(--summit-light-gray); padding: 32px; transition: all 0.3s; }
.why-join-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.why-join-num { font-family: var(--font-heading); font-size: 48px; font-weight: 900; color: rgba(196,30,58,0.15); }
.why-join-card h3 { font-size: 20px; margin-top: 16px; margin-bottom: 12px; }
.why-join-card p { font-size: 14px; color: var(--summit-gray); line-height: 1.7; }

/* ---- FOOTER ---- */
.site-footer { background: var(--summit-dark); color: white; border-top: 4px solid var(--summit-red); }
.footer-container { max-width: 1280px; margin: 0 auto; padding: 80px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 64px; }
.footer-brand { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--summit-light-gray); line-height: 1.7; margin-bottom: 24px; }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--summit-red); margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: var(--summit-light-gray); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list a, .footer-contact-list span { font-size: 14px; color: var(--summit-light-gray); display: flex; align-items: center; gap: 8px; }
.footer-contact-list a:hover { color: var(--summit-red); }
.footer-contact-list i { font-size: 12px; }

.newsletter-form { display: flex; }
.newsletter-form input {
  flex: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px; font-size: 14px; color: white; font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: var(--summit-light-gray); }
.newsletter-form input:focus { outline: none; border-color: var(--summit-red); }
.newsletter-form button {
  background: var(--summit-red); color: white; border: none;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; font-family: var(--font-body);
}
.newsletter-form button:hover { background: var(--summit-red-hover); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px; display: flex; justify-content: space-between;
  align-items: center; font-size: 13px; color: var(--summit-light-gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-items-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; position: fixed; top: 80px; left: 0; right: 0;
    background: white; border-top: 1px solid var(--summit-light-gray);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    flex-direction: column; padding: 16px 24px; gap: 4px;
  }
  .main-nav.active { display: flex; }
  .mobile-toggle { display: flex; flex-direction: column; }
  .nav-dropdown .dropdown-content {
    position: static; box-shadow: none; border: none;
    padding-left: 16px;
  }
  .nav-dropdown:hover .dropdown-content { display: block; }
  .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .hero-content h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .job-card-inner { flex-direction: column; }
}

/* ---- ADMIN STYLES (kept from original) ---- */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: #2c3e50; color: white;
  position: fixed; height: 100vh; overflow-y: auto;
}
.sidebar-header { padding: 20px; background: var(--summit-red); text-align: center; }
.sidebar-header h3 { font-size: 20px; font-weight: 600; color: white; }
.sidebar-menu { padding: 20px 0; }
.menu-section { padding: 15px 20px 10px; font-size: 12px; color: #95a5a6; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.menu-item { display: flex; align-items: center; padding: 12px 20px; color: #ecf0f1; text-decoration: none; transition: all 0.3s; }
.menu-item i { margin-right: 12px; width: 20px; }
.menu-item:hover, .menu-item.active { background: #34495e; border-left: 3px solid var(--summit-red); padding-left: 17px; }
.admin-main { flex: 1; margin-left: 260px; }
.admin-header { background: white; padding: 15px 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; }
.admin-content { padding: 30px; }
.page-header { margin-bottom: 30px; }
.page-header h1 { font-size: 32px; color: #2c3e50; margin-bottom: 5px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px; text-align: left; border-bottom: 1px solid #ecf0f1; }
.data-table th { background: var(--summit-bg-alt); font-weight: 600; color: #2c3e50; }
