/* ============================================
   TRUST LINE CARGO - CONTACT PAGE STYLES
   Fully Responsive with Proper Breakpoints
   ============================================ */

/* ================== HERO SECTION ================== */
.contact-hero {
    background: linear-gradient(135deg, #0B1C2D 0%, #1a3a52 100%);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 179, 1, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 179, 1, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.breadcrumb i {
    font-size: 0.625rem;
    margin: 0 0.5rem;
}

.breadcrumb span {
    color: var(--yellow);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.contact-hero .label {
    display: inline-block;
    color: var(--yellow);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.contact-hero h1 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ================== CONTACT INFO CARDS ================== */
.contact-info {
    background: var(--white);
    padding: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.info-card:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(245, 179, 1, 0.4);
}

.info-icon i {
    font-size: 1.75rem;
    color: var(--navy-blue);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-link {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 0.25rem;
    word-break: break-word;
}

.info-link:hover {
    color: var(--yellow);
}

/* ================== WHY CONTACT US ================== */
.why-contact-section {
    margin-bottom: 3rem;
}

.why-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-contact-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.why-contact-item:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.why-icon i {
    font-size: 1.75rem;
    color: var(--navy-blue);
}

.why-contact-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.why-contact-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* ================== CONTACT FAQ ================== */
.contact-faq {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-item:hover {
    border-color: var(--yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.faq-item h3 i {
    color: var(--yellow);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ================== CONTACT MAIN SECTION ================== */
.contact-main {
    background: var(--bg-light);
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Section */
.form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

.form-header {
    margin-bottom: 1.75rem;
}

.form-header .label {
    display: inline-block;
    color: var(--yellow);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Form Messages */
.form-message {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.75rem;
    display: none;
    align-items: start;
    gap: 1rem;
}

.form-message.show {
    display: flex;
}

.form-message i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.form-message strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.form-message p {
    font-size: 0.875rem;
    margin: 0;
}

.success-msg {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
    border: 2px solid #10B981;
}

.success-msg i {
    color: #10B981;
}

.error-msg {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #991B1B;
    border: 2px solid #EF4444;
}

.error-msg i {
    color: #EF4444;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    color: var(--navy-blue);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.3);
}

.submit-btn i {
    font-size: 1.125rem;
}

/* Details Section */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.details-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

.details-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: start;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}

.detail-item p {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.detail-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-all;
    overflow-wrap: break-word;
}

.detail-item a:hover {
    color: var(--yellow);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0C85D0 100%);
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ================== MAP SECTION ================== */
.map-section {
    background: var(--white);
    padding: 3rem 0;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header.centered {
    text-align: center;
}

.section-header .label {
    display: inline-block;
    color: var(--yellow);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

.map-footer {
    text-align: center;
    margin-top: 2rem;
}

/* ================== QUICK CONTACT CTA ================== */
.quick-contact {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #1a3a52 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(245, 179, 1, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(245, 179, 1, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.quick-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.quick-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.quick-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================== RESPONSIVE BREAKPOINTS ================== */

/* Small Mobile (360px - 479px) */
@media (max-width: 479px) {
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.8125rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .details-card {
        padding: 1.5rem;
    }
    
    .detail-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobile (480px - 767px) */
@media (min-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .lead {
        font-size: 1rem;
    }
    
    .info-icon {
        width: 75px;
        height: 75px;
    }
    
    .info-icon i {
        font-size: 1.875rem;
    }
    
    .info-card h3 {
        font-size: 1.25rem;
    }
    
    .info-card p {
        font-size: 0.9375rem;
    }
    
    .info-link {
        font-size: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .details-card h3 {
        font-size: 1.25rem;
    }
    
    .detail-item strong {
        font-size: 1rem;
    }
    
    .detail-item p {
        font-size: 0.9375rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .quick-content h2 {
        font-size: 1.75rem;
    }
    
    .quick-content p {
        font-size: 1rem;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }
    
    .contact-hero .label {
        font-size: 0.75rem;
    }
    
    .contact-hero h1 {
        font-size: 2.25rem;
    }
    
    .contact-hero .lead {
        font-size: 1.0625rem;
    }
    
    .breadcrumb {
        font-size: 0.875rem;
    }
    
    .contact-info,
    .contact-main,
    .map-section,
    .quick-contact {
        padding: 4rem 0;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .info-card {
        padding: 2.5rem 2rem;
    }
    
    .info-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .info-icon i {
        font-size: 2rem;
    }
    
    .info-card h3 {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }
    
    .info-card p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .info-link {
        font-size: 1.0625rem;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .faq-item h3 {
        font-size: 1.125rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
    
    .form-section {
        padding: 2.5rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .form-header p {
        font-size: 1.0625rem;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group label {
        font-size: 0.9375rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .submit-btn {
        font-size: 1.0625rem;
        padding: 1.125rem 2.5rem;
    }
    
    .details-card {
        padding: 2rem;
    }
    
    .details-card h3 {
        font-size: 1.375rem;
    }
    
    .detail-item strong {
        font-size: 1.0625rem;
    }
    
    .detail-item p {
        font-size: 1rem;
    }
    
    .section-header .label {
        font-size: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .quick-content h2 {
        font-size: 2rem;
    }
    
    .quick-content p {
        font-size: 1.0625rem;
    }
}

/* Desktop (1024px - 1199px) */
@media (min-width: 1024px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .info-icon {
        width: 85px;
        height: 85px;
    }
    
    .info-icon i {
        font-size: 2.125rem;
    }
    
    .info-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-main,
    .map-section,
    .quick-contact {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .quick-content h2 {
        font-size: 2.25rem;
    }
    
    .quick-content p {
        font-size: 1.125rem;
    }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .contact-hero {
        padding: 8rem 0 4rem;
    }
}