/* Mintextravel Service Cards Styles */

/* Cards Grid Wrapper */
.mintex-cards-wrapper {
    width: 100%;
}

.mintex-cards-grid {
    display: grid;
    width: 100%;
    gap: 20px;
}

/* Grid Columns */
.mintex-cards-grid.mintex-cols-1 { grid-template-columns: repeat(1, 1fr); }
.mintex-cards-grid.mintex-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mintex-cards-grid.mintex-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mintex-cards-grid.mintex-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Card */
.mintex-service-card {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mintex-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Header */
.mintex-card-header {
    position: relative;
    background: linear-gradient(135deg, #5b4fd4, #7c3aed);
    padding: 30px 25px 50px;
    color: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
}

.mintex-wave-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.mintex-wave-shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mintex-wave-shape path {
    fill: #ffffff;
}

.mintex-header-content {
    position: relative;
    z-index: 2;
}

.mintex-card-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #ffffff;
}

.mintex-card-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    color: #ffffff;
}

/* Card Body - Background Image Area */
.mintex-card-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Card Content - Sits on top of background */
.mintex-card-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgb(255 255 255 / 39%) 60%, rgba(255, 255, 255, 0.85) 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Features List */
.mintex-features-list {
    list-style: none;
    margin: 0 0 auto 0;
    padding: 0;
    flex: 1;
}

.mintex-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 5px;
}

.mintex-feature-item:last-child {
    margin-bottom: 0;
}

.mintex-feature-item i,
.mintex-feature-item svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    color: #5b4fd4;
}

.mintex-feature-item span {
    flex: 1;
}

/* Card Footer */
.mintex-card-footer {
    margin-top: 20px;
    padding-top: 10px;
}

.mintex-service-button {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: #ff8c00;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.mintex-service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    color: #ffffff;
    text-decoration: none;
    filter: brightness(1.1);
}

.mintex-service-button:active {
    transform: translateY(0);
}

/* Decorative Icon */
.mintex-decorative-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.mintex-decorative-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mintex-cards-grid.mintex-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .mintex-cards-grid.mintex-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .mintex-cards-grid.mintex-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mintex-cards-grid.mintex-cols-mobile-1 { grid-template-columns: repeat(1, 1fr); }
    .mintex-cards-grid.mintex-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
    
    .mintex-card-title {
        font-size: 24px;
    }

    .mintex-card-subtitle {
        font-size: 14px;
    }

    .mintex-feature-item {
        font-size: 14px;
    }

    .mintex-service-button {
        font-size: 16px;
        padding: 12px 25px;
    }

    .mintex-card-header {
        padding: 25px 20px 45px;
    }

    .mintex-card-content {
        padding: 20px;
    }

    .mintex-decorative-icon {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mintex-service-card {
    animation: fadeInUp 0.6s ease;
}

/* Equal Height Cards */
.mintex-cards-grid {
    align-items: stretch;
}

.mintex-service-card {
    height: 100%;
}

/* Additional Styling for Better Visual */
.mintex-feature-item i.fa-check-circle,
.mintex-feature-item svg.fa-check-circle {
    color: #10b981;
}

/* Ensure proper stacking */
.mintex-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: 0;
}


/* ============================================ */
/* TOP DEALS WIDGET STYLES */
/* ============================================ */

.mintex-top-deals-section {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.mintex-top-deals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.mintex-top-deals-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Section */
.mintex-top-deals-header {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.mintex-header-icons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
}

.mintex-plane-left,
.mintex-plane-right {
    font-size: 50px;
    color: #fbbf24;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.mintex-plane-left {
    transform: rotate(-20deg);
}

.mintex-plane-right {
    transform: rotate(20deg);
}

.mintex-deals-main-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    font-family: 'Comic Sans MS', 'Brush Script MT', cursive;
    line-height: 1.1;
}

.mintex-deals-subtitle {
    font-size: 22px;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Deals Grid */
.mintex-top-deals-grid {
    display: grid;
    width: 100%;
    gap: 20px;
    position: relative;
}

.mintex-top-deals-grid.mintex-cols-1 { grid-template-columns: repeat(1, 1fr); }
.mintex-top-deals-grid.mintex-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mintex-top-deals-grid.mintex-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mintex-top-deals-grid.mintex-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Deal Card */
.mintex-deal-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: #ffffff;
    border: 8px solid #ffffff;
}

