/* FixNg-IT Website - Navy & Teal Theme */
:root {
  --navy: #0A2540;
  --navy-dark: #06182B;
  --teal: #00B4D8;
  --teal-dark: #0096C7;
  --teal-light: #90E0EF;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray: #64748B;
  --light-gray: #E2E8F0;
  --success: #10B981;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--navy);
}

.logo svg {
  width: 48px;
  height: 48px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  color: var(--navy);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

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

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

.btn-navy:hover {
  background: var(--navy-dark);
}

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

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3460 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h1 .highlight {
  color: var(--teal);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  color: var(--teal-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.section-header p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 12px 30px rgba(0,180,216,0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,180,216,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== ABOUT / WHY ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-item .icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.why-item h3 {
  margin-bottom: 8px;
}

.why-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== CERTIFICATES ========== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(10,37,64,0.1);
}

.cert-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #E0F7FA, #B2EBF2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
}

.cert-placeholder span {
  font-size: 2rem;
}

.cert-info {
  padding: 16px;
  text-align: center;
}

.cert-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cert-info p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== CONTACT ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 42px;
  height: 42px;
  background: rgba(0,180,216,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

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

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 1.1rem;
}

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

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

.footer-links li {
  margin-bottom: 8px;
}

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

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero {
    padding: 70px 0 80px;
  }
  .section {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ========== PRICING TABLE ========== */
.pricing-table-wrapper {
  max-width: 700px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 1rem;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
}

.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.pricing-table tbody tr:hover {
  background: rgba(0, 180, 216, 0.08);
}

.pricing-table td strong {
  color: var(--teal);
  font-size: 1.05rem;
}
