/* Global/Reset */
body {
    font-family: 'Roboto', sans-serif;
    margin: auto;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
}
/* Intro Section */
.intro-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    text-align: center;
}

.intro-section h2 {
    color: #004d40;
    margin-top: 0;
}

/* Ensure long intro paragraphs are neatly aligned and easy to read */
.mission-text p {
    text-align: justify;
}

.hidden-content {
    display: none;
    text-align: left;
    margin-top: 1rem;
}

.btn-primary {
    background-color: #006b3c;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #004d2b;
}

/* Footer Section */
.footer-section {
    background-color: #004d40;
    color: #ffffff;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 10px;
    text-align: center;
}

.footer-section a {
    color: #ffffff;
    text-decoration: underline;
}

.closing-message {
    margin-top: 2rem;
    text-align: left;
}

.closing-message h3 {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    font-weight: bold;
    text-align: center;
    margin-top: 1.5rem;
}

.signature {
    text-align: right;
    font-weight: bold;
    margin-top: 1rem;
}

/* === HEADER (Top Banner) STYLES === */

.header {
    background-color: #004d40;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Increased padding-bottom to ensure space for the SEERAKKU logo above the title */

}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    flex-wrap: wrap;
    padding: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.energy-poster {
    flex: 0 1 360px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.energy-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

.hero-text-box {
    flex: 1 1 360px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .energy-poster,
    .hero-text-box {
        max-width: 100%;
    }

    .hero-text-box {
        align-items: center;
    }
}



/* Header Text Content and SEERAKKU Logo */
.header-content {
    position: relative;
    z-index: 10;
    /* Adjusted transform to account for new structure */
}

/* NEW: Wrapper for SEERAKKU logo and main H1 */
.title-and-seerakku-wrapper {
    display: flex;
    /* Use flexbox for vertical centering if needed, though block works too */
    flex-direction: column;
    /* Stack children vertically */
    align-items: center;
    /* Center items horizontally */
    margin-bottom: 10px;
    /* Space between this wrapper and the sub-text p */
}

/* NEW: SEERAKKU Logo Styling */
.seerakku-logo-wrapper {
    margin-bottom: 15px;
    /* Space between logo and main H1 */
    text-align: center;
    /* Ensures logo is centered if its wrapper is smaller */
}

.seerakku-logo {
    max-width: 180px;
    /* Increased size to match your image */
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    /* Center the logo image */
}

/* END NEW */


.header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.header p {
    /* This targets the "30 Days..." sub-text */
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 15px;
    /* Add some space above the subtitle */
}

/* === MAIN CONTENT (CONTAINER) STYLES === */

.container {
    width: 95%;
    max-width: 1400px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px dashed #ccc;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #004d40;
    border-left: 5px solid #ff9800;
    padding-left: 10px;
    margin-bottom: auto;
    font-size: 1.8em;
}

/* Table Styling (General) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #e0f2f1;
    color: #004d40;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Mascot Symbolism Box */
.symbolism-box {
    display: flex;
    gap: 20px;
    padding: 15px;
    margin-top: 20px;
    background-color: #fffde7;
    border: 1px solid #ffeb3b;
    border-radius: 5px;
}

.symbolism-box strong {
    color: #f9a825;
}

/* List Styling for Institutions */
.institution-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.institution-list li {
    background: #e8f5e9;
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 5px solid #4caf50;
    font-weight: 500;
    transition: background-color 0.3s;
}

/* === SIDE-BY-SIDE IMAGE SECTION STYLES === */
.bottom-images-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 95%;
    max-width: 1400px;
    margin: 30px auto;
    padding: 15px;
}

