/* DawnSwirl Bay Digital — Modern Gradient CSS Theme (gradient_modern) */
/* 1. CSS Reset & Normalization */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F2F2F2 0%, #c2e9fb 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B263B;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #26A69A;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}
button, .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* 2. Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B263B;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.1;
}
h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 10px;
}
h4 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  color: #384966;
}

/* 3. Layout: Containers & Spacing */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}

/* 4. Header & Navigation (Desktop) */
header {
  background: linear-gradient(90deg, #F2F2F2 0%, #c2e9fb 100%);
  box-shadow: 0 2px 8px rgba(27, 38, 59, 0.06);
  position: relative;
  z-index: 11;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav img {
  height: 44px;
  margin-right: 30px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #1B263B;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:not(.cta-button):hover, nav a:not(.cta-button):focus {
  background: #e7f5fa;
  color: #26A69A;
}
.cta-button {
  background: linear-gradient(90deg,#26A69A 60%, #1B263B 100%);
  color: #fff !important;
  border: none;
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 32px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(38,166,154,0.09);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.3s, color 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #1B6CA3 40%, #26A69A 100%);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(38,166,154,0.20);
  transform: translateY(-2px) scale(1.03);
}

/* 5. Mobile Navigation (Burger Menu) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 26px;
  right: 22px;
  z-index: 990;
  background: #26A69A;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 7px;
  padding: 4px 13px 2px 13px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(38,166,154,0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active {
  background: #1B263B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #F2F2F2 80%, #26A69A 100%);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.9, .2, .3, 1);
  z-index: 980;
  box-shadow: 6px 0 36px rgba(38,166,154, .16);
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #1B263B;
  position: absolute;
  top: 22px;
  right: 24px;
  cursor: pointer;
  z-index: 999;
  padding: 0;
  transition: color 0.12s;
}
.mobile-menu-close:hover {
  color: #26A69A;
}
.mobile-nav {
  margin-top: 68px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #1B263B;
  font-weight: 600;
  border-radius: 4px;
  padding: 10px 6px 10px 0;
  transition: background 0.14s, color 0.14s;
  display: inline-block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #e7f5fa;
  color: #26A69A;
}
@media (max-width: 1024px) {
  nav {
    gap: 0 18px;
  }
  nav img {
    margin-right: 18px;
  }
}
@media (max-width: 900px) {
  nav a:not(.cta-button), .cta-button {
    font-size: 15px;
  }
}
@media (max-width: 850px) {
  header nav {
    gap: 0 10px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    padding: 0;
  }
}

/* 6. Hero Section */
.hero {
  background: linear-gradient(110deg, #c2e9fb 0%, #F2F2F2 95%);
  border-radius: 16px;
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 52px;
  box-shadow: 0 4px 26px rgba(38, 166, 154, 0.07);
}
.hero .container {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.6rem;
  color: #1B263B;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #384966;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 34px;
    margin-bottom: 35px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* 7. Feature Grid & Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 16px rgba(38, 166, 154, 0.07);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.16s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 30px rgba(38, 166, 154, 0.18);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  display: block;
}
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1B263B;
}
@media (max-width: 900px) {
  .feature-grid > div {
    min-width: 180px;
    padding: 20px 10px 16px 10px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* 8. Card Containers & Flex Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px rgba(27, 38, 59, 0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(27, 38, 59, 0.13);
  transform: translateY(-3px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* 9. Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px rgba(38, 166, 154, 0.08);
  margin-bottom: 20px;
  position: relative;
  max-width: 570px;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: #1B263B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 0;
  flex: 1;
}
.testimonial-card span {
  font-size: 1rem;
  color: #26A69A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding: 13px 12px;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 6px;
  }
}

/* 10. Cards: Blog posts & Case Studies */
.blog-post-card, .case-study-card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 16px rgba(38, 166, 154, 0.07);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-post-card:hover, .case-study-card:hover {
  box-shadow: 0 8px 28px rgba(27, 38, 59, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.blog-post-card a {
  margin-top: 10px;
  color: #26A69A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.03em;
  font-size: 1.04rem;
  transition: color 0.2s;
}
.blog-post-card a:hover {
  color: #1B263B;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .blog-post-card, .case-study-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* 11. Contact Info & Other Flex Patterns */
.contact-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin-bottom: 22px;
  align-items: center;
}
.contact-info div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
.map {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
@media (max-width: 700px) {
  .contact-info {
    flex-direction: column;
    gap: 10px 0;
    align-items: flex-start;
  }
}

/* 12. FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 10px rgba(27,38,59,0.05);
  padding: 16px 18px;
}

/* 13. Utility & Standard Elements */
ul, ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #384966;
}

/* 14. Footer */
footer {
  background: #1B263B;
  color: #fff;
  border-radius: 0 0 18px 18px;
  padding: 34px 0 30px 0;
  box-shadow: 0 -8px 24px rgba(38, 166, 154, 0.048);
}
footer .container {
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #f2f2f2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 5px 0;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover {
  background: #26A69A;
  color: #fff;
}
footer span {
  font-size: 0.95rem;
  margin-top: 6px;
  color: #c2e9fb;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  footer nav {
    flex-direction: column;
    gap: 3px;
  }
}

/* 15. Cookie Consent Banner & Modal */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1300;
  width: 100vw;
  min-height: 68px;
  background: linear-gradient(90deg, #ffffff 40%, #c2e9fb 100%);
  box-shadow: 0 -4px 24px rgba(27,38,59,0.06);
  padding: 16px 32px;
  font-size: 1rem;
  transition: transform 0.32s;
  gap: 20px;
}
.cookie-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner-text {
  color: #1B263B;
  margin-right: 20px;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner-actions button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  font-size: 1rem;
  line-height: 1.3;
  padding: 7px 26px;
  font-weight: bold;
  cursor: pointer;
  background: #F2F2F2;
  color: #1B263B;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 1px 5px rgba(38,166,154,0.06);
}
.cookie-banner-actions .accept {
  background: #26A69A;
  color: #fff;
}
.cookie-banner-actions .accept:hover {
  background: #1B263B;
}
.cookie-banner-actions .reject {
  background: #fff;
  color: #26A69A;
  border: 1px solid #26A69A;
}
.cookie-banner-actions .reject:hover {
  background: #fff0f2;
  color: #b20000;
}
.cookie-banner-actions .settings {
  background: #e7f5fa;
  color: #1B263B;
}
.cookie-banner-actions .settings:hover {
  background: #26A69A;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 18px 0;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px 0;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: rgba(27,38,59,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.24s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(38,166,154,0.17);
  width: 90vw;
  max-width: 420px;
  padding: 36px 28px 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieSlideIn 0.46s cubic-bezier(.19,.72,.4,.97);
}
@keyframes cookieSlideIn {
  from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 17px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #1B263B;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #26A69A;
}
.cookie-modal h3 {
  font-size: 1.34rem;
  color: #1B263B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-categories {
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1B263B;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: #e7f5fa;
  position: relative;
  outline: none;
  transition: background 0.21s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #26A69A;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category.essential label {
  color: #bbb;
  font-style: italic;
}
.cookie-category.essential .cookie-toggle {
  background: #bbb;
  cursor: not-allowed;
}
.cookie-category.essential .cookie-toggle:checked {
  background: #bbb;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal-actions button {
  min-width: 110px;
}

/* 16. Animations, Micro-interactions */
a, button, .cta-button, .blog-post-card, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, color 0.16s, background 0.16s, transform 0.16s;
}

/* 17. Responsive Font Sizing */
@media (max-width: 512px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 1.15rem; }
  h2 { font-size: 1.09rem; }
}

/* 18. Misc Utility */
::-webkit-input-placeholder { color: #bcd0e0; opacity: 1; }
::-moz-placeholder { color: #bcd0e0; opacity: 1; }
:-ms-input-placeholder { color: #bcd0e0; opacity: 1; }
::placeholder { color: #bcd0e0; opacity: 1; }

/* 19. Hide redundant scrollbars for mobile menu */
.mobile-menu {
  overflow-y: auto;
}

/* 20. Other Patterns for Card & Content Alignment */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Accessibility — Focus Rings */
a:focus, button:focus, .cta-button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #26A69A;
  outline-offset: 2px;
  z-index: 1100;
}

/* Print Styles */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  main, .container, .content-wrapper {
    padding: 0;
  }
}
