/* Featured Report Section */
.featured-report-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.featured-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: stretch;
}

.featured-content-left {
    display: flex;
    flex-direction: column;
}

.featured-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    background: #eee;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.featured-media:hover {
    transform: scale(1.02);
}

.featured-media img,
.featured-media iframe {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    border: none;
}

.featured-details {
    padding: 10px;
}

.featured-details h2 {
    color: #0b3a66;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.featured-details p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.featured-download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f15a24 0%, #ff8c00 100%);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 15px 35px rgba(241, 90, 36, 0.3);
    border: none;
    width: fit-content;
}

.featured-download-btn:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #f15a24 100%);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 45px rgba(241, 90, 36, 0.5);
    color: #fff;
    text-decoration: none;
}

/* Integrated Form Styling */
.featured-form-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-form-container h3 {
    color: #0b3a66;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.featured-form-container .form-group {
    margin-bottom: 25px;
}

.featured-form-container label {
    color: #0b3a66;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.featured-form-container .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fcfcfc;
}

.featured-form-container .form-control:focus {
    outline: none;
    border-color: #0b3a66;
    box-shadow: 0 0 0 4px rgba(11, 58, 102, 0.1);
    background: #fff;
}

.featured-form-container .btn-success {
    background: #0b3a66;
    border: none;
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.featured-form-container .btn-success:hover {
    background: #f15a24;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(241, 90, 36, 0.4);
}

@media (max-width: 1024px) {
    .featured-wrapper {
        grid-template-columns: 1fr;
    }
    .featured-media img,
    .featured-media iframe {
        height: 400px;
    }
    .featured-details h2 {
        font-size: 2.2rem;
    }
}

/* Gallery Section (Coverflow Theme) */
.reports-gallery-section {
    background: #f8f9fa; /* Slightly off-white */
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* Geometric Background Pattern */
.reports-gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(30deg, #0b3a6605 12%, transparent 12.5%, transparent 87%, #0b3a6605 87.5%, #0b3a6605),
        linear-gradient(150deg, #0b3a6605 12%, transparent 12.5%, transparent 87%, #0b3a6605 87.5%, #0b3a6605),
        linear-gradient(30deg, #0b3a6605 12%, transparent 12.5%, transparent 87%, #0b3a6605 87.5%, #0b3a6605),
        linear-gradient(150deg, #0b3a6605 12%, transparent 12.5%, transparent 87%, #0b3a6605 87.5%, #0b3a6605),
        linear-gradient(60deg, #f15a2405 25%, transparent 25.5%, transparent 75%, #f15a2405 75.5%, #f15a2405),
        linear-gradient(60deg, #f15a2405 25%, transparent 25.5%, transparent 75%, #f15a2405 75.5%, #f15a2405);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    z-index: 0;
}

#galaxyCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.reports-gallery-section .container {
    position: relative;
    z-index: 1;
}

.reports-gallery-section h1 {
    color: #0b3a66;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 550px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.report-card-gallery {
    position: absolute;
    width: 400px;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    will-change: transform, opacity;
    border: 4px solid #fff;
}

.report-card-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.gallery-card-content {
    padding: 25px;
    background: #fff;
}

.gallery-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b3a66;
    margin-bottom: 15px;
    min-height: 60px;
    line-height: 1.4;
}

.gallery-card-content .btn {
    background: #0b3a66;
    color: #fff;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.gallery-card-content .btn:hover {
    background: #f15a24;
    color: #fff;
    transform: translateY(-2px);
}

/* Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #0b3a66;
    font-size: 1.5rem;
}

.gallery-nav-btn:hover {
    background: #0b3a66;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(11, 58, 102, 0.3);
}

.gallery-nav-btn.prev {
    left: 40px;
}

.gallery-nav-btn.next {
    right: 40px;
}

.gallery-nav-btn i {
    pointer-events: none;
}

/* Mobile Gallery */
@media (max-width: 768px) {
    .report-card-gallery {
        width: 300px;
    }

    .gallery-container {
        height: 450px;
    }

    .gallery-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .gallery-nav-btn.prev {
        left: 10px;
    }

    .gallery-nav-btn.next {
        right: 10px;
    }
}
