:root {
  --font-gs: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-cg: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --normal: 400;
  --medium: 450;
  --semibold: 500;
  --bold: 700;

  --font16: 16px;
  --font18: 18px;
  --font20: 20px;
  --font24: 24px;
  --font32: 32px;
  --font48: 48px;
  --font56: 56px;
}

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

.hidden {
  display: none;
}

.mobile-only {
  display: none;
}

body {
  font-family: var(--font-gs);
  cursor: default;
  margin-top: 88px;
}

.header-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4.5vw;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
}

#header-logo {
  display: flex;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  padding: 8px 8px;
  text-decoration: none;
  color: #080808;
  font-weight: var(--medium);
  font-size: var(--font18);
  letter-spacing: -0.5px;
}

#header-cta-button {
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  background-color: #387f39;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: var(--semibold);
  font-size: var(--font16);
  text-decoration: none;
}

#mobile-menu-button img {
  transform: scale(1.2);
}

.mobile-menu-expand-section {
  width: 100%;
  position: fixed;
  z-index: 500;
}

.menu-items {
  width: 100%;
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.menu-items.expanded {
  max-height: 240px;
}

.menu-items li {
  padding: 10px 24px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  font-family: var(--font-gs);
  font-size: var(--font24);
  color: #387f39;
}

section {
  padding: 80px 8.33vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow: hidden;
}

section .titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.titles h1 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font56);
  color: #0f2411;
}

.titles h2 {
  font-weight: var(--semibold);
  font-size: var(--font16);
  color: #f06406;
  text-transform: uppercase;
}

.titles h3 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font48);
  color: #080808;
}

.titles p {
  font-weight: var(--medium);
  font-size: var(--font20);
  color: #080808;
  max-width: 58vw;
  align-self: center;
}

#hero {
  padding: unset;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 0px;
}

.hero-banner {
  grid-area: 1/1/-1/-1;
  margin: 40px 5.55vw;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}

.hero-banner-background {
  grid-area: 1/1/3/-1;
  border-radius: 32px;
  background-color: #e5f4e4;
  padding: 48px 40px;
}

.hero-banner-content {
  grid-area: 1/1/2/-1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 60px 0px 60px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-image.left {
  grid-area: 1/1/10/10;
  z-index: 300;
  margin: 64px 240px 240px 0px;
}

.hero-image.right {
  grid-area: 1/-10/10/-1;
  z-index: 300;
  margin: 0px 0px 124px 124px;
}

.hero-image.center {
  grid-area: 2/1/4/-1;
  z-index: 200;
  padding: 24px 40px;
}

.hero-video-container {
  position: relative;
  padding: 16px 16px;
  background-color: white;
  border-radius: 24px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  cursor: pointer;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.8);
  color: black;
}

.hero-video {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

#hero-cta-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #387f39;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  font-weight: var(--semibold);
  font-size: var(--font16);
  z-index: 200;
}

.mobile-hero-image img {
  width: 100%;
  height: auto;
}

.mobile-hero-image.left {
  grid-area: 1/1/3/10;
  z-index: 300;
}

.mobile-hero-image.right {
  grid-area: 1/-10/10/-1;
  z-index: 300;
}

.mobile-hero-buttons {
  grid-area: 16 / 1 / -1 / -1;
  flex-direction: column;
  gap: 16px;
  padding: 32px 64px;
  align-items: stretch;
}

.mobile-hero-process-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  color: #495057;
  padding: 8px 8px;
  border: 1px solid #adb5bd;
  border-radius: 8px;
  z-index: 200;
  justify-content: center;
  font-size: var(--font20);
}

.mobile-hero-cta-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #387f39;
  color: white;
  padding: 8px 8px;
  border: none;
  border-radius: 8px;
  z-index: 200;
  justify-content: center;
  font-size: var(--font20);
}

#explore {
  padding-top: 32px;
  position: relative;
  overflow: hidden;
}

#explore .carousel {
  overflow: visible;
}

#explore::before,
#explore::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 1;
}

#explore::before {
  left: 0;
  background: linear-gradient(to right, rgba(60, 173, 63, 0.1), transparent);
}

#explore::after {
  right: 0;
  background: linear-gradient(to left, rgba(60, 173, 63, 0.1), transparent);
}

#explore:hover::before,
#explore:hover::after {
  opacity: 1;
}

/* Active scroll zone indicators */
#explore.scrolling-left::before {
  background: linear-gradient(to right, rgba(60, 173, 63, 0.2), transparent);
  opacity: 1;
}

#explore.scrolling-right::after {
  background: linear-gradient(to left, rgba(60, 173, 63, 0.2), transparent);
  opacity: 1;
}

.carousel {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 0;
  width: max-content;
}

