/* ===================================== */
/* Variables & Global Reset              */
/* ===================================== */
:root {
  --primary-color: #eb4d14;
  --secondary-color: #1e3c72;
  --dark-color: #292929;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --transition-speed: 0.3s;
  --header-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background: #fff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

p {
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  font-size: clamp(0.8rem, 2vw, 1rem);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  /* box-shadow: 0 4px 15px rgba(247, 183, 51, 1); */
}

.btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  /* box-shadow: 0 6px 20px rgba(247, 183, 51, 1); */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
  transition: all var(--transition-speed) ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all var(--transition-speed) ease;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark-color);
  position: relative;
  padding: 5px 0;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
  z-index: 10;
  min-width: 200px;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--dark-color);
  transition: all var(--transition-speed) ease;
}

.dropdown-content a:hover,
.dropdown-content a.active {
  background: rgba(247, 183, 51, 0.1);
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--dark-color);
  transition: all var(--transition-speed) ease;
}

.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(7px, -7px);
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
    transition: left var(--transition-speed) ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 1);
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
    width: 100%;
    margin-top: 10px;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}

/* ===================================== */
/* Hero Section: Custom Software         */
/* ===================================== */
.cs-hero {
  background: linear-gradient(135deg, #f4f4f4 0%, #2a5298 50%, #1e3c72 100%);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cs-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.cs-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  opacity: 0;
  animation: csTitleAppear 1s ease-out forwards;
}

.cs-title span {
  color: var(--primary-color);
  position: relative;
}

.cs-title span::before {
  content: '';
  position: absolute;
  bottom: 5px; left: 0;
  width: 100%; height: 8px;
  background: rgba(247, 183, 51, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.cs-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  animation: csSubtitleAppear 1s 0.3s forwards;
}

.cs-cta {
  background: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  opacity: 0;
  animation: csButtonFloat 3s 0.6s ease-in-out infinite, csSubtitleAppear 1s 0.6s forwards;
}

.cs-visual {
  position: relative;
  width: 500px; height: 400px;
}

.code-animation {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
}

.code-animation::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(247,183,51,0.1) 50%,
    transparent 100%
  );
  animation: codeScan 4s linear infinite;
}

.tech-stack {
  position: absolute;
  top: 10%; left: 10%;
  width: 80%; height: 80%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.tech-stack::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border: 2px dashed rgba(247,183,51,0.5);
  border-radius: 10px;
  animation: stackPulse 3s infinite alternate;
}

.tech-item {
  background: rgba(247,183,51,0.1);
  border: 1px solid rgba(247,183,51,0.3);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transform: scale(0.5);
  animation: techItemAppear 0.5s forwards;
}

.tech-item:nth-child(1) { animation-delay: 0.5s; }
.tech-item:nth-child(2) { animation-delay: 0.7s; }
.tech-item:nth-child(3) { animation-delay: 0.9s; }
.tech-item:nth-child(4) { animation-delay: 1.1s; }
.tech-item:nth-child(5) { animation-delay: 1.3s; }
.tech-item:nth-child(6) { animation-delay: 1.5s; }
.tech-item:nth-child(7) { animation-delay: 1.7s; }
.tech-item:nth-child(8) { animation-delay: 1.9s; }
.tech-item:nth-child(9) { animation-delay: 2.1s; }

/* ===================================== */
/* Benefits Section                      */
/* ===================================== */
.cs-benefits {
  padding: 100px 0;
  background: var(--light-color);
}

.cs-benefits .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.cs-benefits .section-header h2 span {
  color: var(--primary-color);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
}

.benefit-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,1);
}

.benefit-icon {
  width: 70px; height: 70px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: rotate(15deg) scale(1.1);
}

.benefit-pulse {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(247,183,51,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.5s ease;
}

.benefit-card:hover .benefit-pulse {
  opacity: 1;
  transform: scale(1.2);
}

/* ===================================== */
/* Process Steps                         */
/* ===================================== */
.cs-process {
  padding: 100px 0;
  background: #fff;
}

.cs-process .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.step {
  position: relative;
  flex: 1;
  min-width: 250px;
  opacity: 0;
  transform: translateY(30px);
  animation: stepAppear 0.8s forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }
.step:nth-child(4) { animation-delay: 0.8s; }
.step:nth-child(5) { animation-delay: 1s; }
.step:nth-child(6) { animation-delay: 1.2s; }

.step-number {
  width: 50px; height: 50px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--primary-color);
}

.step-connector {
  position: absolute;
  top: 25px;
  left: calc(50% + 25px);
  width: calc(100% - 50px);
  height: 3px;
  background: var(--primary-color);
  z-index: 0;
}

.step:last-child .step-connector {
  display: none;
}

.step-content {
  background:var(--primary-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.step:hover .step-content {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(30,60,114,1);
}

.step-content h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--white);
  line-height: 1.6;
}

/* ===================================== */
/* Solutions Section                     */
/* ===================================== */
.cs-solutions {
  padding: 100px 0;
  background: #fff;
}

.cs-solutions .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.cs-solutions .section-header h2 span {
  color: var(--primary-color);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 30px;
}

.solution-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,1);
}

.solution-icon {
  width: 80px; height: 80px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
  transform: rotateY(180deg);
}

.solution-hover {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* background: linear-gradient(135deg, rgba(30,60,114,0.9), rgba(247,183,51,0.9)); */
  opacity: 0;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-hover {
  opacity: 1;
}

/* ===================================== */
/* CTA Section                           */
/* ===================================== */
.cs-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--secondary-color);
  color: #fff;
}

.cs-cta h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.cs-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--white);
}

/* ===================================== */
/* Footer                                */
/* ===================================== */
.footer {
  background: var(--dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-col h3:after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--primary-color);
}

.footer-col p,
.footer-col li {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  margin-top: 15px;
}

.social-links a {
  width: 35px; height: 35px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  color: #fff;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer-bottom p{
  color: var(--white);
}

/* ===================================== */
/* Animations                            */
/* ===================================== */
@keyframes csTitleAppear {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes csSubtitleAppear {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes csButtonFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

@keyframes codeScan {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

@keyframes stackPulse {
  from { transform: scale(0.95); opacity: 0.7; }
  to   { transform: scale(1.05); opacity: 1; }
}

@keyframes techItemAppear {
  to { opacity: 1; transform: scale(1); }
}

@keyframes stepAppear {
  to { opacity: 1; transform: translateY(0); }
}

