/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    line-height: 1.2;
    min-height: 48px; /* Ensure minimum touch target height for mobile */
    box-sizing: border-box;
}

.btn:focus-visible {
    outline: 2px solid var(--td-yellow);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--td-yellow);
    color: var(--td-black);
}

.btn-primary:hover {
    background-color: var(--td-yellow-dark);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--td-white);
    border: 2px solid var(--td-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--td-white);
}

.btn-dark {
    background-color: var(--td-black);
    color: var(--td-white);
}

.btn-dark:hover {
    background-color: var(--td-grey);
}

.btn-disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cards */
.card {
    background-color: var(--td-white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-offering {
    border-top: 4px solid var(--td-purple-line);
}

.card-offering h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.card-offering h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 4px;
    background-color: var(--td-purple-line);
}

.card-industry {
    border: 1px solid var(--td-grey-light);
}

.card-industry .icon-circle {
    margin-bottom: 1rem;
}

.card-step {
    border-left: 4px solid var(--td-blue);
    padding-left: 1.5rem;
}

/* Section headings */
.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading .yellow-bar {
    flex-shrink: 0;
    width: 4px;
    height: 24px;
    background-color: var(--td-yellow);
}

.section-heading .text {
    flex-grow: 1;
}

.section-heading .title {
    font-size: 1.75rem;
    color: var(--td-black);
    margin: 0;
}

.section-heading .subtitle {
    font-size: 1rem;
    color: var(--td-grey);
    margin: 0.25rem 0 0;
}

/* Badges and icon circles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--td-yellow);
    color: var(--td-black);
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 12px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--td-yellow);
    color: var(--td-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--td-black);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem; /* Increased horizontal padding for better touch */
    border: 1px solid var(--td-grey-light);
    border-radius: 4px;
    background-color: var(--td-white);
    color: var(--td-black);
    font-family: inherit;
    font-size: 1rem;
    min-height: 48px; /* Ensure minimum touch target height for mobile */
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--td-navy);
    box-shadow: 0 0 0 2px rgba(46, 155, 208, 0.25);
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-success {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-submit {
    margin-top: 2rem;
}

/* Animation utilities */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.2s ease;
}

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

/* Shared Banner Styles */
.banner {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: clamp(56px, 8vw, 96px) 0;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px; /* container padding */
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    opacity: 0.7;
}

.banner h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.banner .accent {
    color: var(--td-yellow);
}

.banner-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Dark card style for Industries and Engagement Models sections */
.card-dark {
    background:linear-gradient(160deg,var(--td-navy,#14438A) 0%,var(--td-navy-deep,#0B2A5B) 100%);
    color:#fff;
    border-radius:12px;
    border:0;
    border-top:3px solid var(--td-yellow,#FFC000);
    box-shadow:0 8px 24px rgba(11,42,91,.25);
    padding:32px 20px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    transition:transform .2s ease, box-shadow .2s ease;
}
.card-dark:hover {
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(11,42,91,.35);
}
.card-dark .cd-icon {
    width:64px;
    height:64px;
    flex:none;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    position:static;
    margin:0;
}
.card-dark .cd-icon svg {
    width:30px;
    height:30px;
    display:block;
    stroke:currentColor;
    fill:none;
}
.card-dark .cd-title {
    margin:0;
    color:var(--td-yellow,#FFC000);
    font-size:1.1rem;
    font-weight:700;
    line-height:1.35;
}
.card-dark .cd-text {
    margin:0;
    color:rgba(255,255,255,.88);
    font-size:1rem;
    line-height:1.7;
}
@media (prefers-reduced-motion: reduce) {
    .card-dark, .card-dark:hover {
        transition:none;
        transform:none;
    }
}

/* =========================================
   DELIVERY CENTERS (Shared)
   ========================================= */
.delivery-centers {
    background-color: var(--td-ice, #E8F6FA);
    padding: 4rem 0;
    text-align: center;
}

.delivery-centers__heading {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: var(--td-black, #1A1A1A);
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.delivery-centers__heading::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--td-yellow, #FFC000);
    margin: 0 auto 16px;
}

.delivery-centers__heading strong {
    font-weight: 700;
}

.delivery-centers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.delivery-center-card {
    width: 100%;
    max-width: 100%;
    padding: 32px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(11, 42, 91, .08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    border-top: 3px solid var(--td-yellow, #FFC000);
    box-sizing: border-box;
}

.delivery-center-card:nth-child(2) {
    border-top-color: var(--td-teal, #2FB3C9);
}

.delivery-center-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--td-navy, #14438A);
    color: var(--td-yellow, #FFC000);
    margin-bottom: 16px;
}

.delivery-center-card__icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.delivery-center-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--td-black, #1A1A1A);
    margin: 0 0 8px 0;
}

.delivery-center-card__location {
    font-size: 1rem;
    font-weight: 600;
    color: var(--td-navy, #14438A);
    margin: 0 0 12px 0;
}

.delivery-center-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--td-black, #1A1A1A);
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .delivery-centers__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    .delivery-center-card {
        text-align: center;
        align-items: center;
        padding: 24px 20px;
    }
}