body, html {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f4f6fa;
  color: #222;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

.main-header {
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  background: #fff;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 68px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  min-height: 68px;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-right: 16px;
}
.logo h1 {
  font-size: 2rem;
  color: #0d2b52;
  font-weight: 700;
}
.notification-bell i {
  font-size: 2.0rem !important; /* Choose any size you like (2.5rem = ~40px) */
  color: #0d2b52;
  vertical-align: middle;
  transition: color .2s;
}

.notification-bell i:hover {
  color: #d40818;
}

.bell-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  background: #d40818;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
}

/* SIDEBAR and WRAPPER */
.wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding-top: 68px;
  background: #f4f6fa;
  box-sizing: border-box;
}

.sidebar {
  position: fixed;
  top: 68px;
  left: 0;
  bottom: 0;
  width: 240px;
  height: calc(100vh - 68px);
  background: #fff;
  border-right: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  overflow-y: auto;
  z-index: 2000;
}

.sidebar::-webkit-scrollbar {
  width: 7px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #ececec;
  border-radius: 5px;
}
.sidebar::-webkit-scrollbar-track {
  background: #f8f8fc;
}

.sidebar-header {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  border-bottom: 1px solid #f1f1f1;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d2b52;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  margin-right: 15px;
}
.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d2b52;
  letter-spacing: .07em;
}

.user-info {
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid #f2f2f2;
  background: #f8f8fc;
}
.welcome-text {
  display: block;
  font-weight: 100;
  color: #3e3e3e;
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.sidebar-btn {
  display: flex;
  align-items: center;
  background: #0d2b52;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s;
  box-shadow: 0 3px 14px #0d2b5232;
}
.sidebar-btn:hover { background: #d40818; color: #fff; }

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
}
.menu-item, .menu-items a {
  display: flex;
  align-items: center;
  color: #202124;
  padding: 13px 28px 13px 22px;
  font-size: 1.2rem;
  font-weight: 10;
  border-left: 4px solid transparent;
  border-radius: 0 2px 2px 0;
  margin-bottom: 3px;
  text-decoration: none;
  transition: background .2s, color .15s, border-left .18s;
}
.menu-item.active, .menu-items a.active,
.menu-item:hover, .menu-items a:hover {
  background: #ebf4fe;
  color: #0d2b52;
  border-left: 4px solid #0d2b52;
}
.menu-item i, .menu-items a i {
  margin-right: 10px;
  font-size: 1.17em;
}
.badge.new {
  background: #d40818;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 8px;
  margin-left: 7px;
}

.menu-section {
  margin-top: 10px;
}
.section-title {
  font-size: 1.3rem;
  color: #212851;
  background: #ebf4fe;
  padding: 10px 18px 10px 22px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  user-select: none;
  display: flex;
  align-items: center;
  transition: background .17s;
}
.section-title.active, .section-title:hover {
  background: #ffd7d7;
  color: #0d2b52;
}
.menu-items.dropdown-content {
  display: none;
  flex-direction: column;
}
.menu-items.dropdown-content.active { display: flex; }


@media only screen and (max-device-width: 700px) {
  .sidebar {
    width: 80vw !important;
    min-width: 180px !important;
    max-width: 360px !important;
  }
  .sidebar .menu-item,
  .sidebar .menu-items a,
  .sidebar .section-title {
    font-weight: 500 !important;
    font-size: 1.1rem !important; /* slightly larger for mobile eyes */
  }
  .sidebar .welcome-text,
  .sidebar-btn,
  .sidebar .badge.new {
    font-weight: 600 !important;
  }
}

/* Sidebar Section Title Arrow Animation & Alignment */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.section-title i.fas.fa-chevron-down {
  transition: transform 0.3s cubic-bezier(.54,.09,.36,.94);
  font-size: 1.2em;
  margin-left: 10px;
  /* Optional: color change on hover/active */
  color: #0d2b52;
}

.section-title.active i.fas.fa-chevron-down {
  transform: rotate(180deg);
  color: #d40818; /* Optional: highlight when active */
}
.section-title:hover i.fas.fa-chevron-down {
  color: #d40818;
}




/* Main Content */
.main-content {
  flex: 1;
  padding: 40px 30px 0 30px;
  margin-left: 240px;
  background: #f4f6fa;
}

/* ----------- FLEX HERO ----------- */
.flex-container {
  display: flex;
  border-radius: 26px;
  box-shadow: 0 8px 44px 0 #0d2b5240, 0 1.5px 12px #0d2b5216;
  overflow: hidden;
  margin-bottom: 35px;
  align-items: auto;
  background: #0d2b52;
  min-height: 330px;
  position: relative;
}
.text-container h1 {
  color: #fff;
  font-size: 2.65rem;
  margin-bottom: 0.4em;
  font-weight: 700;
  letter-spacing: .01em;
  margin-left: 20px;
}
.text-container h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 1.2em;
  font-weight: 500;
  margin-left: 20px;
}
.text-container ul {
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 22px;
  margin-left: 20px;
}
.text-container ul li {
  margin-bottom: 2px;
  margin-left: 20px;
}
.text-container a {
  background: #fff;
  color: #0d2b52;
  border-radius: 8px;
  font-size: 1.10rem;
  padding: 12px 28px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
  display: inline-block;
  box-shadow: 0 2px 10px 0 #0d2b5212;
  transition: background .19s, color .15s;
  margin-left: 20px;
}
.text-container a:hover {
  background: #d40818;
  color: #fff;
  box-shadow: 0 5px 14px 0 #d4081840;
  margin-left: 20px;
}
.flex-container {
  display: flex;
  justify-content: space-between; /* Spread text and image */
  align-items: center;            /* Vertically align them */
}

