:root {
  --primary: #0057c8;
  --primary-dark: #003c8a;
  --accent: #ff7a1a;
  --accent-dark: #e2660a;
  --bg: #f5f7fb;
  --white: #ffffff;
  --text-main: #0b1736;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: rgb(0 58 149);
  color: var(--white);
  min-height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Override for blog detail page: white background, dark text */
body.blog-detail-body {
  background: #ffffff;
  color: #111827;
}

/* Navigation Header */
.main-header {
  background: var(--white);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  padding: 0.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

.logo-image {
  max-height: 60px;
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.form-error {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #b91c1c;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.blogs-list a {
  text-decoration: none;
}

.blogs-list a:hover {
  text-decoration: none;
}


.form-status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #bbf7d0;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo-image {
    max-height: 50px;
  }
  
  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .logo-text {
    font-size: 0.95rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 2rem 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .header-nav.active {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    width: 100%;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover {
    color: var(--primary);
    background: rgba(0, 87, 200, 0.05);
    padding-left: 1rem;
  }
}

.outer {
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  padding-top: calc(2.5rem + 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  flex: 1;
}



@media (max-width: 768px) {
  .outer {
    padding: 1.5rem 1rem;
    padding-top: calc(1.5rem + 70px);
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  .page-wrapper {
    width: 100%;
  }
  
  .headline-block,
  .form-card {
    width: 100%;
  }
}

/* logo bar above headline-block */

.logo-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  margin-bottom: 1.8rem;
}

.logo-bar img {
  height: 70px;
  width: auto;
  display: block;
}

.logo-bar-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .page-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    gap: 1.5rem;
  }
}

.headline-block {
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .headline-block {
    padding-right: 0;
  }
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .project-tag {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
  }
}

.project-tag-pill {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffcf7a;
}

.title {
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 750;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
}

.title span {
  color: #ffcf7a;
}

.subtitle {
  font-size: 1rem;
  max-width: 50rem;
  opacity: 0.96;
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 100%;
  }
}

.bullets {
  display: grid;
  gap: 0.5rem;
  font-size: 0.93rem;
  margin-bottom: 1.8rem;
}

@media (max-width: 768px) {
  .bullets {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    gap: 0.4rem;
  }
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  opacity: 0.96;
}

.bullet-icon {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
}

.highlight-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.16);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .highlight-strip {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    flex-wrap: wrap;
  }
}

.highlight-strip span {
  color: #ffcf7a;
  font-weight: 600;
}

/* Form card */

.form-card {
  background: var(--white);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem 1.8rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
  }
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.18), transparent 55%),
    radial-gradient(circle at bottom left, rgba(0, 87, 200, 0.12), transparent 55%);
  pointer-events: none;
}

.form-inner {
  position: relative;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .form-title {
    font-size: 1.1rem;
  }
}

.form-caption {
  font-size: 0.85rem;
  color: #5a668e;
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #364064;
  margin-bottom: 0.25rem;
}

.field input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #cdd6f0;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  background: rgba(255, 255, 255, 0.96);
}

.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 87, 200, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(255, 122, 26, 0.45);
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
  margin-top: 0.3rem;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 122, 26, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.45);
}

.form-note {
  font-size: 0.78rem;
  color: #68739b;
  margin-top: 0.7rem;
}

.form-note span {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Footer */
.main-footer {
  background: var(--white);
  border-top: 1px solid #e0e0e0;
  padding: 1rem 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-separator {
  color: #999;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* About Page Styles */
.about-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-text {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about-hero {
    margin-bottom: 2rem;
  }
  
  .about-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .section-text {
    font-size: 0.9rem;
  }
}

/* Contact Page Styles */
.contact-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.contact-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.info-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

.contact-form-section {
  width: 100%;
}

.field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #cdd6f0;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  background: rgba(255, 255, 255, 0.96);
  font-family: inherit;
  resize: vertical;
}

.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 87, 200, 0.15);
}

@media (max-width: 860px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .info-item {
    margin-bottom: 1.5rem;
  }
  
  .info-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
}

/* Static legal pages */


.static-hero {
  margin-bottom: 2rem;
}

.static-section {
  margin-bottom: 2rem;
}

