/* ========================
   DINERSUBBO PROFESSIONAL CORPORATE STYLE CSS
   ======================== */

/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F6F5F5;
  color: #1d2430;
  scroll-behavior: smooth;
}
body {
  background: #F6F5F5;
  color: #1d2430;
  min-height: 100vh;
  line-height: 1.6;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #57CC99;
  text-decoration: underline;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}
ul, ol {
  list-style-position: inside;
}

/* --- TYPOGRAPHY HIERARCHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #22577A;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #293345;
  font-size: 1rem;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #22577A;
  margin: 0;
}
strong {
  color: #22577A;
  font-weight: 600;
}

/* --- BASIC STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #e5e8ee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px 0 rgba(34,87,122,0.02);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22577A;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #22577A;
  color: #fff;
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #57CC99;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  font-size: 1rem;
  padding: 10px 26px;
  box-shadow: 0 1px 6px 0 rgba(34,87,122,0.08);
  margin-left: 16px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.14s;
  border: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #22577A;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,87,122,0.15);
  transform: translateY(-2px) scale(1.01);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #22577A;
  background: #F6F5F5;
  border-radius: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #eaf6fa;
  color: #57CC99;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: 88vw;
  background: #fff;
  box-shadow: 2px 0 32px 0 rgba(34,87,122,0.10);
  z-index: 500;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.3,.92,.57,1.07);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #22577A;
  align-self: flex-end;
  margin: 18px 18px 10px 0;
  background: none;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e6ecf1;
  color: #57CC99;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 30px 10px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #22577A;
  padding: 10px 0 10px 8px;
  border-radius: 4px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6F5F5;
  color: #57CC99;
}

/* Overlay for open mobile menu */
body.mobile-menu-open::before {
  content: '';
  display: block;
  position: fixed;
  z-index: 400;
  inset: 0;
  background: rgba(19,33,41,0.35);
  pointer-events: all;
  animation: fadeMenuOverlayIn 0.33s;
}
@keyframes fadeMenuOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1150px) {
  .container {
    max-width: 97vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
}
@media (max-width: 880px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    max-width: 99vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 6px;
  }
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* --- SECTIONS, SPACING, FLEX LAYOUT PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(34,87,122,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 22px 28px;
  flex: 1 1 320px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(34,87,122,0.13);
  transform: translateY(-2px) scale(1.01);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 22px 32px;
  background: #fafdff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.06);
  margin-bottom: 20px;
  margin-top: 8px;
  max-width: 640px;
  transition: box-shadow 0.17s;
}
.testimonial-card blockquote {
  color: #22577A;
  font-size: 1.1rem;
}
.testimonial-meta {
  color: #555e6b;
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(34,87,122,0.13);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 12px 0 32px 0;
}
.service-highlights > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.06);
  flex: 1 1 220px;
  min-width: 240px;
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.13s;
  position: relative;
  margin-bottom: 20px;
}
.service-highlights > div:hover, .service-highlights > div:focus-within {
  box-shadow: 0 4px 22px 0 rgba(34,87,122,0.13);
  transform: translateY(-2px) scale(1.02);
}
.price {
  margin-top: 10px;
  color: #57CC99;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 1px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.05);
  flex: 1 1 215px;
  min-width: 200px;
  padding: 20px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.11s;
}
.feature-grid > li img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
}
.feature-grid > li:hover, .feature-grid > li:focus-within {
  box-shadow: 0 6px 28px 0 rgba(34,87,122,0.15);
  transform: translateY(-2px) scale(1.014);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  font-size: 1.08rem;
}
.address-map {
  background: #eaf6fa;
  padding: 16px 14px;
  border-radius: 7px;
  margin: 12px 0 12px 0;
  color: #22577A;
}
.note {
  color: #45556b;
  margin: 10px 0 0 0;
  font-size: 0.97rem;
}

