/* Consultation CSS */
.consultation {
    background: #0b131f;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.consultation::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1200px;
    background: radial-gradient(ellipse 60% 40% at center top,
            rgba(0, 212, 170, 0.4) 0%,
            rgba(0, 188, 155, 0.25) 25%,
            rgba(0, 164, 140, 0.15) 50%,
            rgba(0, 140, 125, 0.08) 70%,
            transparent 85%);
    z-index: 1; /* Keep gradient visible */
    pointer-events: none; /* This prevents it from blocking clicks */
}

.consultation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #666666;
    z-index: 2;
}

.consultation h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 60px; /* Reduced margin */
    letter-spacing: 1px;
    position: relative;
    z-index: 3; /* Ensure heading is above background */
}

.consultation h2::after {
    content: '';
    position: absolute;
    bottom: -40px; /* Reduced gap */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: #666666;
    z-index: 2;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    z-index: 3; /* Ensure grid is above background */
}

.consultation-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -20px; /* Reduced gap to match heading */
    bottom: 0;
    width: 1px;
    background: #666666;
    transform: translateX(-50%);
}

.consultation-card {
    background: transparent;
    padding: 60px 50px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    z-index: 3; /* Ensure cards are clickable */
}

.consultation-card:first-child {
    border-right: none;
}

.consultation-card:hover {
    background: transparent;
}

/* Updated heading and icon container */
.consultation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.consultation-card h3 {
    color: white;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    flex: 1;
}

.consultation-icon {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: 20px; /* Add some space between text and icon */
}

.consultation-icon2 {
    width: 100px; /* Increased size */
    height: 100px; /* Increased size */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: 20px; /* Add some space between text and icon */
}

.consultation-icon i {
    display: none; /* Hide font awesome icons */
}

.consultation-icon img {
    width: 120px; /* Increased image size */
    height: 120px; /* Increased image size */
    object-fit: contain;
}

.consultation-icon2 img {
    width: 140px; /* Increased image size */
    height: 140px; /* Increased image size */
    object-fit: contain;
}

.consultation-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

.consultation-card ul {
    list-style: none;
    margin-bottom: 50px;
}

.consultation-card ul li {
    color: rgba(255, 255, 255, 0.7);;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 0.5;
}

.consultation-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.5rem;
}


.book-btn {
    color: white;
    padding: 18px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    z-index: 4;
    background: #1a4d44;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    background: #225951;
}

.book-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.book-btn .btn-text {
    flex: 1;
    text-align: left;
}

.book-btn .btn-icon {
    width: 24px;
    height: 24px;
    background: #61ce9b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
}


.book-btn i {
    font-size: 12px;
    
}

/* Mobile responsive */
@media (max-width: 768px) {
    .consultation h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
        font-weight: 700;
    }

    .consultation h2::after {
        bottom: -25px; /* Adjusted for mobile */
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .consultation-card {
        padding: 40px 30px;
        min-height: auto;
    }

    .consultation-grid::after {
        display: none;
    }

    .consultation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }

    .consultation-card h3 {
        font-size: 2.2rem;
    }

    .consultation-icon {
        width: 100px; /* Slightly smaller on mobile but still bigger than original */
        height: 100px;
        margin-left: 0;
        align-self: flex-start;
    }

    .consultation-icon img {
        width: 50px; /* Adjusted for mobile */
        height: 50px;
    }

    .consultation-card p {
        margin-bottom: 30px;
    }

    .consultation-card ul {
        margin-bottom: 40px;
    }
}