/*index.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color:var(--body-back-color);
    width: 100%;
    overflow-x: hidden;
}
:root{
    --dark-purple:#31178f;
    --soft-purple:#7226b0;
    --back-color-main:#ffffff;
    --body-back-color:rgb(248, 246, 254);
    --main-text:black;
    --light-color:white;
    --secondary-text:#777;
}
section{
    padding: 20px;
}
input{
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}
header {
    position: fixed;
    background:transparent;
    color: var(--light-color);
    width: 100%;
    z-index: 999;
}
h3{
    font-weight: normal;
}

nav {
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    position: relative;
}
.logo img{
    width: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: bold;
    color: var(--main-text);
    text-decoration: none;
    position: relative;
}
.nav-links a:hover,
.nav-links .active{
    color: var(--dark-purple);
}
.nav-links a::after,
.nav-links .active::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--dark-purple);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}
/*User profile in navbar*/
.user-profile-navbar.mobile{
    display: none;
}
.user-profile-navbar {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}
.user-profile-navbar a::after{
    content: none;
}

.profile-picture-navbar {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--back-color-main);
    border: 2px solid var(--dark-purple);
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--secondary-text);
    font-size: 18px;
    text-align: center;
}
.profile-picture-navbar img{
    width: 40px;
}

.user-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: -28px;
    background-color: var(--body-back-color);
    padding: 10px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.238);
    z-index: 10;
}
.triangle{
    position: absolute;
    top: -15px;
    right: 39%;
}
.triangle ion-icon{
    color: var(--body-back-color);
    font-size: 28px;
}
.user-menu a{
    font-size: 16px !important;
    font-weight: 500;
    width: 100%;
    margin: 5px 0;
}
.details{
    color: var(--soft-purple);
}
.details:hover{
    color: var(--dark-purple);
}
.logout{
    color: #ff4d4d !important;
}
.logout-button i,
.logout i{
    margin-left: 5px;
}
.logout:hover{
    color: #970404 !important;
}
.logout-button {
    background-color: #ff4d4d !important;
}
.logout-button:hover{
    background-color: #970404 !important;
}

.user-profile-navbar:hover .user-menu {
    display: block;
}
/*Mobile burger*/

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
}

.burger div {
    width: 30px;
    height: 5px;
    border-radius: 4px;
    background: var(--dark-purple);
    transition: all 0.3s ease;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-6px, 6px);
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    -moz-transform: rotate(-45deg) translate(-6px, 6px);
    -ms-transform: rotate(-45deg) translate(-6px, 6px);
    -o-transform: rotate(-45deg) translate(-6px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-6px, -6px);
    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    -moz-transform: rotate(45deg) translate(-6px, -6px);
    -ms-transform: rotate(45deg) translate(-6px, -6px);
    -o-transform: rotate(45deg) translate(-6px, -6px);
}

.hero {
    display: block;
    padding: 20px 40px;
    background-image: linear-gradient(to bottom, #ffffff, #e0d6ff, #c3acff, #a980ff, #9150ff);
}
.hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.hero {
    font-size: 1.2em;
}

.hero-text {
    margin-top: 60px ;
    max-width: 600px;
    color: var(--main-text);
}
.hero-text h2{
    text-align: center;
    font-weight: 600;
    padding: 10px 20px;
    width: 250px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    box-shadow: 0px 0px 5px 1px var(--dark-purple);
}
.hero-text .h2-1{
    background-color:transparent;
    border: 2px solid var(--dark-purple);
    color: var(--dark-purple);
}
.hero-text .h2-2{
    box-shadow: 0px 0px 5px 1px var(--soft-purple);
    background-color: var(--soft-purple);
    margin-left: 100px;
    color: white;
}
.hero-text .h2-3{
    background-color: var(--dark-purple);
    color: white;
}
.hero-image img{
    margin-top: 20px;
    max-width: 500px;
    animation: hero-image-slide 3s infinite;
    -webkit-animation: hero-image-slide 3s infinite;
}
@keyframes hero-image-slide{
    0%,100%{
        transform: translateY(0px);
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
}
    50%{
        transform: translateY(15px);
        -webkit-transform: translateY(15px);
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -o-transform: translateY(15px);
}
}
/*Button style*/
.btn{
    position: relative;
    padding: 6px 14px;
    font-size: 1em;
    font-weight: 600;
    color: var(--light-color) !important;
    cursor: pointer;
    border-radius: 18px;
    border: none;
    background: var(--dark-purple);
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    -ms-border-radius: 18px;
    -o-border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-30deg);
    transition: left 0.5s;
}
.button{
    text-decoration: none;
    margin: 0 10px;
}
.btn:hover::before {
    left: 110%;
}
.btn:hover {
    background: var(--soft-purple);
    transform: scale(0.98);
    -webkit-transform: scale(0.98);
    -moz-transform: scale(0.98);
    -ms-transform: scale(0.98);
    -o-transform: scale(0.98);
}
.btn.log-in,
.btn.log-in.mobile{
    background: var(--soft-purple);
}
.btn.log-in:hover,
.btn.log-in.mobile:hover{
    background: var(--dark-purple);
}
.btn.log-in.mobile{
    display: none;
}
.btn.log-in.mobile a{
    color: var(--light-color);
    text-decoration: none;
}
/*Slogan codes*/
.slogan-div{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.slogan {
    text-align: center;
    font-size: 32px;
    margin-top: 100px;
    color: var(--dark-purple);  
    position: relative;
}

/*Section h2 headlines*/
.lined-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--dark-purple);
  }

  .lined-text::before,
  .lined-text::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid var(--dark-purple); 
  }

  .lined-text::before {
    margin-right: 10px; 
  }

  .lined-text::after {
    margin-left: 10px; 
  }
