/* Hero Section */
.hero-split {
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* ========== SPECIALIZATIONS CAROUSEL ========== */
.specializations-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    overflow: hidden;
}

/* Carousel Wrapper */
.spec-carousel-wrapper {
    position: relative;
    padding: 20px 60px;
    margin-top: 2rem;
}

/* Swiper Container */
.specSwiper {
    overflow: visible !important;
    padding: 10px 0 50px 0 !important;
}

/* Specialization Card */
.spec-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    min-height: 300px;
    height: auto;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(179, 59, 44, 0.12);
    border-color: var(--ied-red);
}

/* Card Thumbnail */
.spec-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #f1f3f5);
}

.spec-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spec-card:hover .spec-thumbnail img {
    transform: scale(1.08);
}

/* Card Content */
.spec-content {
    padding: 1.5rem;
}

.spec-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-name i {
    color: var(--ied-red);
    font-size: 1.1rem;
}

.spec-course-count {
    display: inline-block;
    background: rgba(179, 59, 44, 0.1);
    color: var(--ied-red);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.spec-description-preview {
    font-size: 0.85rem;
    color: var(--ied-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spec-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ied-red);
    font-weight: 600;
    font-size: 0.85rem;
    transition: gap 0.3s ease;
}

.spec-card:hover .spec-explore {
    gap: 0.8rem;
}

.spec-explore i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.spec-card:hover .spec-explore i {
    transform: translateX(3px);
}

/* Navigation Arrows */
.spec-nav-arrow {
    width: 48px !important;
    height: 48px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(179, 59, 44, 0.15) !important;
    color: var(--ied-red) !important;
    transition: all 0.3s ease !important;
}

.spec-nav-arrow:hover {
    background: var(--ied-red) !important;
    color: white !important;
    border-color: var(--ied-red) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(179, 59, 44, 0.25) !important;
}

.spec-nav-arrow::after {
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.spec-nav-arrow.swiper-button-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Pagination Dots */
.specSwiper .swiper-pagination {
    bottom: 0 !important;
}

.specSwiper .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #d1d5db !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.specSwiper .swiper-pagination-bullet-active {
    background: var(--ied-red) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Skeleton Loading Styles */
.skeleton-card {
    pointer-events: none;
}

.skeleton-thumbnail {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-name {
    width: 80%;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.skeleton-badge {
    width: 50%;
    height: 28px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
    margin-bottom: 12px;
}

.skeleton-text {
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========== RESPONSIVE STYLES ========== */

/* Desktop Large (1280px+) */
@media (min-width: 1280px) {
    .spec-carousel-wrapper {
        padding: 20px 70px;
    }
}

/* Desktop (1024px - 1279px) */
@media (max-width: 1279px) {
    .spec-carousel-wrapper {
        padding: 20px 55px;
    }

    .spec-thumbnail {
        height: 180px;
    }

    .spec-content {
        padding: 1.2rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .specializations-section {
        padding: 4rem 0;
    }

    .spec-carousel-wrapper {
        padding: 15px 50px;
    }

    .spec-nav-arrow {
        width: 42px !important;
        height: 42px !important;
    }

    .spec-thumbnail {
        height: 160px;
    }

    .spec-name {
        font-size: 1.1rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .specializations-section {
        padding: 3rem 0;
    }

    .spec-carousel-wrapper {
        padding: 15px 45px;
    }

    .spec-nav-arrow {
        width: 38px !important;
        height: 38px !important;
    }

    .spec-thumbnail {
        height: 180px;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .spec-carousel-wrapper {
        padding: 10px 40px;
    }

    .spec-nav-arrow {
        width: 34px !important;
        height: 34px !important;
    }

    .spec-nav-arrow::after {
        font-size: 1rem !important;
    }

    .spec-thumbnail {
        height: 160px;
    }

    .spec-content {
        padding: 1rem;
    }

    .spec-name {
        font-size: 1rem;
    }

    .spec-description-preview {
        font-size: 0.8rem;
    }
}

/* ========== FIX CARD HEIGHT VARIATION ========== */

/* Make all cards in Swiper have equal height */
.specSwiper .swiper-slide {
    height: auto !important;
    display: flex !important;
}

.spec-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100% !important; /* Force full height */
    min-height: 420px; /* Set a consistent minimum height */
}

/* Fix thumbnail area */
.spec-thumbnail {
    height: 200px;
    flex-shrink: 0;
}

/* Make content area flexible */
.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* Description takes remaining space but limited to 2 lines */
.spec-description-preview {
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Push explore button to bottom */
.spec-explore {
    margin-top: auto;
}

/* Fixed height for name area */
.spec-name {
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Fixed height for course count */
.spec-course-count {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

/* Responsive heights */
@media (max-width: 1023px) {
    .spec-card {
        min-height: 400px;
    }
    .spec-thumbnail {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .spec-card {
        min-height: 380px;
    }
    .spec-thumbnail {
        height: 160px;
    }
    .spec-name {
        min-height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .spec-card {
        min-height: 360px;
    }
    .spec-thumbnail {
        height: 140px;
    }
}

/* ========== MENTORSHIP SECTION - PREMIUM SPLIT LAYOUT ========== */
.mentorship-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
    overflow: hidden;
}

.mentorship-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(179, 59, 44, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.mentorship-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Content */
.mentorship-content {
    max-width: 600px;
}

.mentorship-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(179, 59, 44, 0.1);
    color: var(--ied-red);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(179, 59, 44, 0.2);
}

.mentorship-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.mentorship-title .accent-text {
    color: var(--ied-red);
    position: relative;
    display: inline-block;
}

.mentorship-title .accent-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    border-radius: 3px;
}

.mentorship-description {
    font-size: 1rem;
    color: var(--ied-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Stats Boxes */
.mentorship-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #e8edf2;
    transition: all 0.3s;
    flex: 1;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--ied-red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ied-red);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--ied-text-light);
    margin-top: 0.3rem;
}

/* Features List */
.mentorship-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8edf2;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    border-bottom-color: var(--ied-red);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(179, 59, 44, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--ied-red);
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--ied-red);
    transition: all 0.3s;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--ied-text-dark);
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--ied-text-light);
    margin: 0;
}

/* CTA Button */
.mentorship-cta {
    margin-top: 1rem;
}

.btn-mentorship {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--ied-red), #8b2a1e);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-mentorship:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(179, 59, 44, 0.3);
    gap: 1rem;
}

/* Right Side - Bento Gallery */
.mentorship-gallery {
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    grid-auto-rows: auto;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bento-large {
    grid-column: span 2;
    height: 280px;
}

.bento-small {
    height: 180px;
}

.bento-medium {
    grid-column: span 2;
    height: 220px;
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.bento-item:hover .bento-overlay {
    transform: translateY(0);
}

.bento-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mentorship-wrapper {
        gap: 2rem;
    }

    .mentorship-title {
        font-size: 2rem;
    }

    .bento-large {
        height: 240px;
    }

    .bento-small {
        height: 150px;
    }

    .bento-medium {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .mentorship-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mentorship-content {
        max-width: 100%;
        text-align: center;
    }

    .mentorship-badge {
        margin: 0 auto 1.5rem;
    }

    .mentorship-stats {
        justify-content: center;
    }

    .feature-item {
        text-align: left;
    }

    .mentorship-cta {
        text-align: center;
    }

    .bento-large {
        height: 220px;
    }

    .bento-small {
        height: 140px;
    }

    .bento-medium {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .mentorship-title {
        font-size: 1.6rem;
    }

    .mentorship-stats {
        gap: 1rem;
    }

    .stat-box {
        padding: 0.8rem 1rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .bento-large {
        height: 180px;
    }

    .bento-small {
        height: 120px;
    }

    .bento-medium {
        height: 150px;
    }

    .bento-grid {
        gap: 0.8rem;
    }
}

.specializations-modern {
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
}

/* ========== CANDIDATE FEEDBACK MARQUEE SECTION - POSTER STYLE ========== */
.candidate-feedback-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    overflow: hidden;
    position: relative;
}

.feedback-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.feedback-track {
    display: flex;
    gap: 2rem;
    animation: scrollFeedback 50s linear infinite;
    width: fit-content;
}

.feedback-track:hover {
    animation-play-state: paused;
}

@keyframes scrollFeedback {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Poster Style Feedback Card */
.feedback-card {
    min-width: 320px;
    width: 320px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.feedback-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(179, 59, 44, 0.2);
}

/* Student Image - Full width at top */
.feedback-student-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.feedback-student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feedback-card:hover .feedback-student-image img {
    transform: scale(1.05);
}

/* Overlay Gradient on Image */
.feedback-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Content Section below image */
.feedback-content {
    padding: 1.2rem;
    text-align: center;
}

/* Student Name */
.feedback-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 0.3rem;
}

/* Student Role */
.feedback-role {
    font-size: 0.75rem;
    color: var(--ied-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Company Tag */
.feedback-company {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(179, 59, 44, 0.1);
    color: var(--ied-red);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* PLACED Badge */
.feedback-placed-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

/* Company Logo Badge (if available) */
.feedback-company-logo {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.feedback-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-card {
        min-width: 280px;
        width: 280px;
    }

    .feedback-student-image {
        height: 240px;
    }

    .feedback-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feedback-card {
        min-width: 260px;
        width: 260px;
    }

    .feedback-student-image {
        height: 220px;
    }

    .feedback-name {
        font-size: 0.9rem;
    }
}

/* ========== TESTIMONIALS SECTION (SWIPER) ========== */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card-modern {
    background: var(--ied-light-gray);
    border-radius: 28px;
    padding: 2rem;
    margin: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.testimonial-card-modern::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(179, 59, 44, 0.08);
    font-family: serif;
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ied-text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--ied-gray);
    padding-top: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ied-red);
}

.testimonial-author h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.75rem;
    color: var(--ied-red);
    margin: 0;
}

/* ========== WHY CHOOSE IED ========== */
.why-choose-timeline {
    padding: 5rem 0;
    background: var(--ied-light-gray);
}

.timeline-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 28px;
    transition: all 0.4s;
    cursor: pointer;
    border: 1px solid var(--ied-gray);
}

.timeline-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--ied-red);
}

.feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ied-red), #d65c4a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

/* ========== POPULAR COURSES - JOB CARD STYLE ========== */
.popular-courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.popular-courses-card {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
    border: 1px solid #e8edf2;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}




.popular-courses-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--ied-red);
}

.popular-courses-card-company {
    color: #a0a2b3;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.course-logo {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(179, 59, 44, 0.1), rgba(139, 42, 30, 0.05));
}

.course-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    background: white;
    border: 1px solid #e8edf2;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.course-badge i {
    font-size: 0.65rem;
    color: var(--ied-red);
}

.arrow-btn {
    transition: transform 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e8edf2;
    color: var(--ied-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arrow-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.arrow-btn:hover {
    background-color: var(--ied-red);
    color: white;
    transform: translateY(2px);
    box-shadow: 0 4px 10px rgba(179, 59, 44, 0.2);
    cursor: pointer;
}



.popular-courses-card:hover .arrow-btn {
    background-color: var(--ied-red);
    color: white;
    border-color: var(--ied-red);
}

.popular-courses-card:hover .arrow-btn i {
    transform: rotate(-45deg);
}

.popular-courses-card:hover .course-badge {
    border-color: var(--ied-red);
    background: rgba(179, 59, 44, 0.05);
}

.course-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ied-text-dark);
    line-height: 1.3;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--ied-text-light);
}

