@import url('https://fonts.googleapis.com/css2?family=Ancizar+Serif:ital,wght@0,300..900;1,300..900&family=Press+Start+2P&family=Yeseva+One&display=swap'); 

/* Base Styles */
:root {
  --primary-color: #00a600;
  --light-green: rgba(0, 166, 0, 0.1);
  --blue-text: #02a0d9;
  --dark-color: #000;
  --light-color: #fff;
  --gray-color: #f4f4f4;
  --text-color: #000;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Ancizar Serif","Yeseva One", serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--blue-text);
}

ul {
  list-style: none;
}


/* MY CODE*/

.profile-container {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background-color: #f9f9f9;
    }

    .profile-container h2 {
        color: #2c3e50;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
    }

    .profile-container p {
        margin-bottom: 15px;
        text-align: justify;
    }

    .qualifications-section {
        margin-top: 25px;
        padding: 20px;
        background-color: #ffffff;
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .qualifications-section h3 {
        margin-top: 0;
        color: #2c3e50;
        font-size:  21px;
    }

    .qualifications-list {
        list-style-type: none;
        padding: 0;
    }

    .qualifications-list li {
        margin-bottom: 12px;
        padding-left: 20px;
        position: relative;
        font-size: 19px;
    }

    .qualifications-list li::before {
        content: "•";
        color: #26a0ff;
        font-weight: bold;
        position: absolute;
        left: 0;
    }

    .qualifications-list strong {
        color: #2980b9;
    }


.points {
  list-style-type: disc; /* Change to circle or square for different bullets */
  color: #000;
  padding-left: 20px;    /* Indent the list */
}


.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding-block:0.2rem ;
  padding-left:0.5rem;
  padding-right:0.5rem ;
  padding-top:0.5rem ;
  padding-bottom:0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 17px;
}

.btn:hover {
  background-color: var(--dark-color);
  color: var(--light-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26a0ff;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 19px;
  color: var(--blue-text);
  opacity: 0.8;
}

section {
  padding: 80px 0;
}

/* Alternating Background Colors */
section:nth-child(odd) {
  background-color: var(--light-color);
}

section:nth-child(even) {
  background-color: var(--light-green);
}

/* Light green background sections - text should be black */
.light-green-bg,
section:nth-child(even) {
  color: var(--text-color);
}

.light-green-bg h1,
.light-green-bg h2,
.light-green-bg h3,
.light-green-bg h4,
.light-green-bg h5,
.light-green-bg h6,
section:nth-child(even) h1,
section:nth-child(even) h2,
section:nth-child(even) h3,
section:nth-child(even) h4,
section:nth-child(even) h5,
section:nth-child(even) h6 {
  color: var(--text-color);
}

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0.5rem;
}

.logo img {
  width:17rem;
  height:4.1rem;
  padding-top:0.5rem ;
  padding-bottom:0.2rem ;
  transition: var(--transition);
}

.logo a {
  display: block;
}

.logo a:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 25px;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition);
}

.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background-color: var(--light-green);
  padding-top: 150px;
  padding-bottom: 80px;
}

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

.hero-content {
  flex: 1;
  padding-right: 30px;
}

.hero-image img{
  width: 340px; 
  border-radius: 50%; 
    object-fit: cover; 
    flex-shrink: 0; 
    box-shadow: 1px 2px 1px 1px #000;
 
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.hero h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-color);
}

/* Services Section */
.services {
  position: relative;
  background-color: var(--light-color);
  overflow: hidden;
}

.services-bg {
  position: relative;
  z-index: 1;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%; /* Adjust width as needed */
  height: 100%;
  background-image: url("../images/Green_mandala_pic.png"); /* Update the path as needed */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  opacity: 0.3; /* Adjust opacity for visibility */
  z-index: 0;
}

.slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 300px;
  margin: 0 15px;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex: 0 0 calc(33.333% - 30px);
  border: 1px solid rgba(0, 166, 0, 0.2);

  display: flex;
  flex-direction: column;
}

.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.slide h3 {
  padding: 15px 15px 5px;
  color: var(--primary-color);
}

.slide p {
  padding: 0 15px 15px;
  font-size: 17px;
  color: var(--text-color);
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26a0ff;
  color: var(--light-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--dark-color);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Achievements Section */
.achievements {
  background-color: var(--light-green);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.achievement-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 166, 0, 0.2);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.achievement-card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.achievement-card p {
  color: var(--text-color);
}

.achieve-content{
  display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 20px;
    margin: auto;
    font-size: 19px;
}

.img-achieve{
  display: flex;
  width: 300px; 
    height: 300px;
    border-radius: 5%; 
    object-fit: cover; 
    flex-shrink: 0; 
    box-shadow: 1px 2px 1px 1px #000;
}

/* Articles Section */
.articles {
  position: relative;
  background-color: var(--light-color);
  overflow: hidden;
}

.articles-bg {
  position: relative;
  z-index: 1;
}

.articles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60%;
  width: 40%; /* Adjust width as needed */
  height: 100%;
  background-image: url("../images/green_mandala.jpg"); /* Update the path as needed */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  opacity: 0.2; /* Adjust opacity for visibility */
  z-index: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.article-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 166, 0, 0.2);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.article-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.article-content p {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.7;
}

