/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1649b2;
    --secondary-yellow: #ffde44;
    --dark-blue: #003D99;
    --light-blue: #E6F0FF;
    --text-purple: #5a566a;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --border-color: #e2e8f3;
    --grandient-skyblue: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(8 194 238 / 80%) 50%, rgb(0 206 255) 100%);
    --grandient-blue: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(21, 68, 176, 1) 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white !important;
    overflow-x: hidden;
}
h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}
h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent CLS for animated elements */
.stat-item, .category-item, .expansion-card, .service-card, .market-item, .cta-content, .faq-item {
    min-height: 1px;
    content-visibility: auto;
}

.hero-content {
    min-height: 400px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}
strong {
    font-weight: 700;
}
/* ===================================
   Container & Layout
   =================================== */
.container {
    width: 100%;
    max-width: 1212px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-small {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    font-weight: 700;
    padding: 16px 40px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}
.wpcf7-spinner {
    position: absolute!important;
    bottom: 0!important;
}
/* ===================================
   Navbar
   =================================== */
.navbar {
    width: 100%;
    background-color: #0052cc00;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none !important;
    background: #1544b0;
}
.navbar-logo:after {
    content: "dla e-commerce";
    text-transform: uppercase;
    color: white;
    font-size: 0.6em;
    letter-spacing: 0.35em;
    white-space: nowrap;
    display: flex;
    height: 20px;
    transition: var(--transition);
    margin-top: 10px;
}
.navbar.scroll .navbar-logo:after {
    opacity: 0;
    height: 0;
    margin-top: 0;
}
.navbar-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.navbar-logo .logo {
    height: 50px;
    width: 150px;
    aspect-ratio: 3 / 1;
    object-fit: contain;
    object-position: left;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: 15px;
    margin-top: 5px;
}

.navbar-cta-mobile {
    display: inline-block;
    padding: 8px 25px;
    font-size: 0.875rem;
}

.navbar-cta-desktop {
    display: none;
}

.navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}
.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--primary-blue);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.navbar-menu.active {
    right: 0;
}

.navbar-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin-bottom: 30px;
}

.navbar-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-menu-list li a {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 16px 0;
}

.navbar-menu-list li a:hover {
    opacity: 0.8;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: var(--grandient-skyblue);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.hero:before {
    content: "";
    background: var(--grandient-blue);
    position: absolute;
    left: 0;
    right: 0;
    top: 0%;
    height: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background: url(https://www.olzalogistic.com/wp-content/themes/olzalogistic/rozwin-ecommerce/images/growth.svg);
    opacity: 0.3;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    left: 0;
    right: 0;
    height: 45%;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hero-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 32px;
    opacity: 0.95;
    padding: 0 20px;
}

.hero-form form{
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}
.hero-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.form-input {
    width: 100%;
    padding: 22px 20px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
}
input.form-input::placeholder {
    font-size: 1em;
    color: #00000061;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
}
.form-input::placeholder {
    color: #00000070;
    font-size: 15px;
    font-weight: 300;
}
.form-input:focus {
    outline: 2px solid var(--secondary-yellow);
}

/* Form Popup */
.form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-popup.show {
    display: flex;
    opacity: 1;
}

.form-popup-content {
    background-color: white;
    padding: 20px 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.form-popup-close:hover {
    color: #333;
}

.form-popup-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    padding: 10px 0;
}
span.wpcf7-not-valid-tip {
    display: none!important;
}
.form-popup-success .form-popup-content {
    border-top: 4px solid var(--secondary-yellow);
}

.form-popup-success .form-popup-message {
    color: black;
}

.form-popup-error .form-popup-content {
    border-top: 4px solid #dc3545;
}

.form-popup-error .form-popup-message {
    color: #721c24;
}

/* CTA Modal */
.cta-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.cta-modal.show {
    background-color: rgba(0, 0, 0, 0.3);
}

.cta-modal-content {
    position: relative;
    text-align: center;
    margin: 40px auto;
    background: radial-gradient(circle, rgba(45, 115, 197, 1) 0%, rgba(21, 72, 178, 1) 100%);
    border-radius: 10px;
    padding: 40px 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-modal.show .cta-modal-content {
    opacity: 1;
    transform: translateY(0);
}

.cta-modal-content h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.cta-modal-content p {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1;
}

.cta-modal-close:hover {
    color: var(--secondary-yellow);
}

.cta-modal .hero-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-modal .cta-checklist-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-yellow);
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1.3;
}

.cta-modal-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    display: none;
}

