/* 
Theme Name: The Changemaker
Theme URI: https://thechangemaker.com.my/
Author: Rasel Bisswas
Author URI: https://www.fiverr.com/raselbiswas
Version: 1.0.0
Description: The Changemaker Malaysia theme.

*/




@font-face {
  font-family: 'Aharoni Bold';
  src: url('font/AHRONBD.TTF') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body p.title {
  text-align:center;
}

h2 {
  font-family: 'Aharoni Bold', sans-serif;
  font-weight: bold;
}

body p.description {
  font-size: 70%;
  text-align: justify;
  hyphens: auto;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.hero,.services,.members,.contact, .about{
  padding: 8rem 0!important;
  text-align: left;
}
div.hero,div.services,div.members,div.contact, div.about{
padding-left: 1rem!important;
padding-right: 1rem!important;
display: block!important;
}
h2 {
  margin-bottom: 2rem;
  color: #000;
}

/* Hero Section */
.hero {
  background: #fff;
  padding: 10rem 0!important;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-container {
  flex: 1;
  text-align: center;
  max-width: 50%;
  padding: 0;
  margin: 0;
}

.logo {
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.trademark-container {
  flex: 1;
  text-align: right;
  margin-right: 5rem;
}

.trademark-container h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #000;
  text-align: right;
}

.trademark-container p {
  font-size: 1.5rem;
  color: #333;
  text-align: right;
}

/* Mobile Responsiveness for Hero Section */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0!important;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-container {
    max-width: 80%;
    margin-bottom: 0;
  }
  .logo {
    max-width: 80%;
    height: auto;
  }
  .trademark-container {
    text-align: center;
    margin-right: 0;
  }
  .trademark-container h1 {
    font-size: 2rem;
    text-align: center;
  }
  .trademark-container p {
    font-size: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-container {
    max-width: 90%;
  }
  .logo {
    max-width: 90%;
  }
  .trademark-container h1 {
    font-size: 1.75rem;
  }
  .trademark-container p {
    font-size: 1rem;
  }
}

/* About Us Section with Justified Company Overview */
.about {
  background: #000;
  color: #fff;
  padding: 10rem 0!important;
  text-align: left;
}

.about h2 {
  color: #fff;
  text-align: left;
  padding-left: 2rem;
}

.company-overview {
  background: #333;
  padding: 3rem;
  margin: 0 2rem 2rem 2rem;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  text-align: justify;
}

.company-overview h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: justify;
}

.company-overview p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
}

.vision, .mission {
  flex: 1;
  background: #333;
  padding: 3rem;
  margin: 0;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  text-align: left;
}

.vision h3, .mission h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: left;
}

.vision p, .mission p {
  font-size: 1rem;
  color: #ddd;
  text-align: left;
}

