@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #f8f208;
  --primary-color-dark: #ee9821;
  --secondary-color: #04091d;
  --secondary-color-light: #0f1221;
  --secondary-color-dark: #03060f;
  --text-light: #94a3b8;
  --white: #ffffff;
  --skyblue: #89CFF0;
  --max-width: 1200px;
  --gradient: linear-gradient(
    to right,
    var(--primary-color-dark),
    var(--primary-color)
  );
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}


.section__subheader {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-align: center;
  color: #04091d;
}

.section__description {
  max-width: 600px;
  margin-top: 1rem;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.5rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--secondary-color);
  background-image:  linear-gradient(109.6deg, rgb(245, 239, 249) 30.1%, rgb(207, 211, 236) 100.2%);
  border-radius: 5rem;
  cursor: pointer;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  color: #03060f;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #03060f;
  background-color: #abb8c3;
}

.header {
  position: relative;
  background-color: white;
}

.header__socials {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.header__socials a {
  padding: 7px 13px;
  font-size: 1.5rem;
  color: #03060f;
  background-image: linear-gradient(109.6deg, rgb(245, 239, 249) 30.1%, rgb(207, 211, 236) 100.2%);
}

.ri-menu-3-line::before{
  color: #04091d;
}

.ri-close-line::before{
  color: #04091d;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__bar {
  position: relative;
  isolation: isolate;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color:white;
}

.nav__logo a {
  font-size: 1.5rem;
  font-weight: 700;
}



.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-100%);
  background-color: white;
  transition: 0.2s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
  z-index: 100; /* Bring the menu to the front */
}

.link a {
  transition: 0.3s;
}

.link.btn a {
  color: #03060f !important;
}

.link a:hover {
  color:  #abb8c3;
}

.nav__menu__btn {
  font-size: 1.5rem;
  cursor: pointer;
}


.blog-section .blog-heading-image {
    background-color: white;
  }
  
  .blog-heading-image {
    text-align: center;
    padding: 4rem 0;
  }
  
  .blog-heading-image .blog__container {
    max-width: var(--max-width);
    margin: auto;
  }
  
  .blog-heading-image .section__header {
    font-size: 3rem;
    font-weight: 800;
    color: #03060f;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .blog-heading-image .blog__image {
    padding-top: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2.5rem;
  }
  
  .blog-heading-image .blog__image img {
    max-width: 100%;
    border-radius: 5px;
    border-color: #0f1221;
    border: .5px solid #04091d;
  }
  
  .blog-heading-image .blog__description {
    font-size: 1.5rem;
    color: #03060f;
    margin-top: 0.5rem; /* Further reduced the margin-top to decrease the gap even more */
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: justify;
    font-weight: 400;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .blog-heading-image .section__header {
      font-size: 2rem;
    }
  
    .blog-heading-image .blog__description {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .blog-heading-image .section__header {
      font-size: 1.8rem;
    }
  
    .blog-heading-image .blog__description {
      font-size: 0.95rem;
    }
  }




/* General Styles */
.step-container {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 1rem;
}

.step-content {
  flex: 0 0 60%; /* 60% width for content */
  padding-right: 1rem;
}

.step-image {
  flex: 0 0 40%; /* 40% width for image */
  text-align: center;
}

.step-title, .step-subtitle, .step-description, .step-list li {
  margin-bottom: 0.8rem;
}

.step-title {
  font-size: 2rem;
  font-weight: 800;
  color: #03060f;
}

.step-description {
  font-size: 1.2rem;
  color: #333;
  text-align: justify;
}

.step-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f1221;
}

.step-list {
  list-style-type: disc;
  padding-left: 1rem;
}

.step-list li {
  font-size: 1.1rem;
  color: #444;
}

/* DAX Code Box */
.dax-code {
  background-color: #f4f4f4;
  padding: 1rem;
  font-size: 1.2rem;
  border-left: 4px solid #0f1221;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  word-wrap: break-word;
  margin-bottom: 1rem;
}

