* {
    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 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 contacts page */
.contact-hero {
    background-color: #1F3584;
    text-align: center;
    padding-top: 4rem;
    position: relative;
    margin-bottom: 5rem;
}

.contact-hero .name-profile-description {
    width: 50%;
    margin: auto;
    color: #FFFFFF;
}

.contact-hero .name-profile-description p:nth-child(1) {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1rem;
}

.contact-hero .name-profile-description h3:nth-child(2) {
    font-size: 4rem;
    font-weight: 700;
    padding-bottom: 1.2rem;
}

.contact-hero .name-profile-description p:nth-child(3) {
    font-size: 1.2rem;
    line-height: 1.7rem;
}

/* Styling the Social Media Cards on the communities page */
.contact-hero .media-community-container {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding: 2rem 1rem;
}

.contact-hero .media-community-container .media-card {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    text-align: center;
    background-color: #FFFFFF;
    top: 80px;
    position: relative;
}

.media-card .social-icon-container {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.media-card .social-icon-container img{
    margin: auto;
    display: block;
    padding: 2rem 0 0 0;
    margin-bottom: 2rem;
    width: 64px;
    transition: .5s ease all; object-fit:cover;
}

.media-card .social-icon-container:hover img {
    transform: scale(1.1);
  }

.media-community-container .media-card:hover {
    transform: translateY(10px);
}

.media-community-container .media-card p {
    font-size: 1.2rem;
    color: #53565E;
    padding: 0 1rem 1.6rem 1rem;
}

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

.media-community-container .media-card a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FF344C;
    font-size: 1.2rem;
    padding-bottom: 3rem;
}

/* Styling the contact us form on the contact us page */
.contact-form-section {
    display: flex;
    justify-content: space-between;
    margin: auto;
    flex-wrap: wrap;
    margin-bottom: 9rem;
    padding: 8rem 1rem 0 1rem;
    max-width: 1200px;
}

.form-description {
    max-width: 40%;
}

.contact-form-section .form-description h3:nth-child(1){
    color: #FF344C;
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.contact-form-section .form-description h1:nth-child(2){
    font-size: 2.7rem;
    font-weight: 500;
    line-height: 2.8rem;
    padding-bottom: 1rem;
}

.contact-form-section .form-description p:nth-child(3){
    font-size: 1.3rem;
    line-height: 1.8rem;
    padding-bottom: 3rem;
    color: #717379;
}

.contact-form-section .form-description h3:nth-child(4){
    font-size: 1.6rem;
    font-weight: 500;
    padding-bottom: 1rem;
}

.contact-form {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 15px;
    padding: 4rem 2.5rem;
}

.contact-social-media a img {
    width: 30px;
    margin-right: 1rem;
    transition-duration: 0.5s;
}

.contact-social-media a img:hover {
    opacity: 50%;
}

.form-row {
    display: flex;
    column-gap: 2rem;
}

.contact-form .form-row .form-elements input[type='text'],
input[type='email'],
input[type='tel'] {
    height: 4.2rem;
    width: 15rem;
    border: #E0E2E7 1px solid;
    border-radius: 10px;
    margin-top: 1rem;
    color: #80828b;
    text-indent: 2rem;
}

.contact-form .form-row .form-elements input::placeholder {
    font-size: 1rem;
    text-indent: 2rem;
}

.contact-form .form-row .form-elements input[type=email]:focus,
input[type=text]:focus,
input[type=tel]:focus {
    outline: #FF344C solid 1px;
}

.contact-form .form-row .form-elements input:hover {
    outline: #FF344C solid 1px;
    border: none;
}

.contact-form .form-row .form-elements .label {
    font-weight: 700;
    font-size: 1.2rem;
}

.second-row {
    margin-top: 2.4rem;
}

.text-area {
    margin-top: 2rem;
}

.text-area p{
    padding-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.text-area textarea {
    max-width: 510px;
    resize: vertical;
    border-radius: 10px;
    border: #E0E2E7 1px solid;
    color: #80828b;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.text-area textarea:focus {
    outline: #FF344C solid 1px;
}

.text-area textarea:hover {
    border: #FF344C solid 1px;
}

.submit-message input{
    width: 150px;
    height: 70px;
    margin-top: 1rem;
    border-radius: 10px;
    background-color: #FF344C;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #FFFFFF;
    transition-duration: 0.4s;
}

.submit-message input:hover {
    border: #FF344C solid 1px;
    background-color: #FFFFFF;
    color: #FF344C;
}

/* Styling the frequently asked questions section */
.frequently-asked {
    display: flex;
}

.values-container {
    display: flex;
    vertical-align: middle;
    align-items: center;
    background-color: #F2F2F4;
    text-align: center;
    max-width: 100%;
}

.values-container img {
    max-width: 50%;
}

/* Styling the accordions on the values page of the About us */
.accordion li {
    list-style: none;
    margin: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    margin-left: 2rem;
}

.accordion #faqs-text {
    text-align: left;
    margin-left: 5rem;
    font-weight: 600;
    color: #0E121E;
    font-size: 1.4rem;
    padding-bottom: 1rem;
}

.accordion h1 {
    font-size: 3rem;
    margin-left: -2rem;
    color: #1F3584;
}

.accordion li .value-text {
    margin-left: 30px;
}
  
.accordion li label {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F3584;
}
  
li label::before {
    content:"+";
    color: #FF344C;
    margin-right: 10px;
    font-size: 2rem;
    font-weight: 600;
}
  
input[type="radio"] {
    display: none;
}
  
.accordion .value-text {
    color:#8C8C8C;
    padding-left: 30px;
    margin-top: -15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}
  
.accordion li input[type="radio"]:checked + label + .value-text {
    max-height: 80px;
    padding: 10px 10px 20px;
}
  
.accordion li input[type="radio"]:checked + label::before {
    content: "-";
}


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

.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 0 6rem 0;
    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%;
}

@media (max-width: 1200px) {
    .footer-container {
        padding: 1rem;
    }
}

@media (max-width: 1000px) {
    .form-description {
        max-width: 80%;
        margin: auto;
    }
    .contact-form {
        max-width: 100%;
        margin: 1rem auto;
    }
    .form-row {
        flex-direction: column;
    }
    .text-area textarea {
        max-width: 100%;
    }
    .contact-form .form-row .form-elements input[type='text'],
    input[type='email'],
    input[type='tel'] {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-section .name-profile-description {
        padding-bottom: 4rem;
    }
    .values-container {
        flex-direction: column;
        align-items: flex-start;    
    }
    .accordion #faqs-text {
        text-align: center;
        margin-top: 2rem;
    }
    .accordion h1 {
        font-size: 2rem;
        margin-left: -2rem;
    }
    .values-container img {
        max-width: 100%;
    }
}

@media (max-width: 935px){
    .media-community-container {
        margin-top: 10rem;
    }
}

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

@media (max-width: 768px) {
    .contact-hero .name-profile-description {
        width: 100%;
        padding: 1rem 1rem;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
    }
    .second-column {
        padding-left: 0;
    }
    .third-column {
        max-width: 100%;
    }
    .copy-right {
        margin-left: 1rem;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
    .accordion li .value-text p{
        margin-bottom: 30px;
}
}