.mintex-deal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.mintex-deal-link {
    display: block;
    text-decoration: none;
    position: relative;
}

/* Deal Image */
.mintex-deal-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.mintex-deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mintex-deal-card:hover .mintex-deal-image img {
    transform: scale(1.15);
}

/* Deal Title */
.mintex-deal-title {
    background: #1e3a8a;
    padding: 18px 20px;
    text-align: center;
}

.mintex-deal-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* View All Button */
.mintex-view-all-button-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.mintex-view-all-button {
    display: inline-block;
    padding: 16px 50px;
    background: #ff6600;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    text-transform: capitalize;
}

.mintex-view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
    color: #ffffff;
    text-decoration: none;
    filter: brightness(1.1);
}

.mintex-view-all-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mintex-top-deals-grid.mintex-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .mintex-top-deals-grid.mintex-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .mintex-top-deals-grid.mintex-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
    
    .mintex-deals-main-title {
        font-size: 42px;
    }
    
    .mintex-deals-subtitle {
        font-size: 18px;
    }
    
    .mintex-plane-left,
    .mintex-plane-right {
        font-size: 40px;
    }
    
    .mintex-header-icons {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .mintex-top-deals-grid.mintex-cols-mobile-1 { grid-template-columns: repeat(1, 1fr); }
    .mintex-top-deals-grid.mintex-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
    
    .mintex-top-deals-section {
        padding: 40px 0;
    }
    
    .mintex-top-deals-wrapper {
        padding: 0 15px;
    }
    
    .mintex-deals-main-title {
        font-size: 32px;
    }
    
    .mintex-deals-subtitle {
        font-size: 16px;
    }
    
    .mintex-header-icons {
        padding: 0 20px;
    }
    
    .mintex-plane-left,
    .mintex-plane-right {
        font-size: 30px;
    }
    
    .mintex-deal-title h3 {
        font-size: 18px;
    }
    
    .mintex-deal-image {
        height: 180px;
    }
    
    .mintex-view-all-button {
        font-size: 18px;
        padding: 14px 40px;
    }
    
    .mintex-deal-card {
        border-width: 6px;
    }
}

/* Animation for Deal Cards */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mintex-deal-card {
    animation: fadeInScale 0.5s ease;
}

.mintex-deal-card:nth-child(1) { animation-delay: 0.1s; }
.mintex-deal-card:nth-child(2) { animation-delay: 0.2s; }
.mintex-deal-card:nth-child(3) { animation-delay: 0.3s; }
.mintex-deal-card:nth-child(4) { animation-delay: 0.4s; }


/* ============================================ */
/* INSURANCE TAB WIDGET STYLES */
/* ============================================ */

.mintex-insurance-tabs-wrapper {
    font-family: 'Arial', sans-serif;
    max-width: 1350px;
    margin: 0 auto;
    overflow: hidden;
}

.mintex-tabs-header {
    display: flex;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.mintex-tab-title {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mintex-tab-title.active {
    background: #fff;
    color: #2189c7;
}

.mintex-tab-content {
    display: none;
}

.mintex-tab-content.active {
    display: block;
}

.mintex-tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.mintex-left-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.mintex-right-side {
    display: flex;
    flex-direction: column;
}

.mintex-left-heading {
    font-size: 42px;
    line-height: 1.1;
    color: #0a2144;
    margin-bottom: 30px;
    font-weight: 800;
}

.mintex-left-features h3 {
    font-size: 24px;
    color: #0a2144;
    margin-bottom: 5px;
    font-weight: 700;
}

.mintex-left-features p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.mintex-quote-btn {
    display: inline-block;
    padding: 15px 35px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: auto;
    align-self: flex-start;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mintex-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mintex-top-banner {
    padding: 12px 20px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.mintex-right-inner {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mintex-right-heading {
    font-size: 22px;
    color: #0a2144;
    margin-bottom: 15px;
    font-weight: 700;
}

.mintex-right-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 30px;
}

.mintex-right-image {
    margin-top: auto;
    text-align: center;
}

.mintex-right-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mintex-tab-inner {
        grid-template-columns: 1fr;
    }
    
    .mintex-tabs-header {
        flex-wrap: wrap;
    }
    
    .mintex-tab-title {
        flex: 1 1 50%;
        text-align: center;
    }
    
    .mintex-left-heading {
        font-size: 32px;
    }
}