.course-meta-item i {
    color: var(--ied-red);
    font-size: 0.65rem;
}

.course-details {
    flex: 1;
}

.badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.explore-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--ied-red);
    color: var(--ied-red);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.explore-courses-btn:hover {
    background: var(--ied-red);
    color: white;
    transform: translateX(5px);
}

.explore-courses-btn .arrow i {
    transition: transform 0.3s;
}

.explore-courses-btn:hover .arrow i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .courses-grid {
        gap: 1.2rem;
    }

    .popular-courses-card {
        padding: 1rem;
    }

    .course-logo {
        width: 55px;
        height: 55px;
    }

    .course-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .popular-courses-card {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left;
        padding: 1.2rem;
    }

    .course-logo {
        width: 60px;
        height: 60px;
    }

    .course-title {
        font-size: 1rem;
    }

    .badges-group {
        justify-content: flex-start;
    }

    .course-meta {
        justify-content: flex-start;
    }

    .explore-courses-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popular-courses-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 1.2rem;
    }

    .course-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }

    .course-details {
        text-align: center;
    }

    .badges-group {
        justify-content: center;
    }

    .course-meta {
        justify-content: center;
    }

    .arrow-btn-div {
        margin-top: 0.8rem;
    }

    .arrow-btn {
        width: 40px;
        height: 40px;
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem;
    grid-column: span 2;
}

