/* Footer base */
* {
  margin: 0;
  padding: 0;
}

footer {
  background-color: #112868;
  color: white;
  font-family: 'Figtree', sans-serif;
}

/* Footer Top: services & company info */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid white;
  /* Line break */
}

.footer-column {
  flex: 1 1 30%;
  min-width: 220px;
}

.footer-column h4 {
  font-family: 'EB Garamond', serif;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-links-list,
.footer-company-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li,
.footer-company-info li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links-list li i,
.footer-company-info li i {
  margin-right: 8px;
  color: #00bfff;
}

.footer-links-list li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-list li a:hover {
  color: #00bfff;
}

/* Footer Main: logo + social icons */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  border-bottom: 1px solid white;
  /* Line break */
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.footer-company {
  font-weight: 500;
  font-size: 1.1rem;
}

/* Social icons */
.footer-right a {
  color: white;
  font-size: 1.3rem;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #00bfff;
}

/* Footer Bottom: links + copyright */
.footer-btm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid white;
  /* Line below links */
  color: white;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.footer-links p {
  color: white;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00bfff;
}

.footer-right-bottom {
  text-align: right;
}

.footer-right-bottom p {
  text-align: right;
  color: white;
  margin-bottom: 23px;
}

.footer-email,
.footer-copy {
  margin: 2px 0;
  font-size: 0.85rem;
}















/* GENERAL */
body {
  margin: 0;
  font-family: 'Figtree', sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* HEADER BASE */

/* Header */
header {
  background-color: #fff;
  color: #112868;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1550px;
  margin: auto;
}

.logo-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  width: 110px;
  height: 66px;
  border-radius: 48%;
  border: 2px solid white;
  object-fit: cover;
}

.logo-section h1 {
  font-family: 'Dosis', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}


/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 38px;
  margin-top: 10px;
}

.nav-links li a {
  text-decoration: none;
  color: #00268f;
  font-weight: 500;
  cursor: pointer;
  font-size: 19px;
  gap: 20px;
}

.nav-links li a:hover {
  color: #00bfff;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #0c1d44;
  list-style: none;
  padding: 10px 0;
  border-radius: 6px;
  min-width: 200px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  width: 313px;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: white;
}


.dropdown-menu li a:hover {
  background-color: #00bfff;
  color: white;
}

/* Hamburger Menu */
#menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  margin-right: 10px;
  /* space between icon and logo */
}

/* Sidebar Close Icon */
#close-icon {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
}

/* Sidebar for mobile */
/* Desktop dropdown (hover) */
@media (min-width: 769px) {
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #0c1d44;
    list-style: none;
    padding: 10px 0;
    border-radius: 6px;
    min-width: 200px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #fff;
    padding: 8px 20px;
    display: block;
    border-bottom: 1px solid white;
  }

  .dropdown-menu li a:hover {
    background-color: #00bfff;
  }
}

/* Hamburger and mobile */
#menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0f0f0f;
}

#close-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  padding: 10px 20px;
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  #nav-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #112868;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding-top: 60px;
    z-index: 9999;
  }

  #nav-menu.active {
    left: 0;
  }

  #close-icon {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links li a {
    color: #fff;
    padding: 15px 20px;
    display: block;
  }

  .nav-links li a:hover {
    background-color: #0a1d56;
  }

  /* Mobile dropdown animation */
  .nav-links li.dropdown ul.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #0f2a72;
  }

  .nav-links li.dropdown.open ul.dropdown-menu {
    max-height: 500px;
    /* adjust for content */
  }

  .nav-links li.dropdown ul.dropdown-menu li a:hover {
    background-color: #0a1d56;
  }
}


a {
  cursor: pointer;
}






/* MAIN CONTENT */
main {
  padding: 50px 20px;
  text-align: center;
}

.services h2 {
  color: #112868;
  margin-bottom: 20px;
  font-weight: 600;
}

.services ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

.services li {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.services li:hover {
  transform: scale(1.02);
}

.dropdown .arrow {
  color: white;
  transform: none;
}

.logo-section h1 {
  font-family: 'EB Garamond', serif;
  color: #00268f;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
}




.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  min-height: 320px;
  /* adjust as needed */
}

/* make image cover area responsively */
.hero__image {
  display: block;
  width: 100%;
  height: 47vh;
  object-fit: cover;
  vertical-align: middle;
}

.hero__overlay {
  position: absolute;
  left: 4%;
  top: 30%;
  transform: translateY(-50%);
  max-width: 46%;
  padding: 18px 22px;
  box-sizing: border-box;
  border-radius: 8px;
}

.hero__title {
  margin: 0;
  color: #ffffff;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: clamp(20px, 3.2vw, 40px);
  /* responsive sizing */
  line-height: 1.15;
  font-weight: 700;
}

.hero__subtitle {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.95;
}

@media (max-width: 760px) {
  .hero__overlay {
    left: 6%;
    right: 6%;
    top: auto;
    bottom: 10%;
    transform: none;
    max-width: none;
    padding: 14px;
  }

  .hero__title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .hero__subtitle {
    font-size: clamp(13px, 3.5vw, 16px);
  }
}


.career-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.career-image {
  width: 45%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.career-content {
  width: 50%;
  color: #333;
  font-family: "Figtree", Arial, sans-serif;
  line-height: 1.6;
}

.career-content h2 {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 15px;
  font-weight: 700;
}

.career-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .career-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .career-image,
  .career-content {
    width: 100%;
  }

  .career-content h2 {
    font-size: 1.5rem;
  }
}