.image-wrapper {
    flex: 1;
    min-width: 45%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.side-image {
    width: 100%;
    height: auto;
    display: block;
}

/* === FOOTER STYLES === */
.footer {
    clear: both;
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
}


/* === RESPONSIVE ADJUSTMENTS === */

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .header {
        padding-top: auto;
        padding-bottom: auto;
        /* Adjusted */
    }

    .top-decoration {
        height: 80px;
    }

    .header-content {
        transform: translateY(-30px);
        /* Adjusted */
    }

    .top-left-icon img {
        max-width: 200px;
    }

    .top-right-icon img {
        max-width: 60px;
    }

    /* SEERAKKU Logo Sizing on Tablet */
    .seerakku-logo {
        max-width: 280px;
        /* Adjusted for tablet */
        margin-bottom: 10px;
    }

    /* Stack side-by-side images vertically */
    .bottom-images-wrapper {
        flex-direction: column;
        gap: 20px;
        width: 98%;
        padding: 0;
    }

    .image-wrapper {
        min-width: 100%;
    }

    /* Flip card adjustments for mobile */
    .category-card {
        height: 287px;
        padding: 0.8rem;
    }

    .card-front,
    .card-back {
        padding: 15px;
    }

    .flip-hint {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8em;
    }

    .header {
        padding-top: 60px;
        padding-bottom: 30px;
        /* Adjusted */
    }

    .top-decoration {
        height: 60px;
    }

    .header-content {
        transform: translateY(-20px);
        /* Adjusted */
    }

    .top-left-icon {
        left: 10px;
    }

    .top-right-icon {
        right: 10px;
    }

    .top-left-icon img {
        max-width: 150px;
    }

    .top-right-icon img {
        max-width: 40px;
    }

    /* SEERAKKU Logo Sizing on Mobile */
    .seerakku-logo {
        max-width: 180px;
        /* Adjusted for mobile */
        margin-bottom: 8px;
    }

    .symbolism-box {
        flex-direction: column;
    }

    .institution-list {
        grid-template-columns: 1fr;
    }

    .bottom-images-wrapper {
        width: 100vw;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Flip card adjustments for small mobile */
    .category-card {
        height: 287px;
        padding: 0.6rem;
    }

    .card-front,
    .card-back {
        padding: 15px;
    }

    .card-front h3,
    .card-back h3 {
        font-size: 1rem;
    }
}




/* NEW: mission-row with gif container on the right side (separate container) */
/* === NEW: Mission Row for Left-aligned GIF and Text === */
.mission-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}

/* Text Content (About the Awards) */
.mission-row .mission-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* GIF Container */
.gif-container {
    flex: 0 0 320px;
    /* fixed thumbnail width on desktop */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* GIF Image Styling */
.mission-gif {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

/* Responsive: stack and make gif full width on small screens */
@media (max-width: 900px) {
    .mission-row {
        flex-direction: column;
        gap: 12px;
    }

    .gif-container {
        flex: 0 0 auto;
        width: 100%;
    }

    .mission-gif {
        max-width: 100%;
    }
}



.top-bar-six {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    height: 120px;
    padding: 0 20px;
}

/* NORMAL LOGOS */
.top-bar-six img {
    max-height: 100px;
    height: auto;
}

/* L5 special layout */
.logo-with-title {
    display: flex;
    flex-direction: column;
    /* image on top, title below */
    align-items: center;
    justify-content: center;
}

/* adjust image inside title box */
.logo-with-title img {
    max-height: 70px;
    /* slightly smaller to fit title */
}

/* TITLE TEXT under L5 */
.logo-title {
    color: rgb(0, 0, 0);
    font-size: 10px !important;
    margin-top: 5px !important;
    text-align: center;
}



/* container for left logo + title */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* title stays centered */
    gap: 30px;
    padding: 20px 0;
}

/* left logo beside the title */
.header-left-logo img {
    height: 80px;
    width: auto;
}

/* title box stays centered */
.header-title-box {
    text-align: center;
}

.header-title-box h1 {
    margin: 0;
}

.header-title-box p {
    margin-top: 10px;
}

/* Circle background for the left logo */
.circle-bg {
    width: 110px;
    /* circle size */
    height: 110px;
    background: white;
    /* circle color */
    border-radius: 50%;
    /* makes perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* keeps image inside circle */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* optional */
}

/* logo inside circle */
.circle-bg img {
    width: 100%;
    /* adjust based on logo shape */
    height: auto;
}


.associate-sponsor-section {
    padding: 30px 0;
    text-align: center;
}

.associate-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.associate-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    /* space between logos */
    flex-wrap: wrap;
}

/* Make all logos smaller */
.associate-logo-row img {
    max-height: 70px;
    /* adjust this number to be smaller/bigger */
    width: auto;
}


/* Wrapper heading */
.green-energy-heading {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 10px 20px;
    animation: ge-float 4s ease-in-out infinite;
}

