/*
Theme Name: Starkers HTML5
Theme URI: http://nathanstaines.com
Description: An HTML5 version of <a href="http://elliotjaystocks.com/starkers/">Starkers</a> by <a href="http://elliotjaystocks.com/">Elliot Jay Stocks</a> which is based on Twenty Ten.
Version: 3.2
Author: Nathan Staines
Author URI: http://nathanstaines.com
Tags: starkers, html5, naked, clean, basic
*/

/* style.css */
:root {
  --green: #2e8a57;
  --lime: #70b843;
  --yellow: #ffcc00;
  --orange: #f7901e;
  --dark: #111;
  --white: #fff;
}

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

body {
  font-family: 'Varela Round', sans-serif;
  background-color: var(--white);
  color: var(--dark);
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  /* padding: 30px 0; */
}
#home .container{
	display:block;
	height:100vh;
}
.site-header {
    background: rgb(242 255 240 / 90%);
    color: var(--dark);
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    box-shadow: 0 0 7px -4px;
}

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

.logo {
  height: 40px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--yellow);
}

.section {
  padding: 20px 0;
}

/* Slider Wrapper */
  .hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
  }
.swiper-slide {
  background-image: var(--desktop-bg);
  background-size: cover;
  background-position: center;
}

  .swiper-slide {
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
  }
@media (max-width: 768px) {
  .swiper-slide {
    background-image: var(--mobile-bg);
  }
	.hero-slider {
    height: calc( 100vh - 100px );
}
}
  /* Transparent green overlay box */
  .slide-content {
    position: absolute;
   bottom: 3%;
    right: 5%;
    transform: translate(-50%, -50%);
    background: rgba(0, 128, 0, .8); /* Transparent green */
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    max-width: 600px;
	z-index:2;
	 /* Added for fade-up animation */
    opacity: 0; /* hidden by default */
    transform: translate(-50%, -40%); /* start slightly lower */
    transition: all 0.6s ease;
  }
  .hero-slider .swiper-slide-active .slide-content {
  /* optional: keep default state for active on load */
  opacity: 1;
  transform: translateY(0);
}
/* Full slide overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 128, 0, 0); /* Transparent green overlay */
  z-index: 1;
}


  .slide-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .slide-content p {
    font-size: 18px;
  }

  /* Navigation arrows */
  .swiper-button-next,
  .swiper-button-prev {
    color: white;
  }

  /* Pagination dots */
  .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
  }

  .swiper-pagination-bullet-active {
    background: yellow;
    opacity: 1;
  }


.service-list {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}
/* Vision & Mission Accordion Section */
#about {
  background: linear-gradient(to right, rgb(255 204 0 / 10%), rgb(231 195 156 / 10%));
  color: #fff;
  text-align: justify;
}

#about h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--green);
}

#about p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--green);
}

.accordion {
  background-color: var(--green);
  color: var(--white);
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 18px;
  /* margin-top: 20px; */
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.accordion:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--green);
}

.accordion.active {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--green);
}

.panel {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  display: none;
  border-left: 4px solid #fff;
  border-radius: 4px;
  margin-bottom: 10px;
  color: #fff;
}

.panel p,
.panel ul {
  font-size: 16px;
  line-height: 1.8;
}

.panel ul {
  list-style-type: disc;
  padding-left: 20px;
}

.accordion-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  /* margin-top: 30px; */
}

.accordion-item {
  flex: 1 1 45%;
  min-width: 300px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  /* margin-top: 30px; */
}

.about-left {
  flex: 1 1 55%;
}

.about-right {
  flex: 1 1 40%;
}
.accordion.active + .panel {
  display: block;
}
.accordion-item li {
    color: var(--green);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: #f4f4f4;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card i {
  font-size: 36px;
  color: #2e8a57;
  margin-bottom: 20px;
}

.service-card p {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.service-card:hover {
  transform: translateY(-5px);
}
#services{
	background-color: #ffffff;
}
    #services h2 {
    font-size: 32px;
    margin-bottom: 0;
    color: var(--green);
    text-align: center;
}




.white-popup {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  border-radius: 8px;
  color: #111;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.white-popup h3 {
  margin-bottom: 15px;
  color: #2e8a57;
}

.white-popup ul {
  padding-left: 20px;
  line-height: 1.6;
}

.btn {
  margin-top: 15px;
  background-color: #2e8a57;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #70b843;
}

/*.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: center;
  justify-items: center;
}

.clients-grid img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.clients-grid img:hover {
  filter: grayscale(50%);
  transform: scale(1.05);
} */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}
.contact_map {
    flex: 1 1 45%;
}
.contact-info {
    flex: 1 1 45%;
    font-size: 19px;
    line-height: 1.8;
    color: white;
}
#contact h2 {
    color: white;
    font-size:32px;
    text-align: center;
}
.contact-form {
  flex: 1 1 45%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  
}

.contact-form .btn {
  background-color: #2e8a57;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #70b843;
}
section#contact {
    background: linear-gradient(to right, var(--green), var(--lime));
}
/* Toggle button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--green);
  cursor: pointer;
}

section#clients {
    background: linear-gradient(to right, rgb(231 195 156 / 10%), rgb(255 204 0 / 10%));
}
#clients h2 {
    color: var(--green);
    font-size: 32px;
    text-align: center;
}
.clients-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.clients-track img {
  height: 100px;
  margin: 0 20px;
  filter: grayscale(1%);
  transition: filter 0.3s ease;
	width:auto;
}

.clients-track img:hover {
  filter: grayscale(0%);
}
.clients-carousel:hover .clients-track {
 /* animation-play-state: paused; */
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.panel ul.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  list-style: none;
}
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.check-list li .icon {
  width: 24px; /* Icon size */
  height: 24px;
  margin-right: 10px;
}
.panel.dicon p {
  display: flex;
  align-items: flex-start; /* Aligns icon with top of text */
  font-size: 16px;
  line-height: 1.5;
}