.video-banner {
  position: relative;
  width: 100%;
  max-height: 75vh;
  overflow: hidden;
}

#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 40%;
  left: 2%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 30%;
  border-radius: 8px;
  background: transparent
}

.video-overlay h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.video-overlay p {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .video-overlay {
    max-width: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 15px 20px;
  }

  .video-overlay h1 {
    font-size: clamp(22px, 6vw, 32px);
  }

  .video-overlay p {
    font-size: clamp(14px, 3vw, 18px);
  }
}

/* MAIN CONTAINER */
.skewed-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 70%;
  margin: 0 auto;
  height: 450px;
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* LEFT CONTENT */
.left-content {
  width: 35%;
  padding: 20px;
  z-index: 2;
}

.left-content h2 {
  font-size: 2rem;
  color: #0c1d44;
  margin-bottom: 15px;
}

.left-content p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* RIGHT IMAGE */
.right-image {
  width: 65%;
  position: relative;
  overflow: hidden;
}

.right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SLANTED DIVIDER */
.right-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 320px;
  height: 100%;
  background: #fff;
  transform: skew(-25deg);
  transform-origin: top left;
  z-index: 2;
  border-right: 20px solid #5586ce;
}

/* ===== TABLET VIEW FIX (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 769px) {
  .skewed-container {
    flex-direction: column;
    width: 85%;
    height: auto;
  }

  .left-content {
    width: 100%;
    padding: 30px 25px;
    text-align: center;
  }

  .right-image {
    width: 100%;
    height: 350px;
  }

  .right-image::before {
    display: none;
  }

  .right-image img {
    height: 100%;
  }
}

/* ===== MOBILE VIEW (below 768px) ===== */
@media (max-width: 768px) {
  .skewed-container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .left-content,
  .right-image {
    width: 100%;
    padding: 20px;
  }

  .right-image::before {
    display: none;
  }

  .right-image img {
    height: 280px;
    border-radius: 10px;
  }

  .left-content h2 {
    font-size: 1.6rem;
  }

  .left-content p {
    font-size: 0.95rem;
  }
}



.industries-section {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.industries-section h2 {
  font-size: 2.5rem;
  color: #0c1d44;
  margin-bottom: 10px;
}

.industries-section p.sub-title {
  font-size: 1rem;
  color: #666;
  margin-bottom: 50px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.industry-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.industry-card .content {
  padding: 20px;
  text-align: left;
}

.industry-card h3 {
  color: #0c1d44;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}




.software-platforms {
  background-color: #ffffff;
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
}

.software-platforms .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 20px;
}

.left-image img {
  width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: skew(-3deg);
}

.right-content {
  flex: 1;
}

.right-content h2 {
  font-size: 2rem;
  color: #0c1d44;
  margin-bottom: 15px;
}

.right-content h3 {
  color: #2a2a2a;
  margin-top: 20px;
  font-size: 1.3rem;
}

.right-content p {
  line-height: 1.7;
  color: #444;
  margin-top: 10px;
}

.company-success {
  margin-top: 30px;
  border-left: 4px solid #0c1d44;
  padding-left: 15px;
}

/* Mobile Responsive Fix — reverse order */
@media (max-width: 768px) {
  .software-platforms .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .left-image img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    transform: none;
    /* remove skew on mobile for better look */
  }

  .right-content {
    margin-bottom: 30px;
  }
}













/* Chat Button */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0c1d44;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background-color: #0c1d44;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
}

.chat-body {
  display: flex;
  flex-direction: column;
  padding: 10px;
  height: 300px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

/* Message Bubbles */
.bot-message,
.user-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  margin: 6px 0;
  word-wrap: break-word;
  display: inline-block;
}

/* Bot message - Left aligned */
.bot-message {
  background-color: #e9e9e9;
  color: #000;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

/* User message - Right aligned */
.user-message {
  background-color: #0c1d44;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

/* Chat Footer */
.chat-footer {
  display: flex;
  border-top: 1px solid #ddd;
  background: #fff;
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
}

.chat-footer button {
  background-color: #0c1d44;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* Option Buttons */
.chat-option {
  display: inline-block;
  background-color: #0c1d44;
  color: white;
  border-radius: 20px;
  padding: 6px 12px;
  margin: 5px 3px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-option:hover {
  background-color: #122a66;
}












/* ===== TOOL SECTION STYLING ===== */
.tool-section {
  padding: 80px 10%;
  background-color: #f9fafc;
  border-top: 2px solid #eee;
}

.tool-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.tool-container.reverse {
  flex-direction: row-reverse;
}

.tool-text {
  flex: 1;
  max-width: 600px;
}

.tool-text h2 {
  font-size: 28px;
  color: #0c1d44;
  margin-bottom: 20px;
  font-family: 'Figtree', sans-serif;
}

.tool-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tool-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.tool-text ul li {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.learn-more-btn {
  display: inline-block;
  background: #0c1d44;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.learn-more-btn:hover {
  background: #1b2b60;
}

.tool-image {
  flex: 1;
  text-align: center;
}

.tool-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .tool-container {
    flex-direction: column;
    text-align: center;
  }
  .tool-text {
    max-width: 100%;
  }
}