.cta-modal-message.show {
    display: block;
}

.cta-modal-message.success {
    background-color: rgba(255, 222, 68, 0.2);
    color: var(--secondary-yellow);
    border: 1px solid var(--secondary-yellow);
}

.cta-modal-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.cta-modal .wpcf7-response-output {
    display: none !important;
}

/* Hero Tabs */
.hero .container-small {
    padding: 0;
}
.hero-tabs-wrapper {
    margin-top: 50px;
    position: relative;
    z-index: 2;
    border-radius: 16px 16px 0 0;
}

.hero-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 20px;
    margin-right: 20px;
    scrollbar-width: none;
}
.hero-tabs::-webkit-scrollbar {
    display: none;
}
.hero-tab {
    flex: 0 0 auto;
    padding: 15px 15px;
    font-size: 1em;
    font-weight: 500;
    color: #ffffffcc;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    min-width: 80px;
}

.hero-tab:hover {
    color: #00000080;
    background-color: rgba(0, 82, 204, 0.05);
}

.hero-tab.active {
    color: black;
    background-color: rgb(255 255 255);
}
.hero-tab-content {
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    background: white;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-description {
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-purple);
    margin-bottom: 40px;
    text-align: left;
    margin-top: 20px;
    font-weight: 300;
}
.tab-description strong {
    color: var(--text-dark);
    font-weight: 700;
}

.tab-categories {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 25px;
    margin-right: -20px;
    scrollbar-width: thin;   /* dla Firefox */
    scrollbar-color: var(--text-purple) #E0E0E0; /* suwak + tło */
}
.tab-categories .tab-category:last-child {
    margin-right: 20px;
}
/* Chrome, Edge, Safari */
.tab-categories::-webkit-scrollbar {
  height: 10px; /* wysokość paska poziomego */
}

.tab-categories::-webkit-scrollbar-track {
  background: #E0E0E0; /* kolor tła paska */
  border-radius: 10px;
}

.tab-categories::-webkit-scrollbar-thumb {
  background-color: var(--text-purple); /* kolor suwaka */
  border-radius: 10px;
  border: 2px solid #E0E0E0; /* żeby był lekko odseparowany */
}

.tab-categories::-webkit-scrollbar-thumb:hover {
  background-color: #8e44ad; /* ciemniejszy odcień po najechaniu */
}

.tab-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 180px;
    flex-shrink: 0;
}

.tab-category:hover {
    transform: translateY(-4px);
}

.tab-category img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 16px;
}

.tab-category span {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-dark);
}
/* ===================================
   Expansion Section
   =================================== */
.expansion {
    padding: 60px 0 60px;
}

.section-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-purple);
    text-align: center;
    margin-bottom: 50px;
}

.expansion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
}

.expansion-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f3;
}
.expansion-card li {
    list-style: none;
    font-size: 1em;
    color: var(--text-purple);
    font-weight: 300;
    padding-left: 1em;
    text-indent: -1em;
}
.expansion-card li::before {
    content: "- ";
    margin-right: 0.5em;
}
.expansion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.expansion-number {
    font-size: 130px;
    font-weight: 700;
    color: #f1f3f9;
    position: absolute;
    z-index: -99;
    bottom: 0;
    line-height: 88px;
}
.expansion-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-purple);
    margin-bottom: 12px;
}

.expansion-card p {
    font-size: 0.938rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.expansion-cta {
    text-align: center;
}

/* ===================================
   Markets Section
   =================================== */
.markets {
    padding: 60px 0;
    background-color: #f1f3f9;
}

.markets-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.markets-map {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.markets-map img {
    width: 100%;
    height: auto;
}

.markets-arrow-mobile {
    display: flex;
    justify-content: center;
    margin: 0;
}

.markets-arrow-mobile img {
    width: 80px;
    height: 80px;
    rotate: 90deg;
}

.markets-arrow-desktop {
    display: none;
}

.markets-arrow-desktop img {
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

.markets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.market-item {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition) !important;
    background: #f8f9fc;
}
.market-item.active .market-header {
    background: #fff;
}
.market-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.market-item.expandable.active {
    padding-bottom: 20px;
    background: white;
}
.market-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.market-item:hover {
    background-color: #fff;
}

.market-flag {
    width: 70px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.market-header h3 {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-purple);
}

.market-arrow {
    width: 30px;
    height: 30px;
    transition: var(--transition);
    flex-shrink: 0;
    opacity: 0.5;
}
.market-item.active .market-arrow {
    opacity: 0.9;
}
.market-item.active .market-arrow {
    transform: rotate(180deg);
}

.market-details {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    padding: 0 20px 0 20px;
}

.market-item.active .market-details {
    opacity: 1;
}

.market-details p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-purple);
    margin-bottom: 12px;
    font-weight: 300;
}

