/* ============================= */
/*         Root Variables        */
/* ============================= */
:root {
  --primary-color: #eb4d14;
  --secondary-color: #031070;
  --background-color: #f9f9f9;
  --text-color: #222;
  --light-text: rgba(0, 0, 0, 0.7);
  --white: #ffffff;
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --transition-speed: 0.3s;
  --header-height: 80px;
  --mobile-breakpoint: 768px;
}

/* ============================= */
/*         Global Reset          */
/* ============================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

.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;
}

/* ============================= */
/*           Typography          */
/* ============================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); }

p {
  margin-bottom: 15px;
  color: var(--light-text);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ============================= */
/*            Buttons            */
/* ============================= */
.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(235, 77, 20, 0.3);
}

.btn-primary:hover {
  background: #c43c0e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(235, 77, 20, 0.4);
}

/* ============================= */
/*          Header/Nav           */
/* ============================= */
.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, 0.1);
  transition: all var(--transition-speed) ease;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all var(--transition-speed) ease;
}

.header.scrolled .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-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 Styles */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 8px 16px rgba(0, 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(--text-color);
  transition: all var(--transition-speed) ease;
}

.dropdown-content a:hover,
.dropdown-content a.active {
  background: rgba(235, 77, 20, 0.1);
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
  display: block;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text-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);
}

/* Mobile Navigation */
@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, 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               */
/* ============================= */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(var(--overlay-dark), var(--overlay-dark)),
              url('../images/business_digitization_hero_bg.jpg') no-repeat center/cover;
  color: var(--white);
  height: 70vh;
  min-height: 500px;
  padding: 0 20px;
  margin-top: calc(-1 * var(--header-height));
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-hero {
    height: 60vh;
    min-height: 400px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }
}

/* ============================= */
/*      Services Section         */
/* ============================= */
.services-section {
  padding: 80px 0;
  background: var(--background-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2 span{
  color: var(--primary-color);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
}

.digitization-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.digitization-step {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 1.0);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.digitization-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 2.0);
}

.digitization-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
}

.digitization-step-number {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.digitization-step-icon {
  font-size: 2.5rem;
  margin: 15px 0;
  color: var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

.digitization-step:hover .digitization-step-icon {
  transform: scale(1.1);
  color: var(--primary-color);
}

.digitization-step h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.dms-benefit-list {
  text-align: left;
  margin-top: 20px;
}

.dms-benefit-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 0.9rem;
}

.dms-benefit-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .digitization-step {
    padding: 25px 20px;
  }
}

/* ============================= */
/*      Digital Journey          */
/* ============================= */
.digital-journey {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--white);
}

.digital-journey .section-header h2 {
  color: var(--primary-color);
}
.digital-journey .section-header h2 span{
  color: var(--white);
}

.digital-journey .section-header h2::after {
  background: var(--primary-color);
}
.digital-journey .section-header p {
  color: var(--white);
}


.digitization-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px 0;
}

.impact-card {
  background: rgb(255, 255, 255);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-card:hover {
  transform: translateY(-5px);
  background: rgba(110, 123, 206, 0.958);
}

.impact-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.impact-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1;
}

.process-flow {
  margin-top: 60px;
  background-color: var(--white);
  padding-top: 40px;
}

.process-step {
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin-bottom: 30px;
  overflow: hidden;
  align-items: center;
}

.step-visual {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.step-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.process-step:hover .step-image {
  transform: scale(1.03);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step-content {
  flex: 1;
  padding: 30px;
  min-width: 300px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.step-content ul {
  margin: 20px 0;
}

.step-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.9);
}

.step-content ul li::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .process-step {
    flex-direction: column;
  }

  .step-visual,
  .step-content {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .digital-journey {
    padding: 60px 0;
  }

  .impact-card {
    padding: 20px 15px;
  }

  .impact-value {
    font-size: 2rem;
  }
}

/* ============================= */
/*             CTA              */
/* ============================= */
.cta {
  background: linear-gradient(135deg, var(--primary-color), #d84315);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -30px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-content .btn-unique{
  background-color: var(--secondary-color);
  border-radius: 30px;
  padding: 10px;
}

.cta-content .btn-unique :hover{
  background-color: rgb(53, 57, 197);
}


@media (max-width: 768px) {
  .cta {
    padding: 60px 20px;
  }
}

/* ============================= */
/*            Footer             */
/* ============================= */
.footer {
  background: #1a1a1a;
  color: var(--white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.2rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-speed) ease;
}

.footer-col ul li:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-col ul li i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================= */
/*        Animations             */
/* ============================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-from-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s ease forwards;
}

.animate-from-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 0.8s ease forwards;
}

.animate-from-bottom {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }