body {
	padding:0;
	margin:0;
	font-family: "Poppins", sans-serif;
	background-color:#F0EEE6;
}

h1, h2, h3 {
	font-family: "Poppins", sans-serif;
}

/*NAVIGATION BAR*/
.row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.row h1 {
    font-size: 50px;
    color: #83957D;
    text-align: center;
    max-width: 900px;
}

header {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	padding: 0.5rem 1rem;
    margin: 0;
}

.main {
    display: flex;
    flex-direction: column;
	}

.aside-left img {
    height: 100px;
    width: auto;
}

.aside-left {
    padding-left: 19px;
}

.aside-right img{
	width: 100%;
	height: auto;
}

nav {
	display: flex;
	flex: 1;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}

nav > a,
.dropbtn {
    font-size: 20px;
    padding: 0.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    color: #8A6D5B;
    font-weight: 600;
    border-bottom: 4px solid transparent;
    line-height: 1;
    display: inline-block;
    transition: border 0.3s ease;
}

nav > a:hover,
nav > a.active,
.dropbtn:hover,
.dropbtn.active {
    border-bottom: 4px solid #8A6D5B;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 500;
    background-color: #8A6D5B;
    min-width: 160px;
}

.dropdown-content a {
    color: #F0EEE6;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 4px solid transparent; 
    transition: border 0.3s;
	font-size: 15px;
	font-weight: 500;
}

.dropdown-content a:hover {
    text-decoration: none;
    border-bottom: 4px solid #F0EEE6;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.text {
    flex: 1;
    min-width: 300px;
    font-size: 16px;
    line-height: 1.8;
}

/*FOOTER*/
h2 {
	text-align: center;
	color: #8A6D5B;
}

.site-footer a {
    color: #F0EEE6;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-size: 15px;
}

.site-footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 1.5px; 
    background-color: #D8D1B7;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 15px;
}

.site-footer a:hover {
    color: #D8D1B7;
}

.site-footer a:hover::after {
    opacity: 100;
}

.site-footer a.icon-link::after {
    content: none !important;
}

.site-footer a.icon-link:hover::after {
    content: none !important;
}

.site-footer a.icon-link {
    text-decoration: none !important;
    position: static !important;
}

.footer-social-icons a img {
    width: 40px;
    height: 40px;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.footer-social-icons a:hover img {
  opacity: 0.7;
  cursor: pointer;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 6px;
}

.footer-links a {
  color: #F0EEE6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: text-decoration 0.3s ease;
}

.footer-links p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #F0EEE6;
}

.site-footer {
  background-color: #8b6b57;
  color: #F0EEE6;
  padding: 20px;
}

.site-footer {
    width: 100%;
    background-color: #8A6D5B;
    padding: 2rem 1rem;
    text-align:left;
    color: #F0EEE6;
    font-size: 14px;
    font-weight: 600;
    margin-top: 3rem;           
    border-top: 1px solid #ccc;
}

.footer-left p,
.footer-links p {
  margin: 4px 0;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 10px; 
}

.footer-left {
  flex: 1;
  padding-left: 50px;
}

.footer-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px; 
  padding-left: 50px; 
}

.footer-links p a {
  color: #F0EEE6;
  hover: underline;
}

.site-footer {
  position: relative;
}

.back-to-top {
  position: absolute;
  right: 115px;
  top: 35px;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-to-top img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/*SIGN IN PAGE*/
.hero-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  z-index: -1;
}

.login-form {
  text-align: center;
}

.login-box {
	color: #8A6D5B;
	font-size: 17px;
}

.login-form button {
  display: block;
  margin: 20px auto 0 auto;
  padding: 12px 40px;
  background-color: transparent;
  color: #8A6D5B;            
  border: 2px solid #8A6D5B;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-form .form-footer a {
  color: #8A6D5B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.login-form .form-footer a:hover {
  color: #8A6D5B;
  text-decoration: underline;
}