/*Next event carousel codes*/
.next-event-section{
    width: 100%;
}
.next-event-carousel-container {
    position: relative;
    width: 90%;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}
.next-event-carousel-container:hover{
    box-shadow: 0px 0px 10px 5px rgba(24, 0, 111, 0.519);
    scale: 1.005;
}

.next-event-carousel {
    position: relative;
    width: 100%;
}

.next-event-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.next-event-carousel-item {
    flex: 0 0 100%; 
    box-sizing: border-box;
}

.next-event-carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.change-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    background-color: var(--back-color-main);
    color: var(--dark-purple);
    font-size: 30px;
    border: none;
    padding: 10px 22px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.619);
    cursor: pointer;
    z-index: 1;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    transition: all.3s ease;
    -webkit-transition: all.3s ease;
    -moz-transition: all.3s ease;
    -ms-transition: all.3s ease;
    -o-transition: all.3s ease;
}

.next-event-carousel-prev {
    left: 10px;
}

.next-event-carousel-next {
    right: 10px;
}
.change-btn:hover{
    background-color: var(--dark-purple);
    color: var(--back-color-main);
}

.next-event-carousel-indicators {
    position: absolute;
    bottom: 10px; 
    width: 100%;
    text-align: center;
    z-index: 1; 
}
.next-event-carousel-indicators .next-event-carousel-indicator {
    display: inline-block;
    width: 12px; 
    height: 12px;
    margin: 0 5px;
    background-color: var(--back-color-main);
    border-radius: 50%;
    cursor: pointer;
}

.next-event-carousel-indicators .next-event-carousel-indicator.active {
    background-color: var(--dark-purple);
}
/*News carousel codes*/
.news-carousel-section {
    padding: 10px;
    display: flex;
    justify-content: center;
}
.news-carousel-section a{
    color: var(--main-text);
    text-decoration: none;
}
.news-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 20px;
}