/* Step Image */
.step-image img {
  max-width: 100%;
  height: 100%; /* Ensures the image's height is equal to the content's height */
  border-radius: 5px;
  border: 0.5px solid #04091d;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .step-container {
    flex-direction: column;
    text-align: center;
  }

  .step-content {
    max-width: 100%;
    padding-right: 0;
  }

  .step-image {
    margin-top: 1rem;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .step-container {
    flex-direction: column;
    gap: 0.25rem;
  }

  .step-content, .step-image {
    width: 100%;
  }

  .step-title {
    font-size: 1.8rem;
  }

  .step-subtitle {
    font-size: 1.3rem;
  }

  .step-description, .step-list li {
    font-size: 1rem;
  }

  .dax-code {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

@media (max-width: 600px) {
  .step-container {
    gap: 0.2rem;
  }

  .step-title {
    font-size: 1.8rem;
  }

  .step-subtitle {
    font-size: 1.3rem;
  }

  .step-description, .step-list li {
    font-size: 1rem;
  }

  .step-image img {
    max-width: 100%;
  }
}

/* Step Section Styling */
.step-section {
  background-color: white;
  padding: 1rem 2rem;
}

.step-content {
  max-width: 100%;
}


/* General Styles for Step 5 */
.step-container.step-1  ,.step-container.step-2  ,.step-container.step-3, .step-container.step-4 ,.step-container.step-5 {
    display: block; /* Make the container block to stack content vertically */
    width: 100%; /* Full width */
    margin: auto;
  }
  
  .step-container.step-1  ,.step-container.step-2  ,.step-container.step-3, .step-container.step-4 ,.step-container.step-5 {
    width: 100%; /* Full width for text content */
    padding-right: 0; /* Remove padding to ensure full width */
    text-align: justify;
  }
  
  .step-container.step-1  ,.step-container.step-2  ,.step-container.step-3, .step-container.step-4 ,.step-container.step-5 {
    width: 100%; /* Full width for image */
    text-align: justify;
    margin-top: 1rem; /* Optional: Adds some space between text and image */
  }
  
 
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .step-container.step-1  ,.step-container.step-2  ,.step-container.step-3, .step-container.step-4 ,.step-container.step-5{
      padding: 0 1rem; /* Adjust padding for mobile screens */
    }
  
  }
  
/* General Styles for Steps */
.step-container.step-1, 
.step-container.step-2, 
.step-container.step-3, 
.step-container.step-4, 
.step-container.step-5 {
    display: block;
    width: 100%;
    margin: auto;
    padding-right: 0;
    text-align: justify;
    margin-top: 1rem;
}


/* Table Styling */
.step-container.step-2 table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
}

/* Table Header */
.step-container.step-2 table thead {
  background-color: #007bff; /* Blue header */
  color: white;
  text-align: left;
}

/* Table Header Cells */
.step-container.step-2 table th {
  padding: 12px;
  border: 1px solid #ddd;
}

/* Table Body Rows */
.step-container.step-2 table tbody tr {
  border-bottom: 1px solid #ddd;
}

/* Table Data Cells */
.step-container.step-2 table td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Alternate Row Background */
.step-container.step-2 table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Hover Effect */
.step-container.step-2 table tbody tr:hover {
  background-color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
  
  .step-container.step-2 table {
      font-size: 0.9rem;
  }
}


.conclusion-section {
  width: 100%;
  padding: 4rem 0;
  background-color: white;
  text-align: center;
}

.conclusion-section .container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1rem;
}

.conclusion-section .section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #03060f;
  margin-bottom: 1rem;
}

.conclusion-section .conclusion-text {
  font-size: 1.5rem;
  color: #03060f;
  text-align: justify;
  font-weight: 400;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .conclusion-section .section-title {
    font-size: 2rem;
  }

  .conclusion-section .conclusion-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .conclusion-section .section-title {
    font-size: 1.8rem;
  }

  .conclusion-section .conclusion-text {
    font-size: 0.95rem;
  }
}








.footer {
  background-color: #f8f9fa; /* Light grey background */
  padding: 20px 0;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer__content p {
  margin: 0;
  font-size: 16px;
  color: #333; /* Darker text color */
}


.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__col h5 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #03060f;
}


.footer__col p {
  margin-bottom: 1.5rem;
  color: #04091d;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center; /* Center the social icons */
}

.footer__socials a {
  margin-bottom: 1rem;
  padding: 3px 8px;
  font-size: 1.25rem;
  background-color: #abb8c3;
  border-radius: 100%;
  transition: 0.3s;
  color: #03060f;
}

.footer__socials a:hover {
  background-image: var(--white);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #03060f;
}

.footer__links a {
  display: block;
  margin-bottom: 1rem;
  color: #04091d;
}

.footer__links a:hover {
  color: #8d8daa;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: #0f1221;
  text-align: center;
}

@media (width > 480px) {
  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .project__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 1rem;
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__form .input__row {
    flex-direction: row;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

@media (width > 768px) {
  .header__socials {
    display: flex;
  }

  nav {
    position: static;
  }

  .nav__bar {
    padding: 2rem 1rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .header__container {
    padding: 0 1rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
  }

  .header__content {
    padding-block: 5rem;
    text-align: left;
    grid-area: 1/1/2/2;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
  }

  .banner__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .project__header {
    flex-direction: row;
  }

  .project__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width > 1024px) {
  .banner__container {
    gap: 2rem;
  }

  .project__grid {
    gap: 2rem;
  }

  .service__grid {
    gap: 2rem;
  }

  .blog__grid {
    gap: 2rem;
  }
}