.login-box {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background-color: #FFF9F2;
  padding: 40px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.login-box .login-form {
  text-align: center;
}

.login-box .login-form label {
  display: block;
  text-align: left;
  margin-top: 10px;
  font-weight: 600;
  color: #8A6D5B;
}

.login-box .login-form input {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #E7E3D4;
  border-radius: 6px;
  font-size: 16px;
}

.login-box .login-form button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: transparent;    
  color: #8A6D5B;                      
  border: 4px solid #8A6D5B;         
  text-decoration: none;
  font-weight:600;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-size: 20px;
  margin-bottom: 20px;
}

.login-box .login-form button:hover {
  background-color: #8A6D5B;        
  color: #E7E3D4;   
}

.login-box .form-footer a:hover {
  text-decoration: underline;
  color: #8A6D5B; 
}

/*HOME PAGE*/
.video-section {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.responsive-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
    position: relative;
    text-align: center;
    padding: 0 2rem;
    gap: 2rem;
}

.tagline-container::before,
.tagline-container::after {
    content: "";
    flex: 1;
    height: 5px;
    background-color: #83957D;
    max-width: 450px;
}

.tagline-container h1 {
    font-size: 50px;
    color: #83957D;
    margin: 0;
    white-space: nowrap;
}

.tagline-container2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 0 0;
  position: relative;
  text-align: center;
  padding: 0 2rem;
  gap: 2rem;
}

.tagline-container2::before,
.tagline-container2::after {
  content: "";
  flex: 1;
  height: 6px;
  background-color: #8A6D5B; 
  max-width: 450px;
}

.tagline-container2 h1 {
  font-size: 50px;
  color: #8A6D5B;
  margin: 0;
  white-space: nowrap;
}

.about-section {
    background-color: #E7E3D4;
    padding: 40px 20px;
    text-align: left;
	border-bottom-right-radius: 60px;
	border-bottom-left-radius: 60px;
}

.section-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-section h1 {  
    font-size: 5rem;
    margin-bottom: 20px;
    color: #8A6D5B;
    font-weight: bold;
}

.about-section p {
    font-size: 1rem;
    color: #5E5E5E;
    line-height: 1.6;
    font-weight:500;
}

.about-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
	padding-top: 70px;
}

.about-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: transparent;        
    color: #8A6D5B;     
    border: 4px solid #8A6D5B;   
    text-decoration: none;
    font-weight:600;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-size: 20px;
}

.btn:hover {
    background-color: #8A6D5B;            
    color: #E7E3D4;                     
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
} 

.carousel-section {
  padding: 60px 0;
  background: #F0EEE6;
  text-align: center;
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-wrapper {
  width: 1000px;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-track {
  min-width: calc((300px * 3) + (20px * 2)); 
}

.carousel-card {
  background: #83957D;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  flex-shrink: 0;
  text-align: center;
  color: #F0EEE6;
  font-weight: 500;
  font-size: 15px;
}

.carousel-card h3 {
  text-align: center;
  color: #F0EEE6;
  font-weight: 600;
  font-size: 22px;
}

.carousel-card img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 12px;
}

.carousel-card2 {
  background: #A6B8A3;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  flex-shrink: 0;
  text-align: center;
  color: #F0EEE6;
  font-weight: 600;
  font-size: 15px;
}

.carousel-card2 h3 {
  text-align: center;
  color: #F0EEE6;
  font-weight: 600;
  font-size: 22px;
}

.carousel-card2 img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 12px;
}

.read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: transparent;    
  color: #8A6D5B;                      
  border: 4px solid #8A6D5B;         
  text-decoration: none;
  font-weight:600;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-size: 20px;
}

.read-more-btn:hover {
  background-color: #8A6D5B;        
  color: #E7E3D4;                
}

.read-more-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

.carousel-arrow {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.carousel-arrow img {
  width: 70px;
  height: 70px;
}

#prevBtn {
  margin-right: 15px;
}

#nextBtn {
  margin-left: 15px;
}

.carousel-dots {
  margin-top: 20px;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
    background-color: #344B5B;
}

/*ABOUT PAGE*/
.about-page {
  background-color: #F0EEE6;
}