#explore .carousel {
  min-width: 200%;
}

#testimonials .carousel,
#blogs .carousel {
  width: 100%;
  min-width: auto;
}

.carousel-clone {
  flex-shrink: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease;
  flex-shrink: 0;
}

.flower-card {
  background-color: #f3faf3;
  border: 1px solid #3cad3f;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  transform: translateX(0px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  overflow: hidden;
  width: 24vw;
  aspect-ratio: 19/20;
  min-width: 210px;
  display: flex;
  justify-content: center;
}

.flower-card img {
  transform: translateY(20px) scale(0.9);
}

.flower-title {
  font-family: var(--font-cg);
  font-size: var(--font24);
  font-weight: var(--bold);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
  text-align: center;
  max-width: 24vw;
  min-width: 210px;
}

.flower-title p {
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.explore-all {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.explore-all p {
  font-weight: var(--semibold);
  font-size: var(--font32);
  color: #3cad3f;
  align-content: center;
}

#why-us {
  background-color: #e5f4e4;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.why-us-card {
  background-color: #4a9d4c;
  border-radius: 16px;
  padding: 32px 32px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-us-card:hover {
  transform: scale(1.05);
}

.why-us-card img {
  width: 64px;
  height: auto;
}

.why-us-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-us-card-content h4 {
  font-family: var(--font-cg);
  font-size: var(--font24);
  font-weight: var(--bold);
  color: white;
}

.why-us-card-content p {
  font-size: var(--font20);
  color: whitesmoke;
}

.process-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  margin-top: 48px;
  margin-right: 20px;
  font-family: var(--font-cg);
}

.timeline {
  display: flex;
  align-items: flex-start;
  width: 85%;
}

.timeline-number {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #e9ecef;
  color: #495057;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.step-number-text {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;
  transition: color 2s linear;
  font-weight: var(--bold);
  font-size: var(--font24);
}

.step-number-fill {
  position: absolute;
  height: 0;
  width: 100%;
  background: linear-gradient(to bottom, #ff8010, #c74a07);
  color: white;
  transition: height 3s linear;
  z-index: 1;
}

.step-line {
  position: relative;
  width: 6px;
  height: 10.5%;
  background-color: #dee2e6;
  align-self: center;
  overflow: hidden;
  transition: background-color 3s ease;
}

.step-line-fill {
  position: absolute;
  height: 0;
  width: 6px;
  background-color: #c74a07;
  color: white;
  transition: height 3s linear;
  z-index: 1;
}

.timeline-name {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  width: 100%;
  padding-left: 24px;
}

.timeline-content {
  background-color: white;
  padding: 15px 15px;
  border: 1px solid #ff8010;
  border-radius: 15px;
  font-weight: var(--bold);
  font-size: var(--font20);
  color: black;
  text-align: left;
}

.timeline-step.active .step-number {
  background-color: var(--accent-orange);
}

.process-illustration-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
}

.feature1 {
  grid-row-start: 2;
  grid-row-end: 4;
  grid-column-start: 1;
  grid-column-end: 3;
}

.feature2 {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 3;
  grid-column-end: 5;
}

.feature3 {
  grid-row-start: 2;
  grid-row-end: 4;
  grid-column-start: 5;
  grid-column-end: 8;
}

.process-image {
  grid-row-start: 3;
  grid-row-end: 7;
  grid-column-start: 1;
  grid-column-end: 7;
  margin-top: 64px;
}

.process-image img {
  width: 100%;
  transform: translate(0px, 48px);
}

.circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 150px;
  margin: 10px auto;
}

.circle {
  width: 16vw;
  height: 16vw;
  background-color: #fff;
  border: 2px solid #ffa833;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px #ffc270;
  transform: translate(0px, -24px);
}

.circle-smaller {
  width: 13vw;
  height: 13vw;
}

.circle img {
  width: 5.45vw;
  height: auto;
}

.circle-text {
  margin-top: 10px;
  padding: 0px 20px;
  color: #0d0d0d;
  line-height: 1.4;
  font-weight: var(--semibold);
  font-size: var(--font16);
}

.feature-container-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-details-mobile {
  display: none;
}

.feature-mobile {
  display: flex;
  padding: 8px 8px;
  gap: 18px;
  align-items: center;
  border-radius: 8px;
  border: 0.5px solid #ffa833;
  background-color: #fff;
  font-size: var(--font20);
  font-weight: var(--normal);
}

.process-image-mobile {
  align-self: center;
}

.feature-mobile img {
  width: 32px;
  height: auto;
}

.process-image-mobile img {
  width: 100%;
  max-width: 400px;
}

.active {
  background-color: #fff8ed;
}

