/* Clinical trials */
    /* Custom CSS for rounded shape elements */
    .round-shape {
        height:470px;
        --bs-border-radius-xxl: 3rem;
    }

    /* Custom blue border class */
    .blue-border {
        border: 5px solid var(--primary-color);
    }



/* Content Block 2 Styles */
.content-block-2 {
    min-height: 500px;
}

/* Left column adjustments */
.content-block-2-left {
    flex: 0 0 52%;
    max-width: 52%;
}

/* Right column adjustments */
.content-block-2-right {
    flex: 0 0 48%;
    max-width: 48%;
}

/* Iframe styling */
.content-block-2-iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    visibility: visible;
    animation-name: fadeInRight;
}

/* Phase Cards Container */
.phase-cards-container {
    justify-content: center;
}

/* Phase Card Base Styles */
.phase-card {
    background: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
}

/* Card Header */
.phase-card-header {
    flex: 1;
}

/* Text Styles - Responsive */
.phase-card-title {
    font-size: 1.1rem; /* Base size */
    line-height: 1.3;
}

.phase-card-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
}

.phase-card-description {
    font-size: 0.85rem;
    line-height: 1.5;
}

.phase-card-caption {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Card Footer */
.phase-card-footer {
    background: rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.phase-card-icon {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.phase-card-icon:hover {
    transform: scale(1.1);
}


/* Card Elements */
.rounded-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
        border: 10px solid var(--primary-color); /* Increased from default 1-2px to 4px */
}

.benefit-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.benefit-title {
    color: var(--dark-secondary-text-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--dark-secondary-text-color);
    opacity: 0.75;
    font-size: 0.9rem;
}

/* Benefits Section Container */
.benefits-container {
    padding: 0 1rem;
}

/* Benefit Card Styling */
.benefit-card {
    background: white;
    border: 3px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


/* Stats Section */
.stats-section {
    border-radius: 1rem;
}

/* Left Column */
.stats-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s;
}

.stats-description {
    font-size: 1.1rem;
    max-width: 90%;
    animation: fadeInUp 0.8s;
}

/* Right Column - Stats Grid */
.stats-grid {
    padding: 1rem;
}

.stat-item {
    padding: 1.5rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.stat-text {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Animation styles */
.wow.animate__animated.animate__fadeInRight {
    animation-duration: 0.8s;
}
.wow.animate__fadeInUp {
    animation-duration: 0.8s;
}


/* Responsive adjustments */
/* Mobile responsive styles */
@media (max-width: 991px) {
    .content-block-2 {
        min-height: auto;
        padding: 3rem !important;
        margin-top: 1rem;
    }

    .content-block-2-left,
    .content-block-2-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .content-block-2-left {
        padding: 2rem !important;
        border-radius: 1rem 1rem 0 0 !important;
    }

    .content-block-2-right {
        border-radius: 0 0 1rem 1rem !important;
        padding: 1rem !important;
    }

    .content-block-2-iframe {
        min-height: 300px;
        border-radius: 1rem;
    }
}

@media (max-width: 767.98px) {
    .content-block-2 {
        padding: 1rem !important;
    }
    .content-block-2-right {
        height: 300px; /* Fixed height for mobile */
        padding: 0rem !important;
    }
    /* Text styles for mobile */
    .content-block-2-left h2 {
        font-size: 1.75rem;
    }

    .content-block-2-left p {
        font-size: 1rem;
    }
    .content-block-2-iframe {
        min-height: 300px;
        border-radius: 0rem;
    }
    .call-action, .call-action-text {
        padding: 2rem !important;
    }
        .call-action > div:first-child * {
            text-align: center !important;
        }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    /* Tablet styles */
    .phase-card-title {
        font-size: 1.2rem;
    }
    .phase-card-subtitle {
        font-size: 1rem;
    }
    .phase-card-description {
        font-size: 0.9rem;
    }
    .phase-cards-container > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .phase-card {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
}

@media (min-width: 992px) {
    /* Laptop styles */
    .phase-card-title {
        font-size: 1.3rem;
    }
    .phase-card-subtitle {
        font-size: 1.1rem;
    }
    .phase-card-description {
        font-size: 1rem;
    }
    .phase-card-caption {
        font-size: 0.85rem;
    }
}

@media (min-width: 1200px) {
    /* XL screens */
    .phase-card-title {
        font-size: 1.4rem;
    }
    /* Laptops/Desktops - 4 columns */
    .phase-cards-container > div {
        flex: 0 0 23%;
        max-width: 23%;
        margin: 0 1%;
    }
    .benefits-container > .row > div {
        flex: 0 0 23%;
        max-width: 23%;
        margin: 0 1%;
    }
    .left-stats-content {
        max-width: 75% !important
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    /* iPads (including Pro) - 2x2 grid */
    .phase-cards-container > div {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .phase-card {
        height: 100%;
    }
    /* iPads (including Pro) - 2x2 grid */
    .benefits-container > .row > div {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

/* Card Elements Responsive Grid Layout */
@media (max-width: 767.98px) {
    /* Phones - single column */
    .benefits-container {
        padding: 0 0.5rem;
    }

    .benefit-card {
        margin-bottom: 1.5rem;
    }

    .benefit-title {
        font-size: 1.2rem;
    }

    .benefit-description {
        font-size: 1rem;
    }
    /* Mobile Styles */
    .stats-section {
        padding: 1.5rem !important;
    }

    .stats-heading {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .stats-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet Styles */
    .stats-heading {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }
}