@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css");

body {
  font-family: "Poppins", sans-serif;
  margin: auto;
  scroll-behavior: smooth;
  background-color: #f0f1f2;
}

main {
  margin: auto;
  padding: 0 10% 0 10%;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  main {
    padding: 0;
    margin: 0 4% 0 4%;
  }

  body {
    padding: 0 4% 0 4%;
  }
}

@media screen and (max-width: 768px) {
  main {
    padding: 0 5% 0 5%;
  }
}

a {
  text-decoration: none; 
  color: inherit;
}

p,
h1,
h2,
h3,
h5 {
  color: #2e2e2e;
}

.h5-heading {
  text-align: center;
  font-weight: 400;
  font-size: 2rem;
  padding: 4rem 0 2rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  background-color: #f0f1f2;
  padding: 1.5rem 5rem;
}

.navbar-logo img {
  width: 20%;
  min-width: 70px;
}

.navbar-menu {
  display: flex;
}

.navbar-item {
  position: relative;
  /* margin-left: 1rem; */
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
}

.navbar-link {
  color: #2e2e2e;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-item:hover .dropdown {
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: rgb(66, 66, 66);
  margin: 4px 0;
  border-radius: 200px;
}

/* NAVBAR - Media queries */
@media (max-width: 768px) {
  .menu-toggle {
    order: -1;
  }
  .navbar-logo {
    order: -2;
  }
  .navbar {
    padding: 1rem;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f0f1f2;
    z-index: 1000;
  }
  /* .navbar-item {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid  #e0e0e0;
    z-index: 1000;
  } */

  .navbar-menu.active {
    display: flex;
    z-index: 1000;
  }
  .navbar-item {
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
  }
  .menu-toggle {
    display: flex;
    z-index: 1000;
  }
  .navbar-logo img {
    width: 70px;
  }
  .dropdown {
    display: none;
  }

  .navbar-link:hover {
    color: #808d41;
    justify-content: center;
  }
}

button {
  text-decoration: none !important;
  background-color: #617204;
  font-weight: 600;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 20px;
}

button:hover {
  transform: translateY(-4px) translateX(-2px);
}

button:active {
  /* transform: translateY(2px) translateX(1px); */
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  text-decoration: none !important;
}

.CTA-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  padding: 0.5rem 0;
}

.h2-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 1% 0 1% 0;
  /* font-family: "Playfair Display", serif; */
}

.button-cta {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0rem 0 2rem 0;
}

.p-context {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0 1rem 0 2rem;
}

@media screen and (max-width: 768px) {
  .h2-heading {
    font-size: 2.2rem;
    padding: 1rem 0 1rem 0;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 0 0 0;
  }

  p,
  .p-context,
  .grid-paragraph {
    font-size: 1.1rem;
    padding: 0 5% 0 5%;
  }
}

.background-colour {
  background: radial-gradient(50% 50% at 50% 50%, #dfe8d4 0%, #f0f1f2 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 15rem 0 5rem 0;
}

.hero-title {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 500;
}
.hero-description {
  font-size: 1.2rem;
  color: #444;
  text-align: center;

  line-height: 1.5;
  padding: 1rem 0;
}

@media (max-width: 900px) {
  .heading-paragraph-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .left-heading {
    font-size: 2.5rem;
  }
}

/* About section - text and image side by side */
.about-section {
  width: 100%;
  display: flex;
  align-items: stretch;
  padding: 4rem 0rem;
}

.text-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1350px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}
.text-image-left {
  flex: 1 1 350px;
  min-width: 380px;
}
.text-image-right {
  flex: 1 1 150px;
  min-width: 150px;
  max-height: 600px;
  display: flex;

}
.section-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.section-paragraph {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.section-list {
  list-style: disc inside;
  padding-left: 1rem;
}

.section-img {
  max-width: 100%;
  min-width: 300px;
  height: auto;
}

@media (max-width: 475px) {
.text-image-right {
  max-height: 300px;
}
}

#about-cta-button {
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .text-image-container {
    flex-direction: column;
    text-align: center;
  }
  .text-image-left,
  .text-image-right {
    min-width: 0;
  }
}


/* Stacked cards for service overview, bigger*/
.stacked-cards-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 5rem 0;
}

.stacked-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 180px;
  padding: 2rem 0rem;
}

.stacked-card-left {
  display: flex;
  align-items: center;
  flex: 1 1;
  padding: 1.5rem;
  gap: 1rem;
}

