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

html {
	scroll-behavior: smooth;
}

/* Main Scroll Button Container */
#scrollToTopBtn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #ff4d4d;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

#scrollToTopBtn.show {
  bottom: 30px;
  opacity: 1;
}

/* Pulsing Ring */
#scrollToTopBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 77, 77, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

#scrollToTopBtn:hover {
  background-color: #FF344C;
}

/* Styling the main navigational menu */
.main-header {
    background-color: #1F3584;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
}

.home-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.home-nav .left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.home-nav ul li {
    list-style: none;
}

.home-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    transition-duration: 0.4s;
}

.home-nav ul li a:hover {
    color: #FF344C;
}

.political-logo img{
    width: 120px;
    border-radius: 1rem;
    display: block;
}

.side-buttons {
    display: flex;
    column-gap: 2rem;
}

.side-buttons a {
    text-decoration: none;
    color: #FFFFFF;
}

.side-buttons .side-button1, .side-button2{
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}

.side-buttons .side-button1 {
    border: 1px solid #fff;
    background-color: #1F3584;
    color: #fff;
    padding: 1rem 2rem;
    transition: transform 0.3s ease;
    transition-duration: 0.4s;
}

.side-buttons .side-button1:hover {
    background-color: #FF344C;
    transform: translateY(5px);
}

.side-buttons .side-button2 {
    background-color: #FF344C;
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    transition: transform 0.3s ease;
    transition-duration: 0.4s;
}

.side-buttons .side-button2:hover {
    background-color: #1F3584;
    border: 1px solid #FF344C;
    color: #FF344C;
    transform: translateY(5px);
}

/* Styling the side bar menu */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 9998;
    background-color: rgba(255, 255, 255, 0.395);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.sidebar li a {
    width: 100%;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.sidebar .hide-icon a img {
    margin-top: 1rem;
    background: #FF344C;
    border-radius: 5px;
}

.home-nav .side-buttons .menu-button a img {
    background: #FF344C;
    border-radius: 5px;
}

.menu-button {
    display: none;
}

/* Styling the hero section on the main page */
.community-hero {
    background-color: #1F3584;
}

.hero-section {
    height: 55vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 999;
}

.hero-section img {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 40%;
}

.community-hero .new-description {
    max-width: 30%;
    color: #E0E2E7;
    font-size: 1.2rem;
}

.community-hero .hero-section h3 {
    font-size: 4rem;
    color: #FFFFFF;
}

/* @media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .name-profile-description {
        width: 100%;
    }
} */

/* Styling the social media communities section */
.publications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    margin-top: 8rem;  
    text-align: center;
    padding: 0 2rem;  
}

.publications-header h3 {
    font-size: 3rem;
    font-weight: 500;
}

