/* ============================================
   ARKHASOFT - Corporate Stylesheet
   Color Palette: Navy Blue & White
   ============================================ */

:root {
  --navy-900: #0a2540;
  --navy-800: #11315a;
  --navy-700: #1e40af;
  --navy-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 6px rgba(10, 37, 64, 0.07), 0 2px 4px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 10px 25px rgba(10, 37, 64, 0.1), 0 4px 10px rgba(10, 37, 64, 0.05);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--blue-500);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  color: var(--navy-700);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline:hover {
  background-color: var(--navy-900);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ===== Header / Navigation ===== */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo span {
  color: var(--blue-500);
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-900);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--navy-700);
}

.nav-cta {
  background-color: var(--navy-900);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background-color: var(--navy-700);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-900);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 6rem 0 7rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Page Header (smaller hero for inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
}

/* ===== Sections ===== */
section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.bg-navy h2, .bg-navy h3 {
  color: var(--white);
}

.bg-navy p {
  color: rgba(255,255,255,0.85);
}

/* ===== Service / Feature Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--blue-100);
  color: var(--navy-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy-700);
}

.card-link::after {
  content: ' →';
  transition: var(--transition);
}

.card-link:hover::after {
  margin-left: 4px;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-500);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Two-column section ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ===== Service Detail Section ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-block:nth-child(even) .service-text {
  order: 2;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block ul {
  list-style: none;
  margin-top: 1rem;
}

.service-block li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--gray-700);
}

.service-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 1.1rem;
}

.service-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.1rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 40px; height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-500);
  font-weight: 700;
}

.contact-info-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-item p, .contact-info-item a {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 0.95rem;
}

.contact-info-item a:hover { color: var(--white); }

.contact-form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-800);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: var(--max-width);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--navy-900);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
  line-height: 0;
}

.footer-logo span {
  color: var(--blue-500);
}

.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active { display: flex; }

  .hero { padding: 4rem 0 5rem 0; }

  .two-col, .service-block, .contact-grid, .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-block:nth-child(even) .service-text {
    order: 0;
  }

  .footer-grid {
    grid-templa