/* Ablora Returns - style.css | creative_artistic, vibrant, flexbox-based | All pages */

/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F4F4F9;
  color: #183153;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #2EC4B6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183153;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #183153;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
  color: #183153;
  letter-spacing: 0.01em;
}
button, .cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* FONTS - fallback if not loaded via link */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === HEADER NAVIGATION === */
header {
  background: white;
  box-shadow: 0 4px 14px 0 rgba(24,49,83,0.06);
  border-bottom: 2px solid #2EC4B6;
  position: sticky;
  top: 0;
  z-index: 1004;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #183153;
  font-size: 1rem;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.18s, border-color 0.2s;
}
header nav a:hover,
header nav a.active {
  color: #2EC4B6;
  border-bottom: 2px solid #2EC4B6;
}

.cta-btn {
  display: inline-block;
  background: #2EC4B6;
  color: #fff;
  font-weight: 900;
  padding: 0.7em 2em;
  border: none;
  border-radius: 26px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  margin-left: 28px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(24,49,83,0.11);
  transition: background 0.2s, color 0.19s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #183153;
  color: #2EC4B6;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px 0 rgba(46,196,182,0.12);
  text-decoration: none;
}

/* LOGO styling */
header img[alt="Ablora Returns"] {
  height: 48px;
  width: auto;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: #2EC4B6;
  color: white;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 6px 15px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1100;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: #223b64;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  height: 100vh;
  background: #183153;
  box-shadow: -3px 0 24px 0 rgba(24,49,83,0.20);
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 26px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 15px;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2EC4B6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: #fff ;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom-color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2EC4B6 ;
  border-bottom: 2px solid #2EC4B6;
}

@media (max-width: 992px) {
  header nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none;
  }
}

/* === HERO SECTION === */
.hero {
  background: #fff;
  position: relative;
  min-height: 260px;
  padding: 60px 0 36px 0;
  margin-bottom: 0px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  background: none;
  color: #183153;
  text-shadow: 2px 3px 0 #2EC4B6, 6px 7px 0 #F4F4F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  letter-spacing: 0.02em;
  font-weight: 900;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: #183153;
  margin-bottom: 16px;
}

/* === SECTIONS SPACING & FLEXBOX === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  padding: 26px 18px 24px 18px;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 rgba(24,49,83,0.09);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 16px 50px 0 rgba(46,196,182,0.16);
  transform: translateY(-6px) rotate(-2deg) scale(1.015);
  z-index: 4;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(46,196,182,0.07);
  border: 1.7px solid #2EC4B6;
  color: #183153;
  min-width: 210px;
  transition: box-shadow 0.21s, border 0.15s, transform 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(24,49,83,0.13);
  border-color: #183153;
  transform: scale(1.01) rotate(1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURES / CARDS / GRIDS === */
.features .feature-grid,
.section .feature-grid,
.services .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.features .feature-grid > div,
.services .feature-grid > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px 19px 20px;
  box-shadow: 0 4px 22px 0 rgba(46,196,182,0.07);
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  position: relative;
  border-left: 6px solid #2EC4B6;
  transition: box-shadow 0.21s, border-left 0.18s, transform 0.19s;
}
.features .feature-grid > div:hover {
  box-shadow: 0 12px 42px 0 rgba(46,196,182,0.14);
  border-left: 6px solid #183153;
  transform: rotate(-1.7deg) scale(1.012);
  z-index: 4;
}
.features .feature-grid img,
.services .feature-grid img {
  height: 48px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: #2EC4B6;
  padding: 7px;
}

/* === SERVICES SECTION === */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services ul, .services ol {
  margin-bottom: 14px;
}
.services li strong {
  color: #183153;
}

/* === ABOUT / CTA / TEXT SECTIONS === */
.about {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #2EC4B6;
  border-radius: 36px 36px 0 0;
  color: #fff;
  box-shadow: 0 -12px 38px 0 rgba(24,49,83,0.08);
  text-align: center;
  position: relative;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #fff;
  color: #2EC4B6;
  margin-top: 18px;
  box-shadow: 0 3px 26px rgba(255,255,255,0.22);
}
.cta .cta-btn:hover {
  background: #183153;
  color: #fff;
  box-shadow: 0 10px 36px 0 rgba(24,49,83,0.11);
}

/* === BLOG CATEGORIES === */
.categories ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.categories li {
  padding: 7px 18px;
  border-radius: 18px;
  background: #183153;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
  box-shadow: 0 2px 11px 0 rgba(24,49,83,0.08);
}

