:root {
  --header-h: 72px; /* header height used for offsets */
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
span{color: black;}
/* Header */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgb(23, 170, 151);
  color: black;
  height: var(--header-h);
  position: sticky;
  top: 0; /* keep it flush to top */
  z-index: 100;
  gap: 100px;
}
.header > * { min-width: 0; }

/* Brand & right */
.right { display: flex; align-items: center; gap: 80px; flex: 0 0 auto; min-width: 0; }
.brand { display:flex; align-items:center; gap:1px; text-decoration:none; color:inherit; flex: 0 0 auto; }
.brand img { width:40px; height:40px; border-radius:6px; object-fit:contain; }
.brand-title { display:flex; flex-direction:column; line-height:1; }
.brand-title .title { font-weight:700; font-size:16px; }

/* Hamburger (hidden on larger screens) */
.hamburger {
  display: none;
  background: transparent;
  color: black;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  z-index: 140;
}

/* Left (nav + CTA) */
.left { display:flex; align-items:center; gap: 12px; flex: 1 1 auto; min-width:0; }
.navBar { display:flex; align-items:center; flex:1 1 auto; min-width:0; }
.navLinks { display:flex; align-items:center; justify-content:center; min-width:0; }
.linkRight { list-style:none; display:flex; gap:24px; align-items:center; white-space:nowrap; margin:0; padding:0; min-width:0; }

.linkRight a { color:black; text-decoration:none; padding:8px 10px; border-radius:8px; font-weight:600; display:inline-block; }
.linkRight a:hover { background: rgba(255,255,255,0.03); transform: translateY(-2px); transition: transform .12s ease; }

