/* BriskTravel Media - Style.css - Elegant Classic Aesthetic - Mobile-First, Flexbox-Only */

/* ============================
   CSS Reset and 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,
main, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F3F7FB;
  color: #253768;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  background: transparent;
  color: #253768;
  text-decoration: none;
  transition: color 0.2s;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}
ul, ol {
  list-style: none;
}

/* Accessibility improvements */
:focus {
  outline: 2px solid #51BFA5;
  outline-offset: 2px;
}

/* ==========================
   Typography & Colors
========================== */
:root {
  --primary: #253768;
  --secondary: #51BFA5;
  --accent: #F3F7FB;
  --gray-100: #F6F6F4;
  --gray-200: #E4E7ED;
  --gray-400: #B6BFCE;
  --text-dark: #253768;
  --text-body: #2C384B;
  --text-muted: #7D8CA7;
  --white: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li, ul, ol, span {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 1rem;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
blockquote, em {
  font-style: italic;
  color: var(--primary);
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* ==========================
   Layout Containers
========================== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(37, 55, 104, 0.09);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

/* ========================== 
   Navigation & Header 
============================ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 12px 0;
  position: relative;
}
.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  padding: 8px 14px;
  color: var(--primary);
  position: relative;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.btn-primary {
  background: var(--secondary);
  color: var(--white) !important;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 26px;
  margin-left: 12px;
  box-shadow: 0 2px 12px rgba(81,191,165,0.08);
  border: none;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, transform 0.17s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #219681;
  color: #fff;
  box-shadow: 0 4px 18px rgba(81,191,165,0.14);
  transform: translateY(-1px) scale(1.03);
}

/* Responsive Navigation */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: var(--white);
  font-size: 2rem;
  border-radius: 7px;
  padding: 5px 16px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s, color 0.17s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #219681;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,55,104, 0.93);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transition: transform 0.38s cubic-bezier(.7,.31,.36,1.09);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 32px 0 16px 22px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1201;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 20px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  padding: 12px 0;
  border-radius: 7px;
  transition: color 0.22s, background 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
  .nav-header {
    gap: 11px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-header {
    padding-top: 10px;
    padding-bottom: 8px;
  }
}

/* ============================
   Homepage / Features
============================ */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature {
  flex: 1 1 240px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(37,55,104,0.07);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.15s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  opacity: 0.93;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 7px 32px rgba(37,55,104,0.14);
  transform: translateY(-2px) scale(1.02);
  border-color: var(--secondary);
}
.features h3 {
  margin-bottom: 9px;
  font-size: 1.17rem;
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    padding: 18px 14px;
  }
}

/* Service/highlight teasers */
.service-highlights, .teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.teaser {
  flex: 1 1 220px;
  background: var(--accent);
  border-radius: 9px;
  padding: 18px 16px 13px 16px;
  box-shadow: 0 2px 8px rgba(81,191,165,0.06);
  min-width: 190px;
  transition: box-shadow 0.17s, border 0.14s;
}
.teaser strong {
  display: block;
  color: var(--primary);
  margin-bottom: 9px;
}
.teaser:hover {
  box-shadow: 0 5px 22px rgba(37,55,104,0.16);
}
@media (max-width: 768px) {
  .service-highlights, .teaser-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* =============================
   Testimonials / Reviews cards
============================= */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: 14px;
  box-shadow: 0 5px 30px rgba(81,191,165,0.08);
  padding: 24px 28px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.18s, border 0.21s, transform 0.16s;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.testimonial-card em {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: normal;
  margin-top: 7px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 46px rgba(81,191,165,0.18);
  border-color: var(--secondary);
  transform: translateY(-1.5px) scale(1.012);
}
@media (max-width: 768px) {
  .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    padding: 15px 14px;
    min-width: 0;
    max-width: 100%;
  }
}

/* =============================
   Cards, Content, Sections
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 11px rgba(37,55,104,0.07);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
}
.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) {
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* Team List and Members */
.team-list {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 24px;
}
.team-member {
  flex: 1 1 220px;
  background: var(--gray-100);
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(37,55,104,0.065);
  padding: 20px 18px 16px 18px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.17s, border 0.21s;
}
.team-member strong {
  font-size: 1.15rem;
}
.team-member span {
  color: var(--secondary);
  font-size: 1.01rem;
}
.team-member:hover {
  box-shadow: 0 8px 42px rgba(37,55,104,0.11);
  border-color: var(--secondary);
}
@media (max-width: 768px) {
  .team-list {
    flex-direction: column;
    gap: 12px;
  }
  .team-member {
    min-width: 0;
  }
}

/* Case Study Cards */
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.case-preview {
  flex: 1 1 240px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 13px rgba(81,191,165,0.07);
  padding: 19px 20px 17px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s;
}
.case-preview .case-industry {
  background: var(--secondary);
  color: #fff;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 0.92rem;
  margin-right: 7px;
  margin-bottom: 4px;
}
.case-preview:hover {
  box-shadow: 0 8px 30px rgba(37,55,104,0.13);
  border-color: var(--secondary);
}
@media (max-width: 768px) {
  .case-list {
    flex-direction: column;
    gap: 13px;
  }
}

/* Blog preview cards */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-post-preview {
  flex: 1 1 230px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(81,191,165,0.06);
  padding: 18px 16px 14px 16px;
  min-width: 180px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.19s;
}
.blog-post-preview span {
  font-size: 0.98rem;
  color: var(--text-muted);
}
.blog-post-preview:hover {
  box-shadow: 0 7px 25px rgba(81,191,165,0.13);
  border-color: var(--secondary);
}
@media (max-width: 768px) {
  .blog-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* Pricing Table */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 25px;
}
.pricing-package {
  flex: 1 1 220px;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37,55,104,0.06);
  padding: 28px 19px 22px 19px;
  min-width: 180px;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  transition: box-shadow 0.14s, border 0.19s;
}
.pricing-package strong {
  font-size: 1.1rem;
  margin-top: 10px;
}
.pricing-package h3 {
  margin-bottom: 7px;
  font-size: 1.13rem;
}
.pricing-package:hover {
  box-shadow: 0 8px 34px rgba(37,55,104,0.11);
  border-color: var(--secondary);
}
@media (max-width: 768px) {
  .pricing-table {
    flex-direction: column;
    gap: 14px;
  }
}

/* ============================
   Lists, Details, Contact
============================ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  vertical-align: middle;
}
.contact-map {
  margin-top: 10px;
  color: var(--primary);
  font-size: 1rem;
}
.process-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 12px;
}
.process-timeline span {
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', serif;
  color: var(--text-dark);
  background: var(--accent);
  border-radius: 7px;
  padding: 4px 11px;
}

/* ============================
   Footer
============================ */
footer {
  background: #f6f6f4;
  border-top: 1px solid var(--gray-200);
  padding: 38px 0 22px 0;
  font-size: 1rem;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Georgia', Times, serif;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 5px;
  transition: background 0.14s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 0.97rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-nav,
  .footer-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  footer {
    padding: 24px 0 10px 0;
    margin-top: 28px;
  }
}

/* ===============================
 COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  padding: 23px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(37,55,104,0.08);
  animation: fadeInUp 0.44s cubic-bezier(0.53,0.23,0.21,0.97);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  font-size: 0.99rem;
  line-height: 1.6;
  text-align: center;
  max-width: 540px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-banner button {
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Georgia', Times, serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.13s;
  margin: 0;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-accept:hover { background: #219681; }
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 1.3px solid var(--secondary);
}
.cookie-reject:hover {
  background: #eee;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  border: 1.3px solid var(--gray-400);
}
.cookie-settings:hover {
  background: var(--gray-200);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,55,104,0.76);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: fadeInModal .3s;
  min-width: 100vw; min-height: 100vh;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -6px 36px rgba(37,55,104,0.13);
  width: 100vw;
  max-width: 450px;
  padding: 35px 30px 28px 30px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: slideUp .23s;
}
@keyframes slideUp {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 22px; top: 13px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10002;
}
.cookie-modal h3, .cookie-modal h4 {
  margin-bottom: 12px;
  font-size: 1.23rem;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin-left: 3px;
}
.category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
  margin-right: 1px;
  border-radius: 4px;
}
.category input[disabled] {
  accent-color: var(--gray-400);
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 19px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 17px;
  font-family: 'Georgia', serif;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 16px 8px 8px 8px;
    max-width: 100vw;
    border-radius: 15px 15px 0 0;
  }
  .cookie-banner {
    padding: 13px 6px 16px 6px;
    gap: 15px;
  }
}

/* ============================
   Utility & Micro Animations
============================ */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
}
.fade-in {
  animation: fade-in 0.5s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 500px) {
  .container, .content-wrapper {
    padding: 0 4px;
  }
}

/* ============================
   Elegant Spacing & Details
============================ */
.section:not(:last-child), .card:not(:last-child), .feature:not(:last-child) {
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.4em;
  list-style-type: disc;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* General microinteractions */
a, button, .btn-primary, .main-nav a, .footer-nav a {
  transition: background 0.19s, color 0.18s, box-shadow 0.13s, transform 0.14s;
}

/* ============================
   Accessibility Improvements
============================ */
@media (max-width: 400px) {
  .btn-primary,
  .cookie-banner button, .cookie-modal .modal-actions button {
    font-size: .9rem;
    padding: 8px 8px;
  }
}