/* === FOOTER === */
footer {
  background: #183153;
  color: #fff;
  padding: 35px 0 0 0;
  margin-top: 70px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer a {
  color: #2EC4B6;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
}
footer a:hover {
  color: #fff;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}
footer .contact-details img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
footer img[alt="Ablora Returns"] {
  height: 44px;
  width: auto;
  margin-bottom: 13px;
}
@media (max-width: 786px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* === COOKIE CONSENT BANNER + MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9002;
  background: #fff;
  border-top: 3px solid #2EC4B6;
  padding: 25px 18px 21px 18px;
  box-shadow: 0 -8px 28px 0 rgba(24,49,83,0.17);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: cookie-slide-in 0.4s cubic-bezier(.68,-0.55,.27,1.55) 1;
}
@keyframes cookie-slide-in {
  from { transform: translateY(140%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #183153;
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 0;
  flex: 3 1 300px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 18px;
  flex: 1 1 200px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.21s, transform 0.14s;
}
.cookie-banner .cookie-accept {
  background: #2EC4B6;
  color: #fff;
  box-shadow: 0 2px 11px 0 rgba(46,196,182,0.07);
}
.cookie-banner .cookie-accept:hover {
  background: #183153;
  color: #2EC4B6;
  transform: scale(1.04) rotate(-1deg);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #183153;
  border: 1.5px solid #2EC4B6;
}
.cookie-banner .cookie-reject:hover {
  background: #F4F4F9;
  color: #2EC4B6;
  border-color: #183153;
}
.cookie-banner .cookie-settings {
  background: #183153;
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #2EC4B6;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 9102;
  background: rgba(24,49,83,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s ease 1;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 27px 24px 27px;
  box-shadow: 0 14px 60px 0 rgba(46,196,182,0.22);
  min-width: 330px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop-in 0.33s cubic-bezier(.68,-0.55,.27,1.55) 1;
  position: relative;
}
@keyframes modal-pop-in {
  from { transform: scale(0.9) translateY(60px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: transparent;
  border: none;
  color: #183153;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 1;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #2EC4B6;
}
.cookie-modal h2 {
  color: #183153;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #F4F4F9;
  gap: 12px;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #2EC4B6;
  cursor: pointer;
}
.cookie-modal .cookie-accept {
  margin-top: 16px;
  align-self: flex-end;
}

/* === RESPONSIVE - MOBILE-FIRST === */
@media only screen and (max-width: 992px) {
  .features .feature-grid > div,
  .services .feature-grid > div {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  footer .container,
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .about .container, .cta .container, .services .container, .hero .container, .features .container, .testimonials .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media only screen and (max-width: 768px) {
  .section, .features, .about, .cta, .services {
    margin-bottom: 40px;
    padding: 24px 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features .feature-grid,
  .services .feature-grid {
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
  }
  .hero .container {
    align-items: flex-start;
    padding-bottom: 18px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .categories ul {
    flex-direction: column;
    gap: 9px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .cookie-banner .cookie-btn-group {
    justify-content: center;
    width: 100%;
  }
  .cookie-modal .cookie-modal-content {
    min-width: 92vw;
    padding: 21px 7px 17px 7px;
  }
}
@media (max-width: 500px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.35rem; }
  .cta { border-radius: 22px 22px 0 0; padding: 21px 3px; }
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.card, .features .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, border 0.13s, transform 0.15s, background 0.15s;
}
.cta-btn, .cookie-banner button, .cookie-modal .cookie-modal-close {
  transition: background 0.17s, color 0.19s, transform 0.19s, box-shadow 0.13s;
}

/* === UNIQUE, CREATIVE ARTISTIC ELEMENTS === */
/* Hand-drawn stroke for headings (SVG or using border-bottom) */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 5px;
  background: #2EC4B6;
  border-radius: 3.5px;
  position: absolute;
  left: 0; bottom: -10px;
}
.cta h2::after, .cta h1::after { background: #fff; }

/* Slight playful skew for cards on hover */
.card, .features .feature-grid > div {
  transition: box-shadow 0.23s, transform 0.21s;
}
.card:hover, .features .feature-grid > div:hover {
  transform: rotate(-1.3deg) scale(1.017);
}

/* Artistic Font for Big Headlines */
h1, .hero h1, .cta h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Highlighted Accent badge for important words */
.accent-badge {
  background: #2EC4B6;
  color: #fff;
  padding: 0 7px;
  border-radius: 8px;
  margin: 0 3px;
  font-size: 0.95em;
  display: inline-block;
  line-height: 1.3;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  border: 1.5px solid #2EC4B6;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  width: 100%;
  background: #F4F4F9;
  outline: none;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #183153;
}

/* === ACCESSIBILITY ENHANCEMENTS === */
:focus {
  outline: 2.5px dashed #2EC4B6;
  outline-offset: 2px;
}
button:focus {
  outline: 2.5px solid #183153;
}

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Ensure no absolute positioning for cards, only for minor decorations */

/* === END OF CSS === */
