html, body { max-width: 100vw; overflow-x: hidden; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
  background: linear-gradient(120deg,#edf4fb 0%,#fdefef 60%,#f5faff 100%);
  color: #1d2939;
  line-height: 1.8;
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.ad-container { 
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
}
#menuOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,30,0.45);
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
#menuOverlay.active {
  display: block;
  pointer-events: auto;
  opacity: 1;
}

header {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 8px #0001;
  padding: 1.1rem 0;
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo-group { display: flex; align-items: center; gap: 0.7rem; }
.logo-icon { font-size: 1.8rem; }
.logo { font-size: 2rem; color: #044173; font-weight: 800; letter-spacing: -0.5px; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  position: static;
  background: transparent;
  height: auto;
  width: auto;
  box-shadow: none;
}
.main-nav ul li a, .main-nav ul li button.cta-btn {
  color: #1d2939;
  background: none;
  border: none;
  font-weight: 500;
  padding: 0.4em 1em;
  border-radius: 18px;
  transition: background 0.25s, color 0.18s;
  font-size: 1.10rem;
  cursor: pointer;
  text-align: left;
}
.main-nav ul li a:hover, .main-nav ul li button.cta-btn:hover {
  background: #e8f2ff;
  color: #0575e6;
}
.cta-li { display: none; }
.cta-btn {
  background: linear-gradient(90deg,#0575e6 30%, #65c7f7 90%);
  color: #fff!important;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 0.5em 1.5em;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  margin-left: 1.4rem;
  box-shadow: 0 2px 10px #0575e645;
}
.cta-btn:hover { opacity: 0.93; box-shadow: 0 2px 18px #0575e688; }
.desktop-cta { display: inline-block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  padding: 0;
  margin-right: 0.5rem;
  z-index: 2001;
}
.hamburger span { display: block; width: 100%; height: 4px; background: #044173; border-radius: 2px; transition: all 0.25s; }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Mobile sidebar nav: left-drawer --- */
/* -------- Responsive MOBILE NAV OVERLAY -------- */
@media (max-width: 650px) {
  .main-nav { display: none; }
  .desktop-cta { display: none; }
  .cta-li { display: block; }
  .hamburger { display: flex; }
  #mobileDrawerNav {
    display: block;
  }
  #mobileDrawerNav ul {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    height: 100vh;
    width: 80vw;
    max-width: 330px;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    background: #191b22;
    box-shadow: 2px 0 24px #0005;
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
    display: flex;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1001;
    will-change: transform;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.75,.01,.13,1.05), opacity .19s;
  }
  #mobileDrawerNav ul.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  #mobileDrawerNav ul li { width: 100%; }
  #mobileDrawerNav ul li a, #mobileDrawerNav ul li button.cta-btn {
    display: block;
    width: 100%;
    background: none;
    color: #fafbfc;
    font-size: 1.18rem;
    padding: 1.07rem 2rem;
    border-bottom: 1px solid rgba(230,237,242,0.06);
    border-radius: 0;
    text-align: left;
    transition: background .2s, color .18s;
    border: none;
    font-weight: 500;
    outline: none;
    cursor: pointer;
  }
  #mobileDrawerNav ul li a:hover, #mobileDrawerNav ul li a:focus,
  #mobileDrawerNav ul li button.cta-btn:hover, #mobileDrawerNav ul li button.cta-btn:focus {
    background: #262930;
    color: #6cfaff!important;
  }
  #mobileDrawerNav ul li.cta-li {
    padding: 1.2rem 2rem;
    border: none;
  }
  #mobileDrawerNav ul li.cta-li .cta-btn {
    width: 100%;
    display: block;
    margin: 0;
    font-size: 1.13rem;
    background: linear-gradient(90deg,#111a35,#065d74);
    color: #fff !important;
    box-shadow: 0 2px 10px #06334a99;
    font-weight: 600;
  }
}

@media (min-width: 651px) {
  #mobileDrawerNav,
  #menuOverlay { display: none !important; }
  .main-nav { display: block; }
  .desktop-cta { display: inline-block; }
  .hamburger { display: none !important; }
}