.market-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.3s ease;
}
.market-link span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    background-image: url(https://www.olzalogistic.com/wp-content/themes/olzalogistic/rozwin-ecommerce/images/arrow-down.svg);
    rotate: -90deg;
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(2744%) hue-rotate(219deg) brightness(98%) contrast(88%);
    background-size: contain;
}
.market-link:hover span {
    margin-left: 8px;
}

.market-link span {
    font-size: 1.25rem;
    transition: var(--transition);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition) !important;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f3;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #F5F5F5;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 24px;
    text-align: center;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-purple);
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-purple);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 0 0 60px 0;
    background-color: transparent;
}
.cta-content {
    text-align: center;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(45, 115, 197, 1) 0%, rgba(21, 72, 178, 1) 100%);
    border-radius: 10px;
    padding: 20px;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-checklist-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-yellow);
    text-decoration: underline;
    transition: opacity 0.3s ease;
    text-decoration: none;
    line-height: 1.3;
    cursor: default;
}


/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 0 0 60px 0;
    background-color: var(--white);
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-list .faq-item:first-child {
    border-top: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    text-align: left;
    font-size: 1em;
    font-weight: 300;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.5;
}
.faq-question span {
    padding-right: 10px;
}
.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    flex-shrink: 0;
    margin-right: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-purple);
    font-weight: 400;
    padding-bottom: 20px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 48px 0 30px;
    background-color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    grid-column: 1;
    grid-row: 1;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-phone-wrapper {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-phone-wrapper .flex-group {
    display: flex;
    flex-direction: column;
}
.footer-phone-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}
.footer-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    transition: color 0.3s ease;
    line-height: 30px;
}

.footer-phone:hover {
    color: var(--dark-blue);
}

.footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    padding-left: 20px;
}
.footer-nav a span {
    color: #5a566a30;
    margin-right: 10px;
}
.footer-nav a {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-purple);
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--primary-blue);
    padding-left: 20px;
}

.footer-bottom {
    text-align: left;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: var(--text-purple);
    line-height: 1.6;
}


/* ===================================
   Smartphone Breakpoint (480px+)
   =================================== */
@media (min-width: 480px) {
.footer-phone {
    font-size: 30px;
    line-height: 30px;
}
.footer-logo img {
    height: 70px;
}
.cta-content {
    padding: 30px;
}
.faq-question {
    font-size: 1.1em;
}
.services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.market-header h3 {
    font-size: 1.2rem;
}
.market-details {
    padding: 0 30px 0 110px;
}
.market-item.active .market-header {
    padding-bottom: 0 !important;
}
.expansion-card li {
    font-size: 1.1em;
}
}

/* ===================================
   Tablet Breakpoint (768px+)
   =================================== */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-text p{
        font-size: 1.125rem;
    }

    .expansion-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .markets-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    h2{
        font-size: 2.25rem;
    }

    .section-text {
        font-size: 1.125rem;
        padding: 0 10em;
    }
    .navbar-container {
        align-items: center;
    }
    .navbar-actions {
        margin-top: 0;
    }
}

/* ===================================
   Desktop Breakpoint (1024px+)
   =================================== */