/* Dove icon */
.green-energy-heading .ge-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
}

/* Main line – gradient + shimmer + glow */
.green-energy-heading .ge-main {
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fffde7;
    /* soft warm white */
    text-shadow:
        0 0 8px rgba(255, 223, 88, 0.9),
        0 0 16px rgba(255, 200, 40, 1),
        0 0 28px rgba(255, 215, 64, 0.9);
    animation: ge-glow 3s ease-in-out infinite, ge-float 4s ease-in-out infinite;
}

/* Sub line – softer green */
.green-energy-heading .ge-sub {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e8f5e9;
    text-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
}

/* Energy underline bar */
.green-energy-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00c853, #aeea00, #00e5ff);
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
    animation: ge-underline 2s ease-out forwards;
}

/* Floating greenery aura behind text */
.green-energy-heading::before {
    content: "";
    position: absolute;
    inset: -10px -40px;
    background: radial-gradient(circle at center,
            rgba(76, 175, 80, 0.24) 0%,
            rgba(0, 77, 64, 0.0) 60%);
    filter: blur(2px);
    z-index: -1;
}

/* === Animations === */

@keyframes ge-shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 250% 50%;
    }
}

@keyframes ge-glow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(129, 199, 132, 0.7);
    }

    50% {
        text-shadow: 0 0 16px rgba(200, 230, 201, 1);
    }
}

@keyframes ge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes ge-underline {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 70%;
        opacity: 1;
    }
}

/* === FULL HEADER INNER ANIMATION === */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    /* greenery aura */
    position: relative;
    padding: 20px 30px;
    border-radius: 12px;

    /* subtle animated background glow */
    background: radial-gradient(circle at center,
            rgba(76, 175, 80, 0.22) 0%,
            rgba(0, 77, 64, 0.0) 70%);
    animation: headerGlow 6s ease-in-out infinite,
        headerFadeIn 1.2s ease-out forwards;
    opacity: 0;
}

/* soft floating movement */
@keyframes headerGlow {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 18px rgba(76, 175, 80, 0.28);
    }

    50% {
        transform: translateY(-8px);
        box-shadow: 0 0 32px rgba(139, 195, 74, 0.45);
    }
}

/* fade + rise on load */
@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* OPTIONAL — animated greenery ring behind */
.header-inner::before {
    content: "";
    position: absolute;
    inset: -30px -60px;
    background: radial-gradient(circle,
            rgba(255, 223, 88, 0.12),
            rgba(0, 0, 0, 0) 75%);
    filter: blur(18px);
    z-index: -1;
    animation: auraPulse 5s ease-in-out infinite;
}

@keyframes auraPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

.video-section {
    background: white;
    padding: 20px;
    max-width: 900px;
    /* adjust according to your page */
    margin: auto;
    border-radius: 12px;
}

.youtube-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.youtube-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 65px;
    padding: 22px 32px;
    border-radius: 50%;
}

.ensav-logo {
    height: 60px !important;
    /* reduce size */
    width: auto;
    object-fit: contain;
}







/* ============================
   SECTION BASE
============================ */
.categories-section {
    padding: 50px 20px;
    background: #eef5eb;
    font-family: Arial, sans-serif;
}

.categories-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a4d1b;
    font-weight: 700;
}

/* ============================
   NOMINATION PROCESS SECTION
============================ */
.nomination-section {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 32px 26px 40px;
    background: #e8f4ff; /* light blue background */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.nomination-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 24px;
    color: #004d40;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nomination-section h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 8px;
    color: #1a4d1b;
}

.nomination-section p {
    margin: 6px 0 4px;
}

.nomination-section ul {
    margin: 6px 0 10px 20px;
    padding-left: 14px;
}

.nomination-section ul li {
    margin-bottom: 4px;
}

.nomination-section hr {
    border: none;
    border-top: 1px dashed #c5d7c5;
    margin: 18px 0;
}

@media (max-width: 768px) {
    .nomination-section {
        margin-top: 24px;
        padding: 24px 16px 28px;
    }

    .nomination-section h2 {
        font-size: 26px;
    }

    .nomination-section h3 {
        font-size: 18px;
    }
}