/* Responsive featured/posts/footer/tablet styles as before ... */
.featured {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px #0575e610;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2rem auto 3rem auto;
  gap: 2rem;
}
.featured-content {
  padding: 2rem;
  text-align: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.featured img { width: 46%; min-width: 180px; max-height: 260px; object-fit: cover; border-radius: 18px 0 0 18px;}
@media (max-width: 950px) {
  .featured { flex-direction: column; gap: 1.4rem; align-items: center; }
  .featured img {
    width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: 210px;
    margin: 0 auto;
  }
  .featured-content { padding: 1.1rem; text-align: center; }
}
.recent-posts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  margin-top: 3rem;
  justify-content: center;
  align-items: center;
}
.post-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #4442;
  flex: 1 1 280px;
  max-width: 31%;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.22s, box-shadow 0.25s;
  z-index: 1;
}
.post-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 32px #25b6ff29;
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(90deg, #c471f5 20%, #fa71cd 80%);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.25em 0.9em;
  border-radius: 15px;
  font-weight: 600;
  box-shadow: 0 1px 8px #c471f525;
  letter-spacing: 0.5px;
}
.tag.web { background: linear-gradient(90deg, #54d0fe 40%, #0575e6 100%); }
.tag.responsive { background: linear-gradient(90deg,#62efab 30%, #15b7b9 100%);}
.tag.writing { background: linear-gradient(90deg,#ffb199 39%, #fa5a47 100%);}
.post-card img {
  height: 174px;
  object-fit: cover;
  width: 100%;
}
.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-content h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.post-content h3 a { color: #222; transition: color 0.18s; }
.post-content h3 a:hover { color: #fa5a47; }
.post-content p { flex-grow: 1; font-size: 1.01rem; color: #47506b; margin-bottom: 1rem; }
.post-meta { color: #a1a9bb; font-size: 0.95rem; margin-top: auto; }
footer {
  background: #ffffff;
  padding: 1.2rem 0;
  color: #868e96;
  text-align: center;
  font-size: 1rem;
  border-top: 1px solid #eee;
  border-radius: 0 0 16px 16px;
  margin-top: 15px;
}


/* Blog detail layout */
.blog-detail-container {
  max-width: 800px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px #00223e18;
  padding: 2.3rem 2.5rem;
  transition: background 0.2s;
}
.blog-article .blog-header { 
    text-align: center; 
    margin-bottom: 2rem; 
    padding-bottom: 0;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1em;
  justify-content: center;
  color: #0097c2;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.blog-category {
  background: #e8f2ff;
  color: #095fa2;
  padding: 2px 12px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .98rem;
}
.blog-title {
  font-size: 2.2rem;
  color: #1d2939;
  font-weight: 800;
  margin-bottom: 1.1rem;
  text-wrap: balance;
  letter-spacing: -.01em;
}
.blog-header .blog-hero {
  width: 100%;
  max-height: 370px;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem 0 0 0;
  box-shadow: 0 6px 32px #2957be12;
}
.blog-content {
  line-height: 1.8;
  color: #35445a;
  font-size: 1.15rem;
}
.blog-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.7rem 0;
  color: #0c465e;
  font-weight: 700;
}
.blog-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}
.blog-content ul li {
  margin: 0.35em 0;
  font-size: 1.03rem;
}
.blog-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin: 1.6rem 0;
  box-shadow: 0 8px 40px #003d3910;
}

@media (max-width: 950px) {
  .blog-detail-container { padding: 1.2rem 0.8rem; }
  .blog-title { font-size: 1.4rem; }
}

@media (max-width: 650px) {
  .blog-detail-container {
    max-width: 99vw;
    margin: 1.1rem 1vw;
    padding: 0.7rem 0.1rem;
    border-radius: 8px;
  }
  .blog-content { font-size: 1.06rem; padding-left: 2vw; padding-right: 2vw; }
  .blog-article .blog-header { margin-bottom: 1.3rem; }
  .blog-header .blog-hero { max-height: 210px; }
  .blog-content h2 { font-size: 1.1rem; }
}

/* Optional: Dark mode for mobile (see your preferences) */
@media (max-width: 650px) and (prefers-color-scheme: dark) {
  .blog-detail-container {
    background: #17181b;
    color: #e5e9f1;
    box-shadow: 0 2px 14px #000b;
    border: 1px solid #24252d;
  }
  .blog-author-bio { color: #9db0bd; }
}
.related-blogs {
  margin: 3rem auto 2rem auto;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 20px #0a233018;
  padding: 2rem 2.1rem;
  max-width: 950px;
}
.related-title {
  font-size: 1.4rem;
  color: #205a85;
  font-weight: 700;
  margin-bottom: 1.7rem;
  text-align: center;
}
.related-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.related-card {
  background: #f8fbfd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px #003d3912;
  width: 250px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.related-card:hover {
  box-shadow: 0 6px 28px #0088dd29;
  transform: translateY(-5px) scale(1.025);
}
.related-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.related-content {
  padding: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.related-link {
  color: #205a85;
  font-weight: 700;
  font-size: 1.04rem;
  text-decoration: none;
  transition: color 0.21s;
}
.related-link:hover {
  color: #fa5a47;
}
.related-meta {
  font-size: 0.93rem;
  color: #6b7a8e;
}

/* Responsive styling for tablets/mobile */
@media (max-width: 950px) {
  .related-blogs { padding: 1.2rem 1vw; }
  .related-list { gap: 1.2rem; }
  .related-card { width: 46vw; min-width: 135px; }
}
@media (max-width: 650px) {
  .related-list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .related-card { width: 85vw; max-width: 345px; }
  .related-blogs { padding: 0.9rem 0vw; }
  .related-title { font-size: 1.13rem; }
}
.blog-main-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.6rem;
  justify-content: space-between;
}

.blog-detail-content {
  flex: 1 1 0;
  min-width: 0;
}

.related-blogs {
  flex: 0 0 330px;
  max-width: 330px;
  width: 100%;
  margin: 0;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 20px #0a233018;
  padding: 2rem 1.2rem;
  /* Position sticky for nice UX */
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .blog-main-layout {
    gap: 1.2rem;
  }
  .related-blogs {
    max-width: 270px;
    padding: 1.1rem 0.5rem;
  }
}

@media (max-width: 950px) {
  .blog-main-layout {
    flex-direction: column;
    gap: 0;
  }
  .related-blogs {
    position: static;
    max-width: 100vw;
    width: 100%;
    margin-top: 2.2rem;
    border-radius: 15px;
    box-shadow: 0 1px 10px #15534e18;
  }
}
@media (max-width: 650px) {
  .related-blogs {
    padding: 0.8rem 0vw;
    margin-top: 1.2rem;
    border-radius: 10px;
  }
  .related-title { font-size: 1.13rem; }
}

.blog-comments {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #003d3912;
  padding: 2rem 1.5rem 1.2rem 1.5rem;
  margin: 2.8rem 0 0 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.comments-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #205a85;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.48rem;
}

.comments-count {
  color: #557da9;
  font-size: 1.01rem;
  font-weight: 500;
}

.comment-form {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.35rem;
  opacity: 0.65;
  pointer-events: none;
}
.comment-form .comment-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 3px;
  border: 2px solid #eef2fa;
}
.comment-input {
  flex: 1;
  border: 1.4px solid #e2eaff;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 1.06rem;
  resize: none;
  font-family: inherit;
  background: #f9fdff;
  color: #2d3643;
  min-height: 76px;
  margin-right: 0.7rem;
  outline: none;
  transition: border .2s;
}
.comment-input:focus { border-color: #79b7fa; }
.comment-submit {
  background: linear-gradient(90deg,#0575e6,#37d7cd);
  color: #fff; border: none; border-radius: 13px;
  font-weight: 700; font-size: 1.06rem;
  padding: 0.7em 1.4em;
  cursor: not-allowed;
  opacity: .82;
}
.comment-submit[disabled], .comment-input[disabled] {
  cursor: not-allowed;
  background: #eaecef;
  color: #b3bed6;
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.comment {
  display: flex;
  align-items: flex-start;
  gap: 1.05rem;
}
.comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eef2fa;
  margin-top: 2px;
}
.comment-body {
  flex: 1;
}
.comment-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 0.21rem;
}
.comment-author {
  font-size: 1.03rem;
  font-weight: 600;
  color: #205a85;
}
.comment-date {
  color: #8a99b1;
  font-size: 0.96rem;
}
.comment-text {
  font-size: 1.01rem;
  color: #28354a;
  line-height: 1.6;
  background: #f2f6ff;
  border-radius: 7px;
  padding: 0.72rem 1.1rem 0.85rem 1.1rem;
  margin-top: 0;
}

/* Responsive for mobile */
@media (max-width: 650px) {
  .blog-comments {
    padding: 10px;
    border-radius: 8px;
    max-width: 90vw;
  }
  .comment-form .comment-avatar, .comment-avatar { width: 32px; height: 32px; }
  .comments-title { font-size: 1.08rem; }
  .comment-input { padding: 0.6rem 0.7em; font-size: 1rem; }
  .comment-submit { font-size: 0.97rem; padding: 0.7em 1.1em; }
  .comments-list { gap: 1.15rem; }
  .comment-text { padding: 0.62rem 0.7rem; font-size: .97rem; }
  .comment-form { flex-direction: column; }
  .comment-avatar { display: none; }
  .comment-input { width: 100%; }
}


footer {
  background: #f5f7f9;
  padding: 2.2rem 0 0.5rem 0;
  color: #445066;
  font-size: 1rem;
  border-top: 1px solid #ecedef;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  flex-direction: row;
}

.footer-about {
  flex: 1 1 180px;
  min-width: 160px;
}
.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
}
.footer-logo-icon {
  font-size: 1.7rem;
}
.footer-logo {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #044173;
}
.footer-about-text {
  color: #526175;
  font-size: 1.04rem;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.55;
  max-width: 300px;
  text-align: left;
}

.footer-links, .footer-policy {
  flex: 1 1 130px;
  min-width: 130px;
}
.footer-links h4,
.footer-policy h4 {
  font-size: 1.04rem;
  font-weight: 600;
  color: #205a85;
  margin-bottom: 0.8em;
}
.footer-links ul,
.footer-policy ul {
  list-style: none;
  padding: 0;
}
.footer-links li,
.footer-policy li {
  margin-bottom: 0.22em;
}
.footer-links a,
.footer-policy a {
  color: #4c728c;
  text-decoration: none;
  font-size: 1.03rem;
  transition: color .17s;
}
.footer-links a:hover,
.footer-policy a:hover {
  color: #fa5a47;
}
.footer-bottom {
  text-align: center;
  color: #868e96;
  font-size: 0.98rem;
  padding: 0.7rem 0 0.2rem 0;
  border-top: 1px solid #ececf1;
  margin-top: 1.2rem;
}

/* Responsive: stack columns on mobile */
@media (max-width: 950px) {
  .footer-main {
    gap: 2.1rem;
  }
}

@media (max-width: 650px) {
  .footer-main {
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
  }
  .footer-about-text { max-width: 97vw; }
  .footer-bottom { padding-bottom: 0.1rem; }
}


.about-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 2.5rem 1.5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px #00223e18;
}
.about-hero-card {
  text-align: center;
  margin-bottom: 2.2rem;
}
.about-logo-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-hero-card .logo-icon {
  font-size: 2.3rem;
}
.about-hero-card .logo {
  font-size: 1.5rem;
  color: #044173;
  font-weight: 900;
}
.about-hero-lead {
  font-size: 1.24rem;
  color: #205a85;
  font-weight: 500;
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.6;
}
.about-section {
  margin-bottom: 2.3rem;
}
.about-title {
  font-size: 1.25rem;
  color: #205a85;
  margin: 1.5rem 0 1rem 0;
  font-weight: 700;
  letter-spacing: -.02em;
}
.about-highlight {
  color: #fa5a47;
  font-weight: 600;
}
.about-values-list {
  margin: 0;
  padding-left: 1.3rem;
  color: #1d2939;
  font-size: 1.08rem;
  margin-bottom: 1.7rem;
}
.about-values-list li {
  margin-bottom: 0.32em;
  line-height: 1.6;
}

.about-contact {
  margin-bottom: 1rem;
}
.about-contact-invite {
  margin-bottom: 0.8rem;
  color: #285c79;
}
.about-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-contact-list li {
  margin-bottom: 0.6em;
  font-size: 1.04rem;
}
.about-contact-list a {
  color: #205a85;
  text-decoration: none;
  transition: color .19s;
  font-weight: 600;
}
.about-contact-list a:hover {
  color: #fa5a47;
}
.contact-icon {
  font-size: 1.15em;
  margin-right: 0.6em;
}
@media (max-width: 950px) {
  .about-main { padding: 15px; }
}

/* Stack team on mobile, shrink card, left-align for about content/values */
@media (max-width: 650px) {
  .about-main {
    max-width: 99vw;
    padding: 15px;
    border-radius: 8px;
    font-size: .97rem;
  }
  .about-title, .about-hero-lead, .about-values-list {
    text-align: left;
    margin-left: 3vw; margin-right: 2vw;
  }
}


.contact-wrapper {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
  justify-content: center;
}
.contact-card {
  flex: 1 1 340px;
  max-width: 480px;
  min-width: 280px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 22px #003d3913;
  padding: 2.1rem 2.1rem 1.1rem 2.1rem;
}
.contact-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #205a85;
  margin-bottom: 0.2em;
  text-align: left;
}
.contact-lead {
  color: #4281ab;
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
  margin-top: 0.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.12rem;
  margin-bottom: 1.7rem;
}
.form-row {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1.09rem;
  color: #20354a;
  padding: 0.88rem 0.9rem 0.57rem 1.06rem;
  border: 1.4px solid #e2eaff;
  border-radius: 10px;
  background: #fafdff;
  outline: none;
  transition: border 0.19s;
  resize: none;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: #57b7fa;
}
.form-row label {
  position: absolute;
  left: 1.07rem;
  top: 1.07rem;
  color: #99adc1;
  font-size: 1.01rem;
  pointer-events: none;
  background: transparent;
  transition: all 0.17s cubic-bezier(.77,0,.18,1);
}
.form-row input:focus + label,
.form-row input:not(:placeholder-shown) + label,
.form-row textarea:focus + label,
.form-row textarea:not(:placeholder-shown) + label {
  top: -0.54em;
  left: 0.65em;
  color: #205a85;
  font-size: 0.97rem;
  background: #fff;
  padding: 0 .33em;
}

.contact-submit {
  margin-top: 0.7rem;
  padding: 0.7em 2.1em;
  font-size: 1.07rem;
  border-radius: 13px;
  border: none;
  background: linear-gradient(90deg,#0575e6, #51bafe 90%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2.5px 10px #32b8fa29;
  cursor: not-allowed; /* demo disabled */
  opacity: 0.58;
}

.contact-extra {
  margin-top: 1.4rem;
  border-top: 1px solid #eaeaef;
  padding-top: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.76em;
}
.contact-detail {
  font-size: 1.06rem;
  color: #246c80;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.contact-detail a {
  color: #205a85;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}
.contact-detail a:hover { color: #fa5a47; }
.contact-icon {
  font-size: 1.22em;
}

/* Responsive design */
@media (max-width: 950px) {
  .contact-wrapper { gap: 1.2rem; }
  .contact-card { padding: 1.2rem 0.7rem 0.85rem 0.7rem; }
}
@media (max-width: 650px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin: 1.2rem 0 2.1rem 0;
    padding-bottom: 1.3rem;
  }
  .contact-card { max-width: 100vw; }
}

/* Optional: mobile dark mode for bg fields */
@media (max-width:650px) and (prefers-color-scheme:dark) {
  .contact-card {
    background: #191d22;
    color: #ecefee;
    border: 1px solid #232532;
  }
  .form-row label,
  .contact-detail,
  .contact-title { color: #79dee4; }
  .form-row input, .form-row textarea {
      background: #232729;
      border-color: #232a37;
      color: #e1eafe;
  }
}


.privacy-policy-card {
  max-width: 690px;
  margin: 3.2rem auto 2.7rem auto;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 20px #0e214018;
  padding: 2.2rem 2.7rem;
}
.privacy-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #1d2939;
  letter-spacing: -.005em;
  margin-bottom: 0.2em;
}
.privacy-meta {
  text-align: center;
  color: #67819b;
  font-size: 0.99rem;
  margin-bottom: 2.1rem;
}
.privacy-policy-card section {
  margin-bottom: 1.2rem;
}
.privacy-policy-card h2 {
  font-size: 1.15rem;
  color: #205a85;
  margin: 1.2em 0 .37em 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.privacy-policy-card ul {
  padding-left: 1.36em;
  margin: 0.6em 0 1.1em 0;
}
.privacy-policy-card li {
  margin: 0.45em 0;
  font-size: 1.03em;
  line-height: 1.7;
  color: #2a405c;
}
.privacy-policy-card p,
.privacy-policy-card a {
  color: #335;
  font-size: 1.06em;
  line-height: 1.7;
}
.privacy-policy-card a {
  color: #2577e7;
  text-decoration: underline;
  transition: color .16s;
}
.privacy-policy-card a:hover { color: #fa5a47; }

@media (max-width: 750px) {
  .privacy-policy-card {
    padding: 1.25rem 1vw;
    border-radius: 9px;
    max-width: 98vw;
  }
  .privacy-title { font-size: 1.32rem; }
  .privacy-meta { font-size: 0.91rem; }
}

.table-container {
  width: 100%;
  overflow-x: auto; /* Enables horizontal scrolling on small screens */
  box-sizing: border-box;
  margin: 20px 0;
}

/* Ensure tables don’t exceed viewport */
.table-container table {
  width: 100%;
  max-width: 100%; /* Prevent tables from exceeding container */
  min-width: 0; /* Override any min-width causing overflow */
  border-collapse: collapse;
}

.table-container th,
.table-container td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
  white-space: nowrap; /* Prevent text wrapping to maintain table structure */
}

/* Adjust font size for mobile */
@media screen and (max-width: 600px) {
  .table-container th,
  .table-container td {
    font-size: 10px; /* Smaller text for better fit */
    padding: 8px;
  }
}

.blog-detail-content{
  width: 100%;
}