.image-container {
  margin-right: 100px;            /* Space from right edge */
}

.image-container img {
  max-width: 460px;
  height: 460px;
  border-radius: 16px;
  display: block;
  /* No margin-left or margin-right here */
}

@media (max-width: 1024px) {
  .image-container { display: none !important; }
  .flex-container { 
    flex-direction: column; 
    /* REMOVE: text-align: center; */
    text-align: left;      /* <-- Force left alignment */
    position: static; 
    min-height: unset; 
    padding: 15px 2vw;
  }
  .text-container { 
    width: 100%;
    text-align: left !important; /* <-- Ensure text is left-aligned */
    padding-right: 0;            /* Optional: remove right padding for mobile */
  }
  .main-content { 
    padding: 16px 2vw 0 2vw; 
    margin-left: 0; 
  }
  .sidebar {
    width: 70vw;
    min-width: 180px;
    left: -80vw;
    transition: left .25s;
    height: calc(100vh - 58px);
  }
  .sidebar.open { left: 0; }
}

@media (max-width: 768px) {
  .text-container h1 {
    font-size: 1.1rem;
  }
  .text-container h2 {
    font-size: 0.8rem;
  }
  .text-container ul {
    font-size: 0.8rem;
  }
}



@media (max-width: 760px) {
  .main-header { height: 58px; }
  .header-container { padding: 0 13px; }
  .logo h1 { font-size: 1.10rem; }
  .flex-container { padding: 15px 2vw; }
  .sidebar { top: 58px; }
  .main-content { padding: 10px 2vw 0 2vw; margin-left: 0; }
}