.text-section {
  margin-top: 8px;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .service-highlights,
  .feature-grid,
  .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .service-highlights,
  .feature-grid {
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 26px 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid,
  .service-highlights {
    flex-direction: column;
    gap: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.44rem;
  }
  .feature-grid > li, .card, .service-highlights > div {
    padding: 14px 8px 12px 8px;
  }
}

/* --- BLOG LISTINGS --- */
.blog-listings {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.blog-listings li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(34,87,122,0.05);
  padding: 18px 14px;
  transition: box-shadow 0.15s;
}
.blog-listings li:hover, .blog-listings li:focus-within {
  box-shadow: 0 6px 20px 0 rgba(34,87,122,0.13);
}

/* --- FOOTER --- */
footer {
  background: #22577A;
  color: #fff;
  font-size: 1rem;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.93;
  transition: color 0.14s, opacity 0.11s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #57CC99;
  opacity: 1;
}
footer p {
  margin: 0;
  font-size: 0.96rem;
  opacity: 0.88;
  letter-spacing: 0.01em;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #22577A;
  box-shadow: 0 -1px 18px 0 rgba(34,87,122,0.13);
  padding: 22px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1100;
  animation: cookieIn 0.42s cubic-bezier(.3,.92,.57,1.07);
}
@keyframes cookieIn { from { transform: translateY(70%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  background: #22577A;
  color: #fff;
  border: none;
  margin-right: 4px;
  transition: background 0.15s, color 0.15s;
}
.cookie-consent-banner .cookie-btn-secondary {
  background: #eaf6fa;
  color: #22577A;
  border: 1px solid #57CC99;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #57CC99;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,87,122,0.19);
  z-index: 1200;
  animation: fadeMenuOverlayIn 0.25s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px 0 rgba(34,87,122,0.17);
  z-index: 1250;
  padding: 36px 30px 20px 30px;
  min-width: 320px;
  max-width: 96vw;
  width: 380px;
  animation: modalIn 0.33s;
}
@keyframes modalIn { from { transform: translate(-50%,-20%) scale(0.92); opacity:0; } to { transform: translate(-50%,-50%) scale(1); opacity:1;} }
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  margin: 10px 0 18px 0;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type=checkbox] {
  accent-color: #57CC99;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label,
.cookie-category.essential {
  color: #afafaf;
  font-weight: 400;
}
.cookie-modal footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 600;
  background: #22577A;
  color: #fff;
  border: none;
  padding: 8px 18px;
  transition: background 0.15s, color 0.16s;
}
.cookie-modal .cookie-btn-secondary {
  background: #eaf6fa;
  color: #22577A;
  border: 1px solid #57CC99;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #57CC99;
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #22577A;
  padding: 0;
  line-height: 1;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #57CC99;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 14px 5vw 10px 5vw;
    min-width: 0;
    width: 85vw;
    font-size: 0.98rem;
  }
}

/* --- FORM FIELDS (if any) --- */
input[type=email], input[type=text], textarea {
  border: 1px solid #e5e8ee;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 1rem;
  color: #22577A;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 18px;
  background: #fff;
  transition: border 0.15s;
}
input[type=email]:focus, input[type=text]:focus, textarea:focus {
  border-color: #57CC99;
  outline: none;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22577A;
  font-size: 1rem;
  margin-bottom: 6px;
  display: block;
}

/* --- ANIMATIONS & TRANSITIONS --- */
.section, .card, .card-container > * {
  transition: box-shadow 0.2s, transform 0.14s;
}

/* --- MISCELLANEOUS/UTILITY --- */
hr {
  border: none;
  border-bottom: 1px solid #e5e8ee;
  margin: 25px 0;
}

dt { font-weight: bold; color: #22577A; }
dd { margin-left: 8px; margin-bottom: 13px; color: #293345; }

::-webkit-scrollbar {
  width: 11px;
  background: #f4f5fb;
}
::-webkit-scrollbar-thumb {
  background: #e5e8ee;
  border-radius: 16px;
}
@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 4px;
  }
  footer .container {
    gap: 4px;
  }
}

/* ============== END DINERSUBBO CORPORATE CSS ============== */
