/* =========================================
   CSS Variables and Base Reset
   ========================================= */
:root {
    --yellow: #FFE500;
    --black: #1A1A1A;
    --dark: #0A0A0A;
    --white: #ffffff;
    --gray-light: #d4d4d4;
    --gray-mid: #999999;
    --gray-bg: #f5f5f5;
    --font-main: 'Poppins', sans-serif;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Header Navigation Section
   ========================================= */
#header {
    min-height: 85px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: none;
    padding: 12px 0;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    outline: none;
    text-decoration: none;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 15px;
}

/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
}

.menu-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    padding: 6px 16px;
    border-radius: 20px;
    transition: var(--transition);
    letter-spacing: 0.02em;
    outline: none;
    text-decoration: none;
}

.menu-link:hover {
    color: var(--black);
    background-color: var(--gray-bg);
}

.menu-link.active {
    background-color: var(--black);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--black);
    margin-left: 10px;
}

/* Hide sidebar-only elements on desktop */
.sidebar-header {
    display: none;
}

.sidebar-overlay {
    display: none;
}



/* =========================================
   Hero Sections (Home, About, Services, Contact)
   ========================================= */
.hero-section,
.about-hero-section,
.service-hero-section,
.contact-hero-section {
    padding-top: 70px;
    padding-bottom: 100px;
    background-color: transparent;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    bottom: -20px;
    z-index: 2;
}

.hero-section {
    background-image: url("../images/hero-bg.png");
    padding-top: 70px;
    padding-bottom: 70px;
}


.about-hero-section {
    background-image: url("../images/service-section.png");
    padding-bottom: 100px;
}

.service-hero-section {
    background-image: url("../images/service-section.png");
    /* padding-top: 160px;
    padding-bottom: 40px; */
}

.contact-hero-section {
    background-image: url("../images/contact-section.png");
    padding-top: 160px;
    padding-bottom: 180px;
    margin-top: 0px;
    min-height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    padding: 21px 0 28px 0;
}

.service-hero-content {
    padding: 30px 0 40px 0;
}

.about-hero-content {
    padding: 0 0 40px 0;
    max-width: 100%;
}

