/* Blog List Styles */
.blog-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2em 0;
}
.blog-list li {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5em;
    padding: 1.2em 1.5em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.blog-list li:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #f1f7ff;
}
.blog-list a {
    color: #1a4b7a;
    text-decoration: none;
    font-size: 1.18em;
    font-weight: 600;
}
.blog-list a:hover {
    text-decoration: underline;
}
.blog-date {
    color: #888;
    font-size: 0.98em;
    margin-bottom: 0.3em;
    display: inline-block;
}
/* ======= Global Styles ======= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* ======= Header ======= */
header {
    background: #004080;
    color: #fff;
    padding: 10px 20px 5px 20px;
    text-align: center;
}
.title-block h1 {
    margin: 0;
    font-size: 2em;
}
.title-block p {
    margin: 3px 0 0 0;
    font-size: 1em;
    font-weight: normal;
}

/* ======= Free Consultation Button ======= */
.consultation {
    display: inline-block;
    margin: 2px 0;
    padding: 8px 14px; /* more button-like padding */
    background: linear-gradient(180deg, #125081 0%, #055aa3 100%); /* swapped: previous hover becomes default */
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: background 180ms ease, transform 120ms ease, box-shadow 180ms ease;
    font-size: 0.95em;
    line-height: 1;
    vertical-align: middle;
}
.consultation:hover,
.consultation:focus {
    background: linear-gradient(180deg, #0b3a66 0%, #004080 100%); /* swapped: previous default becomes hover/focus */
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(3,62,110,0.18);
    outline: none;
}
.consultation:focus-visible {
    box-shadow: 0 0 0 3px rgba(5,90,163,0.14); /* subtle focus ring tuned to the new hover color */
}

/* ======= Navigation ======= */
nav {
    background: #004080;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;

    /* ✅ Keeps nav in one row and allows scrolling if needed */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;     /*  prevent wrapping into multiple lines */
    justify-content: center;
}
nav ul li {
    position: relative;
    flex-shrink: 0;        /*  prevents items from shrinking */
}
nav a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;   /*  keep words on one line */
}
nav a:hover {
    background: #0059b3;
}
nav ul li ul {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    background: #004080;
    min-width: 200px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
nav ul li:hover ul {
    display: block;
}
nav ul li ul li a {
    padding: 12px 20px;
}

/* ======= Main Content ======= */
.container {
    max-width: 900px;
    margin: 25px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.container h2:first-child {
    margin-top: 0;
}
h2 {
    color: #004080;
    margin-top: 30px;
}
.lang-switch {
    float: right;
    font-size: 0.9em;
    margin-top: 6px;
}
.lang-switch a {
    color: #004080;
    text-decoration: underline;
    font-weight: bold;
}
ul {
    margin: 10px 0 20px 0px;
}
.contact {
    margin-top: 20px;
    padding: 15px;
    background: #eef5ff;
}
.contact a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}
.contact a.rednote {
    text-decoration: underline;
}
.profile-pic {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 180px;
    border-radius: 10px;
}

/* ======= Footer ======= */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 15px;
    background: #004080;
    color: #fff;
}

/* ======= Responsive Adjustments ======= */
@media (max-width: 768px) {
    .title-block h1 {
        font-size: 1.8em;
    }
    .title-block p {
        font-size: 0.9em;
    }

    /*  Compact nav for mobile */
    nav a {
        padding: 10px 10px;
        font-size: 0.9em;
    }
}

/* Optional: Hide scrollbar for cleaner look */
nav::-webkit-scrollbar {
    display: none;
}
nav {
    scrollbar-width: none; /* for Firefox */
}

.qr-code {
    width: 100px;
    vertical-align: middle;
    margin-left: 0;          /*  left margin removed */
    border-radius: 8px;
    border: 2px solid #004080;
    padding: 4px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.2); /* optional shadow */
}

.title-block h1 {
    font-size: 2em; /* default desktop */
    white-space: nowrap; /* prevent wrapping */
}

@media (max-width: 400px) {
    .title-block h1 {
        font-size: 1.4em; /* smaller font for iPhone */
    }

    /* Adjust heading font size for small screens */
    h2#why, h2#why-lda {
        font-size: 1.2em; /* Slightly increase font size to improve readability */
    }
}

.highlight-price {
    /*color: #ff6600;*/
    font-weight: bold;
    display: inline-block;   /* ✅ needed for transform to work */
    animation: pulse 1.5s infinite;
    margin-right: 0.2em; 
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

.thanksgiving-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 1.2em;
    color: #ff6600;
    font-weight: bold;
}

.turkey-icon {
    width: 50px;
    height: auto;
    vertical-align: middle;
}

.accordion {
  margin-bottom: 1.5em;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-item h3 {
  margin: 0;
  padding: 12px 16px;
  background-color: #f5f5f5;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.accordion-item h3::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-weight: bold;
}

.accordion-item.active h3::after {
  content: "–";
}

.accordion-content {
  display: none;
  padding: 12px 16px;
  background-color: #fff;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.accordion-item.active .accordion-content {
  display: block;
}
