@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

#goo-resources-v3 {
    font-family: "Inter", -apple-system, system-ui, sans-serif;
    color: #1e293b;
    background: #faf9f6;
}

.resources-header {
    background: #262926;
    padding: 100px 0 140px;
    text-align: center;
    color: white;
}

.resources-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white !important;
}

.resources-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

.resources-container {
    max-width: 1200px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Documents Section */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #262926;
    border-radius: 2px;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.doc-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.doc-card>div:first-child {
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doc-icon {
    font-size: 40px;
    color: #ef4444;
    /* PDF Red */
    margin-bottom: 20px;
}

.doc-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
    line-height: 1.4;
}

.btn-download {
    display: inline-block;
    background: #f1f5f9;
    color: #475569 !important;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    margin-top: auto;
    width: fit-content;
    align-self: center;
}

.btn-download:hover {
    background: #e2e8f0;
    color: #1e293b !important;
}

/* Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.video-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

@media (max-width: 991px) {

    .doc-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .resources-header h1 {
        font-size: 36px;
    }
}