/* Mobile Responsiveness for About Us Section */
@media (max-width: 768px) {
  .about {
    padding: 6rem 0!important;
  }
  
  .about h2 {
    padding-left: 1rem;
  }
  
  .company-overview {
    margin: 0 0 1.5rem 0;
    padding: 2rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .vision, .mission {
    padding: 2rem;
  }
  
  .vision h3, .mission h3 {
    font-size: 1.25rem;
  }
  
  .vision p, .mission p, .company-overview p {
    font-size: 0.9rem;
    text-align: left;
    hyphens: none;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 4rem 0!important;
  }
  
  .company-overview {
    padding: 1.5rem;
  }
  
  .vision, .mission {
    padding: 1.5rem;
  }
  
  .vision h3, .mission h3, .company-overview h3 {
    font-size: 1.2rem;
  }
  
  .vision p, .mission p, .company-overview p {
    font-size: 0.85rem;
  }
}

/* Services Section */
.services {
  background: #fff;
  padding: 10rem 0!important;
}

.service-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-item {
  flex: 1 1 100%;
  max-width: 300px;
  margin: 1rem;
  padding: 2rem;
  background: #f4f4f4;
  border-radius: 5px;
}

.service-item:nth-child(1) .service-icon {
  content: url('Social Impact.png');
  width: 78px;
  height: 78px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-item:nth-child(2) .service-icon {
  content: url('Events & Activations.png');
  width: 78px;
  height: 78px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-item:nth-child(3) .service-icon {
  font-size: 3rem;
  color: #000;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
  text-align: center;
}

.service-item p {
  font-size: 1rem;
  color: #333;
  text-align: justify;
  hyphens: auto;
}

/* Members Section with Adjusted Height */
.members {
  background: #f4f4f4;
  padding: 10rem 0!important;
}

.team-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.center-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.team-member {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1.1;
}

/* .center-row .team-member {
  flex: 0 1 calc(22.5% - 20px);
  max-width: calc(22.5% - 20px);
  aspect-ratio: 1/1.1;
} */

.member-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 110%;
  overflow: hidden;
}

.member-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.member-details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.member-details h3 {
  margin: 0;
  font-size: 1.5rem;
  padding: 5px;
}

.member-details p {
  margin: 0.5rem 0;
  font-size: 1rem;
  padding: 5px;
  text-align: justify;
  hyphens: auto;
}

.team-member:hover .member-details {
  opacity: 1;
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

/* Mobile Responsiveness for Members Section */
@media (max-width: 768px) {
  .team-list, .center-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .team-member {
    max-width: 300px;
    width: 100%;
  }
  
  .center-row .team-member {
    max-width: 270px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .team-member {
    max-width: 280px;
  }
  
  .center-row .team-member {
    max-width: 252px;
  }
}

/* Contact Us Section */
.contact {
  background: #fff;
  padding: 10rem 0!important;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-details {
  width: 100%;
}

.contact-box {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  width: 100%;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-box i {
  font-size: 1.5rem;
  color: #000;
}

.contact-box p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.social-media-box {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-media-box h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #000;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  font-size: 2rem;
  color: #000;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #555;
}

/* Mobile Responsiveness for Contact Us Section */
@media (max-width: 768px) {
  .contact {
    padding: 6rem 0!important;
  }
  .contact-container {
    max-width: 100%;
    gap: 1.5rem;
  }
  .contact-box {
    padding: 1rem;
  }
  .social-media-box {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 4rem 0!important;
  }
  .contact-box p {
    font-size: 0.9rem;
  }
  .social-media-box h3 {
    font-size: 1.25rem;
  }
  .social-icon {
    font-size: 1.75rem;
  }
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

/* Navbar Styles with Right-Aligned Mobile Toggle */
.navbar {
  padding: 0.5rem 1rem;
}

.navbar-brand {
  margin-right: 0;
  order: 1;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  margin-left: auto;
  order: 2;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  flex-grow: 0;
  order: 3;
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
}

/* Mobile Responsiveness for Navbar */
@media (max-width: 768px) {
  .navbar > .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

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


body.admin-bar .sticky-top {
  top: 32px !important;
}



body .elementor .elementor-container,
body .elementor .e-con-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  body .elementor .elementor-container,
  body .elementor .e-con-inner {
    max-width: 540px !important;
  }
}
@media (min-width: 768px) {
  body .elementor .elementor-container,
  body .elementor .e-con-inner {
    max-width: 720px !important;
  }
}
@media (min-width: 992px) {
  body .elementor .elementor-container,
  body .elementor .e-con-inner {
    max-width: 960px !important;
  }
}
@media (min-width: 1200px) {
  body .elementor .elementor-container,
  body .elementor .e-con-inner {
    max-width: 1140px !important;
  }
}
@media (min-width: 1400px) {
  body .elementor .elementor-container,
  body .elementor .e-con-inner {
    max-width: 1320px !important;
  }
}

div.hero,div.services,div.members,div.contact, div.about{
padding-left: 3rem!important;
padding-right: 3rem!important;
}

.about h2 {
  padding-left: 0px!important;
}