/* ====== GENERAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #fff;
  overflow-x: hidden;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #006EA6;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; /* adjust as needed */
  width: auto;
  object-fit: contain;
}


.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #00b4d8;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  height: 100vh; /* full viewport for desktop */
  background: url('background-dubai.928Z.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(85, 145, 145, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 25px;
}

.hero-btn {
  background: #00b4d8;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #0096c7;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero {
    height: auto; /* shrink to content */
    padding: 80px 20px 40px 20px; /* top padding added for spacing */
    align-items: flex-start; /* content starts from top */
  }

  .hero-content p {
    display: none;
  }
}


/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(27, 97, 138, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ====== E-INVOICING INFO SECTION ====== */
.einvoice-section {
  background-color: #ffffff;
  color: #333;
  padding: 100px 0;
}

.einvoice-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.einvoice-image {
  flex: 1;
  position: sticky;
  top: 100px; /* stays visible below navbar */
  align-self: flex-start;
}

.einvoice-image img {
  width: 100%;
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
}

.einvoice-content {
  flex: 1.2;
  padding: 0 50px;
}

.einvoice-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #002855;
}

.einvoice-content h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #0077b6;
}

.einvoice-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444;
  font-size: 1.05rem;
}

.einvoice-content ul {
  margin-left: 20px;
  margin-bottom: 25px;
}

.einvoice-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 992px) {
  .einvoice-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .einvoice-image {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  .einvoice-content {
    padding: 0;
  }

  .einvoice-content h2 {
    font-size: 1.8rem;
  }

  .einvoice-content h3 {
    font-size: 1.3rem;
  }
}

/* ====== E-INVOICING PHASES SECTION ====== */
.einvoice-phases {
  background: #f9fafc;
  padding: 100px 20px;
  text-align: center;
}

.phases-container {
  max-width: 1200px;
  margin: 0 auto;
}

.phases-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #002855;
  margin-bottom: 10px;
}

.phase-intro {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.phase-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.phase-card {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 35px 25px;
  flex: 1 1 300px;
  max-width: 360px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #00b4d8;
}

.phase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.phase-card h3 {
  font-size: 1.6rem;
  color: #0077b6;
  margin-bottom: 10px;
}

.phase-card h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.phase-card ul {
  list-style: none;
  padding-left: 0;
}

.phase-card ul li {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.6;
}

.phase-card ul li strong {
  color: #002855;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .phase-cards {
    flex-direction: column;
    align-items: center;
  }

  .phase-card {
    max-width: 100%;
  }
}

/* --- Workflow Section --- */
.workflow-section {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.workflow-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #002b5c;
  margin-bottom: 10px;
}

.workflow-title p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 50px;
}

/* Container for all steps */
.workflow-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Step block */
.workflow-step {
  background: #f8faff;
  border: 2px dashed #007bff;
  border-radius: 15px;
  flex: 1 1 200px;
  min-width: 220px;
  padding: 30px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.workflow-step:hover {
  background: #e8f0ff;
  transform: translateY(-5px);
}

.workflow-step .icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

.workflow-step h3 {
  font-size: 1.2rem;
  color: #002b5c;
  margin-bottom: 10px;
}

.workflow-step p {
  font-size: 0.95rem;
  color: #444;
}

/* Connecting dashed line */
.workflow-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 2px;
  border-top: 2px dashed #007bff;
  z-index: 0;
}

/* On small screens — vertical layout */
@media (max-width: 768px) {
  .workflow-container {
    flex-direction: column;
    align-items: center;
  }

  .workflow-container::before {
    content: "";
    position: absolute;
    top: 5%;
    left: 50%;
    width: 2px;
    height: 90%;
    border-left: 2px dashed #007bff;
  }

  .workflow-step {
    text-align: center;
    width: 80%;
  }
}

/* --- ASP & ERP Section --- */
.asp-erp-section {
  background: #f9fbff;
  padding: 80px 20px;
  position: relative;
}

.asp-erp-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.asp-erp-image {
  flex: 1 1 45%;
  text-align: center;
}

.asp-erp-image img {
  max-width: 100%;
  /* border-radius: 20px; */
  /* box-shadow: 0 10px 25px rgba(0,0,0,0.1); */
}

.asp-erp-content {
  flex: 1 1 50%;
}

.asp-erp-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #002b5c;
  margin-bottom: 15px;
}

.asp-erp-content p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.erp-role h3 {
  font-size: 1.3rem;
  color: #007bff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.erp-role p {
  color: #333;
}

/* Connection Flow Graphic */
.connection-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  flex-wrap: wrap;
}

.flow-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
  position: relative;
}

.flow-item .circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007bff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  margin: auto;
  box-shadow: 0 6px 15px rgba(0,123,255,0.3);
}