.loading-state i {
    font-size: 2rem;
    color: var(--ied-red);
    margin-bottom: 1rem;
}

/* ========== PARTNERS PREMIUM SECTION - DOUBLE MARQUEE ========== */
.partners-premium-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
    overflow: hidden;
}

/* Blurred edges container */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

/* Blurred left and right edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

/* Dark theme variant for better visibility */
.partners-premium-section.dark .marquee-container::before,
.partners-premium-section.dark .marquee-container::after {
    background: linear-gradient(to right, rgba(26, 26, 46, 0.98), rgba(26, 26, 46, 0));
}

/* Marquee Track */
.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: fit-content;
}

/* Left to Right Animation */
.marquee-left-to-right .marquee-track {
    animation: scrollLeftToRight 60s linear infinite;
}

.marquee-left-to-right .marquee-track:hover {
    animation-play-state: paused;
}

/* Updated Marquee Animations - Smooth Infinite Loop */
@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Make the animation duration based on number of items */
.marquee-left-to-right .marquee-track {
    animation: scrollLeftToRight 60s linear infinite;
    width: fit-content;
}

.marquee-right-to-left .marquee-track {
    animation: scrollRightToLeft 60s linear infinite;
    width: fit-content;
}

/* Updated Partner Card - Rectangle Shape */
.partner-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    min-width: 180px;
    padding: 0.8rem 1.2rem;
    background: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(179, 59, 44, 0.1);
    border-color: var(--ied-red);
}

