/* Topics Header Section */
.topics-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #003366 0%, #004488 100%);
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.topics-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.topics-header-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.topics-header-text {
    flex: 1;
}

.topics-header-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.topics-header-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.topics-header-image {
    flex: 0 0 380px;
    text-align: center;
}

.topics-header-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.topics-header-image img:hover {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .topics-header {
        padding: 100px 0 60px;
    }

    .topics-header-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .topics-header-image {
        flex: 0 0 auto;
        order: -1;
    }

    .topics-header-image img {
        max-width: 300px;
    }

    .topics-header-text h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .topics-header-text p {
        font-size: 1rem;
        text-align: center;
    }
    .important-note h4, .call-to-action h4{font-weight: bold}
    .important-note p {color: #705300}
    .call-to-action p, .topic-content p, .topic-content ul li{font-size: 1rem !important}
    .call-to-action a{font-size: .9rem}
}

@media (max-width: 480px) {
    .topics-header-text h1 {
        font-size: 1.8rem;
    }

    .topics-header-image img {
        max-width: 250px;
    }
}

/* Topic Cards */
.topic-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 25px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #004080);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.15);
}

.topic-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.topic-icon {
    background: linear-gradient(135deg, #003366, #004080);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.topic-title {
    color: #003366;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.topic-content {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
}

.topic-content h3 {
    color: #003366;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.topic-content ul {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.topic-content li {
    margin-bottom: 0.8rem;
    padding-right: 0.5rem;
}

.topic-content li::marker {
    color: #003366;
}

/* Important Note Box */
.important-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-right: 4px solid #ffc107;
}

.important-note h4 {
    color: #856404;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.important-note p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Legal Reference Box */
.legal-ref {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-right: 4px solid #003366;
}

.legal-ref h5 {
    color: #003366;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-ref p {
    margin: 0;
    color: #555;
    font-style: italic;
}

@media (max-width: 767px) {
    .topic-card {
        padding: 2rem;

    }

    .topic-header {
        flex-direction: column;
        text-align: center;
    }

    .topic-icon {
        margin: 0 0 1rem 0;
    }
}
