* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.themes-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    /* position: relative;
    overflow: hidden; */
    margin-top: 100px;
}

/* Subtle background decoration */
.themes-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
            rgba(45, 106, 79, 0.05) 0%,
            transparent 70%);
    border-radius: 50%;
    animation: floatBackground 20s ease-in-out infinite;
}

.themes-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(82, 183, 136, 0.05) 0%,
            transparent 70%);
    border-radius: 50%;
    animation: floatBackground 25s ease-in-out infinite reverse;
}

@keyframes floatBackground {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.container {
    position: relative;
    z-index: 1;
}

/* Title styling */
.theme-title {
    font-size: 2.5rem;
    color: #000;
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.theme-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    /* background: linear-gradient(90deg, #2d6a4f, #52b788); */
     background: linear-gradient(90deg, #8b0000, #240b36);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 120px;
    }
}

/* Paragraph intro */
.theme-intro {
    font-size: 14px;
    line-height: 1.9;
    color: #000;
    margin: 0 auto 50px;
    background: white;
    padding: 38px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #8b0000;
    position: relative;
    letter-spacing: 1.0px;
}

.theme-intro::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(45, 106, 79, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Theme card with hover effect */
.theme-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(45, 106, 79, 0.1);
    display: flex;

}

.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(45, 106, 79, 0.15);
}

/* Theme number badge */
.theme-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #240b36);
    /* background: linear-gradient(135deg, #2d6a4f, #52b788); */
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s backwards;
}

/*@keyframes popIn {*/
/*    0% {*/
/*        transform: scale(0) rotate(-180deg);*/
/*        opacity: 0;*/
/*    }*/

/*    100% {*/
/*        transform: scale(1) rotate(0deg);*/
/*        opacity: 1;*/
/*    }*/
/*}*/

/* Theme box */
.theme-box {
    background: #fff;
    border-radius: 18px;
}

/* Theme heading */
.theme-heading {
    font-size: 1.6rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.theme-box p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* List styling with animated bullets */
.theme-list {
    list-style: none;
    padding: 0;
}

.theme-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #333;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInList 0.5s ease-out forwards;
}

.theme-list li:nth-child(1) {
    animation-delay: 1s;
}

.theme-list li:nth-child(2) {
    animation-delay: 1.1s;
}

.theme-list li:nth-child(3) {
    animation-delay: 1.2s;
}

.theme-list li:nth-child(4) {
    animation-delay: 1.3s;
}

.theme-list li:nth-child(5) {
    animation-delay: 1.4s;
}

.theme-list li:nth-child(6) {
    animation-delay: 1.5s;
}

.theme-list li:nth-child(7) {
    animation-delay: 1.6s;
}

.theme-list li:nth-child(8) {
    animation-delay: 1.7s;
}

.theme-list li:nth-child(9) {
    animation-delay: 1.8s;
}

@keyframes slideInList {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.theme-list li:hover {
    padding-left: 35px;
    color: #8b0000;
}

.theme-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: #8b0000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-list li:hover::before {
    background: #8b0000;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(45, 106, 79, 0.5);
}

/* Image container with elegant hover */

.image-wrapper {

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);

    transition: all 0.4s ease;

    max-width: 800px;

    height: 100%;
    max-height: none;

    margin: auto;

}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    border-radius: 20px;
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

/* Category badge */
.category-badge {
    display: inline-block;
   background: linear-gradient(90deg, #8b0000, #240b36);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(45, 106, 79, 0.15);
}

/* Smooth fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnimation 0.8s ease-out forwards;
}

.fade-up:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-up:nth-child(2) {
    animation-delay: 0.4s;
}

.fade-up:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeUpAnimation {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth fade-right animation */
.fade-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeRightAnimation 0.8s ease-out forwards;
}

@keyframes fadeRightAnimation {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-title {
        font-size: 2.5rem;
    }

    .theme-intro {
        padding: 25px;
        font-size: 1rem;
    }

    .theme-card {
        padding: 25px;
    }

    .theme-heading {
        font-size: 1.3rem;
    }

    .image-wrapper {
        margin-top: 30px;
    }
}
#theme-card-container1{
    margin-top: -40px;
}

/* --- Core Structure Adjustments --- */
.theme-card-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(45, 106, 79, 0.1);
    margin-bottom: 10px;

}

.theme-card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(45, 106, 79, 0.15);
}

/* --- Clickable Header (The visible part of the card) --- */
.theme-card-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 40px;
    /* Your original padding */
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    /* Ensure click area respects border */
    transition: background-color 0.2s;
}

.theme-card-header:focus,
.theme-card-header:hover {
    text-decoration: none;
    background-color: #f7fcf9;
    /* Subtle click/hover background */
}

/* --- Content Wrapper for Header Items --- */
.theme-card-header .header-content {
    flex-grow: 1;
    padding-right: 40px;
    /* Space for the icon */
}

/* --- Number Badge (Keep original styles) --- */
.theme-card-header .theme-number {
    /* Your existing .theme-number styles */
    flex-shrink: 0;
    margin-right: 25px;
    margin-bottom: 0;
    /* Important: remove bottom margin */
}

/* --- Heading (Keep original styles) --- */
.theme-card-header .theme-heading {
    /* Your existing .theme-heading styles */
    margin-bottom: 0;
    /* Important: remove bottom margin */
}

/* --- Category Badge (Keep original styles) --- */
.theme-card-header .category-badge {
    /* Your existing .category-badge styles */
    margin-bottom: 8px;
}

/* --- Rotating Chevron Icon for State Indication --- */
.chevron-icon {
    display: block;
    width: 15px;
    height: 15px;
    border: solid #2d6a4f;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    /* Default (down) */
    transition: transform 0.3s ease;
    position: absolute;
    right: 40px;
}

.theme-card-header.collapsed .chevron-icon {
    transform: rotate(45deg);
    /* Down Arrow when collapsed */
}

.theme-card-header:not(.collapsed) .chevron-icon {
    transform: rotate(-135deg);
    /* Up Arrow when open */
}

/* --- Collapsible Body Styling --- */
.theme-details-collapse {
    padding: 0 40px 40px 40px;
    /* Padding for the body content */
    border-top: 1px solid rgba(45, 106, 79, 0.1);
}

.theme-card-body {
    padding-top: 20px;
}

.theme-details-collapse .theme-box {
    background: none;
    border-radius: 0;
}


.theme-list li {
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

.theme-details-collapse .image-wrapper {
    margin-top: 0;
}

@media (max-width: 768px) {
    .theme-card-header {
        padding: 25px;
    }

    .theme-details-collapse {
        padding: 0 25px 25px 25px;
    }

    .chevron-icon {
        right: 25px;
    }
    .theme-title1{
        font-size: 20px!important;
    }
    .coming-main{
        font-size: 18px!important;
        padding-top: 20px;
    }
    .coming-modern{
        height: auto!important;
    }
    .coming-tagline{
        margin-top: -40px!important;
    }
}
