/* styles.css */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3a62;
  --secondary: #2c3e50;
  --accent: #e67e22;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --border: #dee2e6;
  --success: #28a745;
  --error: #dc3545;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --container-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 600;
  color: var(--secondary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: white;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: white;
}

.btn--secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: white;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Header */
.site-header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo__link {
  text-decoration: none;
}

.primary-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.hamburger {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--secondary);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #ecf0f1;
  padding-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-text {
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #ecf0f1;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
  color: white;
}

.footer-address {
  font-style: normal;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-address a {
  color: #ecf0f1;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--accent);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Hero Section (Homepage) */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a5276 100%);
  color: white;
  padding: 5rem 0;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  color: white;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__cta .btn--primary {
  background: white;
  color: var(--primary);
}

.hero__cta .btn--primary:hover {
  background: var(--accent);
  color: white;
}

.hero__cta .btn--secondary {
  border-color: white;
  color: white;
}

.hero__cta .btn--secondary:hover {
  background: white;
  color: var(--primary);
}

/* Expertise Grid */
.expertise {
  padding: 5rem 0;
  background: var(--light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.expertise-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.expertise-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

/* Capabilities Timeline */
.capabilities {
  padding: 5rem 0;
}

.capabilities-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.capability-item {
  flex: 1 1 180px;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.2s;
}

.capability-item:hover {
  background: var(--light);
}

.capability-item__step {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 1rem;
}

.capability-item__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section__title {
  color: white;
}

.cta-section__text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn--primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn--primary:hover {
  background: var(--accent);
  color: white;
}

/* Page Hero (secondary pages) */
.page-hero {
  background: linear-gradient(rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.85)), url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22 viewBox=%220 0 100 100%22%3E%3Crect width=%22100%22 height=%22100%22 fill=%22%230f4c81%22 opacity=%220.1%22/%3E%3C/svg%3E');
  background-size: cover;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-hero__title {
  color: white;
}

.page-hero__subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* About Page Specific */
.overview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.placeholder-image {
  background: var(--light);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--gray);
  font-weight: 500;
  border: 2px dashed var(--border);
}

.vision-mission {
  background: var(--light);
  padding: 4rem 0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vision-card, .mission-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.vision-text {
  font-size: 1.2rem;
  font-style: italic;
}

.mission-list {
  list-style: none;
  padding-left: 0;
}

.mission-list li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
}

.mission-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.values {
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}

.ecosystem {
  background: var(--light);
  padding: 4rem 0;
  text-align: center;
}

.ecosystem-content {
  max-width: 800px;
  margin: 0 auto;
}

.ecosystem-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Services Page */
.services-grid-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}

.service-card__title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  flex: 1 1 150px;
  text-align: center;
}

.process-step__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.4;
  display: block;
  margin-bottom: 0.5rem;
}

/* Industries Page */
.industries-grid-section {
  padding: 5rem 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s;
}

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

.industry-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.industry-card__title {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.cross-links {
  background: var(--light);
  padding: 4rem 0;
  text-align: center;
}

/* Products Page */
.product-categories {
  padding: 5rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}

.category-card__title {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.custom-note {
  background: var(--light);
  padding: 4rem 0;
  text-align: center;
}

.note-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Page */
.contact-details {
  padding: 4rem 0 2rem;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-info-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}

.inquiry-form {
  padding: 3rem 0 5rem;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
  min-height: 1.2rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 500;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

.location {
  padding: 3rem 0 5rem;
}

.map-placeholder {
  background: var(--light);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .overview-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    visibility: hidden;
  }

  .primary-nav.active {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav .nav-list {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .capabilities-timeline {
    flex-direction: column;
    align-items: stretch;
  }

  .capability-item {
    flex: auto;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .ecosystem-cta {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Accessibility & Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}