#testimonials {
  background-color: #e5f4e4;
}

.testimonial-header-container {
  display: flex;
  justify-content: space-between;
}

#testimonials .titles {
  align-items: start;
  text-align: left;
}

.carousel-control-container {
  display: flex;
  align-items: center;
  padding: 32px 0px;
}

.carousel-controls {
  display: flex;
  gap: 16px;
}

.carousel-btn {
  background-color: #387f39;
  color: white;
  width: 48px;
  height: 48px;
  border: none;
  font-size: var(--font24);
  border-radius: 8px;
  cursor: pointer;
}

.testimonial-card {
  width: 365px;
  min-width: 365px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #e88a2e;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  flex-shrink: 0;
  transform: translateX(0px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
}

.testimonial-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #e88a2e;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.quote {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font24);
  margin-bottom: 16px;
  color: #080808;
}

.description {
  font-size: var(--font18);
  color: #333333;
  margin-bottom: 16px;
}

.customer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-info img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.customer-name {
  font-weight: var(--semibold);
  font-size: var(--font18);
  color: #080808;
}

.customer-title {
  font-size: var(--font16);
  color: #4f4f4f;
}

#app-download {
  padding: 0px 0px;
}

.app-download-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.2fr;
}

.content-section {
  background: linear-gradient(to bottom right, #ff8010, #451705);
  padding: 20px 20px;
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 3;
  display: flex;
  align-items: center;
}

.content {
  padding-left: 8.33vw;
  width: 50%;
  text-align: left;
}

.content h2 {
  font-family: var(--font-cg);
  font-size: var(--font48);
  font-weight: var(--bold);
  color: white;
  margin-bottom: 40px;
}

.content p {
  font-size: var(--font18);
  font-weight: var(--medium);
  margin-bottom: 10px;
  color: white;
}

.qr-codes {
  display: flex;
  gap: 28px;
}

.qr-code {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 2px 0px;
  align-items: center;
}

.qr-code > img {
  width: 108px;
  height: 108px;
  margin-bottom: 5px;
  border-radius: 10px;
  background-color: #fff;
}

.qr-code-description {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.qr-code-description img {
  width: 20px;
  height: 20px;
}

.qr-code p {
  font-size: var(--font18);
  color: #fff;
}

.phone-image {
  display: flex;
  justify-content: end;
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 2;
  grid-column-end: 3;
  overflow: hidden;
}

.phone-image img {
  max-width: 100%;
  height: auto;
  transform: translate(0px, 88px);
}

#gallery {
  background-color: #e5f4e4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.contact-us-container {
  display: flex;
  flex-wrap: wrap;
  border-radius: 24px;
  padding: 24px 24px;
  gap: 16px;
  background-color: #2f6630;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  border-radius: 16px;
  background-color: #fff;
  justify-content: center;
}

.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 24px;
  gap: 16px;
  background-color: #fff;
}

.map-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.map-image {
  width: 29vw;
  height: auto;
  max-width: 416px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: left;
}

.contact-info-detail {
  display: flex;
  justify-content: left;
  gap: 8px;
  text-align: left;
  font-size: var(--font20);
}

.contact-right-titles {
  display: flex;
  flex-direction: column;
  justify-content: left;
  gap: 8px;
}

.contact-right h2 {
  font-family: var(--font-cg);
  color: #2f6630;
  text-align: left;
  font-size: var(--font32);
  font-weight: var(--bold);
}

.contact-right p {
  text-align: left;
  font-size: var(--font20);
  font-weight: var(--semibold);
}

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

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

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: var(--font16);
}

.contact-form textarea {
  font-size: var(--font16);
  min-height: 186px;
}

.submit-row {
  display: flex;
  justify-content: right;
}

.contact-form button {
  background-color: #387f39;
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--font20);
  width: fit-content;
}

.faq-item {
  border-top: 1px solid #ddd;
  padding: 24px 24px;
  cursor: pointer;
  text-align: left;
  margin: 0 auto;
  position: relative;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--bold);
  color: #333;
}

.faq-text {
  font-weight: var(--medium);
  font-size: var(--font24);
}

.answer {
  display: none;
  padding-top: 10px;
  color: #555;
  font-size: var(--font20);
}

.toggle {
  font-size: 2em;
  padding: 0px 15px;
  color: #4caf50;
  transition: transform 0.3s;
}

.faq-item.active .answer {
  display: block;
}

.faq-item.active .toggle {
  transform: rotate(45deg); /* Rotate to show "-" */
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}

.blog-card {
  width: 365px;
  min-width: 365px;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(0px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #f0f0f0;
}

.blog-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  text-align: left;
}

.blog-content h3 {
  font-size: var(--font20);
  font-weight: var(--medium);
  color: #01021d;
  margin: 10px 0;
}

