@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #0f172a; /* Deep Slate */
  --secondary-color: #eab308; /* Premium Gold */
  --accent-color: #3b82f6; /* Tech Blue */
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg-color);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
  color: #fff;
  border-bottom: 4px solid var(--secondary-color);
  padding: 3rem 1rem 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

header p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Tabs Navigation */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 1rem 1rem;
}

.tabs a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.tabs a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  border-color: var(--secondary-color);
}

.tabs a.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.3);
  border-color: var(--secondary-color);
}

main {
  flex: 1;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.card h2 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.75rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.card p {
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.services-list li {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  border-left: 3px solid var(--accent-color);
}

.services-list li::before {
  content: '✓';
  color: var(--accent-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.subsidiary-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.subsidiary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.techserv-card::before { background: var(--accent-color); }
.clearance-card::before { background: var(--secondary-color); }

.subsidiary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.subsidiary-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.35rem;
}

.subsidiary-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.techserv-card .card-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
}

.clearance-card .card-icon {
  background: rgba(234, 179, 8, 0.1);
  color: var(--secondary-color);
}

.btn-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity var(--transition-speed);
}

.subsidiary-card:hover .btn-link {
  opacity: 0.8;
}

.section-heading {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.login-tab {
  background: rgba(59, 130, 246, 0.3) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--primary-color);
  border-top: 4px solid var(--secondary-color);
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: auto;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  header { padding: 1.5rem 1rem 0; }
  header h1 { font-size: 1.75rem; }
  header p { font-size: 0.9rem; margin-bottom: 1rem; }

  .tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .tabs a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  main { margin: 1rem auto; padding: 0 0.75rem; }
  .card { padding: 1.5rem; }
  .card h2 { font-size: 1.35rem; }
  .card p { font-size: 0.95rem; }

  .subsidiaries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .subsidiary-card { padding: 1.5rem; }
  .subsidiary-card h3 { font-size: 1.2rem; }

  .section-heading { font-size: 1.25rem; }
}

/* Header Logo Container */
.header-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.header-logo-container img {
  height: 52px;
  width: 52px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}


