/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* FIX BLOG SHIFT ISSUE */
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0b3d91;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 9999;
  box-sizing: border-box;
}

/* =========================
   LOGO
========================= */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.logo {
  height: 48px;        /* FIXED SIZE */
  width: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   MENU (TOP LEVEL)
========================= */
.menu ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.menu > ul > li > a {
  font-size: 18px;
  font-weight: bold;
  color: white;
  padding: 6px 10px;
  text-decoration: none;
  display: inline-block;
}

/* =========================
   DROPDOWN MENU
========================= */
.menu li {
  position: relative;
}
/* FIRST LEVEL */
.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e5bd7;
  min-width: 240px;
  flex-direction: column;
  z-index: 9999;
  padding: 5px 0;
}

/* SHOW FIRST LEVEL */
.menu li:hover > ul {
  display: flex;
}

/* SECOND LEVEL */
.menu li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 240px;
  background: #2d6cdf;
  min-width: 260px;
  flex-direction: column;
}

/* SHOW SECOND LEVEL */
.menu li ul li:hover > ul {
  display: flex;
}

/* =========================
   SUBMENU ITEMS (NO BORDER + SMALL GAP)
========================= */
.menu li ul li a {
  font-size: 14px;
  font-weight: normal;
  color: white;
  padding: 4px 10px;
  text-decoration: none;
  display: block;
}

/* REMOVE BORDER COMPLETELY */
.menu li ul,
.menu li ul li a {
  border: none !important;
}

/* SMALL GAP ONLY */
.menu li ul li {
  margin: 2px 0;
}

/* =========================
   MENU SPACING FIX
========================= */
.menu {
  margin-right: 40px;
}

