* {
  box-sizing: border-box;
}

body {
	background-color: white;
	padding: 0;
	margin: 0;
	font-family: "DM Sans", sans-serif;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
}

main {
  margin-left: 20px;
  margin-right: 20px;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header Section */
header {
  overflow: hidden;
  padding: 20px;
  background-color: white;
}

.header a {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
  position: sticky;
  background-color: white;
  margin-left: 20px;
}

.navbar {
  background-color: black;
  overflow: hidden;
  padding-bottom: 12px;
  font-style: regular;
  font-size: 20px;
}

.navbar a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 17px;
  transition: 0.3s ease;
  margin-right: 20px;
}

.navbar a:hover {
  color: #096D55;
}

.navbar a.split {
  float: right;
  color:#3fb189
}

.navbar a.split:hover {
  color: white;
}

.navbar:active {
  color:#096D55
}

/* Hero Section */
.hero {
  background-image: url(images/Main.jpg); 
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero-button {
  display: inline-block;
  background-color: white;
  color: #1a5c4b;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.hero-button:hover {
  background-color:#096D55;
  color: white;
}

/*Services Section */
.services-container {
  display: flex 1;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color:#096D55;
}

.content {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0 auto;
}

.classroom-img {
  width: 50vw;
  height: 100vh;
  display: block;
  object-fit: cover;
  object-position: center;
}

.services-content h1 {
  font-size: 4.0rem;
  margin-bottom: 1rem;
}

.services-content p {
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

.split-img {
  width: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.split-text {
  width: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: white;
}

.services-button {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: white;
  margin: 1rem 0;
}

.services-button:hover {
  background-color: white;
  color: #096D55;
}

/* News Section */
.news-container {
  margin: 10px 40px;
  padding: 0;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.news-container h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  right: 60px
}

.card-wrapper {
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.card-list .card-item .read-more {
  width: 400px;
  display: block;
  background-color: white;
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
}

.card-list .card-item .read-more:active {
  cursor:grabbing;
}

.card-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  user-select: none;
  width: 340px;
  margin: 20px;
  padding: 20px;
  color: black;
}

.card-item:hover {
  background-color:#096D55;
  transition: 0.3s ease;
  color: white;
}

.card-image {
  width: 350px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #096D55;
}

.card-wrapper .swiper-slide-button {
  color:#1a5c4b;
  margin-top: -35px;
}

@media (max-width: 768px) {
  .card-wrapper {
    margin: 0 10px 25px;
  }

  .card-wrapper .swiper-slide-button {
    display: none;
  }
}

/* Training Section */
.training-container {
  display: flex 1;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color:#E4E7F3;
}

.classroom-img-2 {
  width: 50vw;
  height: 100vh;
  display: block;
  object-fit: cover;
  object-position: center;
}

.training-content h1 {
  font-size: 4.0rem;
  margin-bottom: 1rem;
}

.training-content p {
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

.split-text-2 {
  width: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color:#1a5c4b;
}

.training-button {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.training-button:hover {
  background-color: #096D55;
  color: white;
}

/* Footer Section */
.footer-logo-img {
  width: 212px;
  height: auto;
}

.footer-section {
  padding: 80px 13% 70px;
  
}

.footer-container {
  background-color: black;
  color: white;
  padding: 40px 20px 10px;
  margin: 0;
  text-align: left;
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin-left: 40px;
}

.footer {
 display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  max-width: 1200px;
  margin: auto;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-section a {
      color: white;
      text-decoration: none;
      font-size: 14px;
}

.footer-section a:hover {
      color: #096D55;
      transition: ease 0.3s;
 }

 .footer-description {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 10px;
  max-width: 300px;
 }

 .social-icons {
  margin-right: 12px;
 }

  .footer-bottom {
      border-top: 1px solid #333;
      text-align: right;
      padding-top: 15px;
      font-size: 13px;
      color: #aaa;
      max-width: 1200px;
      margin: 20px auto 0;
    }

.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
}

/*About Us*/
.aboutus-container {
  display: flex 1;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color:white;
}

.aboutus-content h1 {
  font-size: 4.0rem;
  margin-bottom: 1rem;
}

.aboutus-content p {
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

.split-text-aboutus {
  width: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color:#000000;
}

/*Resources*/
.resources-img {
  width: 50vw;
  height: 100vh;
  display: block;
  object-fit: cover;
  object-position: center;
}

.resources-container {
  display: flex 1;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #E4E7F3;
}

.resources-content {
  padding-left: 20px;
}

.resources-content h1 {
  font-size: 4.0rem;
  margin-bottom: 1rem;
}

.resources-content p {
  max-width: 800px;
  margin: 20px;
  line-height: 1.5;
}

.resources-button {
  display: inline-block;
  background-color: white;
  color: #1a5c4b;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s ease;
}

.resources-button:hover {
  background-color:#096D55;
  color: white;
}

/*Older Posts*/
.post {
  display: flex;
  gap: 15px;
  background: white;
  margin: 15px auto;
  max-width: 700px;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post img {
  width: 120px;
  height: auto;
  border-radius: 5px;
}

.more-posts {
  display: block;
  margin: 20px auto;
  padding: 10px 25px;
  border: none;
  background: teal;
  color: white;
  border-radius: 5px;
}

.older-posts-title {
  font-size: 50px;
}

/*Services Catalogue*/

.catalogue-info {
  padding: 40px 20px;
  text-align: center;
}

.catalogue-info h2 {
  font-size: 36px;
  color: #00704a;
}

/* Service Groups */
.service-group {
  padding: 60px 60px;
  background: #fff;
}

.service-group.green {
  background: #dceee7;
}

.service-group h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  width: 200px;
}

.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.card h4 {
  margin-top: 10px;
  font-size: 20px;
  color: #00704a;
}

.card p {
  font-size: 13px;
}

/*Contact Form*/
  /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        .page-title {
            font-size: 48px;
            color: #2c6e49;
            text-align: center;
            margin-bottom: 30px;
        }

        .page-description {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 60px;
            font-size: 18px;
            line-height: 1.6;
        }

        /* Contact Section */
        .contact-section {
            background: linear-gradient(135deg, #4a90e2 0%, #2c6e49 100%);
            border-radius: 20px;
            display: flex;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            min-height: 500px;
        }

        .contact-image {
            flex: 1;
            width:fit-content;
            background-image: url(images/pexels-kseniachernaya-8535177.jpg);
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .contact-form {
            flex: 1;
            padding: 40px;
            background: rgba(44, 110, 73, 0.9);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: flex;
            gap: 20px;
        }

        .form-row .form-group {
            flex: 1;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            background: white;
            color: #333;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
            border-radius: 15px;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }

        .social-icons-contact {
            display: flex;
            gap: 15px;
            margin: 20px 0;
        }

        .social-icons-contact a {
            color: white;
            font-size: 24px;
            text-decoration: none;
            transition: opacity 0.3s;
        }

        .social-icons-contact a:hover {
            color:#999;
            transition: 0.3s;
        }

        .submit-btn {
            background: #000;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s;
        }

        .submit-btn:hover {
            background: white;
            color:#096D55
        }

/* Meet Teams */
.team-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #071E11;
}

.team-section h1 {
  font-size: 36px;
  margin-bottom: 40px;
  color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background-color: white;
  color: #0b261c;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-grid :hover {
  background-color: #00704a;
  color: white;
  transition: 0.3s;
}

.circle-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin: 10px 0 5px;
}

.team-card p {
  font-size: 14px;
  line-height: 1.4;
}

.team-card a {
  color:#787878;
  text-decoration: none;
}

.learn-more-container {
  margin-top: 40px;
}

.learn-more-btn {
  padding: 10px 20px;
  background-color: white;
  color: #0b8566;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.learn-more-btn:hover {
  background-color: #e0f0eb;
  transition: 0.3s;
}