.stacked-card-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 0;
}

.stacked-card-img {
  width: 100%;
  height: 100%;
  max-width: 480px;
  max-height: 380px;
  object-fit: cover;
}


.stacked-card-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 0rem;
}

.stacked-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  padding: 5rem 0rem;
}

.stacked-bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: #444;
}

/* .bullet-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
} */

.stacked-card-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 0;
}

.stacked-card-img {
  width: 100%;
  height: 100%;
  max-width: 480px;
  max-height: 380px;
  object-fit: cover;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  .stacked-cards-container {
    padding: 0 0rem;
    gap: 2rem;
  }

  .stacked-card {
    flex-direction: row;
    min-height: 200px;
    padding: 2rem 0rem;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .stacked-cards-container {
    gap: 2rem;
  }

  .card-primary-heading {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  .stacked-card {
    flex-direction: column;
    min-height: unset;
    padding: 0rem;
    text-align: center;
  }

  .stacked-card-left {
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .stacked-card-right {
    padding: 2rem 0 1rem 0;
  }

  .stacked-card-text {
    text-align: center;
    width: 100%;
    padding-top: -2rem;
  }

  .stacked-bullets {
    text-align: center;
    padding: 1rem;
  }

  .stacked-bullets li {
    justify-content: center;
    text-align: center;
  }

  .stacked-card-img {
    max-width: 90%;
    border-radius: 1rem;
  }

  .stacked-buttons {
    margin-bottom: 1rem;
    min-width: 300px;
  }
}

@media (max-width: 600px) {
  .stacked-cards-container {
    gap: 2rem;
  }

  .card-primary-heading {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  .stacked-card {
    flex-direction: column;
    min-height: unset;
    padding: 0rem;
    text-align: center;
  }

  .stacked-card-left {
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .stacked-card-text {
    text-align: center;
    width: 100%;
    padding-top: -2rem;
  }

  .stacked-bullets {
    text-align: center;
    padding: 1rem;
  }

  .stacked-bullets li {
    justify-content: center;
    text-align: center;
  }

  .stacked-card-img {
    max-width: 90%;
    border-radius: 1rem;
  }

  .stacked-buttons {
    margin-bottom: 1rem;
    min-width: 300px;
  }
}

/* tabs styling - solutions/packages*/
.tabs-container {
  display: flex;
  max-width: 90%;
  margin: 0 auto;
  background-color: none;
  padding: 2rem 0 1rem 0;
  gap: 0rem;
}

.tabs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  width: 100%;
}

.tab-content {
  flex: 3;
  display: none;
  background: none;
  border-radius: 1rem;
  padding: 3rem 0rem;
}

.tab-content.active {
  display: block;
}

.tab {
  color: #333;
}

.tab {
  background: none;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.2s;
}

.button.tab {
  color: #333;
}

.tab.active {
  background: #617204;
  font-weight: bold;
  color: #fff;
}

.tab-content {
  display: none;
  background: none;
  padding: 3rem 0rem;
}

.tab-content.active {
  display: block;
}

.tab-content-flex {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: flex-start;
}

.tab-text {
  color: #333;
  flex: 1;
}

.tab-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.small-heading {
  font-weight: 500;
  margin-top: 1rem;
}

.tab-text p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
 .tabs {
    flex-direction: column;
    gap: 1rem;
  }

    button.tab {
    min-width: 520px;
    max-width: 700px;
  }
.tabs-container {
    flex-direction: column;
    align-items: center;
  }

  .tab-content-flex {
    gap: 0rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tab-text {
    text-align: center;
    width: 100%;
  }

  .small-heading {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    padding: 2rem 0rem 0 0rem;
  }
}

@media (max-width: 600px) {
  .tabs-container {
    max-width: 100%;
    padding: 0 1rem;
    min-width: 320px;
  }
  button.tab {
    min-width: 320px;
  }
  .tabs {
    flex-direction: column;
    gap: 1rem;
  }
  .tab-content-flex {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 1rem 0rem;
  }

  .small-heading {
    font-size: 1.3rem;
    margin-top: 0.5rem;
  }

  .tab-content {
    padding: 2rem 0rem;
  }
}

/* .CTA-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 3rem;
}

@media screen and (max-width: 600px) {
  .CTA-buttons {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 220px;

  }
  .CTA-buttons button {
    width: 100%;
    min-width: 180px;
    max-width: 100%;
    box-sizing: border-box;
        align-items: center;
    justify-content: center;
  }
  
} */

/* Responsive styles - hero section layout*/

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (max-width: 900px) {
  .hero-2x1-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .hero-image-placeholder {
    min-height: 200px;
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .hero-2x1-grid {
    padding: 1rem 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .hero-image-placeholder {
    min-height: 150px;
  }

  .hero-buttons,
  .CTA-buttons {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-buttons button,
  .CTA-buttons button {
    width: 220px;
    min-width: 180px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Carousel styling */

.carousel-section {
  width: 80%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
}

.carousel {
  position: relative;
  max-width: 100%;
  width: 100%;
  background: none;
  border-radius: 18px;
  /* box-shadow: 0 4px 24px rgba(0,0,0,0.07); */
  /* overflow: hidden; */
}

.carousel-item {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px;
  animation: fadeIn 0.5s;
}

.carousel-item.active {
  display: flex;
  margin: 0 auto;
}

.carousel-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.carousel-text {
  flex: 1;
}

.carousel-text p {
  margin: 0;
  font-size: 1.1rem;
  color: #444;
  text-align: center;
}

.italic-t {
  padding: 10px 0 30px 0;
  font-style: italic;
  color: #808d41;
  font-weight: 300;
}

.carousel-dots {
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  margin: 18px 0 8px 0;
  gap: 10px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  width: 100%;
  z-index: 2;
}

.carousel-dots .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.carousel-dots .dot.active {
  background: #2e2e2e;
}

/* tags */

.tags-row {
  display: flex;
  gap: 1rem;
  margin: 2.5rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.tag {
  background: #617204;
  padding: 0.5em 1.2em;
  border-radius: 20px;
  font-size: 1em;
}

.tag  {
  color: white;
}

@media (max-width: 768px) {
  .tags-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .tag {
    width: 100%;
    text-align: center;
  }
}

#portfolio-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Bento Box */
.bento-box {
  padding: 2rem 0;
  max-height: 600px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin: 3rem 0 3rem 0;
}

.bento-item {
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* Layout positions */
.bento-item-1 {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
}
.bento-item-2 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}
.bento-item-3 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

/* Responsive styles */
@media (max-width: 900px) {
  .bento-box {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 0fr;
  }
  .bento-box img {
    object-fit: cover;
  }
  .bento-item-1 {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    min-height: 180px;
  }
  .bento-item-2 {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .bento-item-3 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
}

@media (max-width: 600px) {
  .bento-box {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
  }
  .bento-item-1,
  .bento-item-2,
  .bento-item-3 {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: 120px;
  }
}

.divider {
  width: 100%;
  height: 4px;
  background: #c2c2c2;
  margin: 3rem 0;
  border: none;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .divider {
    height: 3px;
    margin: 30px 0;
  }
}

@media (max-width: 600px) {
  .divider {
    height: 2px;
    margin: 20px 0;
  }
}
/* Accordion style */

.accordion-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.accordion {
  border-radius: 10px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
}

.accordion-item + .accordion-item {
  border-top: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: transparent;
}

.accordion-header {
  width: 100%;
  background: #f0f1f2;
  color: #222;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  /* transition: background 0.1s; */
  font-family: inherit;
  font-weight: 500;
}

.accordion-header:hover,
.accordion-header.active {
  background: #808d41;
  color: #fff;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-body.open {
  padding: 1rem 1.5rem;
  max-height: 200px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Styles - Accordion menu */
@media (max-width: 600px) {
  .accordion-section {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  .accordion-header {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  .accordion-body.open {
    padding: 0.8rem 1rem;
  }
}

/* Enquire section */
.enquire-section {
  margin: 40px auto 0 auto;
  max-width: 600px;
  padding: 24px 16px;
}

.enquire-contact {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-link {
  color: #222;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Responsive styles - enquire section */
@media (max-width: 600px) {
  .enquire-contact {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .enquire-item {
    text-align: center;
  }
  .enquire-section {
    padding: 18px 0px;
  }
}

/* Footer styles */

.footer {
  background-color: linear-gradient(0deg, #dfe8d4 57.69%, #f0f1f2 100%);
  padding: 2rem 5rem;
  /* border-top: 1px solid #ddd; */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: #6c757d;
}

.footer-right {
  display: flex;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-links li a {
  text-decoration: none;
  color: #007bff;
  font-size: 14px;
}

.footer-links li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    align-items: center;
    margin-bottom: 15px;
  }

  .footer-right {
    justify-content: center;
  }
}