/* =========================
   HOME LAYOUT
========================= */
.home-content {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

/* LEFT FRAME (already fine) */
.left-frame {
  background: #e8f0f7;
  width: 50%;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

/* ✅ RIGHT FRAME FIXED SIZE */
.right-frame {
  width: 50%;
  max-height: 360px;     /* IMPORTANT: locks height */
  overflow: hidden;      /* prevents overflow */
  border-radius: 12px;
  display: flex;
}

/* ✅ IMAGE FIT INSIDE FRAME */
.right-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* IMPORTANT: no stretching */
  display: block;
}

/* =========================
   TEXT & ANIMATION
========================= */
.title-animate {
  font-size: 32px;
  font-weight: bold;
  color: #0b3d91;
  animation: smoothIntro 1.5s ease-out;
    
}

@keyframes smoothIntro {
  0% { opacity: 0; transform: translateY(-20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================
   LIST SPACING FIX
========================= */
.feature-list li {
  margin-bottom: 6px;
}

/* =========================
   BLOG FIX (IMPORTANT)
========================= */
main {
  margin-top: 80px;
  padding: 20px;
  overflow-x: hidden;
}

/* =========================
   FORM TEXTBOX FIX (GLOBAL)
========================= */
textarea {
  width: 900px;       /* 8–10 inch approx */
  height: 200px;      /* 3–4 inch height */
  resize: none;       /* disable resize */
  overflow-y: auto;   /* scroll inside */
  padding: 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.sticky-announcement {
  position: sticky;
  top: 70px; /* below header */
  z-index: 9998;

  background: #0b3d91;
  color: white;

  font-size: 20px;
  font-weight: bold;

  text-align: center;
  padding: 12px 10px;

  letter-spacing: 1px;
}

/* input uniform */
input {
  width: 400px;
  padding: 8px;
  margin: 5px 0;
}
.hero-image {
  position: relative;
  width: 100%;
  height: 340px;
  background: url("../assets/home-banner.jpg") center/cover no-repeat;
  overflow: hidden;
  border-radius: 12px;
}

/* DARK OVERLAY (AZURE STYLE DEPTH) */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

/* CONTENT LAYER */
.hero-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px; /* 👈 ADD THIS */
}

.hero-text {
  font-size: 36px;
  font-weight: bold;
  color: #0b3d91;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #0b3d91;
  animation: typing 10s steps(60, end) forwards, blink 0.8s infinite;
  animation-iteration-count: infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* FIX ALIGNMENT AFTER ANIMATION */
.hero-text.done {
  width: auto;
  border-right: none;
}

/* SUB TEXT */
.hero-subtext {
  font-size: 18px;
 font-weight: bold;
  color: #0f0ccc;
  margin-top: 30px;
  display: inline-block;
  animation: pulseFade 3s ease-in-out infinite;
  animation-fill-mode: both;
}

/* COMBINED ANIMATION */
@keyframes pulseFade {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.menu li:hover > ul {
  display: flex !important;
}

.menu li ul li:hover > ul {
  display: flex !important;
}
.menu li ul li {
  margin: 0;
  padding: 0;
}

.menu li ul li a {
  padding: 4px 10px;
  line-height: 1.2;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.logo {
  height: 48px;        /* FIXED SIZE */
  width: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
body {
  overflow-x: hidden;
}

main {
  margin-top: 80px;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
}

main {
  margin-top: 80px;
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
}
h1, h2 {
  margin-bottom: 10px;
}

.page h1 {
  margin-bottom: 12px;
}
.right-frame {
  display: flex;
  align-items: stretch;
}

/* ✅ RIGHT FRAME FIXED SIZE */
.right-frame {
  width: 50%;
  max-height: 360px;     /* IMPORTANT: locks height */
  overflow: hidden;      /* prevents overflow */
  border-radius: 12px;
  display: flex;
}

/* ✅ IMAGE FIT INSIDE FRAME */
.right-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* IMPORTANT: no stretching */
  display: block;
}
.sub-text {
  font-size: 16px;
  font-weight: bold;
  color: #0b8091;
}
.highlight {
  font-size: 14px;
  font-weight: bold;
  color: #0b3d91;
}
main {
  margin-top: 80px;
  padding: 20px 20px 20px 0; /* REMOVE LEFT GAP */
  width: 100%;
  box-sizing: border-box;
}

.page {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
body, html {
  overflow-x: hidden;
}

/* SPACE BELOW HERO / BANNER */
.page {
  padding-top: 20px;
  padding-left: 20px;
}

/* BLOG FRAME */
.blogs-container {
  padding: 20px;
}

/* BOX STYLE */
.blogs-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  max-width: 900px;
  background: #f9fbff;
}

/* BLOG LIST */
.blogs-box ul {
  list-style-type: disc;
  padding-left: 25px;
}

.blogs-box li {
  margin-bottom: 10px;
  cursor: pointer;
  color: #0b3d91;
  font-weight: 500;
}

.blogs-box li:hover {
  text-decoration: underline;
}
.hero-image {
  margin-bottom: 20px;  /* adds spacing below banner */
}
main, .page {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.logo {
  height: 60px;     /* increased size */
  width: auto;
  object-fit: contain;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* =========================
   MOBILE RESPONSIVE VIEW
========================= */
@media (max-width: 768px) {

  /* HEADER STACK FIX */
  .header {
   position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    }
   main,
    .page-content,
    .content-wrapper,
    .container {
      margin-top: 10px;
    }
     .hero-text {
    font-size: 20px;
    text-align: center;
    white-space: normal;
    padding: 10px;
  }

  .hero-subtext {
    font-size: 14px;
    text-align: center;
  }
  .hero-image {
    height: 200px;
  }
   
  /* LOGO SIZE MOBILE */
  .logo {
    height: 45px;
  }

  /* MENU STACK (IMPORTANT) */
  .menu ul {
    flex-direction: column;
    gap: 8px;
   position: static;
    min-width: 100%;
  }

  .menu > ul > li > a {
    font-size: 16px;
    display: block;
     position: static;
    min-width: 100%;
  }

  /* HOME LAYOUT STACK */
  .home-content {
    flex-direction: column;
  }

  .left-frame,
  .right-frame {
    width: 100%;
  }

  /* HERO TEXT SMALLER */

  /* REMOVE BIG GAPS */
  .menu {
    margin-right: 0;
  }

  /* BLOG FIX */
  .blogs-box {
    width: 100%;
  }

  /* TEXTAREA FIX */
  textarea {
    width: 100% !important;
  }

}
.lab-container {
  max-width: 900px;
  padding: 20px;
  background: #f7fbff;
  border-radius: 10px;
}

.lab-tech-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.lab-tech-list li {
  margin-bottom: 6px;
}

.sticky-bar {
  position: sticky;
  top: 70px;
  background: #0b3d91;
  color: white;
  padding: 10px;
  font-weight: bold;
  overflow: hidden;
}

.sticky-bar::before {
  content: "";
  position: absolute;
  left: 100%;
  white-space: nowrap;
  animation: scrollBar 12s linear infinite;
}

@keyframes scrollBar {
  0% { left: 100%; }
  100% { left: -100%; }
}

.hero-image:hover .hero-text,
.hero-image:hover .hero-subtext {
  animation-play-state: paused;
}

/* FLOATING BUTTON */
#chatbot-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #0b3d91;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
}

/* CHAT BOX */
.chatbot-box {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  height: 420px;
  background: white;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 9999;
}
/* when open */
.chatbot-box.active {
  display: flex;
}

/* HEADER */
.chat-header {
  background: #0b3d91;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

/* CLOSE BUTTON */
.close-btn {
  cursor: pointer;
}

/* MESSAGES */
.chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.bot-msg {
  background: #e8f0ff;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* INPUT AREA */
.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.chat-input button {
  background: #0b3d91;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .chatbot-box {
    width: 90%;
    right: 5%;
    height: 60%;
  }

  #chatbot-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