.news-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.news-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.news-carousel-item {
    position: relative;
    flex: 0 0 31.8%;
    box-sizing: border-box;
    padding: 0px;
    margin: 10px;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0px 5px 8px 1px rgba(0, 0, 0, 0.352);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.news-carousel-item:hover{
    scale: 1.001;
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
}
.news-carousel-item:hover{
    box-shadow: 0px 5px 8px 1px var(--dark-purple);
    
}

.news-image {
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.news-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    height: auto;
    transition: transform 0.3s ease-in-out;
}
.news-carousel-item:hover img {
    transform: scale(1.1);
}

.news-carousel-prev {
    top: 40%;
    left: 16px;
}

.news-carousel-next {
    top: 40%;
    right: 2px;
}
.news-text{
    overflow: hidden;
    position: relative;
    padding: 15px;
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.news-text p{
    width: 100%;
    line-height: 1.5;
    max-height: 6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
}
.news-title.home{
    margin: 0px 0px 5px 0px;
}
.news-date-div{
    padding: 5px;
}
.news-date{
    color: black;
    position: absolute;
    bottom: 15px !important;
    right: 15px;
}
.news-date ion-icon{
    margin-right: 5px;
    color: var(--dark-purple);
}

/*Actual events carousel codes*/
.top-events-section {
    color: var(--main-text);
    position: relative;
    width: 90% !important;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}
.top-events-section a{
    color: var(--dark-purple);
    text-decoration: none;
    display: block;
}
.top-events-section ion-icon{
    margin-right: 5px;
}

.top-events-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transition: transform 0.5s ease-in-out;
}

.top-events-item {
    flex: 0 0 23.5%;
    box-sizing: border-box;
    position: relative;
    margin: 10px;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 5px 8px 1px rgba(0, 0, 0, 0.352);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.top-events-item:hover{
    box-shadow: 0px 5px 8px 1px var(--dark-purple);
    scale: 1.001;
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
}
.event-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
.top-events-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.top-events-item:hover img {
    transform: scale(1.1);
}
.event-info{
    display: flex;
    justify-content: space-between;
    margin: 0px  5px;
}
.event-info ion-icon{
    color: var(--dark-purple);
}
.event-details {
    padding: 10px;
    text-align: center;
}
.event-details-btn{
    color: var(--light-color) !important;
    margin-top: 20px !important;
    width: 80px;
    margin: 0 auto;
    background-color: var(--soft-purple);
}
.event-details-btn:hover{
    background-color: var(--dark-purple);
}

.event-text{
    overflow: hidden;
    position: relative;
    padding: 5px;
    text-align: left;
    margin: -10px 0px -10px 0px;
    display: flex;
    flex-wrap: wrap;
}
.event-title{
    font-weight: bold;
}
.event-text p{
    width: 100%;
    line-height: 1.5;
    max-height: 4.5em;
    margin-top: -15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
}
.load-more-btn-div{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.load-more-btn-div a{
    padding: 10px 15px;
}
.last-ticket-div{
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 99;
}
.last-ticket{
    font-size: 14px;
    background-image: linear-gradient(to right bottom, #00bdff, #00a8ff, #0090ff, #0075ff, #0053ff);
    padding: 8px 16px;
    border-radius: 10px;
    color: var(--light-color);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/*coming soon section *TEMPORARY* */
.coming-soon-section {
    text-align: center;
}

.coming-soon {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-purple);
    position: relative;
    animation: moveUpDown 3s ease-in-out infinite, lightEffect 2s ease-in-out infinite;
}

@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes lightEffect {
    0% {
        text-shadow: 0 0 5px rgba(132, 0, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(145, 55, 255, 0.5),
                    0 0 25px rgba(115, 0, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(89, 0, 255, 0.5);
    }
}
/*Ranking codes*/
.ranking-section {
    padding: 20px;
}
.ranking-section a{
    color: var(--main-text);
    text-decoration: none;
}
.ranking-head{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.ranking-text-div{
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ranking-text-div h2{
    font-weight: 600;
    font-size: 28px;
}
.ranking-text-div p{
    max-width: 400px;
}
.ranking-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.ranking-visual img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}
.ranking-top-container{
    background-color: transparent;
    padding: 10px 30px 20px 30px;
    box-shadow: 0px 2px 0px 5px var(--dark-purple);
    text-align: center;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
.ranking-top {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 45px;
}
.ranking-top-item:nth-child(1) .user-photo {
    border: 3px solid gold; /* Gold border for the 1st user */
    box-shadow: 0px 0px 5px 2px gold;
}

.ranking-top-item:nth-child(2) .user-photo {
    border: 3px solid silver; /* Silver border for the 2nd user */
    box-shadow: 0px 0px 5px 2px silver;
}

.ranking-top-item:nth-child(3) .user-photo {
    border: 3px solid #cd7f32; /* Bronze border for the 3rd user */
    box-shadow: 0px 0px 5px 2px #cd7f32;
}
.ranking-top-user-image{
    position: relative;
}
.ranking-top-user-image ion-icon{
    position: absolute;
    bottom: -5px;
    left: 36%;
    font-size: 30px;
    color: var(--main-text);
    padding: 5px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.ranking-top-item {
    text-align: center;
}

.user-photo {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    object-fit: cover;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.user-photo:hover{
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
}

.ranking-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rank-points {
    font-size: 18px;
    font-weight: bold;
}

.user-name {
    font-size: 16px;
    font-weight:bold;
}

.user-position {
    font-size: 14px;
    color: var(--secondary-text);
}

.ranking-other {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.ranking-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}
.ranking-user-image-div{
    position: relative;
}
.ranking-user-image-div span{
    position: absolute;
    bottom: -5px;
    left: 37%;
    font-size: 20px;
    color: var(--light-color);
    background-color: var(--main-text);
    border: 2px solid var(--light-color);
    padding: 2px 14px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

.view-more button {
    padding: 10px 20px;
    font-size: 16px;
}
@media (max-width: 768px) {
    .ranking-visual img{
        display: none;
    }
    .ranking-top-container{
        padding: 10px;
    }
    .ranking-top{
        justify-content: center;
    }
    .ranking-other{
        margin-top: 30px;
    }
}

/*feedbacks area*/
.feedback-section {
    padding:20px 40px;
    background-color:transparent;
  }
  
  .feedback-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    margin: 0 20%;
  }
  
  .feedback-form {
    flex: 2;
  }
  
  .feedback-form textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 3px solid var(--dark-purple);
    background-color: transparent;
    box-sizing: border-box;
  }
  .feedback-form textarea::placeholder{
    font-style: italic;
    color: var(--dark-purple);
    font-family: Arial, Helvetica, sans-serif;
  }
  .feedback-form textarea:focus{
    box-shadow: 0px 0px 5px 1px var(--dark-purple);
  }
  
  .feedback-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  
  .feedback-options label {
    display: flex;
    align-items: center;
  }
  
  .feedback-options input[type="checkbox"] {
    margin-left: 5px;
    scale: 1.5;
  }
  
  .feedback-submit {
    padding: 10px 20px;
    border: none;
  }
  .feedback-submit i{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

  /* Responsive design */
  @media (max-width: 768px) {
    .feedback-section{
        padding: 20px 10px;
    }
    .feedback-container {
        margin: 0 5%;
      flex-direction: column;
    }
    .feedback-form{
        margin-right: 0;
    }
    .feedback-form {
      width: 100%;
    }
    .social-media-container {
        gap: 10px;
    }
  }

  /*social media*/
  .social-media-section {
    padding: 20px;
    background-color: transparent;
    text-align: center;
  }
  .social-media-section h3{
    font-size: 1.2em;
  }
  .social-media-container {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .social-media-container a img {
    width: 40px;
    height: auto;
    transition: transform 0.3s;
  }
  
  .social-media-container a img:hover {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
    filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.8));
    -webkit-filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.866));
}
  /*Footer style codes*/
  .footer {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background-color: var(--back-color-main);
    border-top: 2px solid var(--dark-purple);
    flex-wrap: wrap;
    align-items: flex-start;
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
  }
  .footer-contact a:hover{
    text-decoration: underline;
  }

  .footer-contact a ion-icon{
    margin-bottom: -5px;
    margin-right: 5px;
    font-size: 20px;
  }
  
  .footer-logo {
    width: 100px;
    margin-bottom: 20px;
  }
  
  .footer-center {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content:center; 
  }
  @media (max-width: 992px){
    .footer-center{
        justify-content: space-between;
    }
    .footer-left{
        flex-direction: row;
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
  }
  .footer-section {
    min-width: 150px;
    margin: 0 20px; 
  }
  
  .footer-section h3 {
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--dark-purple);
  }
  
  .footer-section a {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
  
  .footer-section a:hover {
    color: var(--dark-purple);
    transform: translateX(3px);
    -webkit-transform: translateX(3px);
    -moz-transform: translateX(3px);
    -ms-transform: translateX(3px);
    -o-transform: translateX(3px);
}
.footer-ending{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8px 30px;
    background-color: var(--back-color-main);
    color: black;
}
.footer-ending span{
    margin: 0 20px;
}
.footer-ending a{
    color: var(--main-text);
    text-decoration: none;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}
.footer-ending a:hover{
    color: var(--dark-purple);
    text-decoration: underline;

}
  
  @media (max-width: 768px) {
    .footer {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .footer-center {
      align-items: flex-start;
      gap: 10px;
    }
    .footer-section {
      text-align: left;
      margin: 10px 0;
    }
    .footer-ending{
        text-align: center;
        justify-content: center;
    }
  }
  
/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    overflow: hidden;
    bottom: 50px;
    right: 40px;
    z-index: 99;
    border: none;
    outline: none;
    background-color:var(--dark-purple);
    color: var(--light-color);
    cursor: pointer;
    padding:10px 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
  
  #backToTopBtn:hover {
    background-color: var(--soft-purple);
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.658);
    animation: fly-top-btn 2s infinite;
    -webkit-animation: fly-top-btn 2s infinite;
}
@keyframes fly-top-btn{
    0%,100%{
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
    }
    50%{
        transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -o-transform: translateY(-10px);
}
}
  

@media (max-width: 768px) {
    header{
        width: 100%;
        background-color: white !important;
    }
    nav{
        padding: 5px 10px;
    }
    nav .logo{
        display: none;
    }
    section{
        padding-top: 60px !important;
    }
    .content-section {
        padding-top: 100px !important;
    }
    .user-profile-navbar{
        display: none;
    }
    .user-profile-navbar.mobile{
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: var(--back-color-main);
        position: absolute;
        top: 49px;
        left: 0;
        padding: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-in;
    }

    .btn.log-in.mobile{
        display: inline;
    }
    .btn.log-in{
        display: none;
    }
    .nav-links.active {
        max-height: 500px;
        padding-bottom: 10px;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .burger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding-top: 10px !important;
        padding-bottom: 100px;
    }
    .hero-text{
        margin-top: 0px;
    }
    .hero-text h2{
        width: 150px;
        font-size: 22px;
        margin-left: 50px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image img{
        display: none;
    }
    .carousel-item img {
        border-radius: 0;
    }
    .next-event-carousel-prev, .next-event-carousel-next {
        padding: 8px; 
    }

    .next-event-carousel-indicators .next-event-carousel-indicator {
        width: 10px;
        height: 10px;
    }
    .next-event-carousel-container{
        width: 100%;
    }
}
@media (max-width:550px){
    .news-carousel-container {
        width: 85%;
        max-width: 100%;
    }
    .top-events-section{
        width: 100%;
        max-width: 350px !important;
    }
    .news-carousel-item {
        flex: 0 0 90%;
    }
    .top-events-item{
        flex:0 0 90% ;
    }
}
@media (max-width:768px){
    .next-event-section,
    .news-carousel-section,
    .top-events-section,
    .ranking-section,
    .feedback-section,
    .social-media-section{
        padding-top: 5px !important;
    }
}
    
/*esasname.html style codes*/

.content-section {
    width: 80%;
    margin: 0px auto;
    padding: 20px;
    padding-top: 150px;
    background-color: transparent;
    border-radius: 8px;
}
.button_container {
    text-align: center;
    margin-bottom: 20px;
}

.download_button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(101, 101, 101);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download_button:hover {
    background-color: black;
}
.download_button ion-icon{
    margin-bottom: -5px;
    margin-left: 5px;
}
.content_wrap {
    margin-bottom: 20px;
}

.single_page p {
    margin: 0 0 10px;
}

.main-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.separator {
    color: #ffffff;
}

.note {
    color: #333;
    font-style: italic;
}

.content-section strong {
    color: #333;
}

.content-section p span {
    color: #333;
}
@media (max-width: 768px){
    .content-section{
        width: 90%;
    }
}
/*warning span style*/
.warning{
    padding: 0px;
    color:red;
}
/*empty div style*/
.empty-div{
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    font-size: 18px;
}
.comment-author{
    position: absolute;
    top: 25%;
    left: 21.5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
}
@media (max-width:768px){
    .comment-author{
        top: 21%;
        left: 41%;
    }
    .comment-author span{
        display: none;
    }
}
@media (max-width:400px){
    .comment-author{
        top: 13%;
        left: 41%;
    }
}
.comment-author span{
    font-weight: bold;
    color: #131850;
}
.comment-author .author-image{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    padding:5px;
    border: 2px solid #131850;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.author-image img{
    width: 45px;
}
.empty-div .empty-text-div{
    position: relative;
    background-image: linear-gradient(to bottom, #7226b0, #6322a8, #531ea0, #431b97, #31178f);
    padding: 0px 10px;
    color: var(--light-color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.triangle-second{
    position: absolute;  
    top: -17px;
    left: -5.5px;
    transform: rotate(-28deg);
    -webkit-transform: rotate(-28deg);
    -moz-transform: rotate(-28deg);
    -ms-transform: rotate(-28deg);
    -o-transform: rotate(-28deg);
}
.triangle-second ion-icon{
    color: #6B24AC !important;
    font-size: 26px !important;
}
.triangle-second.news{
    left: -7px;
}
.triangle-second.cert{
    left: -6px;
}
.triangle-second.evnt{
    left: -6.5px;
}
.triangle-second.cert ion-icon{
    font-size: 29px !important;
}
.triangle-second.evnt ion-icon{
    font-size: 29px !important;
}

.triangle-second.news ion-icon{
    font-size: 27px !important;
}
@media (max-width:768px){
    .triangle-second{
        left: 45% !important;
        top: -20px;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
}

}

