/* ===================================
   Nutech Solutions — Your Technology Partner
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green: #4CBB17;
  --green-light: #7BC67E;
  --green-dark: #3A9412;
  --blue: #2B7DE9;
  --blue-dark: #1A5BB5;
  --gray-dark: #333333;
  --gray-medium: #6B7280;
  --gray-light: #F5F7FA;
  --white: #FFFFFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* ===================================
   HEADER
   =================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

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

.nav-links a:hover {
  color: var(--blue);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 0;
  transition: all var(--transition);
}

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

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

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--blue);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ===================================
   HERO
   =================================== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 50%, var(--gray-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(75, 187, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(43, 125, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-medium);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(76, 187, 23, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(76, 187, 23, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}

/* ===================================
   ABOUT
   =================================== */
.about {
  padding: 80px 0;
  background: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  border: 1px solid rgba(43, 125, 233, 0.25);
  padding: 4px 14px;
  border-radius: 0;
  margin-bottom: 16px;
}

.about-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.about-intro p {
  font-size: 1.05rem;
  color: var(--gray-medium);
  line-height: 1.7;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.service-card {
  background: var(--gray-light);
  border-radius: 0;
  padding: 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(43, 125, 233, 0.12);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.service-icon.cloud {
  background: rgba(43, 125, 233, 0.1);
}

.service-icon.dev {
  background: rgba(76, 187, 23, 0.1);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gray-dark);
}

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

/* Stats */
.stats {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-item {
  display: inline-block;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-medium);
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-intro h2 {
    font-size: 1.6rem;
  }
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  padding: 80px 0;
  background: var(--gray-light);
}

.contact-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gray-dark);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 500;
  padding: 16px 28px;
  background: var(--white);
  border-radius: 0;
  border: 1px solid rgba(43, 125, 233, 0.15);
  transition: all var(--transition);
}

.contact-email:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(43, 125, 233, 0.1);
  transform: translateY(-2px);
}

.contact-email svg {
  width: 20px;
  height: 20px;
  fill: var(--blue);
  flex-shrink: 0;
}

/* ===================================
   TAGLINE BANNER
   =================================== */
.tagline-banner {
  background: var(--gray-dark);
  padding: 48px 0;
}

.tagline-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .tagline-banner p {
    font-size: 1rem;
  }
}

/* ===================================
   SERVICES
   =================================== */
.services {
  padding: 80px 0;
  background: var(--gray-light);
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-dark);
}

.services .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-icon svg {
  color: inherit;
}

.service-icon.devops {
  background: rgba(43, 125, 233, 0.15);
}

.service-icon.data {
  background: rgba(76, 187, 23, 0.15);
}

.service-icon.erp {
  background: rgba(43, 125, 233, 0.12);
}

@media (max-width: 900px) {
  .services .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   PROCESS
   =================================== */
.process {
  padding: 80px 0;
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  position: relative;
  padding: 28px;
  background: var(--gray-light);
  border-left: 3px solid var(--green);
  transition: all var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   INDUSTRIES
   =================================== */
.industries {
  padding: 80px 0;
  background: var(--gray-light);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  color: var(--gray-medium);
}

.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  color: var(--blue);
  border-color: rgba(43, 125, 233, 0.2);
}

.industry-item span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.btn-cta {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  background: var(--gray-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--gray-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 32px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.footer-email a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

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

@media (max-width: 600px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================
   ANIMATIONS (entrance)
   =================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}