.static-section .section-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.static-section .section-text {
  font-size: 0.95rem;
  color: #e0e4ff;
  max-width: 800px;
}

.sitemap-card {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
  max-width: 420px;
}

.sitemap-list {
  list-style: none;
  padding-left: 0;
}

.sitemap-list li {
  margin-bottom: 0.4rem;
}

.sitemap-list a {
  display: inline-block;
  color: #0b1736;
  text-decoration: none;
  font-weight: 500;
}

.sitemap-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Blogs Page Styles */
.blogs-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.blogs-hero {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blogs-main-title {
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 750;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.blogs-subtitle {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 750;
  margin-bottom: 1.5rem;
  color: #ffcf7a;
}

.blogs-description {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.96;
  margin-bottom: 0;
  color: var(--white);
  max-width: 100%;
}

@media (max-width: 768px) {
  .blogs-hero {
    margin-bottom: 2rem;
  }
  
  .blogs-main-title {
    font-size: 1.8rem;
  }
  
  .blogs-subtitle {
    font-size: 2rem;
  }
  
  .blogs-description {
    font-size: 0.9rem;
  }
}

.blogs-list {
  margin-bottom: 3rem;
}

/* Blog Filters */
.tu-blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 40px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.12);
    background: rgb(6 53 173 / 38%);
    backdrop-filter: blur(10px);
}

.tu-blog-filters span {
  cursor: pointer;
  border-radius: 999px;
  padding: 6px 16px;
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tu-blog-filters span.active {
  background-color: var(--white);
  color: var(--primary-dark);
}

.tu-blog-filters span:not(.active):hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Category Color Box */
.category-color-box {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  background-color: #ccc;
  border-radius: 5px;
  vertical-align: text-bottom;
}

/* Blog Item Styling */
.tu-articleitem {
  display: flex;
  flex-wrap: nowrap;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0px 18px 35px rgba(18, 23, 38, 0.12);
}

.tu-articleitem:hover {
  transform: translateY(-6px);
  box-shadow: 0px 22px 40px rgba(18, 23, 38, 0.18);
}

.tu-articleitem.flipped {
  flex-direction: row-reverse;
}

.tu-article-image {
  flex: 0 0 40%;
  min-height: 280px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  border-radius: 18px 0 0 18px;
}

.tu-articleitem.flipped .tu-article-image {
  border-radius: 0 18px 18px 0;
}

.tu-articleinfo {
  flex: 1 1 55%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tu-articleinfo a {
  text-decoration: none;
  color: inherit;
}

.tu-arrticltitle p {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
}

.tu-articleinfo h5 {
  font-size: 20px;
  color: var(--text-main);
  margin: 10px 0;
  transition: color 0.3s;
}

.tu-articleitem:hover .tu-articleinfo h5 {
  color: var(--primary);
}

.tu-description p {
  font-size: 16px;
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}

.tu-author-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.tu-author-info h6 {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
}

/* Horizontal Line */
.tu-horizontal-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
  border-bottom: none;
}

/* Pagination */
.tu-blog-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0 10px;
}

.tu-blog-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.12);
}

.tu-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: #f4f6fb;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.tu-page-link:hover:not(.tu-page-link-active):not(.tu-page-link-disabled) {
  transform: translateY(-1px);
  background-color: #e5e7eb;
}

.tu-page-link-active {
  background-color: var(--primary);
  color: #fff;
}

.tu-page-link-disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}

@media (max-width: 992px) {
  .tu-articleitem {
    flex-direction: column;
  }

  .tu-articleitem.flipped {
    flex-direction: column;
  }

  .tu-article-image,
  .tu-articleinfo {
    width: 100%;
    flex: 1 1 100%;
  }

  .tu-article-image {
    min-height: 220px;
    border-radius: 18px 18px 0 0;
  }

  .tu-articleitem.flipped .tu-article-image {
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 768px) {
  .blogs-hero {
    margin-bottom: 2rem;
  }

  .tu-blog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px;
    gap: 10px;
    background: rgb(6 53 173 / 38%);
  }

  .tu-blog-filters span {
    color: var(--white);
  }

  .tu-blog-filters::-webkit-scrollbar {
    height: 6px;
  }

  .tu-blog-filters::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 999px;
  }

  .tu-articleinfo {
    padding: 24px 20px;
  }
}

