:root {
  /* Colors */
  --color-bg: #F4F5F7;
  --color-text: #333333;
  --color-text-light: #555555;
  --color-white: #ffffff;
  --color-footer: #1E1E1E;
  
  /* Brand Gradient (for text and accents) */
  --color-brand-start: #0D5B8E;
  --color-brand-end: #00A3C4;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(244, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 5%;
  box-shadow: var(--shadow-sm);
}

.logo img {
  height: 48px;
  display: block;
  object-fit: contain;
}

/* If logo image is not available or falls back, styling for text logo */
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .emac {
  background: linear-gradient(to right, var(--color-brand-start), var(--color-brand-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.logo-text .holdings {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--color-text-light);
  margin-top: 2px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  position: relative;
}

.nav-link:hover {
  color: var(--color-brand-start);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, var(--color-brand-start), var(--color-brand-end));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  padding-top: 100px;
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: var(--radius-md);
  max-width: 500px;
  box-shadow: var(--shadow-md);
}

.hero-title {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: #111;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #E5E7EB;
  color: #111;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.btn:hover {
  background: #D1D5DB;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Sectors Section
   ========================================================================== */
.sectors {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  width: 100%;
}

.sector-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 15px 25px 15px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  border: 1px solid rgba(0,0,0,0.03);
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.sector-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-footer);
  color: #A0A0A0;
  padding: 30px 5%;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  position: relative;
}

.footer-left {
  flex: 1;
}

.footer-right {
  flex: 2;
  text-align: right;
  max-width: 600px;
}

.footer-right p {
  margin-bottom: 8px;
}

.footer-links {
  display: inline-flex;
  gap: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.3);
}

.footer-links a:hover {
  text-decoration-color: #fff;
}

.footer-star {
  position: absolute;
  bottom: 30px;
  right: 5%;
  width: 24px;
  height: 24px;
  opacity: 0.2;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
  .hero {
    height: 50vh;
  }
  .hero-content {
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    padding: 30px;
  }
  .hero-title {
    font-size: 28px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-right {
    text-align: left;
    max-width: none;
  }
  .footer-star {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none; /* In a full app, implement a hamburger menu here */
  }
  .hero {
    height: 60vh;
  }
  .sector-card {
    min-width: 100%;
  }
}
