/*
Theme Name: fynexon
Description: Simplified Optimized Version
*/

/* =====================================
   VARIABLES (ONLY COLORS + FONT)
===================================== */

:root {
  --color-primary: #4caf4f;
  --color-primary-dark: #45a049;
  --color-primary-light: #e8f5e9;

  --color-gray: #6b7280;
  --color-dark: #111827;
  --color-light: #f9fafb;
  --color-white: #ffffff;

  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =====================================
   RESET
===================================== */

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

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

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

/* =====================================
   CONTAINER
===================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   NAVIGATION
============================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.nav__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Menu Links */
.nav__menu .nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav__menu .nav__links {
    display: flex;
  }
}

.menu-item a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s ease;
}

.menu-item a:hover,
.current_page_item a {
  color: var(--color-primary);
}

/* CTA */
.nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: block;
  }
}

/* Mobile Toggle */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  color: #374151;
  transition: background 0.2s ease;
}

.nav__toggle:hover {
  background: #f3f4f6;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
}

/* =====================================
   HERO
===================================== */
/* ================= HERO ================= */

.hero {
  padding: 120px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to bottom right,
    var(--color-primary-light),
    var(--color-white),
    var(--color-primary-light)
  );
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* LEFT CONTENT */

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* Badge Container */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  background-color: #d4f5d3; /* green-100 equivalent */
  border-radius: 999px;

  color: #4caf4f;
  font-size: 14px;
  font-weight: 500;
}

/* Icon Styling */
.hero-badge svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Optional Hover Effect */
.hero-badge:hover {
  background-color: #c8efc6;
  transition: 0.3s ease;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__desc {
  font-size: 18px;
  color: #555;
  max-width: 600px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* BUTTONS */

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

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

.btn--outline {
  background: #fff;
  border: 2px solid #ddd;
  color: #444;
}

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

/* STATS */

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.hero__stats h3 {
  font-size: 28px;
  color: var(--color-primary);
}

.hero__stats p {
  font-size: 14px;
  color: #666;
}

/* RIGHT IMAGE */

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.hero__floating {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floating-number {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ===============================
   COMMON HEADINGS
================================ */

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  margin: 15px auto 0;
}

.heading-md {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.heading-sm {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.text-lg {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.text-sm {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.section {
  padding: 100px 20px;
}

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

.about__grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 25px;
}

.about__stats h4 {
  font-size: 26px;
  color: var(--color-primary);
}

.about__stats span {
  font-size: 14px;
  color: #666;
}

/* CARDS */

.about__cards {
  margin-top: 80px;
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .about__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  padding: 30px;
  border-radius: 12px;
  background: #f9fafb;
  transition: 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.about-card__icon {
  width: 55px;
  height: 55px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
}

/* ===============================
   SERVICES SECTION
================================ */

.services {
  padding: 100px 20px;
  background: linear-gradient(
    to bottom right,
    #f9fafb,
    #f0fdf4
  );
}

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

.section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
}

/* GRID */

.services-grid {
  display: grid;
  gap: 30px;
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD */

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ICON */

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* LIST */

.service-list {
  margin-top: 15px;
  padding-left: 18px;
}

.service-list li {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}
/* ===============================
   TECHNOLOGIES SECTION
================================ */

.technologies {
  padding: 100px 20px;
  background: #fff;
}

.tech-category {
  margin-top: 60px;
}

.category-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}

.tech-grid {
  display: grid;
  gap: 20px;
}

/* Responsive grids */
.tech-grid-5 {
  grid-template-columns: repeat(2, 1fr);
}

.tech-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.tech-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 768px) {
  .tech-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Cards */

.tech-card {
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
  padding: 25px;
  border-radius: 16px;
  border: 2px solid #f1f1f1;
  text-align: center;
  transition: 0.3s ease;
}

.tech-card:hover {
  border-color: #d1fae5;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transform: translateY(-5px);
}

.tech-icon {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
}

/* Icon Gradients */

.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #ec4899); }
.gradient-dark { background: linear-gradient(135deg, #374151, #111827); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); }

.gradient-green { background: linear-gradient(135deg, #16a34a, #10b981); }
.gradient-lime { background: linear-gradient(135deg, #22c55e, #84cc16); }
.gradient-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #facc15); }

.gradient-db1 { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gradient-db2 { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.gradient-db3 { background: linear-gradient(135deg, #16a34a, #22c55e); }

.gradient-aws { background: linear-gradient(135deg, #f97316, #facc15); }
.gradient-azure { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gradient-gcp { background: linear-gradient(135deg, #3b82f6, #ef4444); }

/* Two column layout for bottom row */

.tech-row {
  margin-top: 80px;
  display: grid;
  gap: 60px;
}

@media (min-width: 1024px) {
  .tech-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===============================
   WHY CHOOSE US
================================ */

.why-us {
  padding: 100px 20px;
  background: linear-gradient(
    to bottom right,
    #f0fdf4,
    #f0fdf4
  );
}

/* GRID */

.why-grid {
  display: grid;
  gap: 30px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD */

.why-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ICON */

.why-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* CTA */

.why-cta {
  margin-top: 80px;
  background: var(--color-primary);
  padding: 60px 30px;
  border-radius: 24px;
  text-align: center;
  color: #ffffff;
}

.why-cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.why-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.btn-cta {
  background: #ffffff;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-cta:hover {
  background: #f3f4f6;
}
/* ===============================
   PROCESS SECTION
================================ */

.process {
  padding: 100px 20px;
  background: #ffffff;
}

/* GRID */

.process-grid {
  display: grid;
  gap: 30px;
  margin-top: 60px;
}

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

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD */

.process-card {
  position: relative;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
  padding: 40px 30px;
  border-radius: 16px;
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: #4CAF4F;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

/* STEP NUMBER */

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: #4CAF4F;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.4);
}

/* ICON */

.process-icon {
  width: 60px;
  height: 60px;
  background: #e8f5e9;
  color: #4CAF4F;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.process-card:hover .process-icon {
  transform: scale(1.1);
}

/* TEXT */

.process-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.process-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* =====================================
   COMMON
===================================== */
.common-button {
  padding: 0.625rem 1.5rem; /* px-6 py-2.5 */
  background-color: #4caf4f;
  color: white;
  border-radius: 0.5rem; /* rounded-lg */
  border: none;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.common-button:hover {
  background-color: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.common-button:active {
  transform: translateY(0);
}

.common-button:focus {
  outline: 2px solid #4caf4f;
  outline-offset: 2px;
}

/* Responsive - Hide on mobile, show desktop */
@media (min-width: 1024px) {
  .common-button {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  .common-button {
    display: none;
  }
}

/* =====================================
   CARD
===================================== */

.card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* =====================================
   FOOTER
===================================== */

.footer {
  background: var(--color-dark);
  color: #ccc;
  padding: 60px 0;
}

.footer__brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}
/* =================================
   COMMON OUTLINE BUTTON
================================= */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 16px 32px;
  background: #ffffff;

  border: 2px solid #e5e7eb;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;
  color: #374151;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover Effect */
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Active */
.btn-outline:active {
  transform: translateY(1px);
}

/* Focus */
.btn-outline:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