.partner-logo {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(179, 59, 44, 0.05);
    border-radius: 12px;
    padding: 0.5rem;
    flex-shrink: 0;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ied-text-dark);
    text-align: left;
    letter-spacing: 0.3px;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .partner-card {
        min-width: 160px;
        padding: 0.6rem 1rem;
    }

    .partner-logo {
        width: 38px;
        height: 38px;
    }

    .partner-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .partner-card {
        min-width: 140px;
        padding: 0.5rem 0.8rem;
    }

    .partner-logo {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .partner-card {
        min-width: 130px;
        padding: 0.4rem 0.8rem;
    }

    .partner-logo {
        width: 28px;
        height: 28px;
    }

    .partner-name {
        font-size: 0.7rem;
    }
}

/* Optional: Add a subtle pattern background */
.partners-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(circle at 50% 0%, rgba(179, 59, 44, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--ied-red) 0%, #8b2a1e 100%);
    color: white;
    text-align: center;
}

.cta-btn {
    background: white;
    color: var(--ied-red);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 1200px) {

    .bento-item-1,
    .bento-item-2,
    .bento-item-3,
    .bento-item-4,
    .bento-item-5,
    .bento-item-6 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {

    .bento-item-1,
    .bento-item-2,
    .bento-item-3,
    .bento-item-4,
    .bento-item-5,
    .bento-item-6 {
        grid-column: span 12;
    }

    .timeline-features {
        grid-template-columns: 1fr;
    }

    .feedback-card {
        min-width: 300px;
        width: 300px;
    }
}

.loading-state {
    text-align: center;
    padding: 2rem;
}

/* ========== ROTATING TESTIMONIALS SECTION ========== */
.testimonials-rotating-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.testimonials-rotating-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    position: relative;
    margin: 0 auto;
}

/* Rotating Card Container - Larger Size */
.wrap_card {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 700px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    --w-card: 380px;
    --h-card: 460px;
    --rotate-card: 10deg;
    --insetX-card: 60px;
    --t-card: calc(var(--insetX-card) * 1.2);
    --w-wrap-card: calc(var(--w-card) + calc(calc(var(--w-card) / 2) * 2));
}

/* Card Content */
.content {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
    width: calc(100% - calc(var(--pd) * 2));
    height: calc(100% - calc(var(--pd) * 2));
    border-radius: calc(var(--round) - var(--pd));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Quote Text - Larger */
.quote-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ied-text-light);
    margin-bottom: 1.2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    max-height: 180px;
    padding-right: 8px;
}

.quote-text::-webkit-scrollbar {
    width: 4px;
}

.quote-text::-webkit-scrollbar-track {
    background: var(--ied-gray);
    border-radius: 10px;
}

.quote-text::-webkit-scrollbar-thumb {
    background: var(--ied-red);
    border-radius: 10px;
}

/* Author Info - Larger */
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.8rem;
    border-top: 1px solid var(--ied-gray);
    padding-top: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ied-red);
}

.author-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--ied-text-dark);
}

.author-details p {
    font-size: 0.85rem;
    color: var(--ied-red);
    font-weight: 600;
    margin: 0;
}

.author-company {
    display: inline-block;
    background: rgba(179, 59, 44, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ied-red);
    margin-top: 0.4rem;
}

/* Rating Stars - Larger */
.testimonial-rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Icon in content - Larger */
.content>svg {
    height: 56px;
    width: 56px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.25;
    transition: opacity 0.3s;
}