.blog-content .date {
  font-size: var(--font16);
  color: #595959;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: var(--font16);
  font-weight: var(--medium);
  color: #c74a07; /* Coral color */
  background-color: #fff0d4; /* Light coral background */
  border-radius: 10px;
  text-transform: uppercase;
}

footer {
  background-color: #254426; /* Dark green background color */
  color: #ffffff;
  padding: 56px 8.33vw;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 48px;
  gap: 40px;
}

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

.footer-logo img {
  width: 300px;
  margin-bottom: 10px;
}

.footer-logo span {
  font-size: 1.5em;
  font-weight: var(--bold);
}

.footer-logo p {
  font-size: var(--font24);
  font-weight: var(--medium);
  margin-top: 5px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 64px;
}

.footer-nav-item {
  color: #ffffff;
  text-decoration: none;
  font-size: var(--font18);
}

.footer-nav a:hover {
  color: #cccccc;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-links p {
  margin-right: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 20px;
}

.footer-links a:hover {
  color: #cccccc;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social img {
  width: 25px;
  height: auto;
}

.footer-social-mobile {
  display: none;
}

.footer-top-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-contact-details {
  display: flex;
  gap: 64px;
  font-size: var(--font18);
}

.footer-contact-number {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1328px) {
  .titles p {
    max-width: 50vw;
  }
}

@media (max-width: 1232px) {
  :root {
    --font16: 14px;
    --font18: 16px;
    --font20: 18px;
    --font24: 21px;
    --font32: 28px;
    --font48: 42px;
    --font56: 49px;
  }

  .hero-image.left {
    grid-area: 1/1/11/11;
  }

  .hero-image.right {
    grid-area: 1/-11/11/-1;
  }

  .app-download-container {
    grid-template-rows: 0.8fr 1.2fr;
  }

  .content {
    width: 52%;
  }
}

@media (max-width: 1024px) {
  :root {
    --font20: 16px;
    --font24: 18px;
    --font32: 24px;
    --font48: 36px;
    --font56: 42px;
  }

  body {
    margin-top: 77px;
  }

  section {
    padding: 80px 6vw;
  }

  /* Blog Detail Page - Tablet */
  #blog-header {
    padding: 30px 6vw 15px;
  }

  .blog-title {
    font-size: 2.8rem;
  }

  .blog-meta {
    margin-bottom: 20px;
  }

  #blog-content-section {
    padding: 30px 6vw;
  }

  .blog-image-container img {
    border-radius: 6px;
  }

  #header-logo img {
    width: 90%;
    height: auto;
  }

  #header-cta-button {
    padding: 14px 18px;
  }

  .hero-image.center {
    padding: 12px 24px;
  }

  .hero-video-container {
    padding: 12px 12px;
  }

  .hero-image.left {
    grid-area: 2 / 1 / 11 / 11;
    margin: 6px 240px 240px 0px;
  }

  .hero-image.right {
    grid-area: 2 / -10 / 10 / -1;
    margin: -30px 0px 124px 124px;
  }

  .process-image {
    margin-top: 32px;
  }

  .step-number {
    width: 50px;
    height: 50px;
  }

  .carousel-control-container {
    padding: 16px 0px;
  }

  .content {
    padding-left: 8.33vw;
  }

  .contact-us-container {
    padding: 12px 12px;
    gap: 12px;
  }

  footer {
    padding: 56px 6vw;
  }

  .footer-logo img {
    width: 200px;
  }
}

@media (max-width: 896px) {
  :root {
    --font18: 15px;
    --font20: 15px;
    --font24: 17px;
    --font32: 20px;
    --font48: 34px;
    --font56: 40px;
  }

  .header-content {
    padding: 16px 4vw;
  }

  .nav-links {
    gap: 8px;
  }

  .titles p {
    max-width: 40vw;
  }

  .hero-image.left {
    grid-area: 2 / 1 / 13 / 13;
    margin: 6px 240px 240px 0px;
  }

  .hero-image.right {
    grid-area: 2 / -12 / 12 / -1;
    margin: -30px 0px 124px 124px;
  }

  .timeline {
    width: 90%;
  }

  .app-download-container {
    grid-template-rows: 0.5fr 1.2fr;
  }
}

