/* Base styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'peridot-pe-variable', Arial, sans-serif;
  color: white;
}

/* Layout container */
.columnContainer {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
}

/* Left column (image section) */
.columnLeft {
  position: sticky;
  top: 0;
  width: auto;
  height: 100vh;
  flex: 1;
  max-width: 25rem;
  background: linear-gradient(135deg,
    rgba(42, 95, 95, 0.5),
    rgba(26, 63, 63, 0.5),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.2)
  );
}

.columnImage {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Right column */
.columnRight {
  flex: 2;
  max-width: calc(100% - 25rem);
  background: #555e56;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  color: white;
  position: relative;
}

/* Typography */
.columnRight h1 {
  font-size: 2rem;
  font-style: italic;
  position: absolute;
  left: 3rem;
  top: 1rem;
  margin: 0;
  z-index: 10;
}

.columnRight h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.columnRight p {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  text-align: left;
  margin: 1rem 0;
  padding: 0;
}

/* Content Card adjustments */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}


/* Adjust right column padding to prevent overlap */
.columnRight {
    padding-top: 4rem;
}

@media (max-width: 768px) {

    .logo {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    .columnRight {
        padding-top: 3rem;
    }
}

/* Logo */
.logo {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-style: italic;
    color: white;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Sections */
.section1, .section2 {
    flex-grow: 1;
    padding: 6rem 4rem 4rem;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.section1 {
    background-color: #424c43;
}

.section2 {
    background-color: #555e56;
}


/* Content Card */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.content-card h2 {
    color: #1a3f3f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #1a3f3f;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.tile {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 63, 63, 0.15);
}

.tile a {
    color: #1a3f3f;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-align: center;
}

.tile a:hover {
    color: #0f2424;
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #1a3f3f;
    background: #f8f8f8;
}



.tile-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
}

.tile {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 95, 95, 0.1);
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #2a5f5f;
}

.tile a {
    color: #2a5f5f;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    text-align: center;
}

.tile a:hover {
    color: #1a3f3f;
}

.blog-list, .newsletter-list {
    margin-top: 1rem;
}

/* Responsive adjustments */
/* Base styles remain the same */
@media (max-width: 1024px) {
  .columnContainer {
    flex-direction: column;
  }

  .columnLeft {
    position: relative;
    max-width: 100%;
    height: 300px;
  }

  .columnRight {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .section1, .section2 {
    padding: 3rem 1.5rem;
  }

}

@media (max-width: 768px) {
  .columnImage{
    display: none;
  }
  .logo{
    top: 4rem;
  }

  .columnRight h1 {
    font-size: 1.5rem;
    left: 1rem;
  }

  .columnRight h2 {
    font-size: 1.5rem;
  }

  .columnRight p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .logo {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
  }

  .content-card {
    top: 4rem;
    padding: 1rem;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .columnLeft {
    height: 200px;
  }

  .section1, .section2 {
    padding: 2rem 1rem;
  }

  .columnRight h1 {
    font-size: 1.2rem;
  }

  .columnRight h2 {
    font-size: 1.3rem;
  }

  .columnRight p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .tile-container {
    grid-template-columns: 1fr;
  }
}

/* Add smooth scrolling to the page */
html {
    scroll-behavior: smooth;
}

