/* styles.css - Modern CSS3 (Flexbox/Grid), no icons, corporate branding */

/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0a2e5a;
  --primary-light: #1f4a7a;
  --accent: #0077be;
  --accent-hover: #005f99;
  --dark-bg: #0b1a30;
  --gray-bg: #f4f7fc;
  --white: #ffffff;
  --text-dark: #1e2a41;
  --text-muted: #4a5b73;
  --border-light: #e2e8f0;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 40, 80, 0.1);
  --shadow-hover: 0 20px 30px -10px rgba(0, 90, 150, 0.25);
  --transition: 0.25s ease;
  --font-main:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1280px;
  --header-height: 80px;
}

/* ===== BASE STYLES ===== */
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-light);
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.bg-light {
  background: var(--gray-bg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 90, 150, 0.3);
}

.btn-light {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
  background: #f0f4ff;
  color: var(--primary);
}

/* ===== HEADER ===== */
.sticky-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--accent);
}

.header-cta {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--primary-light);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, #f0f6ff 0%, #ffffff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
}

.hero-illu {
  text-align: center;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.anchor-link {
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}

.why-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.badge {
  background: white;
  padding: 0.7rem 2rem;
  border-radius: 60px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  border: 1px solid var(--border-light);
}

/* ===== TECH STACK ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-item {
  background: var(--gray-bg);
  padding: 1.5rem 0.5rem;
  text-align: center;
  border-radius: 40px;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testi-card {
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.stars {
  color: #f5b342;
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.testi-card footer {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== MISSION/VISION ===== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mv-item {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 1.5rem auto 2rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.contact-info p {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--accent);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: #cbd5e0;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer ul li {
  margin-bottom: 0.8rem;
}

.footer a {
  color: #cbd5e0;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2a3b55;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero-grid,
  .contact-grid,
  .footer-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .badge {
    width: 100%;
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
