/* ============================================
   Active Conglomerate Ltd. — Global Styles
   Colors: Navy #0F2557 | Green #2D6A4F | White #F8F9FA
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0F2557;
  --navy-light: #1A3A7A;
  --navy-dark: #091838;
  --green: #2D6A4F;
  --green-light: #40916C;
  --green-dark: #1B4332;
  --white: #F8F9FA;
  --pure-white: #FFFFFF;
  --gray-50: #F0F2F5;
  --gray-100: #E2E6EC;
  --gray-200: #C5CCD6;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --shadow-sm: 0 1px 3px rgba(15, 37, 87, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 37, 87, 0.1);
  --shadow-lg: 0 10px 40px rgba(15, 37, 87, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 37, 87, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--pure-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 37, 87, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 37, 87, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--pure-white);
  font-size: 18px;
  font-family: 'Inter', sans-serif;
}

.nav-logo-text {
  color: var(--pure-white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: var(--green-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pure-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.nav-cta {
  background: var(--green);
  color: var(--pure-white);
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background: var(--green-light);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(45, 106, 79, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--pure-white), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 106, 79, 0.2);
  border: 1px solid rgba(45, 106, 79, 0.3);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--pure-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-light);
}

.hero-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 420px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.hero-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero-card h3 {
  color: var(--pure-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--pure-white);
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: var(--navy);
  color: var(--pure-white);
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* --- Section Styles --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--navy);
  color: var(--pure-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-label {
  color: var(--green-light);
}

/* --- Sector Cards --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sector-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.sector-card:hover::before {
  transform: scaleX(1);
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.sector-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

.sector-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.sector-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sector-card .sector-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: var(--transition);
}

.sector-card .sector-link:hover {
  gap: 10px;
  color: var(--green-dark);
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Values / Features Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.value-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- About Page Specific --- */
.about-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(45, 106, 79, 0.12), transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-content h1 {
  color: var(--pure-white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--navy));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border: 3px solid var(--pure-white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Leadership */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', serif;
}

.team-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Sectors Page Specific --- */
.sector-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
}

.sector-detail:last-child {
  border-bottom: none;
}

.sector-detail:nth-child(even) {
  direction: rtl;
}

.sector-detail:nth-child(even) > * {
  direction: ltr;
}

.sector-detail-visual {
  background: linear-gradient(135deg, var(--navy), var(--green-dark));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.sector-detail-visual .detail-icon {
  font-size: 5rem;
  opacity: 0.9;
}

.sector-detail-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.sector-detail-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sector-detail-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sector-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.sector-detail-content ul li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--gray-50);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(45, 106, 79, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--pure-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  justify-content: center;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--green-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.15), transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--pure-white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer h4 {
  color: var(--pure-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--green-light);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .sector-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sector-detail:nth-child(even) {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