.card:hover .content>svg {
    opacity: 0.5;
}

/* Card Container */
.card {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    overflow: hidden;
    animation: rotating 14s cubic-bezier(0.75, 0, 0, 1.01) infinite 0s;
    border-radius: var(--round);
    background: var(--bg);
    order: var(--order);
    width: var(--w-card);
    height: var(--h-card);
    z-index: var(--z1);
    top: var(--t1);
    left: var(--l1);
    right: var(--r1);
    transform: var(--trans1);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 55px -15px rgba(0, 0, 0, 0.3);
}

.card:nth-child(1) {
    --order: 2;
    --bg: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    --z1: 2;
    --t1: 0;
    --l1: var(--to-center);
    --r1: var(--to-center);
    --trans1: rotate(calc(var(--rotate-card) * 0));
    --z2: 0;
    --t2: var(--t-card);
    --l2: var(--x1);
    --r2: var(--x2);
    --trans2: var(--to-left);
    --z3: 0;
    --t3: var(--t-card);
    --l3: var(--x2);
    --r3: var(--x1);
    --trans3: var(--to-right);
    border: 1px solid rgba(179, 59, 44, 0.2);
}

.card:nth-child(2) {
    --order: 3;
    --bg: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    --z1: 0;
    --t1: var(--t-card);
    --l1: var(--x2);
    --r1: var(--x1);
    --trans1: var(--to-right);
    --z2: 2;
    --t2: 0;
    --l2: var(--to-center);
    --r2: var(--to-center);
    --trans2: rotate(calc(var(--rotate-card) * 0));
    --z3: 0;
    --t3: var(--t-card);
    --l3: var(--x1);
    --r3: var(--x2);
    --trans3: var(--to-left);
    border: 1px solid rgba(179, 59, 44, 0.2);
}