/* Dropdown */
.dropdown { position:relative; }
.dropdown-menu {
  position:absolute;
  top: calc(50% + 10px);
  left: 0;
  min-width:100px;
  background:rgb(23, 170, 151);
  border-radius:8px;
  padding:8px 6px;
  display:none;
  /* width: 100px; */
  box-shadow:0 8px 20px rgba(0,0,0,0.4);
  z-index: 40;
}
.dropdown-menu li{
  list-style: none;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu { display:block; }
.dropdown-menu a { 
  display:block; 
  padding:8px 10px; 
  color:black; 
  text-decoration:none; 
}

/* CTA */
.btn-cta { background: black; color:rgb(23, 170, 151); border:none; padding:10px 14px; border-radius:8px; font-weight:800; cursor:pointer; flex:0 0 auto; }

/* MAIN offset (push content below sticky header) */
main {
  padding-top: calc(var(--header-h) + 16px); /* header height + breathing space */
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1200px;
  margin: 0 auto 40px;
  box-sizing: border-box;
}

/* Responsive / mobile */
@media (max-width: 1024px) {
  .hamburger { display:inline-flex; align-items:center; justify-content:center; }

  .navBar { display: none; }

  .navBar.active {
    display: flex !important;
    position: fixed;
    left: 8px;
    right: 8px;
    top: calc(var(--header-h) + 12px);
    background: rgb(23, 170, 151);
    border-radius: 10px;
    padding: 12px;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    max-height: calc(100vh - (var(--header-h) + 40px));
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .navBar.active .navLinks { display:flex; flex-direction:column; gap:8px; }
  .navBar.active .linkRight { flex-direction:column; gap:8px; align-items:stretch; white-space:normal; }

  .dropdown-menu {
    position: static;
    display: none;
    padding-left: 12px;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }
  .dropdown.expanded > .dropdown-menu { display:block; }

  /* smaller header on very small screens */
  @media (max-width: 420px) {
    :root { --header-h: 64px; }
    .brand-title .title { font-size: 15px; }
    .brand img { width:34px; height:34px; }
    .header{gap: 16px;}
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .header { padding-top: 14px; padding-bottom: 14px;}
}









/*== multiple type animation css code ==*/

/* Fade-in */
.fade {
  opacity: 0;
  transition: opacity 6s;
}
.fade.show {
  opacity: 1;
}

/* Jump */
.jump {
  transform: translateY(50px);
  opacity: 0;
  transition: all 6s;
}
.jump.show {
  transform: translateY(0);
  opacity: 1;
}

/* Slide from left */
.slide {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 6s;
}
.slide.show {
  transform: translateX(0);
  opacity: 1;
}












/* Research & Market Insights — normal / medium CSS */

.research-insights {
  background: #f6f7fb;
  color: #0f172a;
  padding: 24px 0;
  font-family: Arial, sans-serif;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* header */
.ri-header { text-align: center; margin-bottom: 12px; }
.ri-sub { color: #6b7280; margin-top: 6px; }

/* ticker */
.ri-ticker {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #6b7280;
}
.ri-ticker .up { color: #0f9d58; }
.ri-ticker .down { color: #d64545; }

/* grid layout */
.ri-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  align-items: start;
}

/* main content */
.ri-main { padding-right: 6px; }
.ri-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.f-btn { border: 1px solid #dbeafe; background: transparent; color: #0b6efd; padding: 6px 10px; border-radius: 6px; cursor: pointer; }

/* items */
.ri-item { padding: 12px 0; border-bottom: 1px solid #ececec; }
.ri-item h3 { margin: 0 0 6px; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; }
.ri-item p { margin: 6px 0; color: #1f2937; }
.ri-item ul, .ri-item ol { margin: 6px 0 10px 18px; color: #6b7280; }

/* .read-more as requested */
.read-more {
  text-decoration: none;
  color: #007BFF;
  font-weight: 500;
  transition: color 0.3s;
}
.read-more:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* news & experts */
.ri-news h4, .ri-experts h4 { margin: 12px 0 8px; }
.ri-news ul { list-style: none; padding: 0; margin: 0; }
.ri-news li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.ri-news a { text-decoration: none; color: #0b1220; font-weight: 600; }
blockquote { margin: 8px 0; color: #6b7280; font-style: italic; }

/* sidebar */
.ri-side { padding-left: 6px; }
.sidebar-box { margin-bottom: 14px; }
.trending { list-style: none; padding: 0; margin: 6px 0 0; }
.trending li { padding: 6px 0; }
.trending a { color: #0b1220; text-decoration: none; }

/* subscribe */

/* Minimal styles for the error message */
.sr-error {
  color: #d64545;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* optional: small focus outline for the input when invalid */
input.invalid {
  outline: 2px solid rgba(214,69,69,0.15);
  border-color: #d64545;
}

.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input { flex: 1; padding: 8px 10px; border: 1px solid #e6e6e6; border-radius: 6px; }
.subscribe-form button { padding: 8px 12px; background: #007BFF; color: #fff; border: none; border-radius: 6px; cursor: pointer; }

/* responsive at 768px */
@media (max-width: 768px) {
  .ri-grid { grid-template-columns: 1fr; }
  .ri-ticker { overflow-x: auto; justify-content: flex-start; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}












/* Learning Section — grid-based layout (simple style) */

.learning-section {
  background: #f9fbfe;
  padding: 28px 0;
  font-family: Arial, sans-serif;
  color: #0f172a;
}

.learn-wrap {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* header */
.learn-header {
  text-align: center;
  margin-bottom: 14px;
}
.learn-sub {
  color: #6b7280;
  margin-top: 6px;
}

/* grid */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

/* tutorials list (main column) */
.learn-tutorials h3 {
  margin: 0 0 8px 0;
}
.tutorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tutorial-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.tutorial-list strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}
.tutorial-list p {
  margin: 0 0 8px 0;
  color: #334155;
  font-size: 0.95rem;
}
.cta-link {
  text-decoration: none;
  color: #007BFF;
  font-weight: 500;
  transition: color 0.2s;
}

/* actions */
.learn-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.btn.primary {
  background: #007BFF;
  color: #fff;
  border: 0;
}
.btn.outline {
  background: transparent;
  color: #007BFF;
  border: 1px solid rgba(0,123,255,0.12);
}

/* sidebar (right column) */
.learn-side h3 {
  margin: 0 0 8px 0;
}
.resource-block {
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}
.video-thumb {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 14px;
  margin: 8px 0;
  text-align: center;
  font-weight: 600;
}
.ebooks {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.ebooks li {
  padding: 6px 0;
}
.file {
  text-decoration: none;
  color: #0b1220;
}

/* quiz button */
.btn.small {
  padding: 6px 10px;
  font-size: 0.9rem;
}

/* responsive: collapse to single column at 768px */
@media (max-width: 768px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .learn-actions {
    justify-content: center;
  }

  .video-thumb {
    text-align: left;
  }
}









.footer {
  background:rgb(23, 170, 151);
  color: black;
}

.footer-container {
  /* max-width: 1100px; */
  margin-left: 80px;
  margin-right: auto;
  padding: 40px 16px;
  display: flex;
  flex-wrap: wrap;
}

.footer-about {
  flex: 1 1 250px;
}

.footer-links {
  flex: 1 1 200px;
}

.footer-contact {
  flex: 1 1 250px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 16px;
  margin-top: 20px;
}

.footer-text {
  font-size: 14px;
  width: 200px;
}

/* .footer-contact .mail{
  color: white;
} */

.footer-list {
  list-style: none;
  padding-left: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list li a {
  color: #fff;
  text-decoration: none;
}

.footer-list li a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 16px;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  text-decoration: none;
}

.social-icon img{
  height: 40px;
  width: 40px;
  background-color: white;
  overflow: hidden;

}

.social-icon:hover {
  text-decoration: underline;
}

.footer-newsletter {
  margin-top: 16px;
}

.newsletter-input {
  padding: 8px;
  border: none;
}

.newsletter-btn {
  padding: 8px 16px;
  background-color: #fff;
  color: #222;
  border: none;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding: 16px;
  border-top: 1px solid #444;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
    margin-bottom: 24px;
  }
}