/* ============================
   GRID LAYOUT
============================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

/* Extra spacing for the EnergyX row moved further down */
.energyx-row {
    margin-top: 40px;
}

/* ============================
   CARD FRONT
============================ */
.category-card {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: .2s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 26px rgba(0,0,0,0.18);
}

.category-card .card-front h3,
.category-card .card-back h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    color: #146b1e;
    margin: 0 0 10px;
}

.category-card p {
    margin: 6px 0;
    color: #333;
}

.sponsor {
    color: #1f5c1d;
}

.reward {
    color: #EFBF04 !important;
}

.flip-hint {
    font-size: 14px;
    color: #0a4b12;
}

/* Back content is only used inside popup */
.category-card .card-back {
    display: none;
}

/* ============================
   SVG ICON STYLING
============================ */
.icon-wrap {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-svg {
    width: 34px;
    height: 34px;
}

.icon-svg circle {
    fill: #e2f4e7;      /* light green background */
}

.icon-svg polygon {
    fill: #0f5a17;      /* dark green lightning */
}

/* ============================
   POPUP / MODAL
============================ */
.category-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.category-modal.open {
    display: flex;
}

.category-modal-content {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 750px;
    border-radius: 18px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn .25s ease;
}

.category-modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.category-modal-body h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #14521a;
    font-size: 26px;
}

.category-modal-body h3 .icon-svg {
    width: 38px;
    height: 38px;
}

.category-modal-body p {
    font-size: 17px;
    line-height: 1.6;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(.92); }
    to { opacity: 1; transform: scale(1); }
}

/* Small screens */
@media (max-width: 480px) {
    .categories-section h2 {
        font-size: 28px;
    }
    .category-modal-content {
        padding: 20px;
    }
    .category-modal-body h3 {
        font-size: 22px;
    }
}

.category-card {
    height: 287px;              /* Adjust as per your design */
    display: flex;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-front,
.card-back {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This spreads content to edges */
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
}

.card-front h3,
.card-back h3 {
    margin-bottom: 10px;
}

.card-front p:last-child {
    margin-top: auto;   /* Push description downward */
}

/* Ensure text doesn’t overflow */
.card-front p,
.card-back p {
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-front p.short-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;    /* number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #004d2b;
}





/* Category Card Colors */
.category-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.category-card.flipped .card-inner {
    transform: rotateY(180deg);
}

/* ---- FRONT & BACK DEFAULT STYLE ---- */
.card-front, 
.card-back {
    padding: 20px;
    border-radius: 12px;
    backface-visibility: hidden;
    color: white;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-back {
    transform: rotateY(180deg);
}

/* 🎨 COLOR SET FOR EACH CARD (A to H) */
.category-card:nth-child(1) .card-front { background: #F4F0FF; }
.category-card:nth-child(1) .card-back  { background: #F5F2FF; }

.category-card:nth-child(2) .card-front { background: #FFF6EB; }
.category-card:nth-child(2) .card-back  { background: #FFF8F0; }

.category-card:nth-child(3) .card-front { background: #F4F0FF; }
.category-card:nth-child(3) .card-back  { background: #F5F2FF; }

.category-card:nth-child(4) .card-front { background: #FFF6EB; }
.category-card:nth-child(4) .card-back  { background: #FFF8F0; }

.category-card:nth-child(5) .card-front { background: #F4F0FF; }
.category-card:nth-child(5) .card-back  { background: #F5F2FF; }

.category-card:nth-child(6) .card-front { background: #FFF6EB; }
.category-card:nth-child(6) .card-back  { background: #FFF8F0; }

.category-card:nth-child(7) .card-front { background: #F4F0FF; }
.category-card:nth-child(7) .card-back  { background: #F5F2FF; }

.category-card:nth-child(8) .card-front { background: #FFF6EB; }
.category-card:nth-child(8) .card-back  { background: #FFF8F0; }


/* ICON COLOR FIX */
.icon-svg circle {
    fill: rgba(81, 159, 103, 0.2);
}

.icon-svg path {
    fill: #004d2b !important;
}

/* Hover effect */
.category-card:hover .card-front {
    transform: translateY(-5px);
}

/* Modal Styles */
.category-modal.open .category-modal-content {
    animation: popup 0.3s ease;
}

@keyframes popup {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}






