/* Index Page Display Layout */
:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #8b5cf6;
    --color-secondary-dark: #16213b;
    --color-purple-dark: #3a0ca3;
    --color-accent: #db0080;
    ;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-dark: #1e293b;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gray: #64748b;
    --text-gray-light: #94a3b8;
    --color-border: #e2e8f0;
    --transparent: transparent;

    --border-radius: 12px;

    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-bezier: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, rgb(7, 5, 19), rgb(25, 23, 54), rgb(14, 14, 26));
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* --flex-display: flex;
  --flex-direction: column; */
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #000713 0%, #15003d 100%);
    min-height: 100vh;
    /* padding: 20px; */
    text-align: center;
    margin: 0;
}




h1 {
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.7);
    font-size: 3rem;
    letter-spacing: 2px;
}


h2 {
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.7);
    font-size: 2.2rem;
    letter-spacing: 1.8px;
}

h3 {
    color: #cacaca;
    font-size: 1.2rem;
    letter-spacing: 1.1px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e0ff;
}



@font-face {
    font-family: 'BeyondWonderland';
    src: url('/fonts/Beyond Wonderland.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* Improves loading performance */
}

.wonderland {
    font-family: 'BeyondWonderland', sans-serif;
    font-weight: 500;
    font-size: 70px;
    margin-left: 80px;
}



/* Go to Top Button */
.toTop {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #8f3900;
    color: white;
    border-radius: 15px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}





/* Containers */
.container {
    flex: 1;
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 10px;
    transition: all 0.3s ease;

}

.centered-div {
    justify-content: center;
    align-items: center;
}


.flex-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}


.flex-div img {
    width: 200px !important;
    height: 130px !important;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}


.small {
    font-size: 0.9rem;
    color: #718096;
    margin: 8px;
}


.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.flew-row {
    flex-direction: row;
}


/* Flex Card */
.flex-card {
    display: flex;
    flex-direction: column;
    height: 410px;
    /* border: 1px solid #ccc; */
    /* padding: 15px; */
    justify-content: space-between;
}

.flex-card .content {
    flex-grow: 1;
    padding: 0;
}

.flex-card .title {
    text-align: left !important;
    margin-top: 0;
    margin-bottom: 0;
    height: 50px;
}

.flex-card .description {
    /* margin-bottom: 15px; */
    line-height: 1.5;
    font-size: 18px;
    height: 170px;
    overflow: hidden;
}


.flex-card .social-area {
    margin-bottom: 15px;
}

.styles p {
    color: rgba(106, 216, 201) !important;
    text-shadow: 0 0 10px rgb(170, 44, 164) !important;
    height: 70px;
    overflow: hidden;
}


.flex-card .links-dj {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 0;
    /* height: 40px;
    overflow: hidden; */
}

.flex-card .links-dj a {
    text-decoration: none;
    color: #007bff;
}

.flex-card .links a:hover {
    text-decoration: underline;
}

/* .links {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
} */



/* Section divider */
.section-divider,
.section-divider_2 {
    height: 1px;
    background: linear-gradient(to right, transparent, transparent, #991a7e, transparent, transparent);
    margin: 40px 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, #8801a3, #7500c4, #8801a3, transparent);
}

.section-divider_2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
}




/* Grid layout */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(385px, 1fr));
    gap: 2rem;
}

.index-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 2rem;
}



/* Project Cards */
.project-card {
    padding: 2.5rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    background: rgba(0, 3, 46, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(218, 217, 217, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #340070;
    text-align: left;
    color: #e8fafa;
}

.project-card.justify p {
    text-align: justify;
}

.project-card:hover {
    transform: translateY(-5px);
    border: 1px solid #460096;
    box-shadow: 0px 0px 40px #340070;
}

.project-card h2 {
    /* color: #2c3e50; */
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
    text-align: left;
}

.project-card h2 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card h2.hop:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(0, 200, 255, 1);
}

.project-card p {
    margin-bottom: 0.8rem;
    /* color: #555; */
}

.project-card .goal {
    font-weight: 600;
    color: #27ae60;
    font-size: 1.2rem;
}

.project-card .raised {
    font-weight: 600;
    color: #3498db;
    font-size: 1.2rem;
}

.project-card .deadline {
    font-weight: 500;
    /* color: #7f8c8d; */
}

.project-card img {
    width: 100%;
}

.project-card .title {
    text-align: center;
}



/* Card text description */
.card-text-description {
    padding-bottom: 80px;
}

/* Card bottom buttons */
.card-btn-left {
    position: absolute;
    left: 40px;
    bottom: 40px;
}

.card-btn-right {
    position: absolute;
    right: 40px;
    bottom: 40px;
}




/* Text styling */
.text-lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #2d3748;
    margin-bottom: 25px;
    line-height: 1.7;
}

