/* Global Styles */

html,
body {
  margin: 0 auto;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

/* Sticky Top Bar */

.gradient-text {
  background-image: linear-gradient(to right, #ff0000, #ff5f6d);
  -webkit-background-clip: text; /* For Safari */
  background-clip: text;
  color: transparent;
  display: inline-block; /* Ensures gradient text behaves as expected */
}

.top-sticky {
  position: sticky;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  color: black;
  background-color: #d47f00;
  padding: 8px;
  left: 0;
}

.top-sticky p {
  font-size: 16px;
}

.btn-top-sticky {
  font-size: 16px;
  padding: 4px;
  margin-left: 12px;
  border-radius: 4px;
  color: white;
  background-color: #0d1321;
}

/* Background Image */

.bg-img-1 {
  background-image: url("../img/bg-1.jpg");
  background-size: cover; /* Adjust to 'contain' if needed */
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  height: 100vh;
}

/* Navigation */
.nav {
  position: relative; /* Set the position to fixed */
  top: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end; /* Align navigation to the right */
  font-size: 13px;
}

.nav a {
  position: relative;
  margin-left: 10px;
  margin-right: 12px; /* Add margin to the right */
  padding: 0px 2px; /* Adjust padding as needed */
  color: white; /* Set the text color to white */
  text-decoration: none; /* Remove default underline */
}

/* Subnavigation */
.subnav {
  display: flex;
  align-items: center;
  padding: 5px;
  top: 5px;
}

.subnav div {
  display: flex; /* Use flex display for better alignment */
  justify-content: center;
  align-items: center;
  margin-left: auto;
  padding: 12px;
}

.subnav div a {
  padding: 12px;
  color: white; /* Set the text color to white */
  text-decoration: none; /* Remove default underline */
}

.subnav div button {
  float: right;
  margin-left: 6px;
  color: black; /* Set the text color to white */
  text-decoration: none; /* Remove default underline */
}

.subnav div a:hover,
.subnav div a.active {
  color: #0a63cf;
}

/* Buttons */

.btn {
  padding: 4px;
  color: black;
  border-color: #d47f00;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 4px;
  font-weight: bold;
}

.close-btn {
  display: none;
}

.btn-transp {
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
}

.btn:hover,
.btn.active {
  color: #0a63cf;
}

/* Toggler */

.toggler {
  display: none;
  padding: 10px;
  margin: 2px;
  font-size: 16px;
  border: 1px solid rgba(210, 210, 210, 0.35);
  border-radius: 4px;
  background-color: transparent;
  color: white;
  overflow: hidden;
}

.toggler-contents {
  transition: height 0.4s ease-in-out, opacity 0.4s ease-in-out;
  height: 0;
}

.toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Home Section */

.homeSection {
  margin-top: 2%; /* Adjust the value to move it higher */
  margin: 6%;
  display: flex;
}

/* Responsive Styles */

@media screen and (max-width: 980px) {
  .nav {
    display: none;
  }
  .subnav a {
    display: none;
  }

  .toggler {
    display: block;
  }

  .homeSection {
    display: block;
    margin: 10px;
    padding: 20px;
    height: auto;
    flex-direction: column; /* Stack elements vertically on smaller screens */
    align-items: center; /* Center align elements horizontally */
  }

  .homeSection img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 400px;
  }

  .homeSection div {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .subnav a {
    display: none;
  }

  .toggler {
    display: block;
  }

  .homeSection {
    display: block;
    margin: 10px;
    padding: 20px;
    height: auto;
  }

  .homeSection img {
    width: 100%;
    max-width: 600px;
    height: auto;
    max-height: 400px;
  }

  .homeSection div {
    width: 100%;
  }
}

/* Typography */

.homeSection h1 {
  font-size: 53px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2; /* Update line-height for better vertical alignment */
  letter-spacing: -1.166px;
  padding-left: 15px;
  color: transparent;
  background-image: linear-gradient(to right, #cc0000, #d47f00);
  -webkit-background-clip: text;
  margin: 0; /* Reset margin to prevent default margin from affecting layout */
}

h2 {
  width: 75%;
  color: white;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.176px;
  padding-left: 20px; /* Add padding for better readability */
}

.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 24px;
  color: #ffffff;
  background-color: #007bff;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  z-index: 9999; /* Ensure the icon is on top of other elements */
  transition: transform 0.3s ease-in-out;
}

.chat-icon:hover {
  transform: scale(1.1); /* Scale icon on hover for interaction */
}

@media screen and (max-width: 980px) {
  .homeSection {
    flex-direction: row;
  }
  .homeSection img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
  }
  .top-sticky {
    flex-direction: column;
    align-items: center;
  }
}

@media only screen and (max-width: 800px) {
  .ChartImg {
    width: 100%;
  }
}

@media only screen and (min-width: 980px) {
  .ChartImg {
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .ChartImg img {
    max-height: 600px;
    height: auto;
    min-width: 300px;
    width: 100%;
  }
}

/* Home Second Section */

.secondary-section {
  padding: 20px;
  background-color: white;
}

.secondary-section h3 {
  margin-bottom: 10px;
  color: #d47f00;
  font-size: 36px;
  text-align: center;
}

.image-container {
  display: flex; /* Display images in a row */
  align-items: center; /* Align images vertically in the center */
  justify-content: space-evenly; /* Distribute space between images */
  margin-top: 40px; /* Add some spacing from the section content */
}

.image-container img {
  width: 245px; /* Set the width of each image */
  height: 163px; /* Set the height of each image */
  object-fit: cover; /* Maintain aspect ratio and cover container */
}

hr {
  width: 14%;
  margin-top: 30px;
  border-color: #d47f00;
}

.secondary-section p {
  color: black;
  text-align: center;
  font-size: 18px;
  padding-top: 15px;
  width: 60%;
  margin: auto;
  padding-bottom: 40px;
}

/* Home Third Section */

.third-section {
  padding: 20px;
  background-color: #19294d;
}

.third-section h4 {
  margin-bottom: 10px;
  color: #d47f00;
  font-size: 36px;
  text-align: center;
}

.third-section p {
  color: white;
  text-align: center;
  font-size: 18px;
  padding-top: 15px;
  width: 60%;
  margin: auto;
  padding-bottom: 40px;
}

/* Home Fourth Section */

.fourth-section {
  padding: 20px;
  background-color: #151c38;
}

.fourth-section h5 {
  margin-bottom: 10px;
  color: white;
  font-size: 36px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  margin-top: 40px;
}

.card {
  flex: 1;
  background-color: white;
  width: 300px;
  height: 290px;
  padding: 20px;
  margin: 0 30px; /* Add margin for spacing between cards */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.card p {
  color: black;
  font-weight: normal;
  text-align: center;
}

.btn-fourth-section-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex; /* Add flex display to make the buttons stay on one line */
  justify-content: center; /* Center the buttons horizontally */
  flex-wrap: wrap; /* Allow the buttons to wrap to the next line if needed */
}

.btn-fourth-section {
  padding: 10px 20px;
  background-color: #d47f00;
  color: black;
  width: auto; /* Adjust the width to auto to allow flexible sizing */
  font-weight: bolder;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px; /* Adjust the margin to create space between buttons */
}

/* Security Ecosystem Architecture Diagram Section */

.Diagram-section {
  padding: 20%;
  background-color: #151c38;
}

/* Company first Section */

.Company-first-section {
  background-color: white;
  display: flex;
  justify-content: flex-start; /* Align content to the left */
  align-items: center;
  padding: 0 0; /* Add padding as needed */
}

.Company-first-section img {
  width: 100%;
  height: auto;
  max-width: 50%; /* Set the maximum width for the image */
}

.three-card-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-end;
}

.three-card {
  flex: 1;
  min-width: 50%;
  max-width: 980px;
  margin: 10px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f5f5f5;
  border: 1px solid #939393;
  border-radius: 5px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.three-card p {
  text-align: left;
  color: black;
  padding-left: 15px;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.576px;
}

@media screen and (max-width: 768px) {
  /* Adjust the flex direction of the container */
  .Company-first-section {
    flex-direction: column;
    align-items: center;
  }

  /* Reset margin for the image */
  .Company-first-section img {
    margin: 0;
  }

  .image-container {
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Add this line to specify the gap between images */
  }

  .image-container img {
    width: 245px;
    height: 163px;
    object-fit: cover;
  }

  /* Reset margin for the card container */
  .three-card-container {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
  }

  /* Reset margin for individual cards */
  .three-card {
    margin: 10px 0;
  }

  .card-container {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
  }

  .card {
    margin: 10px 0;
  }
}

@media (max-width: 980px) {
  .image-container {
    flex: 1;
    min-width: 95%;
    max-width: 95%;
  }

  .three-card {
    flex: 1;
    min-width: 95%;
    max-width: 95%;
  }

  .card {
    flex: 1;
    min-width: 80%;
    max-width: 80%;
  }
}

/* Company second Section */

.Company-second-section {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  padding: 20px;
}

.Company-second-section h1 {
  color: #3a2d99;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px; /* Add a margin below the heading for spacing */
}

.Company-second-section p {
  color: black;
  width: 60%;
  font-size: 20px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.176px;
}

/* Company third Section */

.Company-third-section {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  padding: 20px;
}

.Company-third-section h1 {
  color: #3a2d99;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px; /* Add a margin below the heading for spacing */
}

.Company-third-section p {
  color: black;
  width: 60%;
  font-size: 20px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.176px;
}

/* Company fourth Section */

.company-fourth-section {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  padding: 20px;
}

.company-fourth-section h1 {
  color: #3a2d99;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px; /* Add a margin below the heading for spacing */
}

.company-fourth-section p {
  color: black;
  width: 60%;
  font-size: 20px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.176px;
  margin-top: 0;
}

.ncc-card {
  flex: 1;
  background-color: white;
  width: 400px;
  height: 310px;
  padding: 20px;
  margin: 0 30px; /* Add margin for spacing between cards */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  position: relative;
}

.ncc-card hr {
  border: 1px solid black; /* Border color and width */
  width: 400px;
  height: 0px;
  flex-shrink: 0;
  margin: 20px 0; /* Margin to control spacing */
}

.ncc-card p {
  text-align: left;
  padding-top: 10px;
}

/* Company fith Section */

.company-fith-section {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column; /* Stack the content vertically */
  justify-content: flex-start; /* Align content to the top */
  align-items: center;
  padding: 20px;
}

.company-fith-section h1 {
  color: #3a2d99;
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px; /* Add a margin below the heading for spacing */ 
}

.company-fith-section p {
  color: black;
  width: 60%;
  font-size: 20px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 1.5; /* Update line-height for better readability */
  letter-spacing: -0.176px;
  margin-top: 0;
}

.advisor-card {
  flex: 1;
  background-color: white;
  width: 350px;
  height: 310px;
  padding: 20px;
  margin: 0 30px; /* Add margin for spacing between cards */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.advisor-card-ex {
  flex: 1;
  background-color: white;
  color: black;
  width: 80%;
  height: 310px;
  padding: 20px;
  margin: 0 30px; /* Add margin for spacing between cards */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.advisor-card p {
  color: black;
  font-size: 20px;
  text-align: left;
}

.advisor-card hr {
  border: 1px solid black; /* Border color and width */
  width: 350px;
  height: 0px;
  flex-shrink: 0;
  margin: 20px 0; /* Margin to control spacing */
}

.advisor-card-ex hr {
  border: 1px solid black; /* Border color and width */
  width: 100%;
  height: 0px;
  flex-shrink: 0;
  margin: 20px 0; /* Margin to control spacing */
}

.advisor-card-ex-content {
  display: none;
}

.advisor-card-non-ex {
  display: block;
}

/* Contact us */

.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1700px;
  margin: 0 auto;
}

.text {
  flex: 2;
  padding-right: 20px;
}

.Form-container {
  flex: 1;
}

form {
  background-color: #F5F5F5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 90%; /* Adjusted width */
  max-width: 400px; /* Adjusted max-width */
}

form h1 {
  margin-bottom: 20px;
  text-align: center;
}

input,
textarea {
  width: 95%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
}

button {
  background-color: #D47F00;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 10px auto 0; /* Center the button horizontally and adjust top margin */
  display: block; /* Ensure the button takes the full width */
  border-radius: 4px;
  cursor: pointer;
}

/* Media query for screens with width up to 768px */
@media screen and (max-width: 768px) {
  .content {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
  }

  .text {
    flex: 1; /* Take full width */
    padding-right: 0; /* Remove padding */
  }

  .Form-container {
    flex: 1;
    padding-left: 0; /* Remove left padding */
    padding-top: 20px; /* Add top padding for spacing */
  }
}

/* Contact us */

.Login-form-container {
 display: flex;
 position: relative;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 400px; /* Adjust the maximum width as needed */
}

.Login-form {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
}

.img-container {
  display: flex;
  justify-content: center;
}

input {
  width: 93%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.Login-button-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

button {
  background-color: #d47f00;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}