@media (max-width: 768px) {
  :root {
    --font32: 22px;
    --font48: 28px;
    --font56: 32px;
  }

  .laptop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  body {
    margin-top: 73.8px;
  }

  section {
    padding: 32px 7vw;
  }

  #header-cta-button {
    display: none;
  }

  #header-logo img {
    width: 85%;
    height: auto;
  }

  #hero {
    grid-template-columns: repeat(18, 1fr);
    grid-template-rows: repeat(18, 1fr);
  }

  .hero-banner {
    margin: 160px 5.55vw;
  }

  .hero-banner-content {
    padding: 32px 32px 0px 32px;
  }

  .mobile-hero-image.left {
    grid-area: 1 / 1 / 6 / 7;
    transform: rotateZ(22deg) translate(-32px, 0px);
  }

  .mobile-hero-image.right {
    grid-area: 12 / 13 / -3 / -1;
    transform: translate(40px, 20px);
  }

  .titles p {
    max-width: 64vw;
  }

  .hero-image.center {
    padding: 24px 24px;
  }

  .why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .timeline-content {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .process-container {
    margin: unset;
    display: block;
  }

  .timeline {
    width: 100%;
  }

  .timeline-name {
    width: 100%;
    padding: unset;
    gap: 16px;
  }

  .process-details-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .step-content {
    font-size: var(--font24);
  }

  #testimonials .titles {
    align-items: center;
    width: 100%;
  }

  .carousel {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
  }

  .carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .app-download-container {
    display: flex;
    width: 100%;
  }

  .content-section {
    width: 100%;
    flex-direction: column;
    padding: 44px 88px;
    gap: 24px;
  }

  .content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    padding-left: unset;
    text-align: center;
    align-items: center;
  }

  .content h2 {
    margin-bottom: unset;
    max-width: 400px;
  }

  .content p {
    display: none;
  }

  .app-download-buttons-mobile {
    display: flex;
    width: 100%;
    gap: 8px;
    justify-content: center;
  }

  .app-download-appstore-button,
  .app-download-playstore-button {
    width: 100%;
    display: flex;
    padding: 8px 8px;
    gap: 8px;
    border-radius: 8px;
    border: none;
    background-color: #f3faf3;
    align-items: center;
    justify-content: center;
  }

  .gallery-grid {
    width: 100%;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .gallery-item {
    flex: 0 0 auto;
    width: 100%;
  }

  .contact-us-container {
    background-color: #fff;
    padding: unset;
    flex-direction: column;
    gap: 16px;
  }

  .contact-left,
  .contact-right {
    border: 1px solid #e0e0e0;
  }

  .map-image {
    width: 100%;
  }

  .faq-item {
    padding: 12px 12px;
  }

  .blog-grid {
    width: 100%;
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .blog-card {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
  }

  footer {
    padding: 56px 7vw;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 42px;
    padding-bottom: 24px;
  }

  .footer-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-top-links {
    gap: 42px;
  }

  .footer-contact-details {
    flex-direction: column;
    gap: 20px;
  }

  .footer-social-mobile {
    display: flex;
    gap: 24px;
  }

  .footer-links {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
    margin-top: unset;
  }
}

@media (max-width: 596px) {
  .mobile-hero-image.left {
    grid-area: 1 / 1 / 6 / 9;
  }

  .mobile-hero-image.right {
    grid-area: 12 / 11 / -3 / -1;
  }

  .product-card {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 300px;
  }

  .flower-card {
    width: 100%;
    aspect-ratio: 19/20;
    max-width: 300px;
    padding: 0;
    margin: 0;
  }

  .flower-title {
    font-size: var(--font20);
  }
}

@media (max-width: 425px) {
  body {
    margin-top: 69px;
  }

  #header-logo img {
    width: 75%;
    height: auto;
  }

  .menu-items li {
    font-size: var(--font20);
  }

  .mobile-hero-image.left {
    grid-area: 1 / 1 / 6 / 11;
  }

  .mobile-hero-image.right {
    grid-area: 12 / 9 / -3 / -1;
  }

  .hero-image.center {
    padding: 8px 8px;
  }

  .hero-video-container {
    padding: 4px 4px;
    border-radius: 8px;
  }

  .product-card {
    flex: 0 0 auto;
    width: 70vw;
    max-width: 280px;
  }

  .flower-card {
    width: 100%;
    aspect-ratio: 19/20;
    max-width: 280px;
    padding: 0;
    margin: 0;
  }

  .flower-title {
    font-size: var(--font18);
  }

  .carousel {
    gap: 12px;
  }
}

@media (max-width: 375px) {
  body {
    margin-top: 64.2px;
  }

  #header-logo img {
    width: 65%;
    height: auto;
  }

  .hero-banner {
    margin: 120px 5.55vw;
  }

  .mobile-hero-image.left {
    grid-area: 1 / 1 / 5 / 11;
  }

  .mobile-hero-image.right {
    grid-area: 13 / 9 / -3 / -1;
    transform: translate(40px, 0px);
  }

  .product-card {
    flex: 0 0 auto;
    width: 65vw;
    max-width: 260px;
  }

  .flower-card {
    width: 100%;
    aspect-ratio: 19/20;
    max-width: 260px;
    padding: 0;
    margin: 0;
  }

  .flower-title {
    font-size: var(--font16);
  }

  .carousel {
    gap: 10px;
  }
}