.card:nth-child(3) {
    --order: 1;
    --bg: linear-gradient(135deg, #fff2ea 0%, #ffffff 100%);
    --z1: 0;
    --t1: var(--t-card);
    --l1: var(--x1);
    --r1: var(--x2);
    --trans1: var(--to-left);
    --z2: 0;
    --t2: var(--t-card);
    --l2: var(--x2);
    --r2: var(--x1);
    --trans2: var(--to-right);
    --z3: 2;
    --t3: 0;
    --l3: var(--to-center);
    --r3: var(--to-center);
    --trans3: rotate(calc(var(--rotate-card) * 0));
    border: 1px solid rgba(179, 59, 44, 0.2);
}

/* Card Variables */
.card {
    --pd: 8px;
    --round: 28px;
    --x1: var(--insetX-card);
    --x2: calc(var(--w-wrap-card) - calc(var(--w-card) + var(--insetX-card)));
    --to-left: rotate(calc(var(--rotate-card) * -1));
    --to-center: calc(var(--w-card) / 2);
    --to-right: rotate(calc(var(--rotate-card) * 1));
}

/* Animation Keyframes */
@keyframes rotating {

    0%,
    33% {
        z-index: var(--z1);
        top: var(--t1);
        left: var(--l1);
        right: var(--r1);
        transform: var(--trans1);
    }

    34%,
    66% {
        z-index: var(--z2);
        top: var(--t2);
        left: var(--l2);
        right: var(--r2);
        transform: var(--trans2);
    }

    67%,
    100% {
        z-index: var(--z3);
        top: var(--t3);
        left: var(--l3);
        right: var(--r3);
        transform: var(--trans3);
    }
}

/* Lines decoration */
.lines {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    bottom: -30px;
}

.line {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line::before,
.line::after {
    content: "";
    position: absolute;
    inset: auto;
    background: linear-gradient(to right,
            var(--gradient-a-line, #0000),
            var(--gradient-b-line, #0000),
            var(--gradient-c-line, #0000));
    filter: var(--blur-line);
    width: var(--w-line);
    height: var(--h-line);
}

.line:nth-child(1)::before {
    --blur-line: blur(4px);
    --w-line: 100%;
    --h-line: 5px;
    --gradient-b-line: var(--ied-red);
}

.line:nth-child(1)::after {
    --w-line: 100%;
    --h-line: 1px;
    --gradient-b-line: var(--ied-red);
}

.line:nth-child(2)::before {
    --blur-line: blur(4px);
    --w-line: 50%;
    --h-line: 5px;
    --gradient-b-line: #d65c4a;
}

.line:nth-child(2)::after {
    --w-line: 50%;
    --h-line: 1px;
    --gradient-b-line: #d65c4a;
}

/* ========== RESPONSIVE DESIGN - LARGE CARDS WITH CENTER ALIGNMENT ========== */

/* Desktop Large Screens (1400px and above) */
@media (min-width: 1400px) {
    .wrap_card {
        --w-card: 420px;
        --h-card: 500px;
        --insetX-card: 80px;
        height: 520px;
        max-width: 800px;
    }

    .quote-text {
        font-size: 1.05rem;
        max-height: 200px;
    }

    .author-avatar {
        width: 65px;
        height: 65px;
    }

    .author-details h4 {
        font-size: 1.2rem;
    }
}

/* Desktop (992px - 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .wrap_card {
        --w-card: 380px;
        --h-card: 460px;
        --insetX-card: 60px;
        height: 480px;
        max-width: 700px;
    }

    .quote-text {
        font-size: 0.95rem;
        max-height: 170px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .wrap_card {
        --w-card: 340px;
        --h-card: 420px;
        --insetX-card: 50px;
        height: 440px;
        max-width: 620px;
    }

    .testimonials-rotating-grid {
        min-height: 520px;
    }

    .quote-text {
        font-size: 0.9rem;
        max-height: 160px;
    }

    .author-avatar {
        width: 55px;
        height: 55px;
    }

    .author-details h4 {
        font-size: 1rem;
    }

    .content {
        padding: 1.6rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .wrap_card {
        --w-card: 300px;
        --h-card: 380px;
        --insetX-card: 40px;
        height: 400px;
        max-width: 550px;
    }

    .testimonials-rotating-grid {
        min-height: 480px;
    }

    .quote-text {
        font-size: 0.85rem;
        max-height: 140px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-details h4 {
        font-size: 0.95rem;
    }

    .content {
        padding: 1.4rem;
    }

    .content>svg {
        height: 45px;
        width: 45px;
        bottom: 15px;
        right: 15px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .testimonials-rotating-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .testimonials-rotating-grid {
        min-height: 440px;
        margin: 0 10px;
    }

    .wrap_card {
        --w-card: 280px;
        --h-card: 360px;
        --insetX-card: 30px;
        height: 380px;
        max-width: 100%;
    }

    .content {
        padding: 1.2rem;
    }

    .quote-text {
        font-size: 0.8rem;
        line-height: 1.5;
        max-height: 130px;
        margin-bottom: 0.8rem;
    }

    .testimonial-rating-stars {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
        letter-spacing: 1px;
    }

    .author-info {
        gap: 0.7rem;
        padding-top: 0.8rem;
        margin-top: 0.5rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .author-details h4 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .author-details p {
        font-size: 0.7rem;
    }

    .author-company {
        font-size: 0.6rem;
        padding: 0.15rem 0.6rem;
        margin-top: 0.25rem;
    }

    .content>svg {
        height: 38px;
        width: 38px;
        bottom: 12px;
        right: 12px;
        opacity: 0.2;
    }

    .lines {
        bottom: -20px;
    }

    .line::before,
    .line::after {
        display: none;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    .wrap_card {
        --w-card: 260px;
        --h-card: 340px;
        --insetX-card: 25px;
        height: 360px;
    }

    .content {
        padding: 1rem;
    }

    .quote-text {
        font-size: 0.75rem;
        max-height: 115px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-details h4 {
        font-size: 0.8rem;
    }

    .author-details p {
        font-size: 0.65rem;
    }

    .testimonial-rating-stars {
        font-size: 0.7rem;
    }

    .content>svg {
        height: 32px;
        width: 32px;
    }
}

/* Ensure cards are centered and visible on all devices */
@media (max-width: 991px) {
    .wrap_card {
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .card {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Fix for iOS devices */
@supports (-webkit-touch-callout: none) {
    .wrap_card {
        transform: translateX(-50%);
        left: 50%;
    }
}

/* ========== WHY CHOOSE IED - PERFECT FULL CIRCLE PIE CHART ========== */
/* Main Section */
.why-choose-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Dashed Connection Background */
.connection-bg {
    position: relative;
}

/* Zigzag Dashed Lines Container - Continuous Stream */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.connection-lines svg {
    width: 100%;
    height: 100%;
}

/* Staggered Grid Layout - Centered with smaller width */
.staggered-grid {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* Floating Card Styles - Smaller Width */
.floating-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 1.2rem;
    box-shadow: 0 12px 25px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    margin-bottom: 1.2rem;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

/* Left column cards align right */
.col-lg-6:first-child .floating-card {
    margin-left: auto;
    margin-right: 0;
}

/* Right column cards align left */
.col-lg-6:last-child .floating-card {
    margin-left: 0;
    margin-right: auto;
}

/* UPDATED PREMIUM HOVER EFFECT - 3D Transform with Glow */
.floating-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 45px -15px rgba(206, 40, 39, 0.35);
    border-color: rgba(206, 40, 39, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* 3D Orb Effect - Enhanced */
.floating-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0.1));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 5;
}

.floating-card:hover::before {
    transform: translateX(-50%) scale(1.25);
    box-shadow: 0 10px 20px rgba(206, 40, 39, 0.3);
}

/* Individual Card Orb Colors & Background Tints */
.card-1::before {
    background: radial-gradient(circle at 30% 30%, #fff3cd, #ffc107);
}

.card-1 {
    background: linear-gradient(135deg, #ffffff, #fffef7);
}

.card-2::before {
    background: radial-gradient(circle at 30% 30%, #f3e8ff, #9b59b6);
}

.card-2 {
    background: linear-gradient(135deg, #ffffff, #faf5ff);
}

.card-3::before {
    background: radial-gradient(circle at 30% 30%, #ffe8f0, #ff69b4);
}

.card-3 {
    background: linear-gradient(135deg, #ffffff, #fff5f9);
}

.card-4::before {
    background: radial-gradient(circle at 30% 30%, #e3f2fd, #3498db);
}

.card-4 {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

.card-5::before {
    background: radial-gradient(circle at 30% 30%, #e8f5e9, #2ecc71);
}

.card-5 {
    background: linear-gradient(135deg, #ffffff, #f4fef7);
}

.card-6::before {
    background: radial-gradient(circle at 30% 30%, #ffe8e8, #e74c3c);
}

.card-6 {
    background: linear-gradient(135deg, #ffffff, #fff5f5);
}

/* Additional Premium Hover Effects - Icon & Title Animation */
.floating-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.floating-card:hover .card-title {
    color: #ce2827;
    transform: translateX(3px);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.floating-card:hover .card-text {
    color: #2c3e50;
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Glowing Border Effect on Hover */
.floating-card {
    position: relative;
    overflow: hidden;
}

.floating-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(206, 40, 39, 0.1), rgba(206, 40, 39, 0.05));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
    z-index: 1;
}

.floating-card:hover::after {
    opacity: 1;
}

/* Icon Styling - KEPT EXACTLY THE SAME */
.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    display: inline-block;
}

.card-1 .card-icon {
    color: #ffc107;
}

.card-2 .card-icon {
    color: #9b59b6;
}

.card-3 .card-icon {
    color: #ff69b4;
}

.card-4 .card-icon {
    color: #3498db;
}

.card-5 .card-icon {
    color: #2ecc71;
}

.card-6 .card-icon {
    color: #e74c3c;
}

/* Card Title */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.2rem 0 0.4rem;
    color: #1a2c3e;
}

/* UPDATED HOVER - Title color transition */
.floating-card:hover .card-title {
    color: #ce2827;
    transition: color 0.3s ease;
}

.card-text {
    color: #5a6e7c;
    line-height: 1.45;
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Staggered Column Offsets */
@media (min-width: 992px) {
    .col-stagger {
        margin-top: 2.5rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 0.75rem;
}

.section-title .text-primary {
    color: #ce2827 !important;
    font-family: 'Georgia', serif;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.section-title .text-primary::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(206, 40, 39, 0.2);
    border-radius: 2px;
}

.section-lead {
    font-size: 1rem;
    color: #5a6e7c;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Individual Card Rotations - KEPT EXACTLY THE SAME */
.card-1 {
    transform: rotate(-2.5deg) translateY(2px);
}

.card-2 {
    transform: rotate(2.2deg) translateY(-3px);
}

.card-3 {
    transform: rotate(-1.8deg) translateY(4px);
}

.card-4 {
    transform: rotate(2deg) translateY(-2px);
}

.card-5 {
    transform: rotate(-2.2deg) translateY(3px);
}

.card-6 {
    transform: rotate(1.5deg) translateY(-1px);
}

/* Hover Override - Reset rotation but keep slight lift */
.floating-card:hover {
    transform: translateY(-6px) rotate(0deg) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .staggered-grid {
        margin-top: 1rem;
    }

    .floating-card {
        transform: rotate(0deg) !important;
        margin-bottom: 1.2rem;
        max-width: 100%;
    }

    .col-lg-6:first-child .floating-card,
    .col-lg-6:last-child .floating-card {
        margin-left: auto;
        margin-right: auto;
    }

    .floating-card::before {
        width: 32px;
        height: 32px;
        top: -10px;
    }

    .col-stagger {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }

    .section-lead {
        font-size: 0.9rem;
    }

    .floating-card {
        padding: 0.9rem 1rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-icon {
        font-size: 1.4rem;
    }

    .card-text {
        font-size: 0.75rem;
    }
}

/* Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.floating-card:nth-child(1) {
    animation-delay: 0.05s;
}

.floating-card:nth-child(2) {
    animation-delay: 0.1s;
}

.floating-card:nth-child(3) {
    animation-delay: 0.15s;
}

.floating-card:nth-child(4) {
    animation-delay: 0.2s;
}

.floating-card:nth-child(5) {
    animation-delay: 0.25s;
}

.floating-card:nth-child(6) {
    animation-delay: 0.3s;
}

/* ========== FAQ PREMIUM SECTION ========== */
.faq-premium-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef8f7 100%);
    position: relative;
    overflow: hidden;
}

.faq-premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(179, 59, 44, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Section Header */
.faq-header {
    margin-bottom: 3rem;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(179, 59, 44, 0.1);
    color: var(--ied-red);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 0.75rem;
}

.faq-title .text-primary {
    color: var(--ied-red) !important;
    position: relative;
    display: inline-block;
}

.faq-title .text-primary::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ied-red), #d65c4a);
    border-radius: 3px;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--ied-text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e8edf2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(179, 59, 44, 0.08);
    border-color: rgba(179, 59, 44, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
}

.faq-icon {
    width: 45px;
    height: 45px;
    background: rgba(179, 59, 44, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 1.2rem;
    color: var(--ied-red);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    background: var(--ied-red);
}

.faq-item:hover .faq-icon i {
    color: white;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ied-text-dark);
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--ied-red);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--ied-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    font-size: 0.8rem;
    color: var(--ied-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon {
    background: var(--ied-red);
}

.faq-item.active .faq-icon i {
    color: white;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.2rem 1.5rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--ied-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.faq-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ied-red);
    background: rgba(179, 59, 44, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.faq-tags span i {
    font-size: 0.65rem;
}

/* Contact CTA */
.faq-contact-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    border: 1px solid #e8edf2;
}

.cta-content i {
    font-size: 2.5rem;
    color: var(--ied-red);
    margin-bottom: 1rem;
}

.cta-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ied-text-dark);
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 0.9rem;
    color: var(--ied-text-light);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact {
    background: linear-gradient(135deg, var(--ied-red), #8b2a1e);
    color: white;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-weight: 200;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(179, 59, 44, 0.3);
    color: white;
}

.btn-call {
    background: transparent;
    border: 2px solid var(--ied-red);
    color: var(--ied-red);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: var(--ied-red);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-icon i {
        font-size: 1rem;
    }

    .faq-question h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .faq-premium-section {
        padding: 3rem 0;
    }

    .faq-title {
        font-size: 1.8rem;
    }

    .faq-subtitle {
        font-size: 0.9rem;
    }

    .faq-question {
        gap: 0.8rem;
    }

    .faq-icon {
        width: 35px;
        height: 35px;
    }

    .faq-question h3 {
        font-size: 0.85rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .faq-tags span {
        font-size: 0.65rem;
    }

    .cta-content h4 {
        font-size: 1.1rem;
    }

    .btn-contact,
    .btn-call {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .faq-title {
        font-size: 1.5rem;
    }

    .faq-badge {
        font-size: 0.75rem;
    }

    .faq-question {
        padding: 0.8rem;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
    }

    .faq-question h3 {
        font-size: 0.8rem;
    }

    .faq-toggle {
        width: 28px;
        height: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact,
    .btn-call {
        width: 100%;
        justify-content: center;
    }
}


/* Skeleton Loading States - Mobile Responsive */
@media (max-width: 768px) {
    .skeleton-logo-circle {
        width: 55px;
        height: 55px;
    }

    .skeleton-partner-card {
        min-width: 130px;
        padding: 0.5rem 0.8rem;
    }

    .skeleton-logo-small {
        width: 32px;
        height: 32px;
    }

    .skeleton-partner-text {
        width: 60px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    .skeleton-logo-circle {
        width: 50px;
        height: 50px;
    }

    .skeleton-arrow {
        width: 32px;
        height: 32px;
    }

    .skeleton-badges div {
        width: 50px;
        height: 20px;
    }
}