/**
 * Transfer Blog - Frontend Styles
 * WPBakery to HTML converted content styles
 */

/* Row/Column Grid System */
.vc-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 20px;
}

.vc-row-full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.vc-column {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Column widths */
.vc-col-1 { width: 8.333%; }
.vc-col-2 { width: 16.666%; }
.vc-col-3 { width: 25%; }
.vc-col-4 { width: 33.333%; }
.vc-col-5 { width: 41.666%; }
.vc-col-6 { width: 50%; }
.vc-col-7 { width: 58.333%; }
.vc-col-8 { width: 66.666%; }
.vc-col-9 { width: 75%; }
.vc-col-10 { width: 83.333%; }
.vc-col-11 { width: 91.666%; }
.vc-col-12 { width: 100%; }

/* Responsive */
@media (max-width: 768px) {
    .vc-column {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Separator */
.vc-separator {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

.vc-zigzag {
    border-top-style: dotted;
}

/* Text Separator */
.vc-text-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.vc-text-separator::before,
.vc-text-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
}

.vc-text-separator span {
    padding: 0 15px;
    font-weight: 600;
    color: #333;
}

/* Spacer */
.vc-spacer {
    display: block;
}

/* Button */
.vc-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.vc-btn:hover {
    background: #005177;
    color: #fff;
}

.vc-btn-blue { background: #3498db; }
.vc-btn-green { background: #2ecc71; }
.vc-btn-orange { background: #e67e22; }
.vc-btn-red { background: #e74c3c; }
.vc-btn-black { background: #2c3e50; }

.vc-btn-sm { padding: 8px 16px; font-size: 14px; }
.vc-btn-lg { padding: 16px 32px; font-size: 18px; }

/* Message/Alert */
.vc-message {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.vc-message-info {
    background: #d9edf7;
    border-color: #31708f;
    color: #31708f;
}

.vc-message-success, .vc-message-green {
    background: #dff0d8;
    border-color: #3c763d;
    color: #3c763d;
}

.vc-message-warning, .vc-message-orange {
    background: #fcf8e3;
    border-color: #8a6d3b;
    color: #8a6d3b;
}

.vc-message-danger, .vc-message-red, .vc-message-alert {
    background: #f2dede;
    border-color: #a94442;
    color: #a94442;
}

/* Toggle / Accordion */
.vc-toggle,
.vc-accordion-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 10px;
}

.vc-toggle summary,
.vc-accordion-item summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    background: #f9f9f9;
    list-style: none;
}

.vc-toggle summary::-webkit-details-marker,
.vc-accordion-item summary::-webkit-details-marker {
    display: none;
}

.vc-toggle-content,
.vc-accordion-content {
    padding: 15px;
    border-top: 1px solid #e5e5e5;
}

/* Tabs */
.vc-tabs {
    margin: 20px 0;
}

.vc-tab-section {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.vc-tab-title {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

/* Custom Heading */
.vc-custom-heading {
    margin: 20px 0;
}

/* Image */
.vc-single-image {
    margin: 15px 0;
}

.vc-single-image img {
    max-width: 100%;
    height: auto;
}

.vc-single-image.align-center {
    text-align: center;
}

.vc-single-image.align-right {
    text-align: right;
}

/* Gallery */
.vc-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}

.vc-gallery-item {
    flex: 0 0 calc(33.333% - 10px);
    margin: 5px;
}

.vc-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .vc-gallery-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Video */
.vc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
}

.vc-video-wrapper iframe,
.vc-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CTA */
.vc-cta {
    padding: 30px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    margin: 20px 0;
}

.vc-cta h2 {
    margin: 0 0 10px 0;
}

.vc-cta h4 {
    margin: 0 0 20px 0;
    color: #666;
}

/* Map */
.vc-map {
    margin: 20px 0;
}

.vc-map iframe {
    border: none;
    border-radius: 4px;
}

/* Icon */
.vc-icon {
    font-size: 24px;
    color: #0073aa;
}