.hero-title,
.about-hero-title,
.service-hero-title,
.contact-hero-title {
    font-size: 55px;
    font-weight: 600;
    line-height: 1.05;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.hero-title {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.service-hero-title {
    max-width: 868px;
}

.contact-hero-title {
    color: var(--yellow);
    font-size: 55px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.about-hero-subtitle,
.service-hero-subtitle,
.contact-hero-subtitle {
    font-size: 26px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.about-hero-subtitle {
    max-width: 530px;
    width: 100%;
}

.about-hero-subdesc {
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
    margin-top: 30px;
    line-height: 1.6;
    width: 100%;
    max-width: 750px;
    text-align: left;
    margin-left: auto;
}

.contact-hero-subdesc {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 100%;
}

.contact-hero-subtitle,
.contact-hero-subdesc {
    color: rgba(255, 255, 255, 0.85);
}

.about-hero-subtitle,

.contact-hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.hero-subtitle,
.service-hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-top: 10px;
}

.hero-honeycomb-border,
.about-honeycomb-border,
.service-hero-honeycomb-border,
.contact-honeycomb-border,
.focus-honeycomb-border {
    width: 100%;
    height: 77px;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center bottom;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.service-hero-honeycomb-border {
    background-image: url("../images/service-section-bottom.png");
    height: 135px;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-position: center bottom;
    bottom: -10px;
}

.about-honeycomb-border {
    background-image: url("../images/about-section-bottom.png");
    height: 110px;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-position: center bottom;
    bottom: -10px;
}

.focus-honeycomb-border {
    background-image: url("../images/focus-section.png");
}

/* =========================================
   Focus Section
   ========================================= */
.focus-section {
    position: relative;
    background-image: url(../images/focus-bg.jpg);
    background-size: cover;
    background-position: left 30%;
    background-repeat: no-repeat;
    padding-top: 150px;
    padding-bottom: 40px;
    margin-top: -77px;
    z-index: 1;
}

@media (min-width: 992px) {
    .focus-section {
        background-image: linear-gradient(to right, rgba(38, 67, 19, 0) 50%, #264313 80%), url(../images/focus-bg.jpg);
        background-size: 85% auto;
        background-position: -80px 30%;
        background-color: #264313;
    }
}

.focus-content {
    max-width: 650px;
    padding-bottom: 25px;
    position: relative;
    z-index: 3;
    margin-left: auto;
}

.focus-title {
    font-size: 55px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -1px;
    max-width: 100%;
}

.focus-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: var(--white);
    margin: 0;
}

.focus-bottom {
    position: relative;
    text-align: center;
}


/* =========================================
   What We Manage Section (Service Page)
   ========================================= */
.what-we-manage-section {
    padding: 60px 0;
    background-color: var(--white);
}

.manage-title {
    font-size: 55px;
    font-weight: 600;
    color: #888888;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.manage-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.manage-desc {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
}

.srv-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.srv-card {
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.srv-card:hover {
    transform: perspective(1000px) rotateY(180deg) !important;
    background-color: var(--black) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--black);
}

.srv-card:hover .card-content-wrapper {
    transform: perspective(1000px) rotateY(-180deg);
}

.srv-card:hover .srv-card-title,
.srv-card:hover .srv-card-text {
    color: var(--white);
}

.srv-card:hover .srv-card-link {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.srv-card:hover .srv-card-link:hover {
    background-color: var(--white);
    border-color: var(--white);
}

.srv-card.light {
    background-color: var(--gray-bg);
    border: 1px solid #e8e8e8;
}

.srv-card.light-dark {
    background-color: #e0e0e0;
    border: 1px solid #d0d0d0;
}

.srv-card.dark {
    background-color: #2a2a2a;
    color: var(--white);
}

.srv-card.dark .srv-card-title,
.srv-card.dark .srv-card-text {
    color: var(--white);
}

.srv-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.srv-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.srv-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    min-height: 53px;
}

.srv-card-text {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.srv-card-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--black);
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
    background-color: var(--yellow);
}

.srv-card-link:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.srv-card.dark .srv-card-link {
    border-color: var(--black);
    color: var(--black);
    background-color: yellow;
}

.srv-card.dark .srv-card-link:hover {
    background-color: var(--white);
    color: var(--black);
}

/* =========================================
   Accounting Optimization Section
   ========================================= */
.accounting-optim-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.optim-title {
    font-size: 20px;
    font-weight: 300;
    color: #333333;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 800px;
}

.optim-board {
    background-color: var(--black);
    border-radius: 20px;
    padding: 80px 40px;
    border: 1px solid #e8e8e8;
}

.optim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.optim-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background-color: var(--gray-bg);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.optim-pill:hover {
    transform: translateY(-3px);
    background-color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.optim-pill.hollow {
    border: 1px solid #e0e0e0;
    background-color: var(--white);
    color: var(--black);
    font-style: italic;
}

.check-hex {
    width: 40px;
    height: 40px;
    background-color: var(--yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--black);
}

/* =========================================
   We Support Section
   ========================================= */
/* We Support Section */
.we-support-section {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.support-image {
    margin-bottom: 20px;
}

.support-image img {
    max-width: 100%;
    height: 458px;
    border-radius: 12px;
    object-fit: cover;
}

.support-title {
    font-size: 45px;
    font-weight: 600;
    color: #888888;
    line-height: 1;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.support-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}

.support-board {
    background-color: #f0f0f0;
    border-radius: 12px;
    padding: 30px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.support-pill {
    background-color: var(--white);
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.support-pill img {
    height: 38px;
    /* max-width: 82%; */
    max-width: 50%;
    object-fit: contain;
}

.support-pill.text-pill {
    justify-content: center;
    font-style: italic;
    font-size: 14px;
    color: #666;
    background-color: var(--white);
}

.support-pill.text-pill-large {
    font-size: 20px;
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-page-wrapper {
    position: relative;
}

.contact-hero-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form-col {
    display: flex;
    justify-content: flex-end;
}

.contact-form-wrapper {
    background-color: var(--yellow);
    border-radius: 20px;
    padding: 25px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 620px;
    flex-shrink: 0;
    margin-top: -70px;
    margin-bottom: -480px;
    position: relative;
    z-index: 3;
}

.contact-spacing-section {
    height: 480px;
    background-color: var(--white);
    position: relative;
    z-index: 0;
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 18px;
    color: var(--black);
    background-color: var(--white);
    transition: var(--transition);
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
    color: #bbbbbb;
    font-size: 15px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.char-count {
    font-size: 16px;
    color: #aaaaaa;
    text-align: left;
    margin-top: 4px;
}

.contact-consent-group {
    margin: 6px 0 14px;
}

.contact-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.contact-consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--black);
    cursor: pointer;
}

.contact-consent-label span {
    font-size: 14px;
    font-style: italic;
    color: #555555;
    line-height: 1.6;
}

.contact-consent-label a {
    color: #555555;
    text-decoration: underline;
    transition: var(--transition);
}

.contact-consent-label a:hover {
    color: var(--black);
}

.contact-consent-feedback {
    display: none;
    color: #b30000;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* Captcha Styles */
.captcha-feedback {
    display: none;
    color: #b30000;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 35px;
    background-color: var(--black);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: #333333;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.focus-honeycomb-border {
    width: 100%;
    height: 119px;
    background-image: url(../images/focus-section.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center bottom;
    position: relative;
    bottom: -53px;
}

.focus-tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    width: auto;
    position: absolute;
    right: max(15px, calc(50vw - 570px));
    bottom: -60px;
    z-index: 5;
    right: 450px;

}

.tagline-icon {
    width: 24px;
    height: 24px;
    background-color: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: inline-block;
}

.tagline-text {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* =========================================
   Who We Are Section
   ========================================= */
.who-section {
    padding: 60px 0;
    background-color: var(--white);
}

.who-section .container {
    max-width: 1400px;
}

/* .who-left {
    padding-right: 40px;
} */

.who-header {
    margin-bottom: 40px;
}

.who-img-wrapper {
    height: 100%;
}

.who-left-img {
    width: 100%;
    /* max-width: 400px; */
    height: 100%;
    border-radius: 12px;
    margin-bottom: 0;
    object-fit: cover;
}

.who-title {
    font-size: 55px;
    font-weight: 600;
    color: #888888;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.who-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
    padding-left: 8px;
}

.who-right {
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.who-description {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.who-description strong {
    color: var(--black);
    font-weight: 700;
    font-size: 22px;
}

.underline-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.who-list {
    border-top: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.who-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
}

.who-list-text {
    font-size: 18px;
    font-weight: 400;
    color: #444444;
    flex: 1;
    padding-right: 20px;
}

.who-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--black);
    flex-shrink: 0;
    transition: var(--transition);
}

.who-list-icon img {
    width: 40px;
    height: auto;
    display: block;
}

.who-list-item:hover .who-list-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 229, 0, 0.4);
}

/* =========================================
   What We Do Section
   ========================================= */
.whatwedo-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.whatwedo-left {
    padding-right: 40px;
}

.whatwedo-title {
    font-size: 55px;
    font-weight: 600;
    color: #888888;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.whatwedo-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
}

.whatwedo-right {
    padding-left: 30px;
    display: flex;
    align-items: flex-start;
    padding-top: 180px;
}

.whatwedo-description {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
}

.whatwedo-description strong {
    color: var(--black);
}

.text-highlight {
    color: #999999;
}

/* =========================================
   Service Cards
   ========================================= */


.service-card {
    border-radius: 16px;
    padding: 30px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: perspective(1000px) rotateY(180deg) !important;
    background-color: #ffffff;
    border: 1px solid var(--black);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover .card-content-wrapper {
    transform: perspective(1000px) rotateY(-180deg);
}

.service-card-white {
    background-color: var(--white);
    border: 1px solid var(--black);
}

.service-card-yellow {
    background-color: var(--yellow);
    border: none;
}

.service-card-yellow-light {
    background-color: #FFF0A0;
    border: none;
}

.service-card-yellow-light .service-card-text {
    color: rgba(0, 0, 0, 0.55);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 22px;
    color: var(--black);
    position: relative;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Icon hover swap (static/no rotation) for How We Work section */
.service-icon.icon-hover-swap {
    position: relative;
    width: 80px;
    height: 80px;
}

.service-icon.icon-hover-swap img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: opacity 0.6s ease;
}

.service-icon.icon-hover-swap .default-icon {
    opacity: 1;
}

.service-icon.icon-hover-swap .hover-icon {
    opacity: 0;
}

.service-card:hover .service-icon.icon-hover-swap .default-icon {
    opacity: 0;
}

.service-card:hover .service-icon.icon-hover-swap .hover-icon {
    opacity: 1;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    min-height: 53px;
}

.service-card-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-card-yellow .service-card-text {
    color: rgba(0, 0, 0, 0.55);
}

.service-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--black);
    background-color: var(--white);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--black);
    border-radius: 20px;
    transition: var(--transition);
    align-self: flex-start;
}

.service-link:hover {
    background-color: var(--black);
    color: var(--white);
}

.service-card-yellow .service-link:hover {
    background-color: var(--black);
    color: var(--yellow);
}


.service-card:hover .service-link {
    background-color: var(--yellow);
    border-color: var(--black);
    color: var(--black);
}

.service-card:hover .service-link:hover {
    background-color: var(--black);
    color: var(--white);
}

/* =========================================
   CTA / Get In Touch Section
   ========================================= */
.cta-section {
    padding: 60px 0;
    background-color: var(--white);
}

.cta-wrapper {
    display: flex;
    align-items: stretch;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 455px;
}

.cta-left {
    flex: 0 0 55%;
    background-color: var(--yellow);
    padding: 125px 120px;
    position: relative;
    overflow: hidden;
}

.cta-honeycomb-deco {
    position: absolute;
    bottom: -10px;
    left: 25px;
    width: 120px;
    height: 250px;
    opacity: 0.25;
    background-image: url("../images/get-hive.png");
    background-repeat: no-repeat;
    background-size: contain;
}


.cta-pretitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 4px;
    padding-left: 2px;
}

.cta-title {
    font-size: 55px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background-color: #333333;
    color: var(--white);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-right {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 50px;
    gap: 16px;
    background-image: url("../images/footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-tag {
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--white);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    align-self: flex-start;
    position: relative;
    left: -70px;
}


/* .tag-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
} */

/* =========================================
   Footer Section
   ========================================= */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
}

.footer-honeycomb-top {
    width: 100%;
    height: 110px;
    background-image: url("../images/footer-top-section.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
    position: relative;
    top: -20px;
}

.footer-main {
    padding: 2px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.footer-tagline-text {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 365px;
}

.footer-cert-logos {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: -150px;
    max-width: 450px;
    position: relative;
    left: -48px;
}

.cert-logo {
    height: 80px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cert-logo:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.15));
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-social-links li {
    margin-bottom: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social-links a:hover {
    color: var(--yellow);
}

.social-icon-box {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-contact-list li {
    margin-bottom: 14px;
}

.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: var(--yellow);
}

.contact-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.footer-email {
    padding: 50px 0 30px 0;
}

.footer-email-link {
    font-size: 55px;
    font-weight: 600;
    color: var(--yellow);
    letter-spacing: -1px;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-email-link:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-policies a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: var(--transition);
}

.footer-policies a:hover {
    color: var(--yellow);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

/* =========================================
   Responsive - Tablet
   ========================================= */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .exist-title br {
        display: none !important;
    }

    /* --- Sidebar Header (Logo + Close) --- */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 20px 0;
        margin-bottom: 10px;
    }

    .sidebar-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .sidebar-logo-img {
        height: 50px;
        width: auto;
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background-color: var(--black);
        color: var(--white);
        font-size: 16px;
        cursor: pointer;
        transition: var(--transition);
        margin-left: auto;
    }

    .sidebar-close:hover {
        background-color: rgba(0, 0, 0, 0.8);
        color: var(--yellow);
    }

    /* --- Sidebar Overlay --- */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1099;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    /* --- Sidebar Menu --- */
    .header-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--yellow);
        flex-direction: column;
        padding: 24px 24px 40px 24px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
        z-index: 1100;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .header-menu.show {
        right: 0;
    }

    .header-menu li {
        width: 100%;
    }

    .header-menu .menu-link {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        text-align: center;
        background-color: transparent;
        color: var(--black);
        text-decoration: none;
        border: 1px solid var(--black);
        box-sizing: border-box;
        transition: var(--transition);
    }

    .header-menu .menu-link:hover {
        background-color: var(--black);
        color: var(--white);
    }

    .header-menu .menu-link.active,
    .header-menu .menu-link.active-gray {
        background-color: var(--black);
        color: var(--white);
    }

    .hero-section,
    .about-hero-section,
    .service-hero-section,
    .contact-hero-section {
        min-height: 300px;
        background-size: cover;
        background-position: center top;
    }

    .contact-hero-section {
        margin-top: 0;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
        margin-bottom: -260px;
    }

    .contact-form-col {
        justify-content: center;
    }

    .contact-hero-content {
        text-align: left;
    }

    .contact-spacing-section {
        height: 350px;
    }

    .hero-title,
    .about-hero-title,
    .service-hero-title,
    .contact-hero-title {
        font-size: 36px;
    }

    .hero-subtitle,
    .about-hero-subtitle,
    .service-hero-subtitle,
    .contact-hero-subtitle {
        font-size: 22px;
    }

    .focus-title {
        font-size: 36px;
    }

    .focus-subtitle {
        font-size: 20px;
    }

    .who-section {
        padding: 35px 0;
    }

    .who-title {
        font-size: 48px;
    }

    .who-left {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .who-right {
        padding-left: 0;
    }

    .whatwedo-title {
        font-size: 48px;
    }

    .who-description {
        margin-bottom: 20px;
        margin-top: 20px
    }

    .whatwedo-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .whatwedo-right {
        padding-left: 0;
    }

    .whatwedo-section {
        padding: 35px 0;
    }

    .cta-section {
        padding: 35px 0;
    }

    .cta-wrapper {
        flex-direction: column;
    }

    .cta-left {
        flex: none;
    }

    .cta-right {
        flex: none;
        padding: 30px;
    }

    .cta-tag {
        left: 0;
    }

    .footer-email-link {
        font-size: 36px;
    }

    .about-hero-subtitle {
        max-width: 100%;
    }

    .about-hero-subdesc {
        max-width: 100%;
        margin-left: 0;
    }

    .support-image img {
        height: auto !important;
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }

    .footer-cert-logos {
        margin-top: -10px;
        margin-bottom: 20px;
        left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }

    .footer-brand {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .footer-logo {
        display: flex;
        justify-content: flex-start;
    }

    .footer-tagline-text {
        text-align: left;
    }

    .contact-hero-section {
        background-color: #000000 !important;
        background-size: 180% auto !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;
    }
}

/* =========================================
   Responsive - Mobile
   ========================================= */
@media (max-width: 767px) {

    /* AOS runtime for mobile */
    html:not(.no-js) [data-aos] {
        transition-duration: 600ms !important;
        transition-delay: 0ms !important;
    }

    .hero-section,
    .about-hero-section,
    .service-hero-section,
    .contact-hero-section {
        padding-top: 20px;
        padding-bottom: 10px;
        min-height: auto;
        background-size: cover;
        background-position: center top;
    }

    .header-menu {
        margin-right: 0px;
    }

    .contact-hero-section {
        margin-top: 0;
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .hero-content,
    .service-hero-content {
        padding: 35px 0 30px 0;
    }

    .about-hero-content {
        padding: 35px 0 45px 0;
    }

    .contact-hero-content {
        padding: 20px 15px 10px 15px;
        text-align: left;
    }

    .contact-hero-title br,
    .contact-hero-subdesc br {
        display: none;
    }

    .contact-hero-subdesc {
        font-size: 18px;
        text-align: justify;
        word-spacing: -1.3px;
        margin: 3px 0;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 30px 24px;
        margin-top: 20px;
        margin-bottom: -320px;
        border-radius: 16px;
    }

    .contact-form-col {
        justify-content: center;
    }

    .contact-form {
        gap: 8px;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .contact-form .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left top;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .form-title {
        font-size: 22px;
        margin-bottom: 18px;
        text-align: center;
    }

    .contact-spacing-section {
        height: 420px;
    }

    .form-submit.text-end {
        text-align: center !important;
    }

    .btn-contact {
        width: 100%;
        justify-content: center;
        padding: 12px 35px;
    }

    .hero-title,
    .about-hero-title,
    .service-hero-title,
    .contact-hero-title {
        font-size: 28px;
    }

    .hero-honeycomb-border,
    .about-honeycomb-border,
    .service-hero-honeycomb-border,
    .contact-honeycomb-border {
        height: 50px;
        background-size: 100% auto;
    }

    .about-hero-subdesc {
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    .contact-hero-title {
        margin-bottom: -15px;

    }

    .hero-subtitle,
    .about-hero-subtitle,
    .service-hero-subtitle,
    .contact-hero-subtitle {
        font-size: 18px;
    }

    .tagline-text {
        font-size: 16px;
        display: block;
        margin-top: -60px;
    }

    .tagline-icon {
        position: relative;
        top: -30px;
    }

    .focus-tagline {
        bottom: -40px !important;
        right: 15px !important;
    }

    .footer-honeycomb-top {
        height: 50px !important;
    }

    .footer-honeycomb-top {
        top: -5px !important;
    }

    .focus-honeycomb-border {
        height: 50px !important;
        bottom: -5px !important;
    }

    .focus-section {
        padding-bottom: 0px;
        margin-top: -25px !important;

    }

    .service-hero-honeycomb-border,
    .about-honeycomb-border {
        height: 70px !important;
        background-size: cover !important;
        bottom: -5px;
    }

    .about-honeycomb-border {
        bottom: -8px !important;
    }




    .focus-section {
        background-size: cover;
        padding-top: 100px;
    }

    .who-header {
        margin-bottom: 10px;
    }

    .who-list-item {
        padding: 12px 0;
    }

    .whatwedo-left {
        margin-bottom: 10px !important;
    }

    .who-title,
    .whatwedo-title,
    .cta-title,
    .work-title,
    .manage-title,
    .support-title,
    .work-title {
        font-size: 28px !important;
        font-weight: 500 !important;
    }

    .whatwedo-right {
        padding-top: 0px;
    }

    .exist-title,
    .delivers-title {
        font-size: 28px !important;
        font-weight: 400 !important;
    }

    .exist-text {
        margin: 0 15px 0 0;
        width: auto;
        text-align: left;
    }

    .exist-text br {
        display: none !important;
    }

    .exist-title {
        margin-bottom: 15px !important;
    }

    .exist-title br {
        display: none !important;
    }

    .delivers-block {
        padding: 0 0 !important;
    }

    .why-exist-section,
    .how-we-work-section,
    .what-we-manage-section,
    .accounting-optim-section,
    .we-support-section {
        padding: 35px 0 !important;
    }

    .work-title,
    .work-subtitle,
    .work-list li {
        margin-bottom: 10px !important;
    }

    .work-footer-text {
        font-size: 16px !important;
        margin-top: 15px !important;
    }

    .cta-left {
        padding: 35px 50px;
    }

    .focus-title {
        font-size: 28px !important;
        font-weight: 400;
        max-width: 345px;
    }

    .focus-content {
        padding-bottom: 0px;
        padding-top: 20px;
    }

    .focus-subtitle {
        font-size: 20px !important;

    }

    .service-card {
        text-align: center;
    }

    .srv-card-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 24px auto;
    }

    .srv-icon {
        justify-content: center;
        width: 100%;
        height: auto;
    }

    .srv-card-title,
    .srv-card-text {
        text-align: center;
        min-height: 0;
    }

    .srv-card-link {
        margin: 0 auto;
    }

    .service-icon img {
        width: 60px;
        height: 60px;
    }

    .service-card-title {
        text-align: center;
        min-height: 0;
    }

    .service-card-text {
        text-align: center;
    }

    .service-link {
        text-align: center;
        display: inline-block;
        width: auto;
        margin: 0 auto;
    }

    .optim-title {
        font-size: 20px !important;
        margin-bottom: 15px;
        font-weight: 400;
    }

    .optim-board {
        padding: 20px;
    }

    .optim-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .optim-pill {
        width: 100%;
        padding: 10px 12px !important;
    }

    .work-image,
    .exist-image {
        width: 100% !important;
    }




    .footer-contact-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }

    .footer-contact-list a {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-main {
        padding: 2px 0 0px 0;
    }

    .exist-text,
    .work-subtitle,
    .work-footer-text,
    .about-hero-subdesc {
        font-size: 16px;
    }

    .footer-heading {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .col-12 .footer-heading {
        text-align: left;
    }

    .footer-contact-list a {
        font-size: 16px;
    }

    .footer-tagline-text {
        max-width: 100%;
        margin-top: 15px;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-policies {
        flex-wrap: nowrap;
        gap: 8px !important;
    }

    .footer-policies a {
        font-size: 16px !important;
    }

    .footer-divider {
        font-size: 16px !important;
    }

    .contact-icon-phone {
        margin-left: 0;
    }

    .contact-icon-location {
        margin-left: 0;
    }



    .support-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .support-pill {
        height: 65px !important;
        padding: 8px !important;
    }

    .support-pill img {
        height: 30px !important;
        max-width: 88% !important;
    }

    .support-pill.text-pill {
        grid-column: span 2 !important;
    }

    .support-pill.text-pill-large {
        font-size: 20px !important;
    }

    .contact-hero-section {
        background-color: #000000 !important;
        background-size: 180% auto !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;
    }
}


/* =========================================
   Why We Exist Section
   ========================================= */
.why-exist-section {
    padding: 60px 0;
    background-color: #000000;

}

.exist-image {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.exist-block {
    padding: 20px 0;
}

.exist-title {
    font-size: 55px;
    font-weight: 600;
    color: #ffe500;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.exist-text {
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.7;
}

.delivers-block {
    padding: 40px 0;
}

.delivers-title {
    font-size: 55px;
    font-weight: 300;
    color: #ffe500;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.underline-yellow {
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.text-gray {
    color: #999999;
}

.text-dark-gray {
    color: #555555;
    font-weight: 500;
}

/* About hero title - very dark gray */
.about-hero-title-dark {
    color: #555555 !important;
}

/* Match 'Why we exist' and 'Bee Team delivers' to 'Who we are' style */
.exist-title-match {
    color: #ffe500;
    font-weight: 600;
}

.delivers-title-match {
    color: #ffe500;
    font-weight: 600;
}

/* Darker footer text */
.work-footer-text-dark {
    color: #444444;
}

/* =========================================
   How We Work Section
   ========================================= */
.how-we-work-section {
    padding: 40px 0;
    background-color: var(--gray-bg);
}

.how-we-work-section .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-we-work-section .row>[class*="col-"]:first-child {
    padding-right: 20px;
}

.how-we-work-section .row>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.work-title {
    font-size: 55px;
    font-weight: 600;
    color: #888888;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.work-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 32px;
}

.work-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.work-list li img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.work-image {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.work-footer-text {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
}

/* =========================================
   Service Page Flip Cards
   ========================================= */
.service-flip-card {
    perspective: 1000px;
    height: 100%;
    /* Fill grid cell */
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-flip-card:hover .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front,
.service-flip-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
}

.service-flip-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    height: 100%;
}

.service-flip-card.light .service-flip-front {
    background-color: var(--gray-bg);
    border: 1px solid var(--black);
    color: var(--black);
}

.service-flip-card.light-dark .service-flip-front {
    background-color: #e0e0e0;
    border: 1px solid var(--black);
    color: var(--black);
}

.service-flip-card.dark .service-flip-front {
    background-color: var(--black);
    border: 1px solid var(--black);
    color: var(--white);
}

.service-flip-card.dark .service-flip-front .srv-card-title,
.service-flip-card.dark .service-flip-front .srv-card-text {
    color: var(--white);
}

.service-flip-card.dark .service-flip-front .srv-card-link {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.service-flip-card.dark .service-flip-front .srv-card-link:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.service-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gray-bg);
    border: 1px solid var(--black);
    color: var(--black);
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.service-flip-back .srv-card-title,
.service-flip-back .srv-card-text {
    color: var(--black);
}

.service-flip-back .srv-card-link {
    background-color: var(--yellow);
    border-color: var(--black);
    color: var(--black);
    border: 2px solid var(--black);
}

.service-flip-back .srv-card-link:hover {
    background-color: var(--black);
    color: var(--white);
}

.service-flip-back .srv-card-link:hover {
    background-color: var(--white);
    border-color: var(--white);
}

/* =========================================
   Responsive - Checkmark Grid
   ========================================= */
@media (max-width: 991px) {
    .optim-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .optim-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 16px !important;
    }

    .optim-pill {
        font-size: 16px !important;
        padding: 14px 16px !important;
    }

    .optim-board {
        padding: 40px 20px !important;
    }
}

/* =========================================
   Legal Pages (Terms, Privacy, Cookie)
   ========================================= */
.legal-hero-section {
    padding-top: 70px;
    padding-bottom: 100px;
    background-color: transparent;
    background-image: url("../images/service-section.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    bottom: -20px;
    z-index: 2;
}

.legal-hero-content {
    padding: 0 0 40px 0;
    max-width: 100%;
}

.legal-hero-title {
    font-size: 55px;
    font-weight: 600;
    line-height: 1.05;
    color: #555555;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.legal-content-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.legal-content-wrapper {
    background-color: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.legal-effective-date {
    font-size: 15px;
    font-weight: 500;
    color: #888888;
    margin-bottom: 24px;
}

.legal-notice-banner {
    background-color: var(--yellow);
    color: var(--black);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.6;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 28px;
}

.legal-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.legal-text {
    font-size: 16px;
    font-weight: 400;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
    word-spacing: -0.5px;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-divider {
    width: 100%;
    height: 1px;
    background-color: #e8e8e8;
    margin: 32px 0;
}

.legal-bullet-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-bullet-list li {
    font-size: 16px;
    font-weight: 400;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 6px;
    text-align: justify;
    word-spacing: -0.5px;
}

.legal-link-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-link-list li {
    font-size: 16px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 10px;
    word-break: break-all;
}

.legal-link-label {
    font-weight: 600;
    color: var(--black);
    margin-right: 6px;
}

.legal-link {
    color: #d4a017;
    text-decoration: underline;
    transition: var(--transition);
    font-weight: 500;
}

.legal-link:hover {
    color: var(--black);
}

.legal-generated-text {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    font-style: italic;
    margin-bottom: 0;
}

/* =========================================
   Responsive - Legal Pages
   ========================================= */
@media (max-width: 991px) {
    .legal-hero-title {
        font-size: 42px;
    }

    .legal-content-wrapper {
        padding: 40px 30px;
    }

    .legal-section-title {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .legal-hero-section {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .legal-hero-title {
        font-size: 32px;
    }

    .legal-content-section {
        padding: 40px 0 60px;
    }

    .legal-content-wrapper {
        padding: 30px 20px;
    }

    .legal-section-title {
        font-size: 20px;
    }

    .legal-text {
        font-size: 15px;
    }

    .legal-bullet-list li {
        font-size: 15px;
    }

    .legal-divider {
        margin: 24px 0;
    }
}