/* Font Size Variables - Import from home.css hierarchical system */
:root {
  /* Master Font Sizes - Company Page Common */
  --font-display-xl: clamp(4rem, 12vw, 8rem);
  --font-display-lg: clamp(4rem, 8vw, 7rem);
  --font-display-md: 4.2rem;
  --font-display-sm: 3.2rem;
  --font-title-xl: 3rem;
  --font-title-lg: clamp(2rem, 4vw, 2.2rem);
  --font-title-md: 1.6rem;
  --font-title-sm: 1.2rem;
  --font-body-xl: clamp(1.8rem, 3vw, 2rem);
  --font-body-lg: 1.5rem;
  --font-body-md: 1.8rem;
  --font-body-base: clamp(1.5rem, 2.5vw, 1.7rem);
  --font-body-sm: 1.7rem;
  --font-text-lg: 2rem;
  --font-text-md: 1.5rem;
  --font-text-base: 18px;
  --font-text-sm: 1.1rem;
  --font-text-xs: 0.9rem;
  
  /* Company Page Specific Assignments */
  --company-header-title: 5rem;
  --company-header-desc: 2rem;
  --company-h2: var(--font-title-lg);
  --company-h3: var(--font-body-xl);
  --company-h4: var(--font-body-lg);
  --company-text: var(--font-text-lg);
}

/* Company Page Common Styles */

/* Container */
.company-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px;
}

/* Company Header */
.company-header {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 140px;
}

.company-header h1 {
  font-size: 5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.company-header p {
  font-size: 2rem;
  color: #666;
}

/* Company Section */
.company-section {
  padding: 3% 0% 3% 0%;
  position: relative;
  overflow: hidden;
}

/* Common Typography Improvements */
.company-container h2 {
  font-size: var(--company-h2);
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.company-container h3 {
  font-size: var(--company-h3);
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 25px;
  letter-spacing: -0.3px;
}

.company-container h4 {
  font-size: var(--company-h4);
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 15px;
  letter-spacing: -0.2px;
}

.company-container p {
  font-size: var(--company-text);
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
  letter-spacing: -0.1px;
}

/* Common Card Styles */
.company-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 40px 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c2c2c 0%, #555 50%, #2c2c2c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-card:hover::before {
  opacity: 1;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border-color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    /* Tablet font adjustments */
    --company-header-title: 2.2rem;
    --company-header-desc: 1.15rem;
    --company-h2: 1.8rem;
    --company-h3: 1.5rem;
    --company-h4: 1.3rem;
    --company-text: 1.05rem;
  }
  
  .company-container {
    padding: 0 15px;
  }
  
  .company-header {
    padding: 60px 25px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
  }
  
  .company-card {
    padding: 30px 25px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    /* Mobile font adjustments */
    --company-header-title: 1.8rem;
    --company-header-desc: 1rem;
    --company-h2: 1.6rem;
    --company-h3: 1.3rem;
    --company-h4: 1.2rem;
    --company-text: 1rem;
  }
  
  .company-header {
    padding: 40px 20px 30px;
  }
  
  .company-card {
    padding: 25px 20px;
  }
}