.inactive {
  display: none;
}

.immediate {
  transition: none; /* No transition for this class */
}

/* Admin Page Styles */
.admin-section {
  padding: 80px 8.33vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  justify-content: center;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.admin-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  max-width: 500px;
  margin: 0 auto;
}

.admin-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.admin-logo img {
  width: 120px;
  height: auto;
}

.admin-titles h1 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font48);
  color: #0f2411;
  margin-bottom: 8px;
}

.admin-titles p {
  font-weight: var(--medium);
  font-size: var(--font20);
  color: #666;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-weight: var(--semibold);
  font-size: var(--font18);
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: var(--font16);
  font-family: var(--font-gs);
  transition: border-color 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #387f39;
}

/* Additional select styling for consistency */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}

.form-group select:hover {
  border-color: #387f39;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.admin-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  font-weight: var(--semibold);
  font-size: var(--font16);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  justify-content: center;
}

.admin-btn.primary {
  background-color: #387f39;
  color: white;
}

.admin-btn.primary:hover {
  background-color: #2d6a2f;
  transform: translateY(-2px);
}

.admin-btn.secondary {
  background-color: #f8f9fa;
  color: #495057;
  border: 1px solid #adb5bd;
}

.admin-btn.secondary:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
}

.form-footer {
  text-align: center;
  margin-top: 16px;
}

.error-message {
  color: #dc3545;
  font-size: var(--font16);
  font-weight: var(--medium);
}

/* Admin-specific header elements - only apply within admin page */
.admin-page #admin-header-title {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font24);
  color: #0f2411;
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-page #admin-logout-button {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

.admin-page #admin-logout-button.hidden {
  visibility: hidden; /* Keep space but hide content */
}

.admin-page #header-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  min-width: 0; /* Allow flex item to shrink */
}

#admin-logout-button a {
  color: #dc3545;
  text-decoration: none;
  font-weight: var(--semibold);
  padding: 8px 16px;
  border: 1px solid #dc3545;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#admin-logout-button a:hover {
  background-color: #dc3545;
  color: white;
}

/* Contact Management Styles */
.contact-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-filters select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
}

.contact-item {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ddd;
}

.contact-item.new {
  border-left-color: #ff6b6b;
}

.contact-item.read {
  border-left-color: #4ecdc4;
}

.contact-item.replied {
  border-left-color: #45b7d1;
}

.contact-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

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

.contact-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.contact-status.new {
  background-color: #ffebee;
  color: #c62828;
}

.contact-status.read {
  background-color: #e0f2f1;
  color: #00695c;
}

.contact-status.replied {
  background-color: #e3f2fd;
  color: #1565c0;
}

.contact-item-actions {
  display: flex;
  gap: 8px;
}

.contact-item-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field-label {
  font-weight: 600;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-field-value {
  color: #333;
  font-size: 14px;
}

.contact-message {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.contact-message .contact-field-value {
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 4px;
  border-left: 3px solid #2f6630;
  white-space: pre-wrap;
}

.contact-timestamp {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contact-item-body {
    grid-template-columns: 1fr;
  }

  .contact-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Contact Details Modal Styles */
.contact-details {
  max-width: 100%;
}

.contact-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.contact-details-header h3 {
  margin: 0;
  color: #333;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-details-field {
  display: flex;
  flex-direction: column;
}

.contact-details-field label {
  font-weight: 600;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-details-field span {
  color: #333;
  font-size: 14px;
}

.contact-details-field a {
  color: #2f6630;
  text-decoration: none;
}

.contact-details-field a:hover {
  text-decoration: underline;
}

.contact-details-message {
  margin-top: 20px;
}

.contact-details-message label {
  font-weight: 600;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.message-content {
  background-color: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #2f6630;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 768px) {
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-details-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Dashboard Styles */
.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.dashboard-titles h1 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font48);
  color: #0f2411;
  margin-bottom: 8px;
}

.dashboard-titles p {
  font-weight: var(--medium);
  font-size: var(--font20);
  color: #666;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  background-color: #fff;
  color: #666;
  border-radius: 8px;
  font-weight: var(--semibold);
  font-size: var(--font16);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: #387f39;
  color: white;
  border-color: #387f39;
}

.tab-btn:hover:not(.active) {
  border-color: #387f39;
  color: #387f39;
}

.tab-content {
  display: none;
}

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

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.content-header h2 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font32);
  color: #0f2411;
}

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

.content-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.content-item-header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 16px;
}

.content-item-title {
  font-weight: var(--bold);
  font-size: var(--font20);
  color: #0f2411;
  margin-bottom: 8px;
}

.content-item-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: var(--font14);
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn.edit {
  background-color: #007bff;
  color: white;
}

.action-btn.delete {
  background-color: #dc3545;
  color: white;
}

.action-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.content-item-body {
  color: #666;
  font-size: var(--font16);
  line-height: 1.5;
  text-align: left;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.setting-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.setting-card h3 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font24);
  color: #0f2411;
  margin-bottom: 24px;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
  font-family: var(--font-cg);
  font-weight: var(--bold);
  font-size: var(--font24);
  color: #0f2411;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: #f8f9fa;
  color: #333;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid #e0e0e0;
}