@media (min-width: 1024px) {
    .navbar-container {
        margin: 0 auto;
        align-items: center;
        gap: 40px;
    }

    .navbar-logo {
        grid-column: 1;
        width: 20%;
    }
    .navbar-cta {
        width: 20%;
    }
    .navbar-actions {
        display: none;
    }
    .navbar-menu {
        position: static;
        width: 100%;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: 0;
        flex-direction: row;
        max-width: unset;
        overflow-y: unset;
        justify-content: center;
    }

    .navbar-menu-list {
        flex-direction: row;
        gap: 40px;
        margin-bottom: 0;
        justify-content: center;
        display: inline-flex;
        align-items: center;
    }

    .navbar-menu-list li {
        border-bottom: none;
    }

    .navbar-menu-list li a {
        padding: 0;
        font-size: 1.2rem;
    }

    .navbar-cta-mobile {
        display: none;
    }

    .navbar-cta-desktop {
        display: inline-block;
        grid-column: 3;
        padding: 10px 30px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-content .hero-form form {
        max-width: 500px;
        margin: 0 auto;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-text p{
        font-size: 1.25rem;
    }

    .hero-form form {
        flex-direction: row;
        max-width: none;
        margin: 0;
    }

    .hero-form .form-input {
        flex: 1;
    }

    .hero-form .btn {
        flex-shrink: 0;
    }
    .tab-categories {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
        overflow: visible;
        padding-bottom: 0;
        margin-bottom: 0;
        margin-right: 0;
    }

    .tab-categories::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .tab-category {
        min-width: auto;
    }

    .tab-category img {
        max-width: 100%;
    }

    .expansion {
        padding: 60px 0 80px 0;
    }

    .markets {
        padding: 80px 0;
    }

    .markets-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
        position: relative;
    }

    .markets-arrow-mobile {
        display: none;
    }

    .markets-arrow-desktop {
        display: block;
        position: absolute;
        left: 400px;
        transition: top 0.5s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 10;
        rotate: 90deg;
    }

    .markets-list {
        flex: 1;
        position: relative;
    }

    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-section {
        padding: 0 0 60px 0;
    }

    .cta-form {
        flex-direction: row;
        max-width: 500px;
    }
    .cta-content {
        padding: 60px 30px;
    }
    .cta-content p {
        font-size: 1.4rem;
    }
    .cta-checklist-link {
    font-size: 1.2em;
}
    .cta-form .form-input {
        flex: 1;
    }

    .cta-form .btn {
        flex-shrink: 0;
    }

    .faq {
        padding-bottom: 80px;
        padding-top: 0;
    }

    .footer-top {
        display: grid;
        grid-template-columns: auto auto 1fr;
        grid-template-rows: 1fr;
        align-items: center;
        gap: 60px;
        width: 100%;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .footer-nav {
        grid-column: 3;
        grid-row: 1;
        flex-direction: row;
        gap: 40px;
        justify-content: flex-end;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        padding-left: 0;
    }
    .footer-nav a span {
        display: none;
    }
    .markets-map img {
        width: 100%;
        height: auto;
        padding-right: 20px;
    }
    .market-header h3 {
        font-size: 1.4rem;
    }
    .market-details p {
        font-size: 1.1rem;
    }
    .section-text p {
    font-size: 1.2rem;
    }
    .hero-tab-content {
        padding: 30px 40px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        background: white;
        border-radius: 10px;
    }
    .hero-tab {
    padding: 20px 25px;
    font-size: 1.2em;
    }
    .hero-tabs {
        margin-left: 30px;
        margin-right: 30px;
    }
    .tab-categories .tab-category:last-child {
        margin-right: 0;
    }
    .tab-description {
    font-size: 1.2em;
    }
    .hero:before {
    height: 40%;
    }
    
}

/* ===================================
   Large Desktop (1280px+)
   =================================== */
@media (min-width: 1280px) {
h1 {
        font-size: 3.8em;
        line-height: 1.1;
    }

    .footer-phone-wrapper {
        grid-column: 2;
        grid-row: 1;
        margin-left: 5em;
    }

    .footer-nav a::before {
        display: none;
    }

    .footer-nav a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        border-top: none;
        padding-top: 0;
    }
    h2 {
        font-size: 2.8rem;
    }
    .hero::after {
        top: 20%;
        bottom: 0;
        opacity: 0.3;
        background-position: 90% 50%;
        left: 0;
        right: 0;
        background-size: 35%;
        height: 45%;
    }
    .navbar-logo .logo {
        height: 80px;
    }
    .navbar {
        padding: 16px 30px;
    }
    .navbar-logo:after {
        letter-spacing: 0.55em;
    }
    .navbar-logo:after {
        margin-top: 20px;
    }
}