.article-category {
  background-color: var(--light-green);
  color: var(--primary-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.articles-cta {
  text-align: center;
}

/* Articles Page Styles */
.articles-hero {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 150px 0 80px;
  text-align: center;
}

.articles-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--light-color);
}

.articles-hero p {
  font-size: 20px;
  opacity: 0.9;
  color: var(--light-color);
}

.articles-page {
  background-color: var(--light-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.articles-page-bg{
  position: relative;
  z-index: 1;
}

.articles-page::before{
  content: "";
  position: absolute;
  top: 10%;
  left: -55%;
  width: 100%; /* Adjust width as needed */
  height: 80%;
  background-image: url("../images/green_mandala.jpg"); /* Update the path as needed */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.4; /* Adjust opacity for visibility */
  z-index: 0;
}

.articles-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.read-more {
  color: var(--blue-text);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.read-more:hover {
  color: var(--primary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-btn {
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.pagination-numbers {
  display: flex;
  gap: 5px;
}

/* Article Detail Styles */
.article-detail {
  background-color: var(--light-color);
  padding: 120px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.article-main {
  background-color: var(--light-color);
  padding: 2rem;
}

.article-hero-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header h1 {
  color: var(--primary-color);
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-meta-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 18px;
}

.article-meta-detail span {
  color: var(--text-color);
  font-size: 14px;
}

.article-content-detail {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 16px;
}

.article-content-detail h2,
.article-content-detail h3 {
  color: var(--text-color);
  margin: 30px 0 15px;
}

.article-content-detail p {
  margin-bottom: 20px;
  font-size: 19px;
}

.article-navigation {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.article-sidebar {
  background-color: var(--gray-color);
  padding: 30px;
  border-radius: 10px;
  height: fit-content;
}

.article-sidebar h3 {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 20px;
}

.related-article {
  display: block;
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--light-color);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.related-article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.related-article h4 {
  color: var(--primary-color);
  font-size: 17px;
  margin-bottom: 5px;
}

.related-article p {
  color: var(--text-color);
  font-size: 15px;
  opacity: 0.8;
}

.article-button-section {
   margin-top: auto;              
  padding: 15px;
  
  justify-content: center;  }

.article-button{
  position: relative;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding-block: 0.2rem;
  padding-left:0.5rem;
  padding-right:0.5rem ;
  padding-top:0.5rem ;
  padding-bottom:0.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  
  left: 50%;
  transform: translate(-50%, -50%);
}

.article-button:hover{
  color: #000;
}


.article-button-section1 {
   margin-top: auto;          /* pushes button to bottom */
  padding-top: 15px;
  display: flex;
  justify-content: center;  }

.article-button1{
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

.article-button1:hover{
  color: #000;
}


/* Contact Section */
.contact {
  background-color: var(--light-green);
}

.locations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.location-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 166, 0, 0.2);
}

.location-card h3 {
  background-color: var(--primary-color);
  color: white !important ;
  padding: 15px;
  text-align: center;
}

.location-details {
  padding: 20px;
}

.address,
.phone,
.email {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.address i,
.phone i,
.email i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 20px;
  margin-top: 3px;
}

.phone a,
.email a {
  color: var(--text-color);
  text-decoration: none;
}

.phone a:hover,
.email a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.map {
  height: 250px;
  width: 100%;
  background-color: #ddd;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-link {
  padding: 15px 20px;
  text-align: center;
  background-color: var(--light-color);
}

.map-link .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.map-link .btn i {
  font-size: 17px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo a {
  display: block;
}
 
.footer-logo img {
  height: 3rem;
  width:13rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.footer-logo a:hover img {
  transform: scale(1.05);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-color);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--light-color);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .slide {
    flex: 0 0 calc(50% - 30px);
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
    padding-right: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

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

  .nav-links a {
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: var(--transition);
  }

  .nav-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
  }

  .slide {
    flex: 0 0 calc(100% - 30px);
  }

  .locations-container {
    grid-template-columns: 1fr;
  }

  .articles-grid,
  .articles-grid-full {
    grid-template-columns: 1fr;
  }

  .articles-hero h1 {
    font-size: 36px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .achieve-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .img-achieve {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .achievement-card {
    padding: 20px;
  }

  .articles-hero h1 {
    font-size: 28px;
  }

  .articles-hero p {
    font-size: 16px;
  }

  .article-header h1 {
    font-size: 24px;
  }
}