.panel.dicon p .icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  flex-shrink: 0; /* Prevents icon from shrinking */
}
.about-right img {
    height: 50px;
    display: inline;
    margin-right: 10px;
}

.why-choose-us {
  margin-top: 0px;
  text-align: center;
}

.why-choose-us h3 {
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--green);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.choose-item {
 background: var(--green);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.3s;
}

.choose-item i {
  font-size: 40px;
  color: white;
  margin-bottom: 15px;
}

.choose-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}
.choose-item p {
  font-size: 14px;
  color: white;
  line-height: 1.6;
}

/* Hover effect */
.choose-item:hover {
  background: var(--green);
  color: white;
  transform: translateY(-5px);
}

.choose-item:hover i {
  color: white;
}
.our-projects {
 
  background: #ffbe00;
  text-align: center;
}

.our-projects h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--dark);
}

.projects-carousel .project-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* fill slide */
}

.projects-carousel .project-content {
  flex: 1; /* grow to fill */
  display: flex;
  flex-direction: column;
}

.projects-carousel .project-content p {
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 66px; /* keeps even spacing */
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: left;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--green);
}

.project-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-card .read-more {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
/* Owl nav wrapper */
.projects-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* Buttons: round, centered content */
.projects-carousel .owl-nav button {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center; /* <-- ensures SVG is centered */
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.projects-carousel .owl-nav button svg {
  width: 40px;
  height: 40px;
  fill: black;
}

.projects-carousel .owl-nav button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
span.owl-custom-prev , span.owl-custom-next{
    display: flex;
}
/* Position left/right for desktop */
.projects-carousel .owl-nav .owl-prev {
  position: absolute;
  left: -65px;
}

.projects-carousel .owl-nav .owl-next {
  position: absolute;
  right: -65px;
}


/* ✅ On smaller screens: always visible, still centered */@media (max-width: 1199px) {
  .projects-carousel .owl-nav {
    position: static;
    transform: none;
    margin-top: 20px;
    justify-content: center; /* center both buttons */
    gap: 20px; /* spacing between buttons */
  }

  .projects-carousel .owl-nav .owl-prev,
  .projects-carousel .owl-nav .owl-next {
    position: static; /* reset absolute positioning */
    left: auto;
    right: auto;
  }
}
/* Responsive Grid */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .choose-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .slide-content {
    padding: 30px;
    max-width: 500px;
  }

  .slide-content h2 {
    font-size: 30px;
  }

  .slide-content p {
    font-size: 16px;
  }
}

/* Responsive fallback */
@media (max-width: 768px) {
	  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .site-header .container {
    flex-wrap: wrap;
  }
 /* .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }*/
   .contact-grid {
    flex-direction: column;
  }
   .slide-content {
    padding: 20px;
    max-width: 400px;
	top: unset;
    left: 5%;
	bottom:5%;
  }

  .slide-content h2 {
    font-size: 24px;
  }

  .slide-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .slide-content {
    width: 90%;
    padding: 15px;
  }

  .slide-content h2 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 13px;
  }
}


.certification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 columns */
  gap: 0px;
  margin-top: 0px;
  width: 100%;
}

.certification-grid img {
  width: 100%;
  height: auto;
  object-fit: contain; /* keeps the logo visible without stretching */
  border-radius: 8px; /* optional rounded corners */
  background: #fff; /* optional background for logos */
  padding: 5px; /* optional spacing inside */
}
.logo-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.logo-wrapper img {
  height: 60px; /* Adjust as needed */
}

/* First part rotates infinitely */
.logo-part1 {
  animation: spin 10s linear infinite;
  margin-right: 20px; /* Slight overlap if needed */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Optional: keep second part stable */
.logo-part2 {
  position: relative;
  z-index: 2;
}






/* ===== Shared Styles for Page & Single Post ===== */
.default-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    background: #fff;
    min-height: 100vh;
    box-sizing: border-box;
}
.page-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 6px;
}

.page-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.page-content p {
  margin-bottom: 1.2em;
}

.page-content ul,
.page-content ol {
  margin: 1em 0 1em 2em;
}

.page-content a {
  color: #3e9eb4;
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 158, 180, 0.3);
}

.page-content a:hover {
  color: #2b7d92;
  border-bottom-color: #2b7d92;
}

/* Optional blockquote & image styling for blog posts */
.page-content blockquote {
  border-left: 4px solid #3e9eb4;
  padding-left: 15px;
  font-style: italic;
  color: #555;
  margin: 1.5em 0;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 20px 0;
}
main#main-content {
    margin-top: 120px;
}


/* ===== Contact Form 7 Modern Styles ===== */
.wpcf7 form p {
  margin-bottom: 15px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background-color: #fff;
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* Focus State */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: #3e9eb4;
  box-shadow: 0 0 5px rgba(62, 158, 180, 0.2);
  outline: none;
}

/* Submit Button */
.wpcf7 input[type="submit"] {
  background-color: #2e8a57;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
	display:block;
	width:100%;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #70b843;
}


/* Success & Error Messages */
.wpcf7-response-output {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 5px;
}

.wpcf7-mail-sent-ok {
  background: #e6f7f1;
  border: 1px solid #00a676;
  color: #00855c;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background: #fff0f0;
  border: 1px solid #e74c3c;
  color: #c0392b;
}
.wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.service-desc li {
    text-transform: uppercase;
    font-size: small;
    text-align: left;
    margin: 10px 0;
    background: #00800014;
    list-style: none;
    display: block;
    padding: 5px 10px;
}





@media (max-width: 1024px) {
.site-header {
    position: static;
} 
}