.publications-header p {
    font-size: 2rem;
    font-weight: 500;
    background: linear-gradient(90deg, #FC466B 0%, #3F5EFB 100%);
    padding: 1rem 1rem;
    border-radius: 5px;
}

.social-media-communities p {
    color: #FF344C;
    font-size: 1.4rem;
    letter-spacing: 1.3px;
    padding-bottom: 1rem;
}

.social-media-communities h3 {
    max-width: 35%;
    font-size: 2.7rem;
    letter-spacing: 1.3px;
    margin: auto;
    font-weight: 500;
}

/* Styling the Articles section */
.info-articles {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 2rem;
}

.info-articles .info-article img {
    max-width: 80%;
    padding: 1rem 0;
}

.info-article {
    display: none;
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    /* border-left: 5px solid #FF344C; */
    margin-bottom: 2rem;
    border-radius: 10px;
}

.info-article h2 {
    font-size: 3rem;
    font-weight: 600;
    padding-bottom: 1rem;
    color: #1F3584;
}

.info-article .blog-post p {
    font-size: 1.2rem;
    color: #53565E;
    line-height: 1.6rem;
}

.info-article.active {
    display: block;
}

@media (max-width: 600px) {
    .info-article {
        padding: 1rem;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }

    .info-card p, .info-card a {
        font-size: 1.1rem;
    }
    .info-section-container {
        padding: 0 1rem;
    }
}

/* Styling the information cards under the register card */
.info-section {
    margin-bottom: 14rem;
}

.info-section-container {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding: 2rem 2rem;
}

.info-section-container .info-card {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 2rem 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.info-card p span {
    color: black;
    font-weight: 800;
}

.info-section-container .info-card:hover {
    transform: translateY(10px);
    color: #FF344C;
}

.info-section-container .info-card p {
    font-size: 1.2rem;
    color: #53565E;
    padding-bottom: 1rem;
}

.info-section-container .info-card h3 {
    font-size: 1.6rem;
    padding-bottom: 1rem;
    font-weight: 600;
}

.info-section-container .info-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FF344C;
    font-size: 1.4rem;
}

/* Styling the footer on the main page */
.main-page-footer {
    border-top: 1px solid #26385e1d;
    background-color: #fff;
}

.footer-container {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding: 8rem 1rem 6rem 1rem;
    border-bottom: 1px solid #53565e3c;
}

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

.main-page-footer .first-column img {
    width: 170px;
    padding-bottom: 1rem;
}

.main-page-footer .first-column p:nth-child(2) {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    color: #53565ed4;
}

.main-page-footer .first-column p a img {
    width: 30px;
    vertical-align: middle;
    padding-top: 14px;
    margin-right: 10px;
}

.main-page-footer .first-column p a {
    text-decoration: none;
    color: #0E121E;
    font-size: 1.3rem;
    text-align: center;
    vertical-align: middle;
    transition-duration: 0.4s;
}

.main-page-footer .first-column p a:hover {
    color: #FF344C;
}

.main-page-footer .second-column h3 {
    padding-bottom: 2rem;
    font-size: 1.6rem;
    color: #1F3584;
}

.second-column {
    padding-left: 5rem;
    line-height: 2.5rem;
}

.second-column ul li {
    list-style: none;
}

.second-column ul li a{
    text-decoration: none;
    color: #53565ed4;
    font-size: 1.2rem;
    transition-duration: 0.4s;
}

.second-column ul li a:hover {
    color: #FF344C;
}

.third-column {
    max-width: 400px;
    background-color: #1F3584;
    padding: 2rem 2rem;
    border-radius: 15px;
}

.third-column img {
    display: block;
}

.third-column h3 {
    font-size: 1.6rem;
    color: #FFFFFF;
    padding: 1rem 0;
}

.third-column p {
    color: #FFFFFF;
    line-height: 1.4rem;
    padding-bottom: 1rem;
}

.footer-form input[type='email'] {
    width: 100%;
    height: 4rem;
    border-radius: 15px;
    border: none;
    margin-bottom: 1rem;
    text-indent: 2rem;
}

.footer-form input::placeholder {
    font-size: 1.2rem;
    opacity: 60%;
    font-style: italic;
}

.footer-form input[type=email]:focus {
    outline: #FF344C solid 1px;
}

.footer-form button {
    width: 100%;
    height: 4rem;
    border-radius: 15px;
    border: none;
    font-size: 1.2rem;
    background-color: #FF344C;
    color: #FFFFFF;
    cursor: pointer;
    transition-duration: 0.4s;
}

.footer-form button:hover {
    background-color: inherit;
    border: #FFFFFF solid 1px;
}

.copy-right {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
}

.copy-right p {
    font-size: 1.2rem;
    color: #53565ed3;
}

.copy-right p a {
    color: #FF344C;
}

.copy-right p a:hover {
    color: #26385E;
    opacity: 40%;
}

.copy-right .social-media a img {
    width: 30px;
    transition-duration: 0.5s;
}

.copy-right .social-media a img:hover {
    opacity: 40%;
}


/* Responsiveness */
@media (max-width: 800px) {
    .hideOnMobile{
        display: none;
    }
    .menu-button {
        display: block;
    }
    .side-buttons {
        padding-right: 1rem;
    }
    .side-buttons .side-button1,
    .side-buttons .side-button2 {
        width: 100%;
        text-align: center;
    }
    .sidebar {
        width: 50%;
    }
    .home-nav {
        justify-content: space-between;
        padding: 1rem;
    }
    .new-description {
        display: none;
    }
    .info-section {
        margin-bottom: 5rem;
    }
    .footer-container {
        padding-top: 3rem;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
    }
    .hero-side-buttons {
        padding: 0 2rem;
    }
    .publications-header {
        flex-direction: column;
        row-gap: 1rem;
    }
    .second-column {
        padding-left: 0;
    }
    .third-column {
        max-width: 100%;
    }
    .copy-right {
        margin-left: 1rem;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}


















