/* ==========================================================================
   CONTACT PAGE — contact.css (Redesigned)
   ========================================================================== */

/* ===== HERO ===== */
.ct-hero {
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../img/industrial-foundry.webp') center center / cover no-repeat;
    padding-top: 90px;
    overflow: hidden;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 48, 135, 0.55);
    z-index: 1;
}

.ct-hero .container { position: relative; z-index: 2; }

.ct-hero-inner {
    max-width: 100%;
    width: 100%;
    padding: 55px 0 50px;
}

.ct-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-top: 24px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 18px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    animation: heroFadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.45s both;
}

.ct-breadcrumb a { color: rgba(255,255,255,0.80); }
.ct-breadcrumb a:hover { color: #ffffff; }
.ct-breadcrumb span { color: #ffffff; font-weight: 700; }
.ct-breadcrumb i.fa-chevron-right { font-size: 0.55rem; color: rgba(255,255,255,0.4); }

.ct-hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.ct-hero-title span { color: rgba(255,255,255,0.65); }

.ct-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    max-width: 100%;
    margin-bottom: 32px;
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Hero Stats Bar */
.ct-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    width: fit-content;
    animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}

.ct-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
}

.ct-hero-stat:first-child { padding-left: 0; }
.ct-hero-stat:last-child { padding-right: 0; }

.ct-hero-stat > i {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.ct-hero-stat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.ct-hero-stat span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.ct-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ===== MAIN SECTION ===== */
.ct-section {
    padding: 80px 0 90px;
    background: #f8fafc;
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 40px;
    align-items: flex-start;
}

/* ===== CONTACT CARDS ===== */
.ct-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
}

.ct-card:hover {
    border-color: var(--corporate-blue);
    box-shadow: 0 8px 32px rgba(0,48,135,0.1);
    transform: translateY(-2px);
}

.ct-card-accent {
    width: 4px;
    background: var(--corporate-blue);
    flex-shrink: 0;
    border-radius: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.ct-card:hover .ct-card-accent { opacity: 1; }

.ct-card-inner { flex: 1; }

.ct-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px 14px;
}

.ct-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,48,135,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--corporate-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.ct-card-header h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.ct-card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ct-card-body {
    padding: 0 22px 20px;
}

.ct-company-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--corporate-blue);
    margin-bottom: 12px;
}

.ct-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.65;
}

.ct-info-row i {
    color: var(--corporate-blue);
    font-size: 0.82rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.ct-info-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-info-links a {
    color: #475569;
    font-weight: 600;
    transition: color 0.2s;
}

.ct-info-links a:hover { color: var(--corporate-blue); }

/* Email list — interactive rows */
.ct-email-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ct-email-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ct-email-item:hover {
    background: rgba(0,48,135,0.05);
    border-color: rgba(0,48,135,0.15);
}

.ct-email-icon {
    width: 32px;
    height: 32px;
    background: rgba(0,48,135,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--corporate-blue);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ct-email-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ct-email-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
}

.ct-email-addr {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--corporate-blue);
}

.ct-email-arrow {
    font-size: 0.65rem;
    color: #cbd5e1;
    transition: color 0.2s, transform 0.2s;
}

.ct-email-item:hover .ct-email-arrow {
    color: var(--corporate-blue);
    transform: translate(2px, -2px);
}

/* Mfg units */
.ct-mfg-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-mfg-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: border-color 0.2s;
}

.ct-mfg-item:hover { border-color: rgba(0,48,135,0.2); }

.ct-mfg-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--corporate-blue);
    color: #ffffff;
    padding: 8px 10px;
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 52px;
    text-align: center;
}

.ct-mfg-badge i { font-size: 0.9rem; }

.ct-mfg-badge span {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ct-mfg-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.ct-mfg-info p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

/* ===== FORM ===== */
.ct-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.ct-form-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.ct-form-header-icon {
    width: 44px;
    height: 44px;
    background: var(--corporate-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

.ct-form-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.ct-form-header p {
    font-size: 0.84rem;
    color: #64748b;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.ct-form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.ct-required { color: #ef4444; }

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
    padding: 11px 14px;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
    outline: none;
    border-color: var(--corporate-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,48,135,0.08);
}

.ct-form-group textarea { resize: none; }

.ct-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 14px;
    font-size: 0.9rem;
}

.ct-form-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== MAP ===== */
.ct-map-section { position: relative; }

.ct-map-wrap {
    position: relative;
    line-height: 0;
    border-top: 1px solid #e2e8f0;
}

.ct-map-wrap iframe {
    display: block;
    width: 100%;
    filter: grayscale(15%) contrast(1.05);
}

.ct-map-overlay-card {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 340px;
    max-width: 440px;
    z-index: 10;
}

.ct-map-card-icon {
    width: 40px;
    height: 40px;
    background: var(--corporate-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

.ct-map-overlay-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.ct-map-overlay-card p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ct-map-directions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--corporate-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: gap 0.2s;
}

.ct-map-directions:hover { gap: 8px; }

/* ===== BLUE CTA ===== */
.ct-cta-section {
    background: var(--corporate-blue);
    padding: 60px 0;
}

.ct-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ct-cta-text h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ct-cta-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
}

.ct-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.ct-cta-btn-ghost {
    border: 2px solid rgba(255,255,255,0.4);
    color: #ffffff;
    background: transparent;
    transition: all 0.2s;
}

.ct-cta-btn-ghost:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.ct-cta-btn-white {
    background: #ffffff;
    color: var(--corporate-blue);
    font-weight: 800;
    transition: all 0.2s;
}

.ct-cta-btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ct-grid { grid-template-columns: 1fr; }
    .ct-map-overlay-card { position: static; transform: none; margin: 0; border-radius: 0; border: none; border-top: 1px solid #e2e8f0; min-width: unset; max-width: 100%; box-shadow: none; }
    .ct-map-wrap { display: flex; flex-direction: column-reverse; }
    .ct-cta-inner { flex-direction: column; text-align: left; gap: 20px; }
    .ct-cta-text p { max-width: 100%; }
    .ct-cta-actions { width: 100%; flex-direction: column; }
    .ct-cta-btn-ghost, .ct-cta-btn-white { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    .ct-hero { padding-top: 68px; min-height: 260px; }
    .ct-hero-title { font-size: 2rem; }
    .ct-hero-inner { padding: 36px 0 28px; }
    .ct-hero-sub { font-size: 0.88rem; }
    .ct-section { padding: 36px 0 44px; }
    .ct-form-card { padding: 20px 16px; }
    .ct-form-row { grid-template-columns: 1fr; gap: 0; }
    .ct-map-wrap iframe { height: 260px; }
    .ct-hero-stats { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; width: 100%; }
    .ct-hero-stat { padding: 0; }
    .ct-hero-stat-divider { width: 100%; height: 1px; }
    .ct-cta-section { padding: 36px 0; }
    .ct-cta-text h3 { font-size: 1.2rem; }
    .ct-email-addr { font-size: 0.78rem; word-break: break-all; }
    .ct-card-header { padding: 14px 16px 10px; }
    .ct-card-body { padding: 0 16px 16px; }
}

@media (max-width: 480px) {
    .ct-hero-title { font-size: 1.65rem; }
    .ct-hero-sub { font-size: 0.82rem; }
    .ct-email-item { padding: 10px 8px; gap: 8px; }
    .ct-email-addr { font-size: 0.72rem; }
    .ct-mfg-item { flex-direction: column; gap: 8px; }
    .ct-form-card { padding: 16px 14px; }
}