.flow-item p {
  margin-top: 10px;
  font-weight: 500;
  color: #002b5c;
}

/* Connector between circles */
.connector {
  width: 60px;
  height: 2px;
  border-top: 2px dashed #007bff;
  position: relative;
}

.connector::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -8px;
  width: 10px;
  height: 10px;
  background: #007bff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Pulse animation on dots */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .asp-erp-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .connection-flow {
    flex-direction: column;
    gap: 20px;
  }

  .connector {
    width: 2px;
    height: 40px;
    border-left: 2px dashed #007bff;
  }
}

.implement-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
    font-family: Arial, sans-serif;
}

.implement-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.implement-title {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 10px;
}

.implement-subtitle {
    font-size: 1rem;
    color: #333;
    margin-bottom: 50px;
}

.implement-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.implement-step {
    background: #fff;
    flex: 1 1 250px;
    max-width: 300px;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.implement-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.implement-step-icon {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 15px;
}

.implement-step h3 {
    font-size: 1.1rem;
    color: #003366;
    margin-bottom: 10px;
}

.implement-step p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Scroll animation */
.implement-step.show {
    opacity: 1;
    transform: translateY(0);
}


.tally-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa, #fdfdfd);
    font-family: Arial, sans-serif;
    color: #003366;
}

.tally-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.tally-text {
    flex: 1 1 500px;
    max-width: 600px;
}

.tally-text h2.tally-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tally-text h3.tally-heading {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #007BFF;
}

.tally-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tally-btn {
    display: inline-block;
    padding: 15px 35px;
    margin-top: 25px;
    background: #007BFF;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.tally-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.tally-image {
    flex: 1 1 400px;
    max-width: 500px;
    position: relative;
}

.tally-image img {
    width: 100%;
    border-radius: 12px;
    position: sticky;
    margin-top: 50px;
    top: 20px; /* stays fixed as text scrolls */
    object-fit: cover;
}
@media (max-width: 768px) {
  .tally-image {
    display: none;
  }
}
/* Responsive */
@media screen and (max-width: 900px) {
    .tally-container {
        flex-direction: column-reverse;
    }

    .tally-image img {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}


.faq-section {
  background: #f7fbff;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
  color: #003366;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.faq-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #003366;
}

.faq-subtitle {
  color: #336699;
  margin-bottom: 40px;
  font-size: 1rem;
}

.faq-items {
  text-align: left;
}

.faq-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 51, 102, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: #e6f0ff;
  border: none;
  text-align: left;
  padding: 18px 25px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #003366;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: '\f4fe';
  font-family: "Bootstrap-icons";
  float: right;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #ffffff;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 25px;
}

.faq-answer p {
  color: #003366;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Animation effect on scroll */
.faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.faq-item.show {
  opacity: 1;
  transform: translateY(0);
}


.footer-section {
  background: #00264d;
  color: #e6e6e6;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-heading {
  font-size: 1.2rem;
  color: #66b2ff;
  margin-bottom: 15px;
}

.footer-col p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e6e6e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #66b2ff;
  padding-left: 5px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #ffffff;
  font-size: 1.2rem;
  margin-right: 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #66b2ff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #004080;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #b3c6ff;
}


.flow-section {
  background: #f9fbff;
  padding: 40px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #003366;
  overflow: hidden;
}

.flow-container {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #00264d;
}

.flow-subtitle {
  font-size: 1rem;
  color: #336699;
  margin-bottom: 10px;
}

.flow-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow-image {
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transform: scale(0.95) translateY(50px);
  transition: all 1s ease-out;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
}

/* Animation when visible */
.flow-image.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Fade-in effect for text */
.flow-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.flow-text.show {
  opacity: 1;
  transform: translateY(0);
}


.peppolsection {
  background: #f8fafc;
  padding: 80px 20px;
  text-align: center;
}

.peppolsection-container {
  max-width: 1200px;
  margin: auto;
}

.peppolsection-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
}

.peppolsection-subheading {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.peppolsection-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.peppolsection-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.peppolsection-card i {
  font-size: 2.5rem;
  color: #0077b6;
  margin-bottom: 15px;
}

.peppolsection-card h4 {
  color: #003366;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.peppolsection-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.peppolsection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.peppolsection-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.peppolsection-card.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-section {
  background: #f9f9f9;
  padding: 80px 60px;
  width: 100%;
  box-sizing: border-box;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.contact-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-image {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* WhatsApp button below image */
.whatsapp-btn {
  margin-top: 20px;
  background: #25d366;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe57;
}

/* RIGHT SIDE FORM */
.contact-form {
  flex: 1;
  min-width: 320px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

.submit-btn {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.submit-btn:hover {
  background: #0056b3;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-left,
  .contact-form {
    width: 100%;
  }

  .contact-image {
    max-height: 300px;
  }
}