/* ----- Banner Cards ----- */
.steno-banner-section {
  margin: 24px 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.steno-banner {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 16px #0d2b5220;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  min-width: 290px;
  margin-right: 12px;
}
.steno-banner:last-child { margin-right: 0; }
.steno-banner-content img {
  box-shadow: 0 1px 8px #bbb6;
}
.steno-banner-link, .steno-banner-link:visited { color: inherit; text-decoration: none; }
.steno-banner-btn {
  background: #0d2b52;
  color: #fff;
  border-radius: 8px;
  padding: 7px 17px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
  display: inline-block;
  transition: background .18s;
  box-shadow: 0 2px 8px #0d2b5220;
}
.steno-banner-btn:hover { background: #d40818; }



















/* ---- Dictation Cards: CSS Grid for Perfect Alignment ---- */
.dictation-container, .dictation-container2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 24px;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
/* Dictation Card Modern Redesign */
.dictation-card, .dictation-card2 {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px 0 #0d2b5212, 0 2px 8px #d4081811;
  padding: 25px 22px 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow .17s, transform .15s, border .18s;
  border: 1.5px solid #f1f3fa;
  margin-bottom: 6px;
}

.dictation-card:hover, .dictation-card2:hover {
  box-shadow: 0 8px 36px #0d2b5233, 0 3px 14px #d4081812;
  border: 1.5px solid #d40818;
  transform: translateY(-6px) scale(1.024);
  z-index: 2;
}



.old-label {
  background: #0d2b52 !important;
  color: #fff !important;
}

.dictation-card h3, .dictation-card2 h3 {
  font-size: 1.3rem;
  font-weight: 100;
  color: #0d2b52;
  margin: 18px 0 13px 0;
  letter-spacing: .02em;
}



.dictation-card ul, .dictation-card2 ul {
  padding-left: 15px;
  margin-bottom: 17px;
  color: #292929;
  font-size: 1.04rem;
  line-height: 1.7;
  width: 100%;
}
.dictation-card ul li, .dictation-card2 ul li {
  margin-bottom: 3px;
  position: relative;
  padding-left: 21px;
}
.dictation-card ul li::before, .dictation-card2 ul li::before {
  content: "✓";
  color: #d40818;
  font-weight: bold;
  font-size: 1.13em;
  position: absolute;
  left: 0;
  top: 0.9px;
}

.take-test-btn, .dictation-card a.take-test-btn, .dictation-card2 a.take-test-btn {
  background: linear-gradient(90deg, #0d2b52 60%, #d40818 100%);
  color: #fff;
  border-radius: 10px;
  padding: 11px 23px;
  font-weight: 700;
  font-size: 1.07rem;
  text-decoration: none;
  margin-top: auto;
  margin-bottom: 0;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 10px #0d2b5211;
  transition: background .19s, color .14s, transform .11s;
  display: inline-block;
  outline: none;
  cursor: pointer;
}
/* Dictation Card - Button Blue, No Gradient, No Fancy Hover */
.take-test-btn, .dictation-card a.take-test-btn, .dictation-card2 a.take-test-btn {
  background: #0d2b52;
  color: #fff;
  border-radius: 10px;
  padding: 11px 23px;
  font-weight: 200;
  font-size: 1.07rem;
  text-decoration: none;
  margin-top: auto;
  margin-bottom: 0;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 10px #0d2b5211;
  transition: background .15s;
  display: inline-block;
  outline: none;
  cursor: pointer;
}
.take-test-btn:hover, .dictation-card a.take-test-btn:hover, .dictation-card2 a.take-test-btn:hover {
  background: #d40818; /* Just a bit darker on hover */
  color: #fff;
  transform: none;
  box-shadow: 0 2px 14px #0d2b5222;
}

/* Only One Check Sign Per List Item (remove any symbol from HTML) */
.dictation-card ul, .dictation-card2 ul {
  padding-left: 16px;
  margin-bottom: 17px;
  color: #292929;
  font-size: 1.04rem;
  line-height: 1.7;
  width: 100%;
}
.dictation-card ul li, .dictation-card2 ul li {
  margin-bottom: 3px;
  position: relative;
  padding-left: 20px;
  list-style: none; /* Remove default bullet */
}
.dictation-card ul li::before, .dictation-card2 ul li::before {
  content: "✔";
  color: #d40818;
  font-weight: bold;
  font-size: 1.13em;
  position: absolute;
  left: 0;
  top: 1px;
}

.dictation-card2 {
  display: flex;
  flex-direction: column;
  align-items: center;    /* Center everything horizontally */
  text-align: center;     /* Center text inside the card */
}

.dictation-card2 .dictation-logo {
  display: block;
  margin: 0 auto 10px auto;   /* Center the image with margin below */
  max-width: 92px;
  max-height: 92px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0d2b5213;
  background: #fff;
  object-fit: contain;
}
.dictation-card2 h3,
.dictation-card2 ul,
.dictation-card2 .take-test-btn {
  text-align: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.dictation-card2 ul {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.dictation-card2 ul li {
  text-align: left; /* Keep list items left-aligned if you prefer */
  display: inline-block;
  width: 100%;
  margin-left: 0 !important;
}



/* Mobile tweaks for cards */
@media (max-width: 900px) {
  .dictation-card, .dictation-card2 {
    padding: 19px 11px 20px 11px;
    border-radius: 14px;
  }
}
@media (max-width: 600px) {
  .dictation-card, .dictation-card2 {
    padding: 13px 6px 15px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .dictation-card h3, .dictation-card2 h3 {font-weight: 500; font-size: 1.5rem; margin: 13px 0 9px 0; }
  .take-test-btn { font-size: 0.99rem; padding: 10px 10vw; }
}

/* Nice shadow on all cards when focused by keyboard (a11y) */
.dictation-card:focus-within, .dictation-card2:focus-within {
  box-shadow: 0 0 0 3px #d4081850, 0 10px 32px #0d2b5227;
  outline: none;
}

/* Section header */
.dictation-section h2 {
  color: #0d2b52;
  font-weight: 400;
  margin: 28px 0 10px 0;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

/* For view all links that are not button style (optional, just a blue underline link look) */
.dictation-card a:not(.take-test-btn), .dictation-card2 a:not(.take-test-btn) {
  color: #0d2b52;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.03rem;
  padding-left: 1px;
  transition: color .17s;
}
.dictation-card a:not(.take-test-btn):hover, .dictation-card2 a:not(.take-test-btn):hover {
  color: #d40818;
  text-decoration: underline;
}




@media only screen and (max-device-width: 700px) {
  .dictation-card h3,
  .dictation-card2 h3 {
    font-weight: 500 !important;
  }
}























/* ----- Stats Banner as Cards (responsive) ----- */
.stats-banner-section {
  margin: 46px 0 30px 0;
  display: flex;
  justify-content: center;
  width: 100%;
 position: center;
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 1200px;
  align-items: stretch;
}
.stat-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 18px #0d2b5210;
  border: 1px solid #ede6ff;
  padding: 32px 18px 28px 18px;
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 
}
.stat-item i {
  color: #0d2b52;
  margin-bottom: 7px;
}
.stat-item h3 {
  margin: 13px 0 0 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0d2b52;
}
.stat-item p {
  font-size: 1.09rem;
  color: #434343;
  margin: 5px 0 0 0;
  font-weight: 400;
}
@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---- Reviews Section: Redesigned Modern Slider ---- */
.reviews-section {
  padding: 44px 10px 36px 10px;
  background: linear-gradient(95deg, #fff 60%, #f4f6fa 100%);
  text-align: center;
  margin-top: 44px;
  overflow-x: hidden;
  box-shadow: 0 5px 18px #0d2b5210;
  border-radius: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d2b52;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.reviews-container {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* Helps centering effect */
  transition: scroll-left 0.3s ease;
}




.review-card {
  background: #fff;
  padding: 32px 20px 22px 20px;
  border-radius: 16px;
  box-shadow: 0 7px 22px #0d2b5211, 0 2px 6px #d4081811;
  min-width: 310px;
  max-width: 360px;
  width: 90vw;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  justify-content: space-between;
  flex: 0 0 auto;
  transition: box-shadow .16s, transform .13s;
  border: 1.5px solid #e8e8fa;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 30px;
  scroll-snap-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 12px 32px #0d2b5250;
  transform: translateY(-4px) scale(1.022);
  border: 1.5px solid #d40818;
}
.review-icon {
  font-size: 2rem;
  color: #d40818;
  margin-bottom: 8px;
  opacity: .78;
}

.reviewer-info {
  display: flex;
  align-items: center;
  margin-top: 12px;
  gap: 13px;
}
.reviewer-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0d2b52;
  box-shadow: 0 2px 8px #0d2b521a;
}
.reviewer-name {
  margin: 0 0 2px 0;
  font-size: 1.11em;
  font-weight: 700;
  color: #0d2b52;
  letter-spacing: 0.01em;
}
.reviewer-role {
  margin: 0;
  font-size: 0.93em;
  color: #545b68;
  font-weight: 400;
}

.reviews-arrow {
  background: #fff;
  border: none;
  border-radius: 13px;
  font-size: 2.1rem;
  font-weight: 900;
  color: #0d2b52;
  margin: 0 12px;
  box-shadow: 0 2px 8px #0d2b5220;
  cursor: pointer;
  padding: 7px 18px;
  align-self: center;
  transition: background .18s, color .14s;
  position: relative;
  top: 0px;
  z-index: 3;
  outline: none;
}
.reviews-arrow:hover {
  background: #d40818;
  color: #fff;
}

@media (max-width: 1100px) {
  .reviews-section {
    padding: 24px 1vw 18px 1vw;
  }
  .review-card {
    min-width: 85vw;
    max-width: 97vw;
    width: 94vw;
    /* height: 235px;   <-- REMOVE THIS LINE */
    padding: 22px 10px 15px 13px;
  }
}
@media (max-width: 600px) {
  .reviews-section {
    padding: 16px 1vw 12px 1vw;
    border-radius: 10px;
    margin-top: 22px;
  }
  .review-card {
    min-width: 97vw;
    max-width: 100vw;
    width: 99vw;
    border-radius: 8px;
    /* height: 240px;   <-- REMOVE THIS LINE */
  }
  .reviews-arrow {
    font-size: 2.2rem;
    padding: 3px 12px;
    border-radius: 8px;
  }
}


.reviews-container::-webkit-scrollbar { display: none; }
.reviews-container { -ms-overflow-style: none; scrollbar-width: none; }


/* ---- Badges, Labels ---- */


.update-label {
  display: inline-block;
  position: absolute;
  top: 0px;
  right: 0px;
  background: #d40818;
  color: #fff;
  border-radius: 10px 10px 10px 0;
  font-size: 0.82em;
  font-weight: 700;
  padding: 4px 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 1px 6px #d408183a;
  z-index: 5;
}

.old-label { background: #545b68 !important; }

/* ---- Footer ---- */
/* ---- Footer: Redesigned Modern Colors and Layout ---- */
.footer-section {
  background: #0d2b52;
  color: #fff;
  padding: 48px 0 28px 0;
  margin-top: 44px;
  z-index: 1;
  position: relative;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  box-shadow: 0 -7px 38px #0d2b523a;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1250px;
  margin: auto;
  gap: 48px;
  padding: 0 30px;
}
.footer-column {
  min-width: 210px;
  flex: 1 1 270px;
  margin-bottom: 0;
}
.footer-column h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: .06em;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.07rem;
  opacity: 0.87;
  transition: color .18s, opacity .16s;
  border-bottom: 1.5px dotted #fff0;
  padding-bottom: 1px;
}
.footer-column ul li a:hover {
  color: #d40818;
  opacity: 1;
  border-bottom: 1.5px solid #d40818;
}
.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d40818;
  color: #fff;
  font-size: 1.35rem;
  margin-right: 16px;
  margin-bottom: 7px;
  transition: color .17s, opacity .13s, background .12s;
  box-shadow: 0 1px 10px #0d2b5220;
  opacity: 0.96;
  padding: 0; /* Remove extra padding for perfect circle */
}

.social-icons .social-icon:hover {
  color: #0d2b52;
  background: #fff;
  opacity: 1;
}
.social-icons .social-icon,
.social-icons .social-icon:visited {
  text-decoration: none !important;
}


/* On mobile, make them a bit smaller for a compact look */
@media (max-width: 600px) {
  .social-icons .social-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin-right: 10px;
  }
}

.footer-column p, .footer-column strong {
  font-size: 1rem;
  opacity: 0.95;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 14px;
    padding: 0 4vw;
  }
  .footer-section {
    padding: 24px 0 12px 0;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 600px) {
  .footer-container {
    gap: 7px;
    padding: 0 2vw;
  }
  .footer-section {
    padding: 16px 0 7px 0;
    border-radius: 6px 6px 0 0;
  }
  .footer-column {
    min-width: unset;
    flex: 1 1 100%;
    margin-bottom: 0;
  }
  .footer-column h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .footer-column p, .footer-column ul li, .footer-column ul li a {
    font-size: 0.97rem;
  }
  .social-icons .social-icon {
    font-size: 1.5rem;
    padding: 4px 9px 4px 9px;
    margin-right: 10px;
  }
}



/* ---- Modal ---- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 27, 44, 0.30);
  z-index: 5000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px #0002;
  max-width: 380px;
  padding: 32px 25px 26px 25px;
}
.modal-header {
  font-size: 1.19rem;
  font-weight: 700;
  color: #0d2b52;
  margin-bottom: 14px;
}
.modal-body {
  font-size: 1.06rem;
  color: #444;
  margin-bottom: 20px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
}
.btn-modal {
  background: #0d2b52;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-modal.btn-cancel { background: #bbb9c5; color: #333; }
.btn-modal:hover { background: #d40818; color: #fff; }

@media (max-width: 1000px) {
  .dictation-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 17px; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .main-content { padding: 12px 2vw 0 2vw; }
}
@media (max-width: 480px) {
  .main-header { height: 48px; }
  .header-container { padding: 0 6px; }
  .logo h1 { font-size: .97rem; }
  .sidebar { padding-bottom: 8vw; }
  .flex-container { padding: 7px 2vw; }
  .main-content { padding: 6px 2vw 0 2vw; }
}


/* Hamburger only visible on mobile/tablet */
@media (max-width: 1024px) {
  .hamburger {
    display: block !important;
    z-index: 9999;
    background: #fff;
    border: 2px solid #0d2b52;
    border-radius: 10px;
    padding: 6px 13px;
    margin-right: 10px;
    color: #0d2b52;
    font-size: 1.1rem;
    box-shadow: 0 3px 9px #0d2b5233;
  }
}


.steno-banner-btn {
    text-decoration: none !important;
    /* (keep your other existing button styles) */
}
.steno-banner-btn:hover {
    text-decoration: none !important;
    /* You can keep your hover styles here too */
}

@media (min-width: 1025px) {
  .stats-container,
  .reviews-container {
    padding-left: 240px !important;
    box-sizing: border-box;
  }
}



/* at the very bottom of index.css */
@media (min-width: 1025px) {
  .footer-section {
    margin-left: 240px;
    /* optionally also shrink their width so no horizontal scroll: */
    width: calc(100% - 240px);
  }
}


.ppf-info-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #e9f4fb;
  color: #163d56;
  border-radius: 14px;
  padding: 16px 30px 16px 22px;
  margin: 18px 0 36px 0;
  box-shadow: 0 2px 14px #1559b010;
  font-size: 1.14rem;
  gap: 14px;
}

.ppf-info-bar .fa-file-alt {
  color: #2171c4;
  margin-right: 10px;
  font-size: 1.32em;
}

.ppf-btn {
  display: inline-block;
  background: linear-gradient(90deg,#2171c4 70%,#185088 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 9px 22px;
  margin-left: 14px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 1px 7px #2171c420;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.ppf-btn:hover, .ppf-btn:focus {
  background: linear-gradient(90deg,#185088 60%,#2171c4 100%);
  color: #fff;
  box-shadow: 0 3px 14px #18508840;
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}


/* Hide hero image for screens 1351px wide or less */
@media (max-width: 1196px) {
  .image-container {
    display: none !important;
  }
}

@media (max-width: 1440px) {
  body {
    zoom: 0.80;
  }
}

.hero-slideshow-dots {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.hero-slideshow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-slideshow-dot.active {
  background: #356eea;
  box-shadow: 0 0 8px #356eea88;
}
.flex-container {
  transition: opacity 0.8s;
  opacity: 1;
  z-index: 1;
  position: relative;
}
.flex-container.slide-hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 0;
}