.text-small {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 10px;
}




/* Content alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}


/* Spacing utilities */
.mlr-auto {
    margin: 0 auto;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-0 {
    margin-top: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.ml-10 {
    margin-left: 10px;
}

.mr-10 {
    margin-right: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.mr-20 {
    margin-right: 20px;
}

.ml-30 {
    margin-left: 30px;
}

.mr-30 {
    margin-right: 30px;
}


.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}




/* Date and Event Div */

.dateDiv {
    width: 65%;
    margin: 0 auto;
    /* padding: 30px; */
    color: white;
}

.dateDiv h3 {
    width: 200px;
}

.dateDiv a,
a.a-normal-text {
    text-decoration: none;
    color: #cacaca;
    transition: all 0.5s ease;
}

.dateDiv a:hover,
a.a-normal-text:hover {
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.938);
    color: #10b981
}

.eventDiv {
    position: relative;
    /* width: 65%; */
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    color: white;
    border: 1px solid rgb(155, 0, 155);
    background: rgba(20, 0, 46, 0.7);
    /* background: rgba(31, 0, 46, 0.7); */

    animation: gradientShiftTimer 8s ease infinite;
    transition: all 0.3s ease;

}

.eventDiv img {
    max-width: 100%;
}

@keyframes gradientShiftTimer {
    0% {
        box-shadow:
            inset 0 0px 18px rgb(155, 0, 155),
            0 0 40px rgba(155, 0, 155, 0.5),
            /* 0 0 80px rgba(0, 106, 114, 0.3), */
            0 0 120px rgba(155, 0, 155, 0.2);
    }


    50% {
        box-shadow:
            inset 0 0px 0px rgb(155, 0, 155),
            0 0 40px rgba(70, 0, 70, 0.5),
            /* 0 0 80px rgba(155, 0, 155, 0.3), */
            0 0 120px rgba(155, 0, 155, 0.2);
    }



    100% {
        box-shadow:
            inset 0 0px 18px rgb(155, 0, 155),
            0 0 40px rgba(155, 0, 155, 0.5),
            /* 0 0 80px rgba(0, 106, 114, 0.3), */
            0 0 120px rgba(155, 0, 155, 0.2);
    }
}




/* Login */

.parent-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login {
    backdrop-filter: blur(3px);
    width: 50%;
    max-width: 900px;
    padding: 50px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 30px;
    border-radius: 22px;
    border: 1px solid rgba(53, 13, 105, 0.6);

}

.login a {
    transition: all 0.5s ease;

}

.login a:hover {
    text-shadow:
        0 0 10px rgb(155, 0, 155),
        0 0 150px rgb(0, 106, 114),
        0 0 20px rgba(155, 0, 155, 0.671);
}



/* Footer */

.footer {
    background: black;
    color: grey;
}

.footer-part {
    width: 30%;
}

.footer-contact {
    color: #10b981 !important;
}

.footer-contact:hover {
    color: #10b981 !important;
    text-shadow: 0 0 15px rgba(0, 200, 255, 0.938) !important;
}



/* Effects */

.blur {
    backdrop-filter: blur(4px);
    border-radius: 18px;
}


.pic-border {
    border-radius: var(--border-radius);
}





/* Responsive adjustments */
@media (max-width: 1100px) {
    .index-grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 1150px) {
    .wonderland {
        margin-left: 0px;
    }
}

@media (max-width: 1005px) {
    .footer-part {
        width: 80%;
    }

    .flex-card {
        height: auto;
    }

    .styles p {
        height: auto;
    }

    .flex-card .description {
        height: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        width: 90%;
    }

    .index-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .project-card {
        padding: 20px;
    }

    .flex-div {
        flex-direction: column;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    .footer-part {
        width: 60%;
        margin-bottom: 15px;
        margin-top: 15px;
    }

}

@media (max-width: 670px) {
    .container {
        padding: 10px;
    }

    .index-grid {
        gap: 15px;
    }

    .project-card {
        padding: 25px;
    }

    .card-text-description {
        padding-bottom: 100px;
    }

    .card-btn-left {
        left: 25px;
    }

    .card-btn-right {
        right: 25px;
    }

    .login {
        width: 60%;
    }
}

@media (max-width: 480px) {
    section {
        margin-top: -5px;
    }

    .dateDiv h3 {
        width: auto;
    }

    .wonderland {
        font-size: 40px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.4rem;
    }
}