/* ========== AIKR TECH - MAIN STYLESHEET ========== */
/* Color Scheme: Deep Mulberry, Warm Amber Gold, Soft Cream */
:root {
  --primary: #5D1A3C;
  --primary-light: #7D2D55;
  --primary-dark: #3D0E26;
  --accent: #C4880D;
  --accent-light: #E5A820;
  --accent-dark: #8B5E00;
  --bg: #FDF8F2;
  --bg-alt: #F5EDE2;
  --text: #1A1517;
  --text-light: #4A4346;
  --text-muted: #6B6368;
  --white: #FFFFFF;
  --secondary: #3A7D5B;
  --secondary-light: #5A9E7A;
  --sand: #EDD9C4;
  --sand-light: #F7EFE5;
  --border: #D9CEBF;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

/* ========== SITE NAVBAR (.site-nav CLASS - not bare nav) ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-lg);
}

.site-nav .nav-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.site-nav .nav-brand span {
  color: var(--accent);
}

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

.site-nav .nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
}

.site-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.site-nav .nav-links a:hover::after,
.site-nav .nav-links a.active::after {
  width: 100%;
}

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

.site-nav .nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background-color var(--transition);
}

.site-nav .nav-cta:hover {
  background-color: var(--primary-light);
}

.site-nav .nav-cta::after {
  display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 8rem 1.5rem 5rem;
  background: linear-gradient(170deg, var(--primary-dark) 0%, var(--primary) 40%, #4A1530 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(196,136,13,0.06);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(58,125,91,0.05);
}

.hero .hero-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p {
  font-size: 1.2rem;
  color: var(--sand);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

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

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

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

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

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

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

/* ========== SECTION COMMONS ========== */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* ========== SERVICES CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background-color: var(--sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background-color: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  color: var(--white);
}

.about-image .ai-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.about-image p {
  color: var(--sand);
  font-size: 1.1rem;
}

.about-content .highlight-box {
  background-color: var(--white);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.5rem;
}

.about-content .highlight-box p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== COUNTERS ========== */
.counters-section {
  background-color: var(--primary-dark);
  padding: 4rem 1.5rem;
  color: var(--white);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.counter-item .counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.counter-item .counter-label {
  margin-top: 0.5rem;
  color: var(--sand);
  font-size: 0.95rem;
}

/* ========== PROCESS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -30%;
  width: 60%;
  height: 2px;
  background-color: var(--border);
}

.process-step:last-child::after {
  display: none;
}

/* ========== INDUSTRIES ========== */
.industries-section {
  background-color: var(--bg-alt);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.industry-tag {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.industry-tag:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: var(--shadow);
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background-color: var(--primary);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

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

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-info .info-item .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

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

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,136,13,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

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

.form-success {
  display: none;
  background-color: var(--secondary);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--sand);
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--sand);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent-light);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--accent);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.2rem; }

  .nav-toggle { display: flex; }

  .site-nav .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    gap: 1.5rem;
  }

  .site-nav .nav-links.active {
    right: 0;
  }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}