/* Quote Popup Styles */
/* Image Upload Styles */
.image-upload-container {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
}

.image-upload-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  margin-bottom: 10px;
}

.image-upload-area:hover {
  border-color: #007bff;
  background: #f8f9fa;
}

.image-preview {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-placeholder {
  color: #666;
  font-size: 14px;
}

.upload-placeholder span {
  display: block;
  margin-top: 10px;
}

.image-upload-info {
  text-align: center;
}

.image-upload-info small {
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.image-upload-info input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.image-upload-info input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .admin-section {
    padding: 32px 7vw;
  }

  .admin-card {
    padding: 32px 24px;
  }

  .admin-titles h1 {
    font-size: var(--font32);
  }

  .dashboard-titles h1 {
    font-size: var(--font32);
  }

  .admin-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
  }

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

  .content-list {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 20px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .admin-btn {
    width: 100%;
  }

  /* Image upload responsive styles */
  .image-upload-container {
    padding: 10px;
  }

  .image-upload-area {
    padding: 15px;
  }

  .image-preview img {
    max-width: 150px !important;
    max-height: 100px !important;
  }

  /* Admin-specific header overrides for mobile */
  .admin-page .header-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .admin-page #header-logo {
    order: 1;
  }

  .admin-page #admin-header-title {
    order: 2;
    flex: none;
  }

  .admin-page #admin-logout-button {
    order: 3;
    justify-content: center;
  }
}

/* Password requirements styling */
.password-requirements {
  display: block;
  color: #666;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}

.setting-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.setting-card h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
}

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 200px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff6b35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Small loading spinner for buttons */
.loading-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

/* Disabled button state */
.admin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Disabled input field state */
input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f5f5f5;
  color: #999;
}

/* Mobile responsive for loading overlay */
@media (max-width: 768px) {
  .loading-content {
    padding: 30px 20px;
    margin: 20px;
    min-width: auto;
    width: calc(100% - 40px);
  }

  .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }

  .loading-text {
    font-size: 14px;
  }
}

/* Blog Detail Page Styles */
#blog-header {
  padding: 40px 8.33vw 20px;
  background-color: #f8f9fa;
}

.blog-header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.blog-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  text-align: left;
}

.blog-breadcrumb a {
  color: #387f39;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
  color: #2d6a2f;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

.current-blog {
  color: #333;
  font-weight: 500;
}

.blog-title {
  font-family: var(--font-cg);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #2c3e50;
  text-align: left;
}

.blog-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 16px;
  color: #666;
  text-align: left;
}

.blog-author,
.blog-date {
  font-weight: 500;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  text-align: left;
}

.blog-tag {
  background: #e8f5e8;
  color: #387f39;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #d4edda;
}

#blog-image-section {
  background-color: white;
  padding: 0 8.33vw;
}

.blog-image-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.blog-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#blog-content-section {
  background-color: white;
  padding: 40px 8.33vw;
}

.blog-content-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.blog-content {
  font-family: var(--font-gs);
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  font-family: var(--font-cg);
  font-weight: 600;
  margin: 32px 0 16px 0;
  color: #2c3e50;
}

.blog-content h1 {
  font-size: 2.5rem;
}

.blog-content h2 {
  font-size: 2rem;
}

.blog-content h3 {
  font-size: 1.5rem;
}

.blog-content ul,
.blog-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: #666;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

#related-blogs {
  padding: 80px 8.33vw;
  background-color: #f8f9fa;
}

.related-blogs-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.related-blogs-container h2 {
  font-family: var(--font-cg);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #2c3e50;
}

.blog-carousel {
  position: relative;
}

.blog-carousel-container {
  overflow: hidden;
  border-radius: 16px;
}