.section-title {
  font-size: 5rem;
  font-weight: bold;
  text-align: left;
  margin-left: 70px;
  margin-bottom: 0px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.text-column {
  flex: 1;
  color: #5e5e5e;
  font-weight: 500;
  font-size: 22px;
  margin-left: 60px;
  margin-right: 40px;
}

.image-column {
  flex: 1;
  text-align: right;
}

.buddha-img {
  width: 100%;
  max-width: 650px;
  border-top-right-radius: 40px;
  margin-right: 70px;
}

.about-photos {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 40px;
  gap: 40px;
}

.about-photo img {
  width: 100%;
  max-width: 650px;
  border-bottom-left-radius: 40px;
  margin-left: 70px;
  margin-bottom: 90px;
}

.about-text-right {
  flex: 1;
  color: #5e5e5e;
  font-weight: 500;
  font-size: 22px;
  margin-right: 60px;
  margin-left:60px;
  margin-top: 70px;
}

.vision-objective-section {
  background-color: #E7E3D4;
}

.vision-objective-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.image-left1 img {
  width: 100%;
  max-width: 400px;
  margin-top: 70px;
  margin-left: 80px;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-left2 img {
  width: 100%;
  max-width: 400px;
  margin-top: 25px;
  margin-left: 80px;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-right1,
.text-right2 {
  flex: 1;
  margin-left: 70px;
  font-size: 20px;
  margin-right: 70px;
  color: #8A6D5B;
  font-weight: 500;
}

.divider {
  display: block;
  width: 90%;
  height: 3.5px;
  background-color: #8A6D5B;
  border: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  color: #8A6D5B;
  font-size: 28px;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
}

.divider {
  border: none;
  border-top: 2px solid #8A6D5B;
  margin: 40px 0;
}

.programs-section {
  background-color: #A6B8A3;
  padding: 60px 20px;
}

.programs-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.program-box {
  padding: 30px 20px;
  border-radius: 30px;
  text-align: center;
  max-width: 500px;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-box img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.program-box h3 {
  color: #E7E3D4;
  font-size: 30px;
  font-weight: 700;
  flex-grow: 1;
}

.program-box p {
  color: #E7E3D4;
  font-size: 20px;
  font-weight: 500;
  flex-grow: 1;
  margin-bottom: 30px;
}

.learn-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #83957D;
  margin-top: 10px;
  background-color: transparent;
  border: 3.5px solid #83957D;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  align-self: center;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.learn-btn:hover {
  background-color: #83957D;
  color: #E7E3D4;
}

.extra-programs-section {
  background-color: #F0EEE6; 
  padding: 60px 20px;
}

.extra-programs-section .program-box {
  background-color: #E7E3D4;
  padding: 30px 20px;
  border-radius: 30px;
  text-align: center;
  max-width: 360px;
  flex: 1 1 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.extra-programs-section .program-box img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
}

.extra-programs-section .program-box h3 {
  color: #8A6D5B;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.extra-programs-section .program-box:hover {
  background-color: #83957D;
  cursor: pointer;
}

.extra-programs-section .program-box:hover h3 {
  color: #E7E3D4;
}

.extra-programs-section .program-box {
  transition: background-color 0.3s ease;
}

.extra-programs-section .program-box h3 {
  transition: color 0.3s ease;
}

/*ACTIVITES PAGE*/
.featured-events {
  padding: 40px;
  text-align: center;
  background: #A6B8A3;
}

.featured-events h2 {
  font-size: 45px;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
  color: #E7E3D4;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-box {
  background: #F0EEE6;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  margin-bottom: 50px;
}

.event-box:hover {
  background-color: #E7E3D4;
  transform: translateY(-4px);
}

.event-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-top img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.event-top h3 {
  margin: 15px 0;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #8A6D5B;
}

.event-details {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #5e5e5e;
}

.event-box:hover .event-details {
  max-height: 1000px;
  padding: 15px 20px;
  opacity: 1;
}

.past-events {
  padding: 60px 20px;
  background-color: #E7E3D4;
  text-align: center;
}

.past-events h2 {
  font-size: 45px;
  margin-bottom: 40px;
  color: #8A6D5B;
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.past-card {
  background-color: #F0EEE6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 50px;
  
}

.past-card:hover {
  transform: translateY(-5px);
}


.past-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.past-info {
  padding: 20px;
}

.past-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #8A6D5B;
}

.past-info p {
  color: #5e5e5e;
  margin-bottom: 10px;
}

.past-info a {
  text-decoration: none;
  color: #8A6D5B;
  font-weight: 700;
}

.past-info a:hover {
  text-decoration: underline;
}

.dhamma-school {
  padding: 60px 40px;
  background-color: #A8C5D1;
  font-family: 'Poppins', sans-serif;
}

.dhamma-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.dhamma-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.dhamma-text {
  flex: 1;
}

.dhamma-text h2 {
  font-size: 50px;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 50px;
  color: #344B5B;
}

.dhamma-text ul {
  list-style: none;
  padding: 0;
}

.dhamma-text ul li {
  margin-bottom: 12px;
}

.dhamma-text ul li a {
  text-decoration: none;
  color: #F0EEE6;
  font-size: 20px;
  transition: color 0.3s;
  font-weight: 500;
  margin-left: 52px;
}

.dhamma-text ul li a:hover {
  color: #344B5B;
  text-decoration: underline;
}

.register-button {
  display: inline-block;
  margin: 20px 0 40px 53px;  
  padding: 12px 20px;
  background-color: transparent;
  color: #344B5B;
  border: 3.5px solid #344B5B;
  text-decoration: none;
  font-weight: 700;
  border-radius: 35px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.register-button:hover {
  background-color: #344B5B;
  color: #A8C5D1;
}

.bubs-buddy {
  padding: 60px 40px;
  background-color: #344B5B;
  font-family: 'Poppins', sans-serif;
}

.buddy-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.buddy-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.buddy-text {
  flex: 1;
}

.buddy-text h2 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #A8C5D1;
  text-align: left;
  margin-left: 50px;
}

.buddy-text ul {
  list-style: none;
  padding: 0;
}

.buddy-text ul li {
  margin-bottom: 12px;
}

.buddy-text ul li a {
  text-decoration: none;
  color: #F0EEE6;
  font-size: 20px;
  transition: color 0.3s;
  font-weight: 500;
  margin-left: 52px;
  
}

.buddy-text ul li a:hover {
  color: #A8C5D1;
  text-decoration: underline;
}

/*CONTACT US PAGE*/
.contact-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #E7E3D4;
  border-radius: 30px;
  padding: 70px;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto 50px auto;
}

.contact-info {
  flex: 1 1 300px;
  color: #8A6D5B;
}

.contact-info h3 {
  font-size: 40px;
  color: #8A6D5B;
}

.contact-info p {
  font-size:20px;
}

.contact-map {
  flex: 1 1 300px;
}

.contact-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 15px;
}

.form-wrapper {
  background-color: white;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-left,
.form-right {
  flex: 1;
}

form label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 8px;
  margin: 8px 0 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

input[type="radio"] {
  margin-right: 10px;
  cursor: pointer;
  padding: 8px;
}

form button {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 24px;
  background-color: transparent;        
  color: #8A6D5B;                        
  border: 4px solid #8A6D5B;            
  text-decoration: none;
  font-weight:600;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-size: 20px;
  margin-left: 180px;
  
}

form button:hover {
  background-color: #8A6D5B;   
  color: #E7E3D4;
  cursor: pointer;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

.form-right img {
  width: 90%;
  height: auto;
  border-radius: 25px;
  object-fit: cover;
}

.form-right {
  margin-left: 30px;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.section-header {
  text-align: center;
  margin: 0px 0 0px;
}

.line-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.line-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size:100px;
  font-weight: 700;
  color: #E7E3D4;
  margin: 0;
}

.line {
  flex: 1;
  height: 5px;
  background-color: #83957D;
  max-width: 450px;
  opacity: 0.8;
  border: none;   
  outline: none;       
  margin: 0;     
}

.section-header .subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 35px;
  font-weight: 600;
  color: #83957D;
  margin: 0;
}

.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.checkmark {
  background-color: #A6B8A3;
  color: #83957D;
  font-size: 30px;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content button {
  background-color: #A6B8A3;
  color: #83957D;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;        
  padding: 12px 24px;     
  font-weight: 600;        
  border-radius: 8px;     
  transition: all 0.2s ease-in-out;
}

.modal-content button:hover {
  background-color: #83957D;
  color: #A6B8A3;

  font-family: 'Poppins', sans-serif;
  font-size: 20px;  
  padding: 12px 24px;  
  font-weight: 600;     
  border-radius: 8px; 
  transition: all 0.2s ease-in-out;
}

.join-section {
  background-color: #A6B8A3;
  padding: 50px 0;
  text-align: left;
}

/* MOBILE RESPONSIVE DESIGN */
@media only screen and (max-width: 768px) {
    /* General adjustments */
    body {
        font-size: 14px;
    }
    
    h1, h2, h3 {
        font-size: 1.5rem !important;
    }
    
    /* Navigation */
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    nav > a, .dropbtn {
        font-size: 16px;
        padding: 0.3rem;
        margin: 0 0.3rem;
    }
    
    .dropdown-content {
        min-width: 120px;
    }
    
    /* Home page */
    .tagline-container, .tagline-container2 {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .tagline-container::before, 
    .tagline-container::after,
    .tagline-container2::before,
    .tagline-container2::after {
        width: 80%;
        height: 3px;
    }
    
    .about-wrapper {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .about-img {
        justify-content: center;
        padding-top: 2rem;
    }
    
    .btn, .read-more-btn {
        padding: 8px 16px;
        font-size: 16px;
    }
    
    /* Carousel */
    .carousel-container {
        flex-direction: column;
    }
    
    .carousel-wrapper {
        width: 100%;
    }
    
    .carousel-track {
        gap: 10px;
    }
    
    .carousel-card, .carousel-card2 {
        width: 280px;
        padding: 20px;
    }
    
    /* About page */
    .section-title {
        font-size: 2.5rem !important;
        margin-left: 1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .text-column, .about-text-right {
        margin: 1rem;
        font-size: 16px;
    }
    
    .buddha-img, .about-photo img {
        margin: 0 auto;
        border-radius: 20px !important;
        max-width: 100%;
    }
    
    .vision-objective-row {
        flex-direction: column;
    }
    
    .image-left1 img, .image-left2 img {
        margin: 1rem auto;
        max-width: 90%;
    }
    
    .text-right1, .text-right2 {
        margin: 1rem;
        font-size: 16px;
    }
    
    /* Programs */
    .programs-container {
        flex-direction: column;
        align-items: center;
    }
    
    .program-box {
        flex: 1 1 100%;
        margin-bottom: 2rem;
    }
    
    /* Activities */
    .event-grid, .past-grid {
        grid-template-columns: 1fr;
    }
    
    .dhamma-content, .buddy-content {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .dhamma-text h2, .buddy-text h2 {
        font-size: 2rem;
        margin-left: 0;
        text-align: center;
    }
    
    .dhamma-text ul li a, .buddy-text ul li a {
        margin-left: 0;
    }
    
    .register-button {
        margin-left: 0;
    }
    
    /* Contact page */
    .contact-box, .form-wrapper {
        flex-direction: column;
        padding: 2rem;
    }
    
    .form-right {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    form button {
        margin-left: 0;
        width: 100%;
    }
    
    .line-text h2 {
        font-size: 2.5rem;
    }
    
    /* Footer */
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-left, .footer-links {
        padding-left: 1rem;
        margin-bottom: 2rem;
    }
    
    .back-to-top {
        position: static;
        margin: 1rem auto;
    }
    
    /* Sign in page */
    .login-box {
        position: static;
        transform: none;
        width: 90%;
        margin: 2rem auto;
        padding: 2rem;
    }
    
    .hero-container {
        height: auto;
    }
    
    .hero-img {
        position: relative;
    }
}