/* ===================================
   GLOBAL STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #222222;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

/* ===================================
   HEADER STYLES
   =================================== */

.header {
    background-color: #007180;
    padding: 0 20px;
    height: 90px;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo img {
    width: 210px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active,
.logo-link:visited {
    text-decoration: none;
    color: inherit;
    opacity: 1;
    filter: none;
    outline: none;
}

/* ===================================
   HAMBURGER ICON STYLES
   =================================== */

.hamburger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 20px;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hamburger-icon span {
    width: 100%;
    height: 2.5px;
    background-color: #fff0f3;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* ===================================
   SIDEBAR MENU STYLES
   =================================== */

.sidebar {
    position: fixed;
    left: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background-color: #f0f0f0;
    padding: 20px 0;
    z-index: 200;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #499dd0;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #3a7aa8;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 20px 20px;
}

.close-icon {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.close-icon span {
    width: 22px;
    height: 2.5px;
    background-color: #222222;
    border-radius: 1px;
    position: absolute;
    transition: all 0.3s ease;
}

.close-icon span:first-child {
    transform: rotate(45deg);
}

.close-icon span:last-child {
    transform: rotate(-45deg);
}

.close-icon:hover span {
    background-color: #499dd0;
}

.sidebar-menu {
    padding: 0;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    padding: 0;
}

.menu-link {
    display: block;
    padding: 28px 30px;
    color: #222222;
    text-decoration: none;
    font-size: 21px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.menu-link:hover {
    color: #499dd0;
}

/* ===================================
   SIDEBAR OVERLAY STYLES
   =================================== */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 150;
}

/* ===================================
   MAIN CONTENT STYLES
   =================================== */

.main-content {
    padding: 3rem 1rem 2rem 1rem;
    background-color: #ffffff;
}

/* ===================================
   TOOL WRAPPER & CONTAINER
   =================================== */

.tool-wrapper {
    width: 100%;
    margin-bottom: 0;
}

.tool-container {
    width: 85%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.tool-title {
    font-family: 'Noto Serif', serif;
    font-size: 35px;
    color: #222222;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.2;
}

.tool-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
}

.textarea-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.tamil-textarea {
    width: 100%;
    min-height: 60px;
    margin: 0;
    display: block;
    padding: 1.2rem 4rem 1.2rem 2rem;
    border: 2px solid #d0d0d0;
    border-radius: 12px;
    font-family: 'Noto Sans Tamil', 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 33px;
    color: #333333;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.tamil-textarea::placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 33px;
    color: #999999;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.tamil-textarea:focus {
    outline: none;
    border-color: #007180;
    box-shadow: 0 0 0 3px rgba(0, 113, 128, 0.1);
}

/* Clear / reset button — appears once user starts typing */
.clear-reset {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 2.2rem;
    line-height: 1;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    z-index: 5;
}

.clear-reset:hover {
    color: #007180;
    background-color: rgba(0, 113, 128, 0.07);
}

.clear-reset.visible {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   FONT STYLES SECTION
   =================================== */

.font-styles-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #f0f0f0;
}

.font-styles-title {
    font-family: 'Noto Serif', serif;
    font-size: 30px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 2rem;
    text-align: center;
}

/* ===================================
   FONT CUSTOMIZATION PANEL (inline row)
   =================================== */

.font-customization-panel {
    position: sticky;
    top: 0;
    z-index: 80;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.font-control-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

/* Size group grows so the slider fills available space */
.font-control-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.font-control-group--size {
    flex: 1;
    min-width: 0;
}

.font-control-group label {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    white-space: nowrap;
    user-select: none;
}

/* Original teal slider */
.slider {
    flex: 1;
    min-width: 80px;
    height: 6px;
    border-radius: 5px;
    background: linear-gradient(to right, #007180, #00a8c2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007180;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007180;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Original color picker */
.color-picker {
    width: 50px;
    height: 36px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
}

.color-picker:hover {
    border-color: #007180;
}

/* Hide unused legacy elements */
.customization-group  { display: none; }
.checkbox-group       { display: none; }
.checkbox             { display: none; }
.font-control-swatch  { display: none; }
.font-size-btn        { display: none; }
.font-size-display    { display: none; }

/* ===================================
   FONT CARDS
   =================================== */

.font-cards-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    max-width: 900px;
}

.font-card {
    width: 100%;
    min-height: 250px;
    background-color: #ffffff;
    border: 2px solid #d0d0d0;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.font-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.font-card-header {
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 2px solid #d0d0d0;
}

.font-name {
    font-family: 'Inder', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    color: #222222;
}

.font-card-display {
    flex: 1;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    line-height: 1.5;
    color: #333333;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.font-card-actions {
    padding: 1.5rem;
    margin-top: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* download buttons */
.font-btn {
    font-family: 'Inder', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    background-color: #545454;
    border: 3px solid #f5f5f5;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
    transition: background-color 0.2s ease;
    box-shadow: 0 0 0 1px #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.font-btn:hover {
    background-color: #333333;
}

.font-btn.copied {
    background-color: #28a745;
}

/* PNG / Transparent / TTF — all same size */
.font-btn-wide,
.font-btn-short {
    min-width: 80px;
    padding: 0.5rem 0.5rem;
}

/* Share icon button — exact MFG icon-btn */
.font-share-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 0.6rem;
    cursor: pointer;
    color: #222222;
    transition: color 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.font-share-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.font-share-btn:hover {
    color: #007180;
    background-color: rgba(0, 113, 128, 0.05);
}

/* ===================================
   LOAD MORE BUTTON
   =================================== */

.load-more-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0 2rem;
}

.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 3rem;
    background-color: #007180;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.load-more-btn:hover {
    background-color: #005a66;
    transform: scale(1.03);
}

.load-more-btn:active {
    transform: scale(0.97);
}

/* ===================================
   ABOUT SECTION STYLES
   =================================== */

.about-wrapper {
    width: 85%;
    max-width: 1000px;
    margin: 2rem auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.about-container {
    width: 100%;
}

.about-title {
    font-family: 'Noto Serif', serif;
    font-size: 30px;
    color: #222222;
    margin-bottom: 2rem;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-align: left;
}

.about-text {
    font-family: 'Inclusive Sans', 'Open Sans', sans-serif;
    font-size: 21px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 2rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* ===================================
   BLOG SECTION STYLES
   =================================== */

.blog-section {
    width: 85%;
    max-width: 1000px;
    margin: 2rem auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.blog-section h2 {
    font-family: 'Noto Serif', serif;
    font-size: 30px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 2rem;
    text-align: left;
}

.blog-section h3 {
    font-family: 'Inclusive Sans', 'Open Sans', sans-serif;
    font-size: 21px;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.8;
}

.blog-section p {
    font-family: 'Inclusive Sans', 'Open Sans', sans-serif;
    font-size: 21px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===================================
   FAQ SECTION STYLES
   =================================== */

.faq-section {
    width: 85%;
    max-width: 1000px;
    margin: 2rem auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
    font-family: 'Noto Serif', serif;
    font-size: 30px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 2rem;
    text-align: left;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-family: 'Inclusive Sans', 'Open Sans', sans-serif;
    font-size: 21px;
    color: #000000;
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   FOOTER STYLES
   =================================== */

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 20px 30px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    font-family: 'Inder', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #007180;
    display: block;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.footer-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.2s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.footer-links a:hover {
    color: #00aac0;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ffffff;
    color: #1a1a1a;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.social-link:hover {
    background-color: #007180;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333333;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #999999;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===================================
   RESPONSIVE — 768px
   =================================== */

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        left: -280px;
    }

    .header {
        height: 75px;
    }

    .logo img {
        width: 150px;
        height: 55px;
    }

    .hamburger-icon {
        width: 28px;
        height: 18px;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .tool-container,
    .about-wrapper,
    .blog-section,
    .faq-section {
        width: 96%;
        max-width: 100%;
        margin: 1.5rem auto;
        padding: 2rem 1.25rem;
    }

    .tool-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .tool-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .tamil-textarea {
        font-size: 18px;
        padding: 12px 3.25rem 12px 12px;
        min-height: 100px;
    }

    .tamil-textarea::placeholder {
        font-size: 18px;
    }

    .clear-reset {
        width: 36px;
        height: 36px;
        font-size: 1.8rem;
        right: 0.5rem;
        top: 0.5rem;
    }

    .font-cards-list {
        gap: 1.5rem;
    }

    .font-card {
        min-height: 200px;
    }

    .font-name {
        font-size: 18px;
    }

    .font-card-display {
        font-size: 21px;
        padding: 1.25rem 1rem;
        min-height: 90px;
    }

    .font-card-actions {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }

    .font-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        min-width: 0;
    }

    .font-btn-wide,
    .font-btn-short {
        min-width: 0;
        padding: 0.4rem 0.6rem;
    }

    .font-share-btn {
        width: 38px;
        height: 38px;
    }

    .font-share-btn svg {
        width: 20px;
        height: 20px;
    }

    .font-customization-panel {
        padding: 0.75rem 1rem;
    }

    .font-control-inner {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .font-control-group label {
        font-size: 13px;
    }
    .about-title,
    .blog-section h2,
    .faq-section h2 {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .about-text,
    .blog-section p,
    .faq-item p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .blog-section h3 {
        font-size: 18px;
        margin-bottom: 1rem;
    }

    .faq-item h3 {
        font-size: 20px;
        margin-bottom: 0.75rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-links a,
    .footer-description {
        font-size: 15px;
    }

    .menu-link {
        font-size: 18px;
        padding: 15px 25px;
    }

    .load-more-btn {
        width: 100%;
    }
}

/* ===================================
   RESPONSIVE — 480px
   =================================== */

@media (max-width: 480px) {
    .header {
        height: 70px;
    }

    .logo img {
        width: 120px;
        height: 50px;
    }

    .hamburger-icon {
        width: 26px;
        height: 16px;
    }

    .sidebar {
        width: 100%;
        left: -100%;
    }

    .main-content {
        padding: 20px 14px;
    }

    .tool-container,
    .about-wrapper,
    .blog-section,
    .faq-section {
        width: 100%;
        max-width: 100%;
        margin: 1rem auto;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .tool-title {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .tool-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .tamil-textarea {
        min-height: 90px;
        font-size: 16px;
        padding: 10px 3rem 10px 10px;
    }

    .tamil-textarea::placeholder {
        font-size: 16px;
    }

    .clear-reset {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
        right: 0.4rem;
        top: 0.4rem;
    }

    .font-styles-title {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .font-card {
        min-height: 180px;
    }

    .font-name {
        font-size: 16px;
    }

    .font-card-header {
        padding: 0.6rem 1rem;
    }

    .font-card-display {
        font-size: 18px;
        padding: 1rem 0.75rem;
        min-height: 80px;
    }

    .font-card-actions {
        padding: 0.75rem 0.75rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .font-btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.5rem;
    }

    .font-customization-panel {
        padding: 0.75rem 0.75rem;
    }

    .font-control-inner {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .font-control-group label {
        font-size: 12px;
    }

    .color-picker {
        width: 40px;
        height: 30px;
    }

    .about-title,
    .blog-section h2,
    .faq-section h2 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .about-text,
    .blog-section p,
    .faq-item p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .blog-section h3 {
        font-size: 17px;
        margin-bottom: 0.75rem;
    }

    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .footer {
        padding: 40px 20px 20px 20px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-links a,
    .footer-description {
        font-size: 14px;
    }

    .social-link {
        width: 34px;
        height: 34px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .menu-link {
        font-size: 16px;
        padding: 12px 20px;
    }

    .close-icon {
        width: 28px;
        height: 28px;
    }

    .close-icon span {
        width: 20px;
    }
}

/* ===================================
   STATIC PAGES (About, Contact, Privacy, Terms)
   =================================== */

.static-page {
    background-color: #ffffff;
    min-height: calc(100vh - 400px);
    padding: 3rem 1rem 4rem;
}

.static-container {
    max-width: 850px;
    margin: 0 auto;
}

.static-container h1 {
    font-family: 'Noto Serif', serif;
    font-size: 35px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 0.75rem;
    text-align: left;
}

.static-container h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #007180;
    margin: 10px 0 2rem;
}

.static-container .static-intro {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 18px;
    color: #555555;
    margin-bottom: 2rem;
}

.static-container h2 {
    font-family: 'Noto Serif', serif;
    font-size: 26px;
    font-weight: 700;
    color: #222222;
    margin: 2rem 0 1rem;
}

.static-container p {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #333333;
}

.static-container ul {
    margin: 0 0 1.5rem 1.5rem;
}

.static-container li {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 0.5rem;
}

.static-container a {
    color: #007180;
    text-decoration: underline;
}

.static-container a:hover {
    color: #005a66;
}

/* About page — reason cards */
.about-reasons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

.about-reason-card {
    background-color: #f0f8f9;
    border: 2px solid #d4eaed;
    border-radius: 12px;
    padding: 1.5rem;
}

.about-reason-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.about-reason-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: #007180;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-reason-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
}

.about-reason-text h3 {
    font-family: 'Noto Serif', serif;
    font-size: 19px;
    font-weight: 700;
    color: #222222;
    margin: 0;
}

.about-reason-card p {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #333333;
    margin: 0;
}

/* Contact page */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.contact-info-card {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.contact-info-card svg {
    width: 32px;
    height: 32px;
    stroke: #007180;
    fill: none;
    stroke-width: 1.8;
    margin-bottom: 0.75rem;
}

.contact-info-card h3 {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    color: #222222;
    margin-bottom: 0.4rem;
}

.contact-info-card p,
.contact-info-card a {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 15px;
    color: #555555;
}

@media (max-width: 768px) {
    .static-page {
        padding: 2rem 1rem 3rem;
    }

    .static-container h1 {
        font-size: 26px;
    }

    .static-container h2 {
        font-size: 21px;
    }

    .static-container p,
    .static-container li {
        font-size: 15px;
    }

    .about-reason-text h3 {
        font-size: 17px;
    }

    .about-reason-card p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .static-container h1 {
        font-size: 22px;
    }

    .about-reason-icon {
        width: 38px;
        height: 38px;
    }

    .about-reason-icon svg {
        width: 17px;
        height: 17px;
    }
}