#related-blogs-grid {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #blog-header {
    padding: 20px 4vw 15px;
  }

  .blog-title {
    font-size: 2.2rem;
  }

  .blog-meta {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  #blog-content-section {
    padding: 20px 4vw;
  }

  .blog-image-container img {
    border-radius: 4px;
  }

  .blog-tags {
    gap: 8px;
  }

  .blog-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  #blog-image-section {
    padding: 0 4vw;
  }

  .blog-image-container img {
    height: 250px;
  }

  #blog-content-section {
    padding: 60px 4vw;
  }

  .blog-content {
    font-size: 16px;
  }

  .blog-content h1 {
    font-size: 2rem;
  }

  .blog-content h2 {
    font-size: 1.5rem;
  }

  #related-blogs {
    padding: 60px 4vw;
  }

  .related-blogs-container h2 {
    font-size: 2rem;
  }

  #related-blogs-grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  #blog-header {
    padding: 15px 4vw 10px;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .blog-meta {
    margin-bottom: 15px;
  }

  #blog-content-section {
    padding: 15px 4vw;
  }

  .blog-image-container img {
    height: 200px;
    border-radius: 3px;
  }

  .blog-content h1 {
    font-size: 1.5rem;
  }

  .blog-content h2 {
    font-size: 1.25rem;
  }
}

.retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: var(--semibold);
  font-size: var(--font16);
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

/* Mobile responsive for blog detail */
@media (max-width: 768px) {
  #blog-detail {
    padding: 32px 7vw;
  }

  .blog-detail-content {
    padding: 32px 24px;
  }

  .blog-detail-title {
    font-size: var(--font32);
  }

  .blog-detail-meta {
    flex-direction: column;
    gap: 8px;
  }

  .blog-detail-text {
    font-size: var(--font16);
    line-height: 1.6;
  }

  .back-to-blogs-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 425px) {
  .blog-detail-content {
    padding: 24px 16px;
  }

  .blog-detail-title {
    font-size: var(--font24);
  }

  .blog-detail-text {
    font-size: var(--font16);
    text-align: left;
  }
}

/* Quill.js Rich Text Editor Styling */
.ql-toolbar {
  border: 1px solid #e0e0e0 !important;
  border-bottom: none !important;
  border-radius: 8px 8px 0 0 !important;
  background: #f8f9fa !important;
}

.ql-container {
  border: 1px solid #e0e0e0 !important;
  border-radius: 0 0 8px 8px !important;
  font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI,
    Roboto, Helvetica Neue, sans-serif !important;
  font-size: 14px !important;
}

.ql-editor {
  min-height: 250px !important;
  padding: 12px !important;
}

.ql-toolbar .ql-stroke {
  stroke: #666 !important;
}

.ql-toolbar .ql-fill {
  fill: #666 !important;
}

.ql-toolbar button:hover {
  background-color: #e9ecef !important;
}

.ql-toolbar button.ql-active {
  background-color: #387f39 !important;
  color: white !important;
}

.ql-toolbar button.ql-active .ql-stroke {
  stroke: white !important;
}

.ql-toolbar button.ql-active .ql-fill {
  fill: white !important;
}

/* Font size dropdown styling */
.ql-toolbar .ql-size .ql-picker-label {
  font-size: 14px !important;
}

.ql-toolbar .ql-size .ql-picker-options {
  font-size: 14px !important;
}

.ql-toolbar .ql-size .ql-picker-item {
  font-size: 14px !important;
}

/* Font family dropdown styling */
.ql-toolbar .ql-font .ql-picker-label {
  font-size: 14px !important;
}

.ql-toolbar .ql-font .ql-picker-options {
  font-size: 14px !important;
}

.ql-toolbar .ql-font .ql-picker-item {
  font-size: 14px !important;
}

/* Indent controls styling */
.ql-toolbar .ql-indent .ql-picker-label {
  font-size: 14px !important;
}

.ql-toolbar .ql-indent .ql-picker-options {
  font-size: 14px !important;
}

/* Custom font size input styling */
.ql-toolbar input[type="number"] {
  width: 60px !important;
  height: 32px !important;
  margin: 0 5px !important;
  padding: 0 5px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  background: white !important;
  color: #333 !important;
  vertical-align: middle !important;
}

.ql-toolbar input[type="number"]:focus {
  outline: none !important;
  border-color: #387f39 !important;
  box-shadow: 0 0 0 2px rgba(56, 127, 57, 0.2) !important;
}

.ql-toolbar input[type="number"]::placeholder {
  color: #999 !important;
  font-size: 11px !important;
}

/* Blog content preview styling */
.blog-content-preview {
  font-family: var(--font-gs);
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.blog-content-preview p {
  margin: 0 0 8px 0;
}

.blog-content-preview p:last-child {
  margin-bottom: 0;
}

/* Font size styling for Quill editor */
.ql-editor {
  font-family: var(--font-gs) !important;
  font-